sfan5
39fd9b93c3
Introduce proper error handling for file streams
2024-05-14 18:33:08 +02:00
sfan5
c38e0d05bf
Reenable fog toggle unless server restricts fog distance ( #14634 )
...
see comments in #14539
2024-05-14 18:31:51 +02:00
Josiah VanderZee
5a4d7fb0d6
Do not bother to assert that a u8 is >= 0
...
This fixes a warning seen in GCC 7 on CI about a comparison in
mapblock.h that is always true.
2024-05-14 16:21:30 +02:00
sfan5
6303334cc2
Deduplicate GL extension detection
2024-05-12 14:20:34 +02:00
sfan5
472742266b
Fix invalid glDrawBuffer call on GLES
...
closes #14445
2024-05-12 14:20:34 +02:00
chmodsayshello
0889048cb5
Add option for random mod load order ( #14637 )
2024-05-12 14:20:18 +02:00
grorp
57b6e74abb
Fix crash if zip file cannot be opened ( #14636 )
...
Helped-by: savilli <78875209+savilli@users.noreply.github.com>
2024-05-12 11:46:39 +02:00
grorp
a8af0c0ca4
Close buttonbars when hiding TouchScreenGUI ( #14630 )
...
To open the inventory or the pause menu, you first need to open the buttonbar
containing the respective button. Before this commit, the buttonbar is still
open after closing the menu, so you have to tap twice before you can continue
playing. After this commit, the buttonbar is already closed after closing the
menu, so you only have to tap once before you can continue playing.
2024-05-10 18:54:22 +02:00
Benjamin Wheeler
07fe8d4481
Dockerfile: Use the default branch when cloning libspatialindex repository ( #14621 )
2024-05-10 17:00:15 +07:00
grorp
e0e1d0855d
Close formspecs with a single tap outside ( #14605 )
2024-05-09 19:16:08 +02:00
grorp
178591b6d5
Android CI: Additionally make an AAB for uploading to the Play Store ( #14584 )
2024-05-09 19:15:50 +02:00
sfan5
dd475d8af4
Add benchmarks for server::ActiveObjectMgr
2024-05-09 11:31:35 +02:00
Licaon_Kter
121d22f137
Cleanup Removed Java 17 Options ( #14626 )
...
ref: https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#removed-java-options
2024-05-09 11:31:22 +02:00
sfan5
59bf1d8cd9
Fix curl compatibility issues with colorize_url ( #14615 )
...
Also move the escape code safety check to guiOpenURL.
2024-05-09 11:31:10 +02:00
jordan4ibanez
780543f0a2
Add forgotten opensuse dependency
...
gcc-c++
2024-05-09 00:22:36 +02:00
sfan5
de78ffb551
Fix strings in modified_reason_strings
...
one was also missing
2024-05-09 00:19:24 +02:00
Gregor Parzefall
d445638265
Bump version to 5.8.1
5.8.1-android
2024-05-06 20:58:14 +02:00
Gregor Parzefall
f61f6626b7
Fix Android build for 5.8.1
2024-05-06 20:58:14 +02:00
Gregor Parzefall
857ba25115
Android CI: Additionally make an AAB for uploading to the Play Store ( #14584 )
2024-05-06 20:58:14 +02:00
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
sfan5
5715434d5e
Skip Android deps download if they already exist
...
It's close to impossible to test locally built changes otherwise.
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
de09cac1e9
Drop valgrind from CI and instead enable ASan
...
The recently added ioctl use is reported as a false-positive by valgrind.
I tried moving it to different compilers/versions two times and only
hit further issues that were valgrind's fault.
Also includes a tiny fix.
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
Muhammad Rifqi Priyo Susanto
00f6bd0f08
Android: Use the correct value for notification ( #14209 )
...
The notification channel creation is moved into MainActivity.
The notification channel ID string is stored into a static variable.
The name and description of the notification channel are stored into the strings resource file.
Co-authored-by: sfan5 <sfan5@live.de>
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
grorp
0dab82085d
Fix unittest failure for release versions ( #14067 )
2024-05-06 20:58:14 +02:00
sfan5
1aba7f1fde
Add unit tests for MapBlock (de)serialization ( #14560 )
2024-05-05 22:54:40 +02:00
rubenwardy
3017b0213b
Allow quoting hypertext attribute values ( #14550 )
2024-05-05 14:27:17 +02:00
sfan5
d748c8c653
Gate disabling of fog or camera update behind 'debug' priv
2024-05-05 14:26:56 +02:00
grorp
af8cb63292
Add object's own position for each collision to moveresult ( #14608 )
2024-05-05 13:28:59 +02:00
grorp
d7f9da49eb
Fix shootline not being updated if press and release happen in the same step ( #14606 )
2024-05-05 13:28:50 +02:00
Lars Mueller
70bddcf318
Fix wrong name for bone override interpolation field
2024-05-04 02:09:35 +02:00
SmallJoker
f0bb5313d3
Chat console: Prevent input loss on double open
2024-05-03 16:29:33 +02:00
DS
c352fbf5c9
Warn on unknown CMAKE_BUILD_TYPE values ( #14600 )
2024-05-03 16:29:02 +02:00
sfan5
9c3c286aab
Optimize code patterns around raycasting
2024-05-03 16:28:29 +02:00
sfan5
e10adf83d5
Reduce wasteful memory allocations in update_lighting_nodes()
2024-05-03 16:28:29 +02:00
sfan5
c24a04d246
Optimize pushing collision data for entity on_step
...
Since this is fixed overhead for every entity, this is important to optimize.
This optimizes one very common case.
before:
push_collision_move_result [us] _____________ 64512x 3.562
after:
push_collision_move_result [us] _____________ 72636x 0.831
2024-05-03 16:28:29 +02:00
sfan5
2e89529eef
Optimize env access and structs in collisionMoveSimple
2024-05-03 16:28:29 +02:00
sfan5
92d03f3832
Trivially optimize iteration order in loops
...
Due to how node data is stored iterating X last provides better cache locality.
2024-05-03 16:28:29 +02:00