Commit Graph

610 Commits

Author SHA1 Message Date
Lars Mueller
7cf3bd2944 Turn remaining MT-only modules into MT-submodules
Affects mod, log, conf & player. Preserves compat through aliases.
2022-01-25 19:51:46 +01:00
Lars Mueller
0a749b6e70 mod module: Add fixme annotation 2022-01-25 11:35:29 +01:00
Lars Mueller
5b9cfa16a1 SQLite3 persistence test: Don't leave file in CWD 2022-01-23 13:54:48 +01:00
Lars Mueller
f7bb444f78 Add deg/rad variants of quaternion/euler conversion 2022-01-22 16:40:49 +01:00
Lars Mueller
d54e76c138 Add quaternion.compose 2022-01-22 16:31:23 +01:00
Lars Mueller
317123619b Fix modlib.table.union 2022-01-20 15:57:22 +01:00
Lars Mueller
d2b6b4ec64 Add table.default 2022-01-20 15:13:11 +01:00
Lars Mueller
e346128d4d Add web.uri.encode[_component] 2022-01-19 17:24:29 +01:00
Lars Mueller
4a9fa41827 Fix hashheap 2022-01-19 17:17:07 +01:00
Lars Mueller
e3ef255bf5 Add hashheap 2022-01-19 16:45:47 +01:00
Lars Mueller
86033f0470 Heap: Localize math.floor & table.insert 2022-01-19 16:38:06 +01:00
Lars Mueller
5d3c011f79 after: add nil support 2022-01-19 16:15:43 +01:00
Lars Mueller
d709a7e001 Fix test 2022-01-18 20:46:12 +01:00
Lars Mueller
f4b7eca18f Add func.memoize 2022-01-18 18:47:38 +01:00
Lars Mueller
479afb6c88 Add math.log(number, [base]) 2022-01-17 14:16:42 +01:00
Lars Mueller
e33360ee49 Add math.log[base](number) 2022-01-17 11:58:16 +01:00
Lars Mueller
66315d0219 Add vector.normalize_zero 2022-01-12 12:16:55 +01:00
Lars Mueller
71b6d9769d Add vector.zeros 2022-01-12 12:16:02 +01:00
Lars Mueller
9bbbcae162 Fix vector.invert 2022-01-12 12:15:17 +01:00
Lars Mueller
228bfda006 Fix vector.rotate3 2022-01-11 18:02:39 +01:00
Lars Mueller
bcda0511b1 Add vector.ray_parallelogram_intersection 2022-01-09 19:31:41 +01:00
Lars Mueller
c87effd9a5 Expose web module 2022-01-09 17:32:11 +01:00
Lars Mueller
170b0393e1 file: return errors for use in assertions 2022-01-08 13:32:12 +01:00
Lars Mueller
9bfefb9283 write_binary: default to safe file write on MT 2022-01-08 13:30:54 +01:00
Lars Mueller
eb0c6b28d3 Don't rely on undefined order of execution 2022-01-07 18:50:36 +01:00
Lars Mueller
4402f2a054 Add math.onemod 2022-01-07 18:31:15 +01:00
Lars Mueller
53df320988 Commit forgotten HTML entities 2022-01-05 19:45:14 +01:00
Lars Mueller
dc648aa598 Improve code quality 2022-01-04 15:27:27 +01:00
Lars Mueller
d7cd844e9b Add "goto" to keywords 2022-01-04 13:55:29 +01:00
Lars Mueller
a17981879d Make is_identifier pattern locale-independent 2022-01-04 13:44:01 +01:00
Lars Mueller
005be9fbf5 Add web.html.[un]escape 2022-01-04 13:42:46 +01:00
Lars Mueller
ba4ce3254b Fix file.get_name 2021-12-30 18:49:35 +01:00
Lars Mueller
fa328b16db Luon & lua log file: Fix handling of keyword keys 2021-12-30 17:12:51 +01:00
Lars Mueller
a243d2ae48 Add modlib.file.write_binary 2021-12-28 00:04:58 +01:00
Lars Mueller
a89ce5bca8 Fix hashlist:pop_head 2021-12-27 20:09:26 +01:00
Lars Mueller
c2cfd59426 Fix quaternion normalization 2021-12-26 16:16:18 +01:00
Lars Mueller
fbbcc27fed Fix hashlist:(ipairs|rpairs) 2021-12-23 20:09:21 +01:00
Lars Mueller
83c5c87390 Add math.sign 2021-12-19 14:59:05 +01:00
Lars Mueller
e048fb3b03 colorspec.from_string(): return nothing if invalid 2021-11-13 23:57:32 +01:00
Lars Mueller
aac9eea46e Colorspec: From & to ARGB / RGBA number renamings 2021-11-13 23:44:29 +01:00
Lars Mueller
9a70d4cc98 Fix colorspec:to_string() 2021-11-13 23:38:58 +01:00
Lars Mueller
2d47f5fd9f colorspec: expose metatable 2021-11-13 23:35:02 +01:00
Lars Mueller
f06bda9785 Add iterator aggregation functions 2021-11-13 17:59:23 +01:00
Lars Mueller
b1ca160751 Add table.ivalues 2021-11-13 16:34:49 +01:00
Lars Mueller
e84f090d03 Add table.from_iterator 2021-11-13 16:30:23 +01:00
Lars Mueller
e6a71ac13f Add more small table utils 2021-11-13 16:29:00 +01:00
Lars Mueller
6b8fb8da91 Code quality improvements 2021-11-13 13:15:58 +01:00
Lars Mueller
9b72be42af Code quality 2021-11-06 18:45:12 +01:00
Lars Mueller
6937b6782c Fix dir_delim move 2021-11-06 18:38:08 +01:00
Lars Mueller
5cf756245b Prevent global access warning 2021-11-06 18:35:29 +01:00