Commit Graph

9735 Commits

Author SHA1 Message Date
SmallJoker 14c7fae378
Formspec: Unify argument checks (#11851) 2021-12-29 23:58:26 +01:00
sfan5 0ea8df4d64
Socket-related cleanups
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-29 23:01:26 +01:00
ROllerozxa 05573d6d8d
Remove unused (de)serializeAttributes() methods 2021-12-29 23:00:16 +01:00
Vitaliy 9b650b9efb
Add more neighbors on mesh update (#6765) 2021-12-29 22:59:53 +01:00
SmallJoker 481bb90eac Fix segfault in drawItems() due to missing inventory list
This fixes a nullptr dereference when the specified inventory list is not known.
Happens when HUD elements are sent before the required inventory list is created.
2021-12-29 19:20:49 +01:00
savilli 0fa54531d4
Fix check that denies new clients from a singleplayer session 2021-12-28 14:08:21 +01:00
William L. DeRieux IV cc64a0405a
Automatically use SSE registers for FP operations on i386 (#11853)
use SSE for floating-point operations to avoid issues with improper fp-rounding and
loss of precision when moving fp-data to incompatible or less-precise
registers/storage locations

https://gcc.gnu.org/wiki/FloatingPointMath
https://gcc.gnu.org/wiki/x87note
2021-12-28 14:06:24 +01:00
JosiahWI 7f6306ca96
Restore GCC 5 compatibility (#11778) 2021-12-28 14:05:49 +01:00
sfan5 0c4929f025 Remove wrong function from lua_api.txt 2021-12-19 17:03:16 +01:00
Jude Melton-Houghton 1b664dd870 Use defined evaluation order in profiler
See https://github.com/LuaJIT/LuaJIT/issues/238
2021-12-19 17:03:07 +01:00
sfan5 49f7d2494c Protect font initialization with mutex
fixes #4532
2021-12-18 20:38:33 +01:00
sfan5 b2409b14d0 Refactor trusted mod checking code 2021-12-18 20:37:13 +01:00
sfan5 f405459548 Remove setlocal and setupvalue from `debug` table whitelist
It's likely that these could be used trick mods into revealing the insecure
environment even if they do everything right (which is already hard enough).
2021-12-18 20:37:13 +01:00
sfan5 8c99f2232b Don't let HTTP API pass through untrusted function
This has been a problem since the first day, oops.
2021-12-18 20:37:13 +01:00
sfan5 8472141b79
Restructure devtest's unittests and run them in CI (#11859) 2021-12-18 20:36:43 +01:00
sfan5 1c5ece8334 Fix eat sound not playing if eating last of stack 2021-12-15 15:36:19 +01:00
sfan5 378175497a
Fix some issues with buildbot scripts (#11860) 2021-12-15 14:36:27 +01:00
ROllerozxa fcf86ded8f
Disable inventory if player's inventory formspec is blank (#11827) 2021-12-13 17:43:29 +01:00
sfan5 84efe279bb Fix URL escaping in content store 2021-12-13 17:33:35 +01:00
Wuzzy f71091bf52 Remove creative/damage info in Esc/Pause menu 2021-12-13 17:33:21 +01:00
Wuzzy 76aa6103e3 Update German locale translation 2021-12-10 12:24:53 +01:00
Wuzzy 1ab3eadd87 Update builtin locale 2021-12-10 12:24:53 +01:00
Francisco a8c58d5cbb
Add pauloue's ItemStack example to docs (#9853) 2021-12-10 12:24:42 +01:00
sfan5 d9d219356a Fix get_bone_position() on unset bones modifying their position
closes #11840
2021-12-06 00:06:49 +01:00
sfan5 ff934d538c
Fix various code & correctness issues (#11815) 2021-12-05 14:40:30 +01:00
Richard Liu 7a043b3ebb
Fix wireshark packet dissector wrong coordinates (#11826) 2021-12-05 14:34:40 +01:00
Wuzzy 80c3c7e642
Improve error message if using "/help --" (#11796) 2021-12-01 20:22:46 +01:00
SmallJoker 57a59ae92d
Network: Delete copy constructor and use std::move instead (#11642)
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-12-01 20:22:33 +01:00
updatepo.sh 1dc1305ada Update translation files 2021-11-27 19:42:26 +01:00
updatepo.sh a157256706 Update minetest.conf.example and dummy cpp file 2021-11-27 19:41:45 +01:00
ROllerozxa 3ac102c93b Translated using Weblate (Swedish)
Currently translated at 46.0% (643 of 1396 strings)
2021-11-27 19:33:53 +01:00
Ondřej Pfrogner 3332592905 Translated using Weblate (Czech)
Currently translated at 62.9% (879 of 1396 strings)
2021-11-27 19:33:53 +01:00
Johann Lau 42b8167f3d Added translation using Weblate (Yue) 2021-11-27 19:33:53 +01:00
Molly fc0897682d Translated using Weblate (Dutch)
Currently translated at 97.0% (1355 of 1396 strings)
2021-11-27 19:33:53 +01:00
Vancha March 8d99cddecc Translated using Weblate (Dutch)
Currently translated at 95.3% (1331 of 1396 strings)
2021-11-27 19:33:53 +01:00
Joaquín Villalba 6f9d803d67 Translated using Weblate (Spanish)
Currently translated at 81.8% (1142 of 1396 strings)
2021-11-27 19:33:53 +01:00
Manuel González c24b02852b Translated using Weblate (Spanish)
Currently translated at 81.8% (1142 of 1396 strings)
2021-11-27 19:33:53 +01:00
109247019824 88731631ab Translated using Weblate (Bulgarian)
Currently translated at 12.6% (177 of 1396 strings)
2021-11-27 19:33:53 +01:00
phlostically 714d4e4a81 Translated using Weblate (Esperanto)
Currently translated at 97.2% (1357 of 1396 strings)
2021-11-27 19:33:53 +01:00
Markus Mikkonen 1935783cc6 Translated using Weblate (Finnish)
Currently translated at 20.9% (292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Ronoaldo Pereira 9f5d35e2aa Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.7% (1392 of 1396 strings)
2021-11-27 19:33:53 +01:00
Jiri Grönroos 6569056bfc Translated using Weblate (Finnish)
Currently translated at 20.9% (292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Heitor 62c3c90120 Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.0% (1355 of 1396 strings)
2021-11-27 19:33:53 +01:00
Tirifto 7d2c99e2c2 Translated using Weblate (Esperanto)
Currently translated at 95.9% (1340 of 1396 strings)
2021-11-27 19:33:53 +01:00
A M dc73d441b5 Translated using Weblate (Polish)
Currently translated at 71.4% (998 of 1396 strings)
2021-11-27 19:33:53 +01:00
GunChleoc 4866e06e62 Translated using Weblate (Gaelic)
Currently translated at 17.0% (238 of 1396 strings)
2021-11-27 19:33:53 +01:00
Zhaolin Lau cd3a8f96c6 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.3% (1331 of 1396 strings)
2021-11-27 19:33:53 +01:00
Thiago Carmona Monteiro 0eb829f5de Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.4% (1319 of 1396 strings)
2021-11-27 19:33:53 +01:00
Marian c062daccc9 Translated using Weblate (Slovak)
Currently translated at 95.2% (1329 of 1396 strings)
2021-11-27 19:33:53 +01:00
phlostically f57b8f3e8a Translated using Weblate (Esperanto)
Currently translated at 95.2% (1329 of 1396 strings)
2021-11-27 19:33:53 +01:00