Commit Graph

588 Commits

Author SHA1 Message Date
Lars Mueller
94cbfe30eb Add iterator.(reduce|any|all) 2022-09-30 15:14:14 +02:00
Lars Mueller
19f0ac48ad Add table.same for fast table equality checking 2022-09-30 15:13:55 +02:00
Lars Mueller
4ded26be2c table.copy: Preserve metatables by default 2022-09-30 12:55:44 +02:00
Lars Mueller
49595be3ac Deprecate comparators in favor of less than funcs;
switch binary search return values to `nil, insertion index` if the value is not found
2022-09-30 12:48:59 +02:00
Lars Mueller
cefa8e64b9 Add TODO for mod.require 2022-09-30 12:45:15 +02:00
Lars Mueller
a4118e04fe Fix text.lines & deprecate text.split_lines 2022-09-29 21:06:51 +02:00
Lars Mueller
88aca204f3 Add text.random_bytes 2022-09-29 11:39:43 +02:00
Lars Mueller
53bb6915db Add text.i(chars|bytes) 2022-09-28 21:31:39 +02:00
Lars Mueller
3d585154eb text.spliterator: add assert to prevent inf. loop 2022-09-28 21:26:59 +02:00
Lars Mueller
715bf47aba Clean up text.escape_pattern 2022-09-28 20:57:24 +02:00
Lars Mueller
e648775cae Add text.spliterator 2022-09-28 20:51:21 +02:00
Lars Mueller
a5c49754d9 text.split[_unlimited]: Use pattern by default 2022-09-28 20:50:25 +02:00
Lars Mueller
1244f1eba0 Move setting tree building from conf to mod module 2022-09-28 20:45:00 +02:00
Lars Mueller
a0d092090d Remove text.trim[_*] funcs except for trim_spacing 2022-09-23 12:06:12 +02:00
Lars Mueller
14e86618d0 Add iterator table / list / set comprehensions 2022-09-20 20:03:02 +02:00
Lars Mueller
ffba199b96 Remove ranked set 2022-09-20 19:44:01 +02:00
Lars Mueller
ff7f0e1d2d Fix table values constraint in schema validation 2022-09-18 16:06:12 +02:00
Lars Mueller
d2183f2357 Remove deprecated assertdump 2022-09-17 20:10:14 +02:00
Lars Mueller
644c00aae1 Remove deprecated modlib.log module 2022-09-17 20:07:00 +02:00
Lars Mueller
9e4ee70e21 Remove deprecated tablecopy alias 2022-09-17 19:35:33 +02:00
Lars Mueller
8a8f30f2aa Remove deprecated modlib.player module 2022-09-17 19:34:57 +02:00
Lars Mueller
e0a6406566 Remove deprecated minetest.player.get_color_int 2022-09-17 18:47:03 +02:00
Lars Mueller
2bbcbee1c4 func: Complete operators 2022-09-09 21:27:10 +02:00
Lars Mueller
b8560d7e62 Add func.compose 2022-09-09 21:24:20 +02:00
Lars Mueller
cc63bf33ca Move API documentation to dedicated folder 2022-09-09 20:03:51 +02:00
Lars Mueller
7a2c574bf1 Readme: Remove release notes 2022-09-09 14:52:25 +02:00
Lars Mueller
69b6d6e4ec Remove obsolete documentation 2022-09-09 14:50:31 +02:00
Lars Mueller
f4a7041387 Add principles to Readme 2022-09-09 14:49:15 +02:00
Lars Mueller
f875b2079d Docs: Compare JSON module against MT's JSON 2022-09-09 14:47:41 +02:00
Lars Mueller
b2bbabe3e0 Experimental modules have matured 2022-09-09 14:45:54 +02:00
Lars Mueller
51a3ae5bb3 Readme: Adjust blank lines 2022-09-09 14:42:29 +02:00
Lars Mueller
b938ef85e0 Add vector.reflect 2022-09-09 14:34:42 +02:00
Lars Mueller
9d29f42b4c Add text.contains 2022-09-09 14:22:25 +02:00
Lars Mueller
825599f2d0 Move text.utf8 to utf8.char 2022-09-09 14:17:18 +02:00
Lars Mueller
341dd5851b Add vararg module & move func.aggregate to it 2022-09-07 12:43:16 +02:00
Lars Mueller
3c1f8a2d37 Fix iterator.for_generator nil handling 2022-09-07 12:02:51 +02:00
Lars Mueller
5e7c29980d Move for_generator from func.* to iterator.* 2022-09-07 12:00:32 +02:00
Lars Mueller
6d527b0471 Move func.iterate to iterator.foreach 2022-09-07 11:48:24 +02:00
Lars Mueller
2a133df40d Fix func.call_by_value nil handling 2022-09-07 11:42:37 +02:00
Lars Mueller
bd150ce209 Move iterator utils from func to own module 2022-09-07 11:41:53 +02:00
Lars Mueller
83c20cf89d Minor cleanup 2022-09-06 15:04:25 +02:00
Lars Mueller
0ae7c97e40 Deprecate table.tablecopy alias 2022-09-06 12:36:03 +02:00
Lars Mueller
baecb79eda Add TODO for proper after job cancellation 2022-09-06 12:09:17 +02:00
Lars Mueller
7297852127 Cache mod info & load order 2022-09-06 12:08:38 +02:00
Lars Mueller
30114160e2 Remove screenshot 2022-09-05 17:33:50 +02:00
Lars Mueller
90d3062257 Move B3D specification to doc folder 2022-08-29 15:19:04 +02:00
Lars Mueller
91fed867a1 Func: Add properly named aliases for logical ops 2022-08-19 18:20:04 +02:00
Lars Mueller
756867495f Trie: Remove TODO comment 2022-08-19 18:19:45 +02:00
Lars Mueller
597666f3e3 SQLite3 persistence: Wrap :set in a transaction 2022-08-01 15:00:34 +02:00
Lars Mueller
318e737a08 file: Use io.lines 2022-07-17 21:33:54 +02:00