Commit Graph

583 Commits

Author SHA1 Message Date
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
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
Lars Mueller
25aa5c6e82 Fix defaulting to minetest.encode_png 2021-10-21 17:51:18 +02:00
Lars Mueller
ca146ff265 encode_png: Support different data formats 2021-10-21 16:16:22 +02:00
Lars Mueller
084d5e90c0 Colorspec: Fix from_any(), add to/from ARGB number 2021-10-21 16:13:27 +02:00
Lars Mueller
578d504575 Add modlib.minetest.encode_png 2021-10-21 15:40:04 +02:00
Lars Mueller
e5a3f0c9d8 Fix register_on_wielditem_change 2021-10-20 19:21:27 +02:00
Lars Mueller
1a0ba11b49 Ray-triangle-intersection: Return u and v 2021-10-18 18:36:09 +02:00
Lars Mueller
1b85482ca7 Fix vector indexing stack overflow 2021-10-10 19:59:53 +02:00
Lars Mueller
9d28fb24d4 Add & use binary.(read|write)_int 2021-10-10 18:14:35 +02:00
Lars Mueller
7448a50765 Properly credit luk3yx 2021-09-24 18:30:30 +02:00
Lars Mueller
2a6c587784 Fix logfile test 2021-09-22 13:32:13 +02:00
Lars Mueller
740be81f98 Fix handling of media subfolders 2021-09-21 10:03:24 +02:00
Lars Mueller
fe9a55505b lua_log_file:init(): preserve root 2021-09-20 21:33:06 +02:00
Lars Mueller
259f28c886 Fix get_mod_load_order crash if mods with unfulfilled optional dependencies are enabled 2021-09-20 20:34:36 +02:00