Commit Graph

600 Commits

Author SHA1 Message Date
Lars Mueller
e34b64ece8 Add utf8.codes iterator; change utf8.codepoint 2022-10-01 20:39:25 +02:00
Lars Mueller
feb6ad276e Add utf8.codepoint (inverse of utf8.char) 2022-10-01 19:40:22 +02:00
Lars Mueller
ef2f1020c7 Add utf8.charpattern 2022-10-01 19:31:46 +02:00
Lars Mueller
cd234548e5 Fix & optimize utf8.char 2022-10-01 19:31:27 +02:00
Lars Mueller
4677b2c827 Make utf8.char variadic, (re)move checks 2022-10-01 18:45:12 +02:00
Lars Mueller
4d6e5fdfb0 Add less_than function utility module 2022-10-01 18:11:44 +02:00
Lars Mueller
39335cf76f Add table.(slice|splice|move) 2022-10-01 14:34:31 +02:00
Lars Mueller
fd14e2abb6 Remove table.best_value & replace table.(min|max) 2022-10-01 13:52:00 +02:00
Lars Mueller
aca117a244 Make all table copy variants preserve metatables 2022-10-01 13:26:29 +02:00
Lars Mueller
0d864f0065 Add various iterator.* functions 2022-10-01 12:56:24 +02:00
Lars Mueller
d72e589a62 Add func.identity 2022-09-30 16:09:16 +02:00
Lars Mueller
8b538587ad Add table.clear 2022-09-30 15:31:11 +02:00
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