Josiah VanderZee
5791f5ff8b
Change killflag type to sig_atomic_t
in client
2025-05-19 09:03:04 -05:00
Josiah VanderZee
d053d49642
Avoid signal-unsafe operations in signal handler
...
TSan reported a signal-unsafe call to `ostream::put` in the POSIX signal
handler. This patch replaces the use of `dstream`, which generated those
calls, with calls to `write` and `strlen`, which are both async-signal
safe in POSIX.
This patch also changes the type of the global kill flag from `bool` to
`volatile std::sig_atomic_t`, to be certain there is no undefined
behavior. TSan did not mention that issue; I am not sure whether that is
something TSan is able to detect.
2025-05-19 08:49:36 -05:00
Nathanaëlle Courant
30e33d71cc
Main menu: Fix ContentDB aliases for games having the '_game' suffix ( #16157 )
2025-05-19 10:29:37 +02:00
Daniel Cristian
4700939949
Fix uninitialized variable warning in generate_srp_verifier_and_salt
2025-05-18 21:59:57 +02:00
SmallJoker
56ecf6d332
Mainmenu: Fix error after ESC in dialog windows ( #16130 )
...
The error was caused by fd857374
, where 'MenuQuit' was processed after 'try_quit'.
This commit fixes the error by moving the special 'MenuQuit' handling to Lua.
2025-05-18 20:41:42 +02:00
sfan5
554dd5ddf4
Update credits for 5.12.0 ( #16142 )
2025-05-18 12:13:57 +02:00
sfan5
8c8b7cb251
Clean up menus properly on client exit ( #16150 )
2025-05-18 12:13:48 +02:00
Jan
dca88be81d
Remove PrefersNonDefaultGPU from desktop file ( #16095 )
2025-05-18 12:13:33 +02:00
Lars Müller
a817fdffd2
Complete rename to Luanti in package metadata ( #16017 )
2025-05-17 15:03:12 +02:00
SmallJoker
3020c192b2
Client: Disable node specular shader effect ( #16113 )
...
This feature needs a proper API integration to result in a correct
in-game appearance. See #15898 for details.
This is a band-aid solution for the 5.12.0 release.
2025-05-17 15:02:47 +02:00
y5nw
d11d90fb8d
Update settingtypes to reflect scancode-related changes ( #16140 )
2025-05-16 17:16:23 +02:00
updatepo.sh
d19640d57f
Run updatepo.sh
2025-05-14 23:26:56 +02:00
Sepehr
7c5a0d9057
Translated using Weblate (Persian)
...
Currently translated at 8.7% (133 of 1525 strings)
2025-05-14 23:26:56 +02:00
Zacharias Tyllström
5cc44edab6
Translated using Weblate (Swedish)
...
Currently translated at 66.7% (1018 of 1525 strings)
2025-05-14 23:26:56 +02:00
Felipe Amaral
2103b0725c
Translated using Weblate (Portuguese)
...
Currently translated at 79.4% (1212 of 1525 strings)
2025-05-14 23:26:56 +02:00
ninjum
ccc46f9515
Translated using Weblate (Galician)
...
Currently translated at 95.0% (1449 of 1525 strings)
2025-05-14 23:26:56 +02:00
Nana_M
15315e7388
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1525 of 1525 strings)
2025-05-14 23:26:56 +02:00
Karol1165
faad4d7cea
Translated using Weblate (Polish)
...
Currently translated at 84.4% (1288 of 1525 strings)
2025-05-14 23:26:56 +02:00
Alex Maryson Jr
2e717c2ba6
Translated using Weblate (Russian)
...
Currently translated at 98.6% (1504 of 1525 strings)
2025-05-14 23:26:56 +02:00
waxtatect
649fef4916
Translated using Weblate (French)
...
Currently translated at 100.0% (1525 of 1525 strings)
2025-05-14 23:26:56 +02:00
Romeostar
b0ef3ed2d5
Translated using Weblate (Russian)
...
Currently translated at 98.0% (1495 of 1525 strings)
2025-05-14 23:26:56 +02:00
Wuzzy
e6511c60ed
Translated using Weblate (German)
...
Currently translated at 100.0% (9 of 9 strings)
Translation: Minetest/Minetest Android
Translate-URL: https://hosted.weblate.org/projects/minetest/minetest-android/de/
2025-05-14 23:26:56 +02:00
Linerly
9ff00cdfbb
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (9 of 9 strings)
Translation: Minetest/Minetest Android
Translate-URL: https://hosted.weblate.org/projects/minetest/minetest-android/id/
2025-05-14 23:26:55 +02:00
sfan5
8a28339ed3
Revert "Fix handling of skinned meshes for nodes"
...
It literally breaks torches and doors in MTG.
Regardless of whether this is an oversight or not let's not pull this in so close to release.
This reverts commit 612db5b2ca
.
2025-05-14 23:21:33 +02:00
Lars Mueller
e039f4c8af
Improve mesh scaling factor documentation
2025-05-14 22:28:33 +02:00
Lars Mueller
612db5b2ca
Fix handling of skinned meshes for nodes
...
- Rigidly animated models (e.g. the gltf frog node) were not working correctly,
since cloning the mesh ignored the transformation matrices.
Note that scaling the mesh needs to occur *after* transforming the vertices.
- Visual scale did not apply to skinned models,
as resetting the animation overwrote scaled vertex data with static positions & normals.
For backwards compatibility, we only apply a 10x scale to static (.obj) models.
2025-05-14 22:28:33 +02:00
y5nw
57c1ab905c
Migrate existing keycode-based keybindings ( #16049 )
...
Co-authored-by: grorp <gregor.parzefall@posteo.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-05-14 22:15:15 +02:00
Lars Müller
600763dffc
Fix table[] focus regression from f4285a5
( #16136 )
2025-05-14 07:25:32 -04:00
grorp
959a8b5b8b
Fix black font and menu header when game exits in background ( #16131 )
2025-05-14 07:23:53 -04:00
sfan5
5f06885ffa
Fix printing SER_FMT_VER_HIGHEST_READ in main.cpp
2025-05-13 18:26:47 +02:00
sfan5
94dd3da2aa
Prevent mixing in-tree and out-of-tree builds
...
This is an easy pitfall to encounter when running an Android build.
2025-05-09 20:25:28 +02:00
siliconsniffer
9b2ee1dd5d
Remove Irrlicht GUI gradients ( #16015 )
...
Co-authored-by: rollerozxa <rollerozxa@voxelmanip.se>
Co-authored-by: grorp <grorp@posteo.de>
2025-05-07 08:56:00 +02:00
lhofhansl
1f9a3b5875
Update src/serverenvironment.cpp
...
Co-authored-by: sfan5 <sfan5@live.de>
2025-05-05 07:50:45 -07:00
Lars
05513467b6
Some ActiveBlockList improvements
2025-05-05 07:50:45 -07:00
Lars Mueller
34e73da424
Optimize appending to tables in core.serialize
and dump
2025-05-04 16:32:17 +02:00
Lars Mueller
747857bffa
Implement helpful __tostring
for all userdata-based classes
2025-05-04 16:32:17 +02:00
Lars Mueller
9ad23e4384
Revamp dump
2025-05-04 16:32:17 +02:00
Lars Mueller
98b2edeb11
dump[2]: avoid misleading rounding of numbers
2025-05-04 16:32:17 +02:00
Lars Müller
f4285a59ac
Purge some dead code (mostly Irrlicht) ( #16111 )
...
* Remove obsolete Irrlicht attributes system
* Remove dead GUI element types
* Remove some obsolete Irrlicht headers
* Fix some oopsies from d96f5e1
2025-05-04 16:31:44 +02:00
sfan5
377fa5bb14
Minor improvements to image algorithms
...
- loop Y around X
- use float over double
2025-05-04 16:31:00 +02:00
sfan5
486fb7cc4d
Add caching of generated textures as image
2025-05-03 11:32:41 +02:00
sfan5
9cb78f2dc5
Try to reuse texture objects in TextureSource::rebuildTexture()
2025-05-03 11:32:41 +02:00
sfan5
b841c23701
Clean up TextureSource and related code
2025-05-03 11:32:41 +02:00
sfence
0bdd5f294e
Make SDL2 default on macOS ( #16039 )
2025-05-02 21:28:13 +02:00
sfan5
d795c28af8
Tune polygon offset handling to avoid issues with mesh nodes ( #16064 )
2025-05-02 21:27:45 +02:00
z-op
c5abecbd3c
Improve log messages for core.clear_craft
2025-05-02 21:27:31 +02:00
sfan5
0c7149b8df
Build-related fixes ( #16102 )
...
- fix mo files rebuilt unnecessarily
- fix CMake policy warnings
- update vcpkg baseline
2025-05-02 21:27:18 +02:00
Lars Müller
d96f5e1c76
MetaDataRef: Make set_float
preserve numbers exactly ( #16090 )
2025-05-02 21:27:00 +02:00
SmallJoker
6f3735281f
GUI: restore the Pause Menu after closing the Settings Menu
2025-05-02 21:26:34 +02:00
sfan5
893a74f9d7
Support HEAD and PATCH methods in http api
2025-05-01 10:46:24 +02:00