grorp
00774bc28b
Fix some Game members not being freed after some startup errors ( #14561 )
2024-05-06 20:58:14 +02:00
Gregor Parzefall
f572266f19
Fix local server startup and shutdown blocking the main thread
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-05-06 20:58:14 +02:00
Gregor Parzefall
c3893064a3
Fix all cached media being loaded at once on the main thread
2024-05-06 20:58:14 +02:00
grorp
4183443f02
Allow sync HTTP fetches to be interrupted to fix hanging ( #14412 )
...
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2024-05-06 20:58:14 +02:00
lhofhansl
ab2419db24
Allow shaders with disabled post processing pipeline ( #14338 )
...
- Allow disabling of the post processing pipeline while leaving shaders enabled
- Also disable post processing on Android by default
2024-05-06 20:58:14 +02:00
David Heidelberg
35a83c3514
Enable IPO/LTO by default except for debug builds ( #14198 )
...
Test case:
```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE
minetest minetestserver
W/o LTO: 13M 7.3M
W/ LTO: 11M 5.9M
difference: 15% 19%
```
Also fixes various compiler warnings resulting from compilation using LTO.
---------
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-05-06 20:58:14 +02:00
sfan5
b64f4bdb3a
Optimize fs::CopyFileContents on Linux and Windows
2024-05-06 20:58:14 +02:00
sfan5
008310aad9
Add unit tests for fs::CopyFileContents
2024-05-06 20:58:14 +02:00
sfan5
4d024d737c
Bypass media transfer in single player
2024-05-06 20:58:14 +02:00
grorp
50edb30a18
Save the settings in more cases to avoid losing setting changes (especially on Android) ( #14266 )
2024-05-06 20:58:14 +02:00
Maintainer_
81e40a1172
Fix GameUI text staying visible during shutdown. ( #14197 )
2024-05-06 20:58:14 +02:00
grorp
fe4f89f3fa
Touchscreen: Make server-sent overrides of button textures work ( #14145 )
2024-05-06 20:58:14 +02:00
Gregor Parzefall
0d372250c1
Fix TouchScreenGUI ignoring server-sent pitch changes
2024-05-06 20:58:14 +02:00
Gregor Parzefall
367720020c
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 53886dcdb52de80d862539e22950c84fbf88df88.
2024-05-06 20:58:14 +02:00
updatepo.sh
bae9f65411
Update from builtin/settingtypes.txt
2023-12-03 18:47:50 +01:00
Desour
bf53e7e1ca
Fix anticheat false positives whith speed physics override
2023-12-03 12:23:17 +01:00
Muhammad Rifqi Priyo Susanto
047520d91e
Inventory: Add remaining items into the source slot directly ( #14021 )
...
Remaining items are added into the source slot directly when left-dragging over the source slot.
2023-12-03 15:00:07 +07:00
DS
6106e4e72b
Fix sound and particlespawner id generation ( #14059 )
...
* Fix server sound ids being reused to early
* Fix particlespawner id generation
It always returned 0.
Also, now the ids always grow, to make a conflict with ids in lua unlikely.
2023-12-01 00:09:53 +01:00
SmallJoker
a7e5456099
Server: avoid re-use of recent ParticleSpawner and Sound IDs ( #14045 )
...
This improves the reliability when removing and re-adding handles quickly.
Looping through the entire ID range avoids collisions caused by any race condition.
2023-11-29 21:10:19 +01:00
sfan5
d6a8b546e4
Enable clean transparent filter in more cases
...
It was determined that this fixes scaling artifacts that can happen with bilinear,
trilinear or anisotropic filtering alone.
Since the previous commit did not bring back the relevant setting, we fix this
shortcoming by just enabling it in all cases where it is known to help.
2023-11-29 21:09:21 +01:00
sfan5
7f9326805c
Return texture filter settings to previous state
...
This partially reverts commit 72ef90885d5030bf6f7f9dd60a475339bde9a929.
fixes #14007
2023-11-29 21:09:21 +01:00
Muhammad Rifqi Priyo Susanto
53886dcdb5
Formspec: Pass the second-touch event as is ( #13872 )
...
The second-touch event is passed to the GUIFormSpecMenu::OnEvent() function as a touch event.
There are two types of event for inventory formspec: (1) mouse event and (2) touch event.
The touch event is just a modifier of the mouse event.
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2023-11-28 07:00:07 +07:00
grorp
771da80bbb
Make it possible again to see item tooltips on Android ( #14029 )
...
This change is a quick fix so that item tooltips show again on Android.
2023-11-25 17:07:07 +01:00
grorp
4255ac3022
Mainmenu: Avoid the header being displayed behind the formspec ( #13924 )
...
This change keeps the current header placement code, but adds additional code to make sure the header doesn't end up behind the formspec.
2023-11-25 17:04:33 +01:00
Desour
585e6aa80b
Clamp values in read_ARGB8
2023-11-19 20:45:18 +01:00
Desour
1bc74b0ba1
Fix undefined inf to s32 cast in GUIScrollBar::setPos
2023-11-19 20:45:18 +01:00
Desour
73e85b2ebb
Fix cached wanted_range and camera_fov being written with out-of-range value
2023-11-19 20:45:18 +01:00
Muhammad Rifqi Priyo Susanto
aa912e90a7
Make text containers wider in the Volume Change dialog ( #13995 )
...
These containers are widened to account for translations.
2023-11-15 07:00:03 +07:00
superfloh247
7cb20dd6c2
Fix undefined behaviour in modulo360f ( #13976 )
...
Resolves a crash on macOS/arm64 by no longer depending on UB.
2023-11-12 20:08:33 +01:00
updatepo.sh
8abb5796ed
Update example conf and settings translations
2023-11-11 12:09:35 +01:00
JosiahWI
56902745c8
Extract updateClouds method from updateFrame ( #13939 )
...
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2023-11-08 07:00:59 +07:00
corpserot
9e952603b2
Lump MT_LOGCOLOR env together with other color env ( #13887 )
2023-11-08 07:00:36 +07:00
Muhammad Rifqi Priyo Susanto
7213ff7a00
Resolves some warnings for Android version ( #13862 )
2023-11-05 19:02:01 +01:00
Nils Dagsson Moskopp
2025dcffbd
Revert "Don't trigger a key event if a key with the same associated char was pressed ( #13773 )"
...
This partially reverts commit d57c936b080f404df0b544561242b0c45c57f04d.
The reverted commit prevented recognition of key combinations.
It correctly changed a test case to no longer use “KEY_NUMPAD_5”.
Several keyboard layouts use a key combination to input a “+” (e.g. Neo2);
therefore some users could no longer input “+” to increase the view range.
Co-authored-by: savilli <78875209+savilli@users.noreply.github.com>
2023-10-30 21:23:59 +01:00
Desour
ec7a1f02e7
Fix out-of-bounds access in NodeDefManager::nodeboxConnects
2023-10-30 21:23:47 +01:00
Desour
1d31533601
Reformat rot array in NodeDefManager::nodeboxConnects, to make it less magic
2023-10-30 21:23:47 +01:00
Gregor Parzefall
96197025b9
Fix hypertext[] sometimes calculating incorrect scrollbar height ( #13943 )
2023-10-29 17:54:31 +01:00
Muhammad Rifqi Priyo Susanto
1363059416
Fix issues in Minetest's English texts ( #13913 )
...
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: Desour <ds.desour@proton.me>
Co-authored-by: sfan5 <sfan5@live.de>
2023-10-29 12:24:39 +01:00
Desour
b3988d964a
Sounds: Do not fade paused sounds
2023-10-29 00:40:07 +02:00
Desour
2ad17136dc
Sounds: Fix dtime being in milliseconds
2023-10-29 00:40:07 +02:00
Desour
b2aa5d9261
Sounds: Don't pause new sounds when paused
2023-10-29 00:39:38 +02:00
rubenwardy
4ee32c5441
Add package update detection on Content tab ( #13807 )
2023-10-28 17:33:44 +01:00
Desour
454eb3901d
Inventory: Fix deleted inventory being used for regaining locked lists
2023-10-27 18:47:07 +02:00
Desour
a464b41d99
Inventory: Release resizes-locked lists on all on_
-callbacks
2023-10-27 18:47:07 +02:00
ROllerozxa
1a562ca144
Prevent Windows Defender warnings in singleplayer (Bind singleplayer server to 127.0.0.1)
2023-10-27 12:03:43 +02:00
sfan5
03ba9370b9
Deprecate .bmp format
2023-10-27 11:05:27 +02:00
Nils Dagsson Moskopp
2f16227302
Set color of scrollbar/dropdown button symbols and checkmarks to white
...
Before this patch, the symbols were rendered black on dark background.
Previous images were edited like this:
1. The colors were inverted with GIMP's “linear inversion” method.
2. Image files were optimized using “optipng -o7 -zm1-9 -strip all”.
Co-authored-by: ROllerozxa <rollerozxa@voxelmanip.se>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-10-27 11:05:00 +02:00
SmallJoker
906417cc0d
GUI: Autofocus newly opened GUIModalMenu instances ( #13911 )
...
This in particular fixes incorrect event propagation to menus that
are no longer shown, such as the key change menu when opened within
the settings tab.
2023-10-22 15:31:42 +02:00
SmallJoker
2fbf5f4250
CSM: Fix duplicate player names ( #13910 )
2023-10-22 15:31:29 +02:00
DS
7e8831a414
Inventory: Don't throw resize lock exception in destructor ( #13894 )
...
... of nodemeta inventories.
2023-10-22 15:30:11 +02:00