Commit Graph

372 Commits

Author SHA1 Message Date
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 rolling-79 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 rolling-78 2021-09-21 10:03:24 +02:00
Lars Mueller
fe9a55505b lua_log_file:init(): preserve root rolling-77 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 rolling-76 2021-09-20 20:34:36 +02:00
Lars Mueller
77ac8ba640 Lua log file: Fix list handling rolling-75 2021-09-19 11:03:21 +02:00
Lars Mueller
29f7960464 Schema MD: Fix missing description for primitives 2021-09-19 10:46:57 +02:00
Lars Mueller
9325d65ceb Fix text.trim_spacing 2021-09-18 14:08:09 +02:00
Lars Mueller
651593639c minetest.colorspec: simpler error message 2021-09-16 20:28:13 +02:00
Lars Mueller
139d003742 Deprecate modlib.player module 2021-09-16 20:22:52 +02:00
Lars Mueller
9664be450e Fix JSON reader surrogate pair handling 2021-09-16 19:30:24 +02:00
Lars Mueller
2a6846c9a2 Fix modlib.minetest.set_privs 2021-09-16 15:18:53 +02:00
Lars Mueller
e6fafde8df Release notes rolling-74 2021-09-15 19:14:34 +02:00
Lars Mueller
490e50c181 Add modlib.minetest.set_privs 2021-09-15 19:01:04 +02:00
Lars Mueller
20a6bb37d0 Remove dead code 2021-09-15 18:48:25 +02:00
Lars Mueller
edbf61a6e4 Fix localizations 2021-09-15 00:12:34 +02:00