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 |
|
Max Cahill
|
07fbbe6247
|
fixed issue with line routines on certain inputs
|
2023-03-14 13:04:00 +11:00 |
|
Max Cahill
|
2762d4ada2
|
Merge pull request #63 from josh-perry/title_case
string: add title_case
|
2023-02-14 14:14:08 +11:00 |
|
Josh Perry
|
aafdab56b5
|
string: add title_case
|
2023-02-12 22:00:04 +00:00 |
|
Max Cahill
|
952a8f6bbc
|
Merge pull request #62 from rhynomatt/uuid-fix
Add an identifier module (fix)
|
2023-01-16 09:14:48 +11:00 |
|
rhy
|
26bc74c916
|
tests: Let's maybe not spam the actions console
|
2023-01-14 10:27:11 -03:00 |
|
rhy
|
3252a55936
|
identifier: Guard against require error in case socket's missing
|
2023-01-14 10:25:28 -03:00 |
|
rhy
|
c038281f3c
|
tests: lazy guard against no socket error
|
2023-01-14 10:14:58 -03:00 |
|
rhy
|
6e277df64a
|
Rename uuid.lua to identifier.lua
|
2023-01-11 10:38:52 -03:00 |
|
rhy
|
71e9e45724
|
uuid: Slight doc improvements
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
b656042ba7
|
uuid: Remove ulid helper funcs
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
c0aba5027c
|
tests: Add ulid tests
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
8d8b0dc243
|
uuid: Fix ulid length
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
b39e295eb4
|
uuid: Add a time arg to ulid
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
04d658d601
|
uuid: Slightly better docs on ulid
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
228620d61c
|
uuid: Add an ulid func + helper funcs
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
4d8d69b729
|
tests: Add some uuid4 tests
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
3c959caa23
|
uuid: Slight style fix
Don't need to capture the 2nd value oops, also separated the format
call into multiple lines
|
2023-01-10 11:21:32 -03:00 |
|
rhy
|
370b33b96f
|
woops typo
|
2023-01-10 11:21:31 -03:00 |
|
rhy
|
2642c304ad
|
uuid: Discard gsub's 2nd return value
|
2023-01-10 11:21:31 -03:00 |
|
rhy
|
57bc1a2edb
|
uuid: Use mathx's _random instead of stringx's
|
2023-01-10 11:21:31 -03:00 |
|
rhy
|
e630418372
|
uuid: Add a passed rng to uuid4
|
2023-01-10 11:21:31 -03:00 |
|
rhy
|
5f2e7b437d
|
uuid: Fix variable casing
|
2023-01-10 11:21:31 -03:00 |
|
rhy
|
0f390f9f85
|
Add uuid.lua from the other pull request
|
2023-01-10 11:21:31 -03:00 |
|
Max Cahill
|
ba7a7b5500
|
fixed intersection tests with zero radius shapes (treated as points generally)
|
2022-12-08 13:36:29 +11:00 |
|
Max Cahill
|
2c76b7dde0
|
fixed crash in spairs and then provided a more robust default_less function which sorts numbers before strings, but sorts those groups with operator<
|
2022-12-06 10:45:57 +11:00 |
|
Max Cahill
|
0d88061e3b
|
moved unique_mapping to ferris
|
2022-12-05 18:10:21 +11:00 |
|
Max Cahill
|
844c9e8c8f
|
...needed to forward-declare for the previous fix
|
2022-11-08 09:23:45 +11:00 |
|
Max Cahill
|
c6e6ec858c
|
fixed accidentally global callback in subscribe_once
|
2022-11-08 09:20:37 +11:00 |
|
Max Cahill
|
94d9901728
|
better error reporting for pubsub defer-related errors
|
2022-11-07 17:13:25 +11:00 |
|
Max Cahill
|
66e9848bef
|
added pubsub:subscribe_once and fixed a bug if you subscribe or unsubscribe from inside a callback
|
2022-11-03 16:19:18 +11:00 |
|
Max Cahill
|
9a8493b880
|
added stringx.split_and_trim to save me inlining something with the same effect all over the place
|
2022-10-24 16:08:39 +11:00 |
|