Commit Graph

  • e6a59460bd [modified] functional.remove renamed to functional.remove_if, moved functional.group_by, more documentation added Max Cahill 2020-05-12 09:42:06 +1000
  • 12e48d72ac [added] call metamethod for classes so eg vec2:new(...) can be written as vec2(...) Max Cahill 2020-05-12 09:26:11 +1000
  • 2d24d8e913 [added] add remove which holds onto all elements where f(v) returns false Jack Robinson 2020-05-11 12:41:27 +1200
  • d882127bda [added] add group-by function to group elements by the return of a provided function Jack Robinson 2020-05-11 12:40:44 +1200
  • 6f0945a675 [added] set:values_readonly() to avoid a copy if you only need readonly access, with a note about safety Max Cahill 2020-05-02 20:12:59 +1000
  • a5acce3e40 [added] `set to readme Max Cahill 2020-05-02 20:04:52 +1000
  • e5be0df492 [added] set module with full (-ish?) suite of set operations and efficient (non-linear) membership testing Max Cahill 2020-05-02 19:59:02 +1000
  • 28e06c4a10 [modified] unique_mapping memoised compare function and cleanup Max Cahill 2020-05-02 19:40:31 +1000
  • 4a2505a04d [added] mathx.relative_angle replaced with mathx.angle_difference and direction "fixed" Max Cahill 2020-05-01 12:59:58 +1000
  • 9afbf08f34 Merge remote-tracking branch 'origin/master' Max Cahill 2020-04-30 16:39:09 +1000
  • 7deef92639 [added] mathx.lerp_angle and notes about possible changes to mathx.relative_angle Max Cahill 2020-04-30 16:38:59 +1000
  • b91f4f1fcc [added] tablex.collapse to reduce the dimensionality of a table; caveats on some edge case behaviour documented Max Cahill 2020-04-29 20:57:05 +1000
  • 87cdb1fcb7 Merge remote-tracking branch 'origin/master' Max Cahill 2020-04-29 20:16:48 +1000
  • 7be89d799c [modified] readme; notes about stringx and a bit of other cleanup Max Cahill 2020-04-29 20:16:33 +1000
  • fc0812d94e [fixed] possible missing args causing issues in async Max Cahill 2020-04-28 17:05:25 +1000
  • 9048ee116f [fixed] issues with async calls when missing args, callback, or error callback (eg single anonymous function) Max Cahill 2020-04-28 12:08:53 +1000
  • e75147ec77 [modified] moved tablex.stringify to stringx.pretty Max Cahill 2020-04-17 10:45:15 +1000
  • 26acf1752d [added] stringx module (just split for now) and overlay to string on export Max Cahill 2020-04-17 10:35:00 +1000
  • 6bf6113dc2 [added] quoted strings in tablex.stringify; todo consider moving it to stringx actually, as it works for non-table types, maybe as stringx.pretty... Max Cahill 2020-04-17 10:34:39 +1000
  • f6a2c9834f [added] nearest_point_on_line Max Cahill 2020-04-16 17:17:53 +1000
  • d445c170e1 [added] tablex.insert_sorted (does what you'd expect, though no binary search yet) Max Cahill 2020-04-14 21:52:33 +1000
  • 7922cd3912 [modified] table.push and table.unshift return the table for possible chaining Max Cahill 2020-04-14 13:53:10 +1000
  • b570ea7096 [added] tablex.front and tablex.key_of Max Cahill 2020-04-10 14:14:15 +1000
  • 317f3f2cc7 [updated] readme with link to examples Max Cahill 2020-04-09 17:39:57 +1000
  • 54b21ce159 [added] mathx.wrap_index Max Cahill 2020-04-09 17:39:46 +1000
  • 9fbe8cc3c4 [fixed] typo in vec3 tostring Max Cahill 2020-04-08 21:25:42 +1000
  • a87380f43c [modified] moved dedupe from functional to tablex Max Cahill 2020-04-08 21:18:52 +1000
  • f214be9f59 [added] tostring awareness for tablex.stringify Max Cahill 2020-04-08 21:10:24 +1000
  • afd279f1db [added] tostring for vec2 and vec3 - not sure how to handle wanting more/less precision for these currently. Max Cahill 2020-04-08 21:10:03 +1000
  • c191a7b4f6 [fixed] issue loading tablex without love Max Cahill 2020-04-08 20:51:16 +1000
  • 8d5da0a9ff [modified] moved append and append_inplace from functional to tablex Max Cahill 2020-04-08 20:50:51 +1000
  • e1f759cb90 [fixed] sequence:reduce typo Max Cahill 2020-04-07 16:19:38 +1000
  • 55d9980512 [modified] misc readme Max Cahill 2020-04-07 14:05:25 +1000
  • 3d5f2e99ff [fixed] missing paren in readme Max Cahill 2020-04-07 14:01:37 +1000
  • 27790c69a8 [added] state_machine:_call supports varargs Max Cahill 2020-04-07 13:56:00 +1000
  • 1e07dd9746 [modified] state machine uses class rather than own metatable management Max Cahill 2020-04-07 13:53:28 +1000
  • 02568f8f08 [modified] intersect.lua imports vec2 unconditionally rather than attempting to use the global Max Cahill 2020-04-07 13:51:13 +1000
  • 6386aaf298 [modified] big refactor to localised modules and require("batteries"):export() for global usage; renamed files table to tablex and math to mathx to allow using the library in your module root if you really want to. Max Cahill 2020-04-07 13:49:10 +1000
  • 4bbbdf86d6
    [modified] functional.lua find_best changed to ipairs and added find_min and find_max better named alternatives Max Cahill 2020-04-04 18:59:40 +1000
  • 9422152181 [added] math.lerp_eps and matching vec2/vec3 methods; for ensuring a lerp actually reaches its destination once the delta doesn't matter Max Cahill 2020-04-01 20:58:18 +1100
  • 870d291369 [modified] optimised vec3 swizzling Max Cahill 2020-04-01 20:56:36 +1100
  • c7d96461cf [added] intersect.point_in_poly and required plumbing Max Cahill 2020-04-01 19:28:22 +1100
  • ef25d12b1b
    Merge pull request #3 from flamendless/patch-1 Max Cahill 2020-03-28 16:06:37 +1100
  • 4f3c277493
    Fixed typo in table.clear Brandon Blanker Lim-it 2020-03-28 12:30:25 +0800
  • 74a04423bb [removed] class.lua dependency on table.overlay - fixed #1 Max Cahill 2020-03-24 14:57:42 +1100
  • 3674846f11 [added] functional.find_best accepts (ignores) nil results for easy filtering Max Cahill 2020-03-20 22:31:20 +1100
  • 370aee6cbc [added] vec2:new supports .x .y table argument Max Cahill 2020-03-18 21:22:11 +1100
  • bb35fc2f57 [added] stall support, timers and intervals to async Max Cahill 2020-03-16 20:17:48 +1100
  • 3d3ccd921c [fixed] color alias added to exported module as well as exported globals Max Cahill 2020-03-15 21:38:19 +1100
  • ebfbd10b3a [added] more documentation Max Cahill 2020-03-15 21:36:50 +1100
  • ad2fc71e7a [fixed] non-global compatible Max Cahill 2020-03-15 21:22:22 +1100
  • 429ef9b02e [fixed] typo Max Cahill 2020-03-15 20:41:39 +1100
  • 0f029123f4 [modified] readme dust off Max Cahill 2020-03-15 20:40:00 +1100
  • 6257931520 [added] license note to readme Max Cahill 2020-03-15 20:29:53 +1100
  • 66a9f41474 [modified] renamed to batteries, added global export suppression and more documentation Max Cahill 2020-03-15 20:28:50 +1100
  • 0dd92b2c2e [moved] table.copy from functional.lua to table.lua and updated signature a little to allow deep overlays Max Cahill 2020-03-12 21:15:18 +1100
  • 27b73543e0 [modified] clean up source of stable_sort.lua Max Cahill 2020-03-10 13:14:26 +1100
  • 94005675e9 [fixed] vec3:new - seldom used but still important Max Cahill 2020-02-26 15:25:02 +1100
  • 9d556574f1 [added] table.reverse, vec3 to init.lua Max Cahill 2020-02-05 21:16:23 +1100
  • 0a1e55b300 [fixed] issued with async Max Cahill 2020-02-01 21:38:00 +1100
  • 22acd78e5e [added] async todo Max Cahill 2020-02-01 19:39:51 +1100
  • 2253533246 [added] manual gc Max Cahill 2020-02-01 19:30:36 +1100
  • 6e7cabe9e0 [modified] split sequence and unique_mapping to their own files [added] async to init Max Cahill 2020-01-31 11:56:37 +1100
  • 8a582f8c66 [added] async.lua Max Cahill 2020-01-31 11:55:50 +1100
  • 6d4fe84ac1 [modified] sequences use metatable rather than copying from table Max Cahill 2020-01-30 14:56:56 +1100
  • 63448b5d5e [added] vec3.lua (very quick work, probably would benefit from tests) Max Cahill 2020-01-29 21:12:14 +1100
  • 2069a4b3e7 [added] readme, license Max Cahill 2020-01-29 14:32:57 +1100
  • 2f470cf7c7 initial commit Max Cahill 2020-01-29 14:26:28 +1100