Commit Graph

546 Commits

Author SHA1 Message Date
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 rolling-83 2022-01-09 19:31:41 +01:00
Lars Mueller
c87effd9a5 Expose web module rolling-82 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 rolling-81 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 rolling-80 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
Lars Mueller
ff9d1c9d95 Add file.split_path 2021-11-06 18:32:58 +01:00
Lars Mueller
c02a83aee8 Move dir_delim to file module, add file.concat_path 2021-11-06 18:32:35 +01:00
Lars Mueller
277c076651 Rename file.get_extension to file.split_extension 2021-11-06 14:28:27 +01:00
Lars Mueller
dc80e8b45c Add file.get_name 2021-11-04 17:03:41 +01:00
Lars Mueller
c0ea0dba47 Add colorspec.from_hsv 2021-11-03 23:00:58 +01:00
Lars Mueller
f5526205cb PNG: Remove unnecessary flooring 2021-10-30 17:39:44 +02:00
Lars Mueller
8e42d027a0 PNG decoder: Fix transparency handling 2021-10-30 16:49:06 +02:00
Lars Mueller
7e57c55caf Fix crash 2021-10-29 22:20:47 +02:00
Lars Mueller
44896f1d51 convert_png_to_argb8: Set color type & bit depth 2021-10-25 17:46:58 +02:00
Lars Mueller
8801a3d159 PNG: Always use bit XOR polyfill for now 2021-10-24 11:42:32 +02:00
Lars Mueller
281db12a5f PNG: Fix bit.bxor not being used 2021-10-24 11:31:21 +02:00
Lars Mueller
5285619407 Fix crash when bit library is unavailable 2021-10-24 11:20:21 +02:00
Lars Mueller
6d40609f38 decode_png: Implement Adam7 interlacing support 2021-10-23 22:37:05 +02:00
Lars Mueller
7d4aa0fec1 Add experimental decode_png & convert_png_to_argb8 2021-10-23 17:14:56 +02:00