Commit Graph

564 Commits

Author SHA1 Message Date
Lars Mueller
acdce1742d Add basic 4x4 matrix "class" (for b3d to glTF) 2023-02-26 13:18:10 +01:00
Lars Mueller
fcd53ba269 Fix json.new setting an invalid metatable 2023-02-25 20:33:24 +01:00
Lars Mueller
72ca08ed3a Add basic minetest.mod.require rolling-99 2022-11-05 11:42:01 +01:00
Lars Mueller
1bccb39142 Readme: Acknowledge grorp's contributions 2022-10-29 17:31:23 +02:00
Lars Mueller
26d9b131a5 Minetest: Boxes: pairs -> ipairs
Proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:16 +02:00
Lars Mueller
2eaaca5de4 Minetest: Boxes: Fix connect_sides handling
Bug reported & similar fix proposed by Gregor Parzefall in 1d2b103abe
2022-10-29 17:25:03 +02:00
Lars Mueller
e6c5860cb9 Minetest: Boxes: Fix walkable/pointable check
Bug reported by Gregor Parzefall in https://github.com/appgurueu/modlib/pull/8#issuecomment-1295793962
2022-10-29 16:45:04 +02:00
Lars Mueller
2d056e72ae PNG: Fix call vs. assignment ambiguity 2022-10-07 17:54:01 +02:00
Lars Mueller
264687e302 Expose minetest.obj module 2022-10-03 18:46:16 +02:00
Lars Mueller
b688f49632 Remove modlib.conf module 2022-10-03 18:27:34 +02:00
Lars Mueller
ea534909c7 Remove defunct Lua version compat 2022-10-03 18:24:07 +02:00
Lars Mueller
b19d4febb2 Add modlib.G & modlib.set_environment 2022-10-03 18:22:59 +02:00
Lars Mueller
cc0c11edb4 Add Minetest .obj model reader 2022-10-03 13:46:40 +02:00
Lars Mueller
8fadca6c4d Luon: Incorporate changes to MT serializer 2022-10-02 14:18:16 +02:00
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