Commit Graph

  • 5cd33398a5 [added] tablex.swap Max Cahill 2021-05-04 20:52:47 +1000
  • d9da4749e2 [added] some randomness helper functions to mathx Max Cahill 2021-05-04 11:41:22 +1000
  • 7c975e8c4a [removed] prime stuff from mathx; hard to justify the filesize Max Cahill 2021-05-04 11:40:20 +1000
  • bc7754ae0b [modified] minor refactor of how tablex.clear is or isn't initialised as needed Max Cahill 2021-05-04 10:38:31 +1000
  • c2a9d39bcf [added] set.clear which does what you'd expect Max Cahill 2021-05-04 10:38:07 +1000
  • 97eac9c51a Merge branch 'feature/insert-sorted-binary-search' Max Cahill 2021-04-30 11:47:03 +1000
  • 826a2797c8 [modified] refactored insert_sorted to get PR #18 merged Max Cahill 2021-04-30 11:46:51 +1000
  • 5601d9415b Merge remote-tracking branch 'origin/master' into feature/insert-sorted-binary-search Max Cahill 2021-04-30 11:22:11 +1000
  • 77e076bc69 fixed qSlerp not passing enough arguments to qPow Skarph 2021-04-19 20:47:11 -0400
  • bf9d42c4d1 made scl accept number Skarph 2021-04-19 20:42:46 -0400
  • f1bc1f2929 added quaternion support Skarph 2021-04-19 20:31:43 -0400
  • 5ed6d68f6c added binary search to insert_sorted Added method tablex.is_sorted Alvaro Frias Garay 2021-04-15 21:09:04 -0300
  • 87834e9267 [modified] sequence wrappers a bit more; exposed functional query interface Max Cahill 2021-04-15 10:31:06 +1000
  • 39268148d8 Merge remote-tracking branch 'origin/master' Max Cahill 2021-04-15 10:22:37 +1000
  • d1b7e77b8a [modified] vec2 to support direct use for conversion in functional.map Max Cahill 2021-04-15 10:22:26 +1000
  • d476bc9c9c [modified] how sequence binds the functional interface to make binding new methods less error prone and shorter Max Cahill 2021-04-15 10:21:41 +1000
  • 49505af37e Merge PR #17 Max Cahill 2021-04-14 17:07:14 +1000
  • 62957a9270 [modified] PR #17 a little; simplified various unneeded sections and added comments Max Cahill 2021-04-14 17:06:31 +1000
  • c840bd01a5 [added] more intersection/resolution helpers Max Cahill 2021-04-14 13:32:14 +1000
  • bfad0baba9 [added] experimental intersect.bounce_off (needs to be verified) Max Cahill 2021-04-13 15:39:36 +1000
  • ab0839430a [fixed] broken intersect.circle_circle_collide result Max Cahill 2021-04-13 15:38:40 +1000
  • dbadd9af83 Refactored rtrim and ltrim to use _whitespace_bytes table Alvaro Frias 2021-04-12 12:38:03 -0300
  • 6eb979a68c [fixed] off-by-one in functional.cycle Max Cahill 2021-04-12 16:13:46 +1000
  • 4f380d8afe [added] functional.stitch and functional.cycle specialised mapping variants Max Cahill 2021-04-12 13:04:08 +1000
  • 6042e3a705 Renamed variable properly Alvaro Frias Garay 2021-04-07 14:09:40 -0300
  • fb4c187347 Added ends_with method to stringx Alvaro Frias Garay 2021-04-07 13:59:42 -0300
  • e8bb432999 Added ltrim and rtrim methods complementary methods to trim Alvaro Frias Garay 2021-04-05 23:43:35 -0300
  • 41985928d2 [modified] timer to support changing the time in reset Max Cahill 2021-03-12 21:44:09 +1100
  • 89ad4c2dda [added] pubsub and timer modules Max Cahill 2021-03-12 21:23:54 +1100
  • 16c183ec31 [added] tablex.take_random which is like pick_random but removes the element Max Cahill 2021-03-09 20:07:41 +1100
  • 24bcc78616 [added] tablex.append_inplace and tablex.append can both take variable numbers of tables Max Cahill 2021-03-05 12:07:28 +1100
  • 290b39236c [modified] stringx.starts_with to not generate garbage Max Cahill 2021-03-02 11:47:28 +1100
  • dfd1a1c69f [added] stringx.starts_with Max Cahill 2021-03-02 11:45:19 +1100
  • eef0d8d126
    Merge pull request #15 from pakeke-constructor/patch-1 Max Cahill 2021-01-25 10:41:37 +1100
  • f4a924aced
    Fixed start state inclusion in state_machine pakeke-constructor 2021-01-25 12:22:37 +1300
  • 7185a91fc5 [dev] note about oklab colour space Max Cahill 2021-01-15 16:22:01 +1100
  • d5938f098e Happy new year! Max Cahill 2021-01-08 17:06:44 +1100
  • 9bb2f0367d [modified] readme Max Cahill 2021-01-05 15:20:55 +1100
  • 70d6a99891 [modified] state machine api; no longer gets the machine on all callbacks. Max Cahill 2020-12-01 15:33:22 +1100
  • f3038d5bc0
    Merge pull request #13 from speakk/patch-1 Max Cahill 2020-12-01 09:15:33 +1100
  • af60cf26cf
    Mention varargs being passed into state callbacks speak 2020-11-30 23:04:19 +0200
  • 8be736d992 [added] stringx.apply_template for "$template_var" containing strings Max Cahill 2020-11-19 17:18:38 +1100
  • 01ffdc09cd [added] stringx.trim Max Cahill 2020-11-12 16:36:06 +1100
  • baa71bdf4e [added] stringx.deindent (and alias dedent) Max Cahill 2020-11-12 14:32:56 +1100
  • 5335b6fbdd Merge remote-tracking branch 'origin/feature/functional-refactor' into master Max Cahill 2020-11-12 14:32:34 +1100
  • b45f606cdf [fixed] regressions in functional.lua Max Cahill 2020-11-12 13:50:30 +1100
  • a810bf4ce5 [modified] unnecessary use of cached table length for many functions Max Cahill 2020-11-11 13:38:52 +1100
  • 715765003d [modified] moderate functional refactor (BREAKING) - modified functional.reduce signature; takes seed value before function now as this results in much more readable calling code - added filter_inplace and aliased remap as map_inplace to make semantics more clear - rewrote many functions to use numeric for as a tiny speed boost at the cost of library code readability [modified] sequence to be compatible Max Cahill 2020-11-10 20:51:43 +1100
  • 1eaf77ad7a [fixed] assert was not exported upon :export() Max Cahill 2020-11-10 20:48:40 +1100
  • cd1f9f097a [added] mathx.length, mathx.distance for "inline" geometry stuff Max Cahill 2020-09-02 13:34:10 +1000
  • 699affd1ad [added] set:size and set:get(index) Max Cahill 2020-08-29 21:12:56 +1000
  • 5f124be2f0 [added] tablex.trim to trim a table to a certain length Max Cahill 2020-08-24 20:54:43 +1000
  • 028b21ef9a [added] set:to_table which returns the ordered contents unchanged and intentionally disables the set object itself Max Cahill 2020-08-24 20:54:24 +1000
  • e957a4502f [added] colour.distance_rgb and distance_packed_rgb Max Cahill 2020-08-18 19:54:24 +1000
  • 324a5b4783 [dev] Max Cahill 2020-08-12 20:27:28 +1000
  • 616b31b35f [fixed] missing exports for some aliases, simplified export Max Cahill 2020-08-09 19:49:24 +1000
  • 460d96edf6 Updated color.hex2RGB flamendless 2020-08-09 09:13:29 +0800
  • 6e1213241d Added color.hex2RGB flamendless 2020-08-09 09:08:36 +0800
  • b4e2cff498 [added] mathx.bilerp which does a bilinear interpolation from 4 samples Max Cahill 2020-07-27 21:47:06 +1000
  • 84197b5216 [added] proper tracebacks to errors in async tasks with xpcall (only works for functions with :call, not coroutines with :add) Max Cahill 2020-07-24 09:15:28 +1000
  • 8c5fa157c7 [dev] note about strings with spaces being a potential problem with pretty printer; they arent re-parse friendly at the moment Max Cahill 2020-07-22 20:51:54 +1000
  • a18691f229 [modified] async stall resume behaviour implemented in terms of a tail call Max Cahill 2020-07-17 22:47:42 +1000
  • 9e8793668f [modified] async task error format easier to read - still need to move to embedded xpcall+stacktrace for more than 1 line of context though! Max Cahill 2020-07-15 14:16:55 +1000
  • 5230e8f9d6 [fixed] mathx.wrap over-complicated impl, mathx.round (thanks @MikuAuahDark/@sharpobject) Max Cahill 2020-07-09 15:32:42 +1000
  • 7d3b568ac5 [added] correct sequence support for collapse (and flatten) Max Cahill 2020-07-02 17:05:26 +1000
  • 18d02434a0 [added] tablex.flatten as an alias for collapse Max Cahill 2020-07-02 17:04:47 +1000
  • d22cf7a66c [modified] readme tweaks Max Cahill 2020-06-29 14:21:25 +1000
  • e87055bc79 [modified] readme, clarifying installation and versioning Max Cahill 2020-06-29 14:16:58 +1000
  • 04563ed4b7 [modified] stringx.pretty handles embedded tables better (still likely needs a wrap width instead of an element count per line) Max Cahill 2020-06-19 15:17:24 +1000
  • ab93bcef6b [modified] per-section clarifications in readme Max Cahill 2020-06-15 22:28:53 +1000
  • 4d042c58dd [added] spacing on readme module sections Max Cahill 2020-06-15 22:23:22 +1000
  • b63cb34f41 Merge remote-tracking branch 'origin/master' Max Cahill 2020-06-15 21:11:23 +1000
  • ba221060c5 [modified] colour fairly extensively; renamed functions to same snake_case convention as other modules [added] colour.hsl_to_rgb Max Cahill 2020-06-15 21:11:05 +1000
  • e9313f61e0 [added] reset state upon re-entering state machine as_state Max Cahill 2020-06-11 15:35:57 +1000
  • 77fa7b4288 Merge remote-tracking branch 'origin/master' Max Cahill 2020-06-02 15:17:56 +1000
  • a85eec80e2 [added] "canonical" identity function Max Cahill 2020-06-02 15:17:50 +1000
  • eba27da544 [added] note to async about external xpcall being needed for better stack traces Max Cahill 2020-06-02 15:17:36 +1000
  • 01713f766f [modified] minor semantics of state machines, added machinery to allow them to be nested more easily, added notes Max Cahill 2020-06-02 15:02:20 +1000
  • 11483c52ad [fixed] sequence regressions Max Cahill 2020-06-02 15:01:21 +1000
  • 00ac480ed9 [modified] renamed stable_sort.lua to sort.lua; swapped alias order Max Cahill 2020-06-02 15:00:46 +1000
  • 608fa1bca3 Merge remote-tracking branch 'origin/master' Max Cahill 2020-05-29 16:20:34 +1000
  • 591ba1d7a9 [added] assert methods return first argument so they can be used inline Max Cahill 2020-05-29 16:20:26 +1000
  • a260451d7f Merge remote-tracking branch 'origin/master' Max Cahill 2020-05-27 13:03:46 +1000
  • 95a9552cde [added] wip multi-line support to stringx.pretty Max Cahill 2020-05-27 13:03:40 +1000
  • 348653a6dd [modified] moved away from assert for consistency in super_call Max Cahill 2020-05-22 16:29:01 +1000
  • fff1474c37 [fixed] super call in case where subclass called from doesn't have implementation - hurts runtime performance but the previous impl was a potential infinite loop! Max Cahill 2020-05-22 15:50:23 +1000
  • 9d0a7d6e86 [added] mathx.isnan, does what it says on the tin Max Cahill 2020-05-20 21:02:51 +1000
  • 77327aa852 [modified] minor async refactoring [fixed] missing arguments beyond 1 for async calls Max Cahill 2020-05-19 22:11:38 +1000
  • 700c7bc957 [added] cleaner super call functionality to class Max Cahill 2020-05-19 15:17:55 +1000
  • 1610092bd1 [modified] renamed assert:equals to assert:equal for consistency [added] assert:not_equal Max Cahill 2020-05-19 13:01:56 +1000
  • a367d18b51 [added] assert:some for nil checks Max Cahill 2020-05-19 13:00:23 +1000
  • 284856d2c3 [modified] refactored init.lua extensively; used new assert module in stringx and tablex Max Cahill 2020-05-19 12:03:45 +1000
  • cf7354d75f [added] assert module with some "nicer" assertions Max Cahill 2020-05-19 12:03:04 +1000
  • 21c672989c [modified] sequence with a few fixes and newer comments since the module refactor Max Cahill 2020-05-14 15:28:38 +1000
  • 19c21bf308 [modified] class supports inheriting from classes/apis without a new method - in that case the super ctor wont be called automatically as part of init() Max Cahill 2020-05-14 15:27:24 +1000
  • 93e6073128 Merge remote-tracking branch 'origin/master' Max Cahill 2020-05-13 21:09:22 +1000
  • 8a62f3b19f [added] functional.generate and generate_2d Max Cahill 2020-05-13 21:09:15 +1000
  • eb428faa6e [fixed] issue in functional.zip Max Cahill 2020-05-13 21:08:23 +1000
  • f183a1a485 [fixed] a few wrong assert strings Max Cahill 2020-05-12 14:14:08 +1000
  • 3c0ebb1f13 Merge branch 'feature/functional-additions' - thanks to Jack Robinson Max Cahill 2020-05-12 09:43:45 +1000