Commit Graph

11674 Commits

Author SHA1 Message Date
Lars Müller
484b4e3b8e
Merge d74ec349c7c94b8cec144c364963c99f35b96581 into 9a1501ae89ffe79c38dbd6756c9e7ed647dd7dc1 2024-06-28 11:51:07 +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
Lars Mueller
d74ec349c7 Minor doc adjustments 2024-06-22 17:00:15 +02:00
Lars Mueller
dc116f0a44 Fix tests 2024-06-22 15:26:20 +02:00
Lars Müller
e00f1d0763
Apply suggestions from code review
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-22 14:21:14 +02:00
Yoruma
9ab447843b
Clarify "dtime" in API (#14758) 2024-06-22 10:59:58 +02:00
Lars Mueller
89079a6619 Fix up documentation 2024-06-21 19:56:25 +02:00
Lars Mueller
be14c86320 Add object inside radius / area iterators 2024-06-21 19:08:13 +02:00
Lars Mueller
0810275640 Add ObjectRef:is_valid method 2024-06-21 18:42:55 +02:00
Lars Mueller
0ad415c18d Skip invalid objects in raycasts 2024-06-21 18:33:28 +02:00
Lars Mueller
d4e8da1041 Add (failing) unit test for raycasts w.r.t. entities 2024-06-21 18:33:24 +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
grorp
508b5ccc63
Document keymap_toggle_block_bounds, remove unimplemented BLOCK_BOUNDS_MAX (#14722) 2024-06-02 21:05:35 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind (#14714) 2024-06-02 21:05:16 +02:00
grorp
981d67324b
Mainmenu: Unify gamedata.errormessage and messagebox formspecs (#14716) 2024-06-01 17:03:06 +02:00
sfence
140b9e5a5a
Allow game to specify first and last mod in mod loading order (#14177)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-01 16:36:20 +02:00
Lars Mueller
a4768d1638 Fix fog moon tint not working 2024-06-01 16:34:32 +02:00
rubenwardy
abf353c178
Update no games message to give more context (#14695) 2024-05-29 20:10:22 +02:00
SmallJoker
670bb32b2c Particles: fix crash caused by absent texture
Introduced in commit f8bff34. The related code does already expect that
'texture.ref' may be nullptr.
2024-05-29 19:46:24 +02:00
Desour
f836a47bc1 Sound loading: Fix issues where ov_read skips samples 2024-05-27 17:12:58 +02:00