Commit Graph

11413 Commits

Author SHA1 Message Date
sfan5 123370f2ee Sanitize lang_code and full_version received from client
fixes #14262
2024-03-24 20:25:49 +00:00
SmallJoker 751fa811fa Client: fix possible division by zero in [crack modifier 2024-03-24 20:23:57 +00:00
sfan5 38a3d6fac2 Fix Lua PseudoRandom seeds being mangled
closes #14237
2024-03-24 20:23:31 +00:00
SmallJoker d5ddfa6e46 ContentCAO: Fix threshold of alpha channel textures (#14213)
With disabled shaders, the material EMT_TRANSPARENT_ALPHA_CHANNEL uses the
parameter as an alpha threshold to decide whether to draw the texture.
Thus lowering this limit fixes the issue of vanishing textures below alpha 128.
2024-03-24 20:22:41 +00:00
cx384 9c08b9978d Fix dividing by zero crashes in texture modifiers 2024-03-24 20:21:49 +00:00
sfan5 9ba8d5fc2e Fix some console window behavior on Windows 2024-03-24 20:21:31 +00:00
sfan5 adf8296081 Fix native thread handle usage on win32 2024-03-24 20:21:20 +00:00
sfan5 701c5edfbe Avoid unused argument spam with MinGW-clang 2024-03-24 20:21:15 +00:00
sfan5 1dfe954104 Add unittest to check thread_local destructor brokenness 2024-03-24 20:21:10 +00:00
sfan5 ce02619aaa Fix logic in porting::attachOrCreateConsole()
No functional change but now the comment is actually correct.
2024-03-24 20:21:05 +00:00
sfan5 51afa78882 Don't run CDB update_detector more than once (#14214) 2024-03-24 20:20:26 +00:00
Maintainer_ d0d8d3f65f Fix GameUI text staying visible during shutdown. (#14197) 2024-03-24 20:20:18 +00:00
Gregor Parzefall fcd2dd7e3b Make the loading screen progress bar respect "gui_scaling" 2024-03-24 20:17:07 +00:00
grorp bd551780e7 Touchscreen: Make server-sent overrides of button textures work (#14145) 2024-03-24 20:16:26 +00:00
Lars Mueller 1e4981c7ba Fix on_(grant|revoke) not being run by mods 2024-03-24 20:15:50 +00:00
Gregor Parzefall 39be1b9cbb Fix TouchScreenGUI ignoring server-sent pitch changes 2024-03-24 20:15:42 +00:00
sfan5 4f0e31cbe1 Hand roll UTF-16 conversion in CGUITTFont (#14121) 2024-03-24 20:15:10 +00:00
Gregor Parzefall d57305210d Fix touch input on Linux
The code relied on touch IDs being consecutive. This is true on Android, but not on Linux.
Therefore, touch input on Linux was broken since 53886dcdb5.
2024-03-24 20:14:56 +00:00
SmallJoker fdb5cc0061 Inventory: prevent item loss when stacking oversized ItemStacks (#14072) 2024-03-24 20:13:31 +00:00
sfan5 ecd0e44b2d Fix Windows architecture reporting in sysinfo 2024-03-24 20:13:05 +00:00
Gary Miguel f4af3912b4 Try to fix safeWriteToFile producing empty files on Windows (#14085)
Use win32 APIs to write the temporary file before copying to the final
destination. Because we've observed the final file being empty, we
suspect that std::ostream::flush is not flushing.

Also add a test for it.
2024-03-24 20:12:18 +00:00
SmallJoker 218addfd50 GUIFormspecMenu: Fix race condition between quit event and cleanup in Game (#14010)
To not instantly free GUIFormSpec upon close/quit, Game periodically
cleans up the remaining instance on the next frame.

When a new formspec is received and processed after closing the previous formspec
but before the cleanup in Game, the formspec would be closed regardless.
This now re-creates the formspec when the old one is already pending for removal.
2024-03-24 20:12:08 +00:00
grorp 2b8ebba34b Fix unittest failure for release versions (#14067) 2024-03-24 20:11:57 +00:00
ZenonSeth 2ecc741d6c Check if liquid can flow into empty node before picking it as source (#14057) 2024-03-24 20:11:51 +00:00
SmallJoker cb211d63cd Merge remote-tracking branch 'upstream/stable-5' into HEAD 2023-12-04 19:04:18 +01:00
rubenwardy 49ce5a2de6 Bump version to 5.8.0 2023-12-04 17:15:36 +00:00
updatepo.sh 30769589bf Remove junk translation file 2023-12-03 19:11:32 +01:00
updatepo.sh 6cf9b7472a Run mod_translation_updater.py 2023-12-03 19:03:45 +01:00
updatepo.sh 4be8b77598 Run updatepo.sh 2023-12-03 18:48:54 +01:00
updatepo.sh bae9f65411 Update from builtin/settingtypes.txt 2023-12-03 18:47:50 +01:00
Krock 0a20d30f83 Various little translation fixups 2023-12-03 18:41:15 +01:00
Nisa Syazwani 7245bcc614 Translated using Weblate (Malay)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
chocomint 51136780d6 Translated using Weblate (Spanish)
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
gallegonovato ea6eb0dfc8 Translated using Weblate (Spanish)
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
nyommer ab88fc6835 Translated using Weblate (Hungarian)
Currently translated at 96.7% (1268 of 1310 strings)
2023-12-03 18:41:15 +01:00
AlexTECPlayz 30b28280eb Translated using Weblate (Romanian)
Currently translated at 49.3% (647 of 1310 strings)
2023-12-03 18:41:15 +01:00
BreadW e5672111d2 Translated using Weblate (Japanese)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
Spurnita ce0aca49c2 Translated using Weblate (Catalan)
Currently translated at 22.5% (296 of 1310 strings)
2023-12-03 18:41:15 +01:00
Muhammad Rifqi Priyo Susanto 0d3b71564f Translated using Weblate (Javanese)
Currently translated at 12.9% (170 of 1310 strings)
2023-12-03 18:41:15 +01:00
Ritwik 0a51fde971 Translated using Weblate (Hindi)
Currently translated at 29.8% (391 of 1310 strings)
2023-12-03 18:41:15 +01:00
milewood a13a165e9b Translated using Weblate (Chinese (Simplified))
Currently translated at 84.0% (1101 of 1310 strings)
2023-12-03 18:41:15 +01:00
Wuzzy 8a7d3d07de Translated using Weblate (German)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
Giov4 0977728ea0 Translated using Weblate (Italian)
Currently translated at 93.7% (1228 of 1310 strings)
2023-12-03 18:41:15 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi 92eb63c867 Translated using Weblate (Malay + Jawi) 2023-12-03 18:41:07 +01:00
YearOfFuture 0c4a15fa16 Translated using Weblate (Ukrainian)
Currently translated at 75.4% (989 of 1310 strings)
2023-12-03 18:39:34 +01:00
Nanashi Mumei 01ac9e15ef Translated using Weblate (Russian)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
Muhammad Rifqi Priyo Susanto dd3fc83777 Translated using Weblate (Indonesian)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
waxtatect 6a5e480a58 Translated using Weblate (French)
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
Lars Müller 419d971891
Translated using Weblate (German)
Currently translated at 99.0% (1297 of 1310 strings)
2023-12-03 18:17:42 +01:00
sfan5 9e62cb5c04
Translated using Weblate (German)
Currently translated at 99.0% (1297 of 1310 strings)
2023-12-03 18:17:42 +01:00