Lars Müller
dd2e45ee82
Deprecate function support in core.[de]serialize
2025-04-23 21:39:27 +02:00
Lars Mueller
c0d10b24a4
Use SPDX-License-Identifiers in builtin
2025-04-20 20:49:10 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu ( #15791 )
2025-04-20 20:20:49 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them ( #15756 )
2025-04-01 07:55:47 -04:00
grorp
ead44a27ca
TouchControls: Implement an option for dig/place buttons ( #15845 )
2025-03-21 12:06:44 +01:00
Lars Müller
077828d0d9
Add table.copy_with_metatables
( #15754 )
2025-03-14 11:52:42 +01:00
sfan5
2796283550
Remove broken fall bobbing
2025-03-04 19:53:01 +01:00
et
ef0219c2ed
Prevent accidental wallmounted_to_dir poisoning ( #15810 )
...
Prior to this commit, if you used a function like `core.wallmounted_to_dir`, and modified its output, it would modify all of the output in the future.
2025-02-18 21:51:33 +01:00
Miguel P.L
a57677120a
Correct keycode URL in settingtypes.txt/minetest.conf.example ( #15784 )
2025-02-15 18:20:45 +01:00
sfan5
54bf5d62f2
Fix fgettext call in dlg_settings.lua
...
(#15614 )
2025-02-14 22:17:10 +01:00
grorp
2fb9e4d18a
Fix enum setting used as requirement
2025-02-06 19:20:44 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
grorp
eeb6cab4c4
In-game settings menu using separate Lua environment ( #15614 )
2025-01-19 13:07:04 -05:00
Wuzzy
ad4b13a0e9
Luanti rename: builtin ( #15324 )
2024-10-28 19:40:18 +01:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations ( #14726 )
...
---------
Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
rubenwardy
78aab8c95d
ContentDB redesign: Add package dialog
...
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-10-05 18:40:26 +01:00
Erich Schubert
57ca92e0eb
Simplify minetest.strip_param2_color
2024-10-04 10:42:25 +02:00
kromka-chleba
a6ba5304c4
Add new vector utils (ceil, sign, abs, random_in_area) ( #14807 )
2024-08-31 11:43:52 +02:00
Zemtzov7
274c223d00
Fix CSM help form using "/" instead of "." ( #15034 )
...
when copying commands to chat
2024-08-22 23:15:55 +02:00
Zemtzov7
b2f6a65bc9
Sort clients in minetest.get_server_status
and privs in minetest.privs_to_string
( #15023 )
2024-08-21 20:25:41 +02:00
1F616EMO~nya
dc7a7a0ed9
Add table.keyof()
( #14910 )
2024-08-13 18:39:50 +02:00
Erich Schubert
e6f77b95f3
Add vector.random_direction()
( #14784 )
...
Generate a random vector of unit length. Useful for many mods.
2024-08-13 18:38:07 +02:00
y5nw
8bff2f23c6
Rename minetest.register_async_metatable
to minetest.register_portable_metatable
( #14895 )
2024-08-02 00:13:25 +02:00
kromka-chleba
28857841aa
Fix math.round floating point bug ( #14757 )
2024-06-24 20:57:06 +01:00
sfan5
4e1679d2a2
Keep empty servers at bottom of list ( #14511 )
2024-04-05 13:00:34 +02:00
y5nw
fc80f65a6d
Try to preserve metatable when exchanging data with the async env ( #14369 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-03-06 18:04:49 +01:00
Zemtzov7
893594d81a
Add help formspec for CSM commands ( #13937 )
2024-02-02 22:12:59 +01:00
Wuzzy
08ee6d8d4b
Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode ( #11073 )
2024-01-17 17:47:06 +01:00
Jude Melton-Houghton
e7dd9737bd
Reduce minetest.after
time complexity and provide ordering guarantee
...
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-01-16 23:46:43 +01:00
sfan5
4fdd2dec59
Move core.run_callbacks and related to common folder
2023-06-23 09:05:26 +02:00
AFCMS
68f81ace97
Add vector.in_area()
utility function ( #13390 )
2023-04-12 10:46:26 +01:00
Jude Melton-Houghton
ab1fe80150
Error when string.split is given empty separator ( #13132 )
2023-01-10 09:25:48 -05:00
Jude Melton-Houghton
d69cb4fb5d
Always set globals in __newindex ( #13131 )
2023-01-09 15:00:49 -05:00
Jude Melton-Houghton
da4a4086cf
Fix /help privs checks ( #13008 )
2022-11-29 18:25:47 -05:00
Jude Melton-Houghton
8817af07fb
Deprecate special handling of ${key}
syntax in metadata values ( #12970 )
2022-11-24 17:56:43 -05:00
Abdou-31
d1b80b462e
Fix typos and en_US/en_GB inconsistency in various files ( #12902 )
2022-11-09 11:57:19 -05:00
Jude Melton-Houghton
b38ffdec27
Implement vector and node conversion in Lua ( #12609 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-18 18:01:44 -04:00
Jude Melton-Houghton
310b12b5ed
Content ID caching in Lua ( #12444 )
...
* Cache content IDs in Lua
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00
SmallJoker
bc3dccca5c
Mainmenu: Properly sort mods and games ( #12758 )
...
This also removes trivial and unused pkgmgr functions
Fixes a bug caused by sorting in 2133fc8
2022-09-12 19:24:54 +02:00
Lars Mueller
7486f184c3
Serialize: Restore forward compatibility
2022-09-11 19:27:18 +02:00
Lars Mueller
6c24dc4e23
Serialize: Use numbers for refs to work around LuaJIT limits
2022-09-11 19:27:02 +02:00
Jude Melton-Houghton
d631f21024
Let core.get_mod_storage be called multiple times ( #12572 )
2022-07-23 22:27:07 +02:00
Lars Müller
ac4eb746fe
Deserialization: Restore backwards compat ( #12519 )
2022-07-14 20:50:21 +02:00
Lars Müller
5a562a597c
Serialization spec: Fix number fuzzing ( #12496 )
2022-07-02 20:58:23 +01:00
Lars Müller
3e308584a3
Optimize strict.lua ( #12495 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-02 19:58:15 +01:00
Lars Müller
3eafcab64e
Builtin: Redo serialize.lua ( #11427 )
...
Features:
* Support for arbitrary references, including self-referencing
* Short output, references "long" strings as a bonus
* Around the same speed, potentially slower if long, short keys are present
* Properly works with NaN and inf
2022-06-11 20:00:26 +02:00
Lars Müller
edc7df5480
core.formspec_escape: Restore backwards compat
...
Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
2022-06-06 18:32:28 +02:00
Lars Müller
e8b2954586
Builtin: Optimize misc helpers ( #12377 )
...
Also add formspec_escape unit test
2022-05-27 21:40:38 +02:00
Wuzzy
ac5e8176b9
Add relative numbers for commands by prepending ~ ( #9588 )
...
* Add relative numbers for commands by prepending ~
* Some builtin code cleanup
* Disallow nan and inf in minetest.string_to_area
* Remove unused local variable teleportee (makes Luacheck happy)
* Clean up core.string_to_pos
* Make area parsing less permissive
* Rewrite tests as busted tests
* /time: Fix negative minutes not working
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2022-05-22 10:28:24 -04:00
Zughy
6f0c966877
Remove unused variable WARN_INIT
2022-05-08 19:11:15 +02:00