Commit Graph

12132 Commits

Author SHA1 Message Date
sfan5
a6121c7f67 Fix path traversal in mainmenu's extract_zip 2024-07-10 22:37:45 +02:00
rubenwardy
bb3f271a20
Set ContentDB updates detection cache time to 24 hours (#14837) 2024-07-09 22:07:26 +01:00
grorp
3de42f56c5
Fix and improve particle(spawner) documentation (#14804) 2024-07-06 18:02:31 +02:00
grorp
fcb4f258f5
GUITable: Scale images with display density / row height (#14709) 2024-07-02 20:57:43 +02:00
Lars Müller
8ed55b3aff
Help modders deal with object invalidation (#14769)
* Skip invalid objects in raycasts
* Add `ObjectRef:is_valid` method
* Add object inside radius / area iterators which skip invalid objects
* Update docs to clarify object invalidation and how to deal with it

---------

Co-authored-by: sfan5 <sfan5@live.de>
2024-07-01 20:50:38 +02:00
Erich Schubert
d5444e1172
Fix more missing newlines in lua_api.md (#14791)
Poor rendering in online documentation:
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-the-mapgen-env
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-an-async-environment
2024-07-01 20:49:00 +02:00
grorp
ea827e4c5d
Fix new texture properties not being sent for minetest.add_particle (#14760)
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2024-07-01 20:41:54 +02:00
SmallJoker
95e77bd7cb Translation updater: Fix error when no translation strings were found 2024-07-01 18:29:53 +02:00
1F616EMO~nya
321b217feb
Log node/ore name when detecting deprecated fields (#14794) 2024-07-01 17:26:15 +02:00
grorp
3958c19f83
Remove enable_touch special case for C++ menu scaling (#14800) 2024-06-30 20:39:36 +02:00
grorp
7709d92289
Restore old inconsistent minimum digging time behavior (#14777)
and restore default of 0.16 for repeat_place_time since it was only changed to be in line with repeat_dig_time.
2024-06-30 20:39:28 +02:00
sfan5
868b548dd0 lua: add short readme 2024-06-30 20:38:22 +02:00
sfan5
837aab0e98 lua: apply patch for "read overflow in 'l_strcmp'"
<https://lua.org/bugs.html#5.4.6-1> (minimal port of changes)
2024-06-30 20:38:22 +02:00
sfan5
77ac20a66b lua: apply patch for "Parameter 'what' of 'debug.getinfo' cannot start with '>'"
<https://lua.org/bugs.html#5.4.2-2>
2024-06-30 20:38:22 +02:00
sfan5
7362ecb3b4 lua: apply patch for "Compiler can optimize away overflow check in table.unpack"
<https://lua.org/bugs.html#5.2.3-1>
2024-06-30 20:38:22 +02:00
sfan5
88ffe75b58 lua: apply patch for "Chunk with too many lines may crash Lua"
<https://lua.org/bugs.html#5.2.3-3>
2024-06-30 20:38:22 +02:00
sfan5
c1520c9e11 lua: apply patch for "Stack overflow in vararg functions with many fixed parameters called with few arguments"
known as CVE-2014-5461
<https://sources.debian.org/src/lua5.1/5.1.5-9/debian/patches/0004-Fix-stack-overflow-in-vararg-functions.patch/>
2024-06-30 20:38:22 +02:00
grorp
9a1501ae89
CIrrDeviceSDL: Fix numpad key events not having correct KeyInput.Char (#14780)
Allows you to change viewing range using numpad +/- again. This fix also works with the current unreleased version of SDL 3.

The keycodes for numpad keys (both SDL keycodes and Irrlicht keycodes) are not the same as the keycodes for the equivalent non-numpad keys and don't correspond to chars, so I mapped them to chars manually.

Since I think the resolution of https://github.com/minetest/minetest/issues/13770 was "just disable numlock", I made sure to only do this for the numpad number keys if numlock is enabled.
2024-06-27 14:44:44 +02:00
Erich Schubert
514e106414
Fix missing newline before Markdown list (#14783)
Renders incorrectly e.g. on https://api.minetest.net/spatial-vectors/
2024-06-26 22:21:18 +02:00
grorp
4c001bd248
Make button sprites (scrollbar arrows) DPI-aware (#14772) 2024-06-26 15:25:27 +02:00
1F616EMO~nya
fb6ceb2664
Properly escape Markdown markups at minetest.string_to_area (#14774)
Co-authored-by: DS <ds.desour@proton.me>
2024-06-24 22:14:16 +02:00
aminothere
50da26da91
Document alternative 'persist' key in noise parameter table (#14762) 2024-06-24 22:12:42 +02:00
kromka-chleba
28857841aa
Fix math.round floating point bug (#14757) 2024-06-24 20:57:06 +01:00
rubenwardy
157d129e30
Fix unnecessary content refreshing (#14705) 2024-06-24 20:56:37 +01:00
Yoruma
9ab447843b
Clarify "dtime" in API (#14758) 2024-06-22 10:59:58 +02:00
l-koehler
fe6da3a16b
Disallow formspec debug if the player does not have the debug privilege (#14753) 2024-06-17 15:59:49 +02:00
sfan5
fac9aac821
Move malloc_trim invocations to background thread (#14744) 2024-06-17 15:59:35 +02:00
grorp
d7f4ce6cff
Fix broken default sneak keybind on macOS with SDL (#14754) 2024-06-16 17:50:02 +02:00
grorp
a9cca5e76c
SDL2: Support highdpi (#14703)
and handle DPI changes at runtime
2024-06-16 17:49:42 +02:00
cx384
7a64527db5
Fix connected_players on_shutdown (#14739) 2024-06-15 16:00:33 +02:00
grorp
bc23a610d3
Fix two problems with toggling fullscreen at runtime (#14750) 2024-06-14 16:50:41 +02:00
Mikita Wiśniewski
9def45aa80
Add zstd to Void Linux dependencies (#14748) 2024-06-12 12:39:15 +02:00
grorp
85878d894a
Android: Fix back button sometimes not working as ESC (#14743) 2024-06-11 22:37:57 +02:00
Lars Mueller
ae4cd1ebf1 Corresponding code changes 2024-06-10 21:15:30 +02:00
minetest
781c7a800f Replace Catch2 with v3 amalgamation 2024-06-10 21:15:30 +02:00
sfan5
5133ae52df Update vcpkg used in CI 2024-06-10 18:49:43 +02:00
sfan5
3539af7d77 Set some useful SDL hints
fixes #14596
2024-06-10 18:49:43 +02:00
sfan5
c03894321a Fix file write warning in devtest
closes #14721
2024-06-10 18:49:43 +02:00
sfan5
b7e886a740 Rename sha256 header
fixes #14710
2024-06-10 18:49:43 +02:00
sfan5
8268c61b9f Make safeWriteToFile safe for thread-concurrent use 2024-06-10 18:49:43 +02:00
sfan5
fee6e8e11b Identify when compiled with openresty LuaJIT
Debian testing ships it
2024-06-10 18:49:43 +02:00
sfan5
558d749d54 A few clean ups in log.cpp 2024-06-10 18:49:43 +02:00
sfan5
27cb54c1db Stop misusing volatile keyword 2024-06-10 18:49:43 +02:00
cx384
4c9be808a7 Improve register_on_leaveplayer documentation 2024-06-09 13:21:54 +02:00
sfan5
71893807b3
Call malloc_trim() regularly to improve deallocation behavior (#14707) 2024-06-07 16:57:30 +02:00
SmallJoker
08485f6781 Chat: Remove tailing punctuation from clickable links 2024-06-05 20:11:47 +02:00
sfan5
87232358d3
Update some workflows to newer Ubuntu versions (#14668) 2024-06-03 20:39:02 +02:00
Lars Müller
ec9c000be9
Fix scrolling in scroll containers (#14702) 2024-06-03 20:38:09 +02:00
Alex
75f3a2183f
Fix and clarify skybox texture order documentation (#14680) 2024-06-03 12:40:34 +02:00
Lars Mueller
445e485fc5 Fix CI not running on Irrlicht-only PRs 2024-06-03 11:15:56 +02:00