Commit Graph

554 Commits

Author SHA1 Message Date
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
Lars Mueller
b7c6514bc8 Merge branch 'master' of https://github.com/appgurueu/modlib 2022-07-17 21:31:04 +02:00
Lars Müller
017f2119cb
Credit NobWow 2022-07-17 21:28:44 +02:00
NobWow
9f65d5df9a Close the file after reading 2022-07-17 21:27:38 +02:00
Lars Mueller
234f6d1ecd Text inputstream: Allow obtaining cursor position 2022-07-14 15:51:36 +02:00
Lars Mueller
7eb5f09752 Remove deprecated minetest.mod.extend_string 2022-07-10 16:27:15 +02:00
Lars Mueller
748ff4a857 Remove deprecated text.handle_ifdefs 2022-07-10 16:25:28 +02:00
Lars Mueller
2a1a475fa8 Update mod.conf: Add dbg & strictest as opt deps 2022-07-10 15:43:52 +02:00
Lars Mueller
d94092ae9f Add math.rand(om|int) 2022-07-10 15:36:54 +02:00
Lars Mueller
93c1338135 Add file.read_binary for consistency 2022-07-10 14:31:45 +02:00
Lars Mueller
6d87228f4f Generalize node box getting 2022-07-10 14:20:45 +02:00
Lars Mueller
190f7a11f4 Remove obsolete .gitignore 2022-07-10 14:06:54 +02:00
Lars Mueller
bd5dd3fa50 Remove func.assert 2022-07-10 14:04:37 +02:00
Lars Mueller
aa85f75d6d Add table.merge 2022-07-10 13:07:11 +02:00
Lars Mueller
ea9197c571 table.deep_to_add: Don't emit empty subtables 2022-07-10 12:21:17 +02:00
Lars Mueller
187723118c Add table.hpairs 2022-07-10 12:18:35 +02:00
Lars Mueller
d4c6468cec Add table.count_equals 2022-07-10 12:06:30 +02:00
Lars Mueller
494d109833 Add table.deepset; alias table.nilget to deepget 2022-07-10 12:00:38 +02:00
Lars Mueller
530360474a text: Minor cleanup 2022-07-05 11:34:58 +02:00
Lars Mueller
ed3ab9c403 Release rolling-98 rolling-98 2022-07-03 19:00:12 +02:00
Lars Mueller
83ff2728e3 Remove debug module 2022-07-03 13:33:44 +02:00
Lars Mueller
5a8978f93d binary: Float writing: Fix exponent assertions 2022-07-03 13:29:49 +02:00
Lars Mueller
2304cedbac binary.read_double: Fix nan reading 2022-07-03 13:28:34 +02:00
Lars Mueller
656707b505 Fix binary.(read|write)_(float|single|double) 2022-07-02 23:34:26 +02:00
Lars Mueller
eb0a55af58 Bluon: Clean up number writing 2022-07-02 17:41:11 +02:00
Lars Mueller
aa327126bf b3d writing: Round Lua doubles to floats
rather than erroring if float (precision) bounds are exceeded
2022-07-02 17:39:43 +02:00
Lars Mueller
898db2c278 Bluon: Write out-of-bounds ints as floats 2022-06-27 22:14:42 +02:00
Lars Mueller
cc0a56dd7a Bump version rolling-97 2022-06-27 21:20:29 +02:00
Lars Mueller
21e97ca329 Remove local tests in favor of a test repo 2022-06-27 21:19:24 +02:00
Lars Mueller
f3d856c2db Add vector.axis_angle3 2022-06-17 11:15:47 +02:00
Lars Mueller
c14c208a61 vector: get rid of lexical comparisons 2022-06-17 11:15:24 +02:00
Lars Mueller
c50410a81e Fix raycast crash 2022-06-16 16:11:07 +02:00
Lars Mueller
738ae8a6ae Bump version & update changelog rolling-96 2022-06-08 11:31:51 +02:00
Lars Mueller
c088057d56 Clean up B3D reader, add B3D writer 2022-06-08 11:31:25 +02:00
Lars Mueller
c0b2957c67 Fix binary.write_float 2022-06-08 10:17:15 +02:00