Commit Graph

418 Commits

Author SHA1 Message Date
Max Cahill
63294a6e26
Merge pull request #72 from Sheepolution/pr
Fix incorrect implementation of pingpong
2024-02-19 15:09:00 +11:00
Sheepolution
3ca9aedc7d Fix incorrect implementation of pingpong 2024-02-17 15:45:18 +01:00
Max Cahill
ef4ef69b0f made vector metamethods not do inplace modifications (was completely unsafe and i can't believe i missed it on review :D sorry folks) 2024-01-19 10:25:04 +11:00
Max Cahill
3d03d3238a renamed functional.zip to functional.combine; functional.zip and new functional.unzip are now "more traditional" simple sequence operations 2024-01-11 12:08:22 +11:00
Max Cahill
ae98047d97 added tablex.extract to pull data out into a structure 2024-01-11 11:49:31 +11:00
Max Cahill
73f9555002 Merge remote-tracking branch 'origin/master' 2024-01-02 12:35:19 +11:00
Max Cahill
0b18c049c2 changed default manual_gc memory ceiling to math.huge to avoid unnecessary collections 2024-01-02 12:35:15 +11:00
Max Cahill
2052cdd61a
Merge pull request #71 from billmakes/pubsub-fix-method-spelling
fixes spelling mistake in has_subscriber
2024-01-01 13:47:28 +11:00
Bill Hilbert
4f14e1c3f1 fixes spelling mistake in has_subscriber 2023-12-30 01:22:17 -05:00
Max Cahill
6bf6c6328a fixed typo 2023-12-21 13:59:38 +11:00
Max Cahill
568472a091 Merge remote-tracking branch 'origin/master' 2023-12-18 16:19:21 +11:00
Max Cahill
768afaf02d
Merge pull request #70 from billmakes/prev_state_name
state_machine: include prev_state_name
2023-12-18 16:19:07 +11:00
Max Cahill
041f509e17 Merge remote-tracking branch 'origin/master' 2023-12-18 16:18:31 +11:00
Max Cahill
40dfb3cf9f added experimental async:await api 2023-12-18 16:18:28 +11:00
Bill Hilbert
b68713a143 format document 2023-12-17 23:38:30 -05:00
Bill Hilbert
ca49753375 state_machine: include prev_state_name 2023-12-14 20:54:05 -05:00
Max Cahill
90f46c2c6a
Merge pull request #68 from billmakes/master
vec2: add meta functions for mathematical operators
2023-12-14 13:05:11 +11:00
Bill Hilbert
2d0abbd021 use existing methods 2023-12-13 11:10:20 -05:00
Bill Hilbert
ce0205b42a rollback state_machine commit 2023-12-13 10:16:24 -05:00
Bill Hilbert
01e871c415 state_machine: prev_state_name 2023-12-12 22:22:13 -05:00
Bill Hilbert
f29882c2ee add meta functions for mathmatical operators 2023-12-12 21:53:36 -05:00
Max Cahill
e4953b6d47
Merge pull request #67 from zorggn/patch-1
Add HSV conversion functionality to colour.lua
2023-12-11 14:38:30 +11:00
zorg
77199cde0b
Update colour.lua
*To Appease A Linter.*
2023-12-11 04:37:55 +01:00
zorg
5caab66d58
Add to colour.lua
Added RGB-HSV, HSV-RGB, HSV-HSL, HSL-HSV conversion functions.
2023-12-11 03:32:14 +01:00
Max Cahill
5641b393e4 fix linter nags 2023-12-05 12:33:29 +11:00
Max Cahill
4a3740cf53 added pathfind 2023-12-05 10:56:42 +11:00
Max Cahill
1b396037a2 added mathx.identity for use as a default easing function without a branch 2023-11-23 16:16:15 +11:00
Max Cahill
6fa0b31455 fixed crash running in a thread in love without explicitly requiring love.system (unlikely as you rarely need it) 2023-11-09 16:55:08 +11:00
Max Cahill
f091c89893 added async.value for "eventually" collecting the value of a function that can return nothing for a while (eg querying another thread or whatever). not particularly happy with the name, await is probably a loaded term though 2023-10-12 16:15:15 +11:00
Max Cahill
24913f05b8 fixed sequence:copy returning a non-sequence result 2023-08-17 11:30:20 +10:00
Max Cahill
2c6b5bd2ea rephrase empty if to make the silly linter happy 2023-08-10 16:35:42 +10:00
Max Cahill
8c1e51b057 optimised line line collision a little, could still use some more love :) 2023-08-10 16:26:17 +10:00
Max Cahill
fb3d58f417 moved to checkout@v3 to hopefully knock the actions versioning warning on the head 2023-08-10 14:50:35 +10:00
Max Cahill
b019767a16 added mathx.inverse_lerp, mathx.remap_range, mathx.remap_range_clamped 2023-08-10 14:43:59 +10:00
Max Cahill
097c19bda5 updated actions to fix warnings about node version being deprecated 2023-08-08 13:00:29 +10:00
Max Cahill
6e3a285f97 fixed reliance on tablex exported to table in async:remove 2023-08-08 12:57:35 +10:00
Max Cahill
758533445c added async:remove to remove in-progress tasks, and async.wrap_iterator for turning iteration asynchronous 2023-08-07 17:13:50 +10:00
Max Cahill
97bf19a787 fixed accessing nil love global under plain lua in async.lua 2023-08-01 09:12:02 +10:00
Max Cahill
d3a3ba9d28 whitespace 2023-06-06 15:20:11 +10:00
Max Cahill
11a92387df Merge remote-tracking branch 'origin/master' 2023-06-01 11:33:25 +10:00
Max Cahill
4a93f41807 added functional.count_value to avoid a closure if you just want to count specific elements 2023-06-01 11:33:18 +10:00
Max Cahill
ea20cbbf21
Merge pull request #65 from TurtleP/turtlep/one_of_bugfix
Fix assert:one_of for non-string values
2023-03-29 13:50:51 +11:00
TurtleP
57922d4890 Merge branch 'master' into turtlep/one_of_bugfix 2023-03-27 17:09:11 -04:00
TurtleP
01b7dd000f fix assert:one_of for non-string values 2023-03-24 23:24:24 -04:00
Max Cahill
3421c93848
Merge pull request #64 from TurtleP/turtlep/assert_one_of
add `assert:one_of`
2023-03-21 14:39:58 +11:00
TurtleP
4cbbf6c068 address pr comment 2023-03-20 09:48:56 -04:00
TurtleP
c2316e2ad8 don't remove this whitespace 2023-03-19 12:19:57 -04:00
TurtleP
2c31336210 add assert.one_of 2023-03-19 12:19:08 -04:00
Max Cahill
ff2ab5f1aa fixed intersect relying on assert being exported 2023-03-16 12:14:51 +11:00
Max Cahill
9fae6d1186 Merge remote-tracking branch 'origin/master' 2023-03-14 13:04:04 +11:00