SmallJoker
28f62eccab
Limit formspec fields to 640K ( #13380 )
...
Fixes an issue where long inputs could cause issues when dealing with formspecs.
The expected data is usually below 1 KiB, however that's not a technical limit.
2023-08-10 17:45:31 -04:00
luk3yx
6da47b485c
Enable strip_color_codes by default
2023-08-10 17:45:12 -04:00
Deve
0db262d8be
Chat console improvements ( #124 )
2023-08-10 17:44:11 -04:00
Deve
5e88542be6
Fix left shift key in the change menu ( #128 )
...
* Set shift_down false when it's not pressed anymore
* Prefer character only if Char is not 0 which does not happen in SDL anyway
2023-08-10 17:39:13 -04:00
luk3yx
192f52f7c9
Catch InvalidPositionException in get_natural_light
2023-08-10 17:38:52 -04:00
luk3yx
2f9c3e791e
Make guiVolumeChange use custom scrollbar
2023-08-10 17:38:06 -04:00
Maksym H
cf99ce6b30
Make the console message height configurable
2023-08-10 17:17:14 -04:00
93785b726a
Use SDL threads ( #122 ) but seems only in androit
...
* backported from 245220985b
for minenux
2023-08-10 17:10:36 -04:00
Maksym H
eb122a4e80
Minor engine changes and fixes
2023-08-10 17:05:42 -04:00
Deve
0df81d3e20
Add a possibility to copy text from non-writable edit box ( #118 )
2023-01-24 07:42:01 +02:00
Maksym H
23844d8836
Mobile: minor legacy minimap tune
2023-01-17 12:55:16 +02:00
Maksym H
af36361f42
Android: rename initializePathsAndroid()
to initializePaths()
2023-01-05 02:28:43 +02:00
Maksym H
141559689e
Minor TouchScreenGUI fixes
2023-01-03 13:24:04 +02:00
sfan5
8c205f5bed
Make fs::extractZipFile thread-safe
2022-12-21 12:52:26 +13:00
Loic Blot
1f4ff9cea6
fix: extractZipFile is not part of Client but more generic.
...
This solve a crash from mainmenu while extracting the zip
2022-12-21 12:52:20 +13:00
Maksym H
e8dc878d1f
Fix and improve guiConfirmRegistration dialog
2022-12-16 14:32:50 +02:00
luk3yx
c820cb204a
Make MetaDataRef:get return nil instead of nothing ( #114 )
...
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-12-13 08:00:12 +13:00
luk3yx
9985ffb2fc
Fix metadata wiping when placing schematics
2022-12-11 13:21:48 +13:00
Maksym H
13c4b3bd20
A new batch of MainMenu improvements ( #110 )
...
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-12-07 16:05:14 +02:00
luk3yx
c7bb8e5baf
Translate error message before clearing translations
2022-11-27 11:09:20 +13:00
Maksym H
da679d619e
Android: simplify input dialog
2022-11-24 20:57:03 +02:00
Maksym H
3f4adfd6bb
Minor changes and fixes
2022-11-14 12:59:33 +01:00
Maksym H
75a5c0876e
Disable progress bar texture overrides
2022-11-14 12:49:28 +01:00
Deve
b7a313a574
TouchScreenGUI: Better handle punch/interact
2022-11-14 00:54:03 +01:00
Maksym H
4b4946ca1e
Improve debug logging
2022-11-14 00:46:46 +01:00
Maksym H
3d33abf1cd
Yet another MainMenu improvements PR ( #101 )
...
* Yet another improvements instead of a complete redo
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-11-14 00:46:46 +01:00
Maksym H
a254814f11
TouchScreenGUI: use mouse_sensitivity
setting instead of mouse_sensity
2022-11-11 22:24:06 +01:00
luk3yx
df9e57bf05
Add setting to disable texture packs
2022-11-12 10:20:32 +13:00
Deve
8535658791
Use raw pointer for sound manager ( #107 )
...
Use raw pointer for sound manager to avoid a crash in destructor after exit(0)
2022-11-07 10:57:20 +01:00
Bektur
3ecb0895aa
Extend API and add get_secret_key
for secure operations ( #84 )
...
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-10-29 13:31:21 +03:00
Maksym H
e9157515b9
Android: add mouse support ( #102 )
...
Co-authored-by: Deve <deveee@gmail.com>
2022-10-24 13:31:08 +03:00
Maksym H
8f74118a43
Simplify double jump for fly function
2022-10-21 20:39:38 +03:00
luk3yx
dd5407e0cb
Allow extracting password-protected zips ( #104 )
2022-10-18 12:25:08 +02:00
Maksym H
1c703d231c
Small fix for the font_size mess
2022-10-16 10:57:44 +03:00
Maksym H
a6b126e91f
TouchScreenGUI: add Aux1 button
2022-10-03 10:07:53 +02:00
luk3yx
48e8b205ec
Change language on the fly in the advanced settings dialog ( #100 )
2022-10-02 20:02:49 +02:00
luk3yx
7f4a384c69
Allow transparency in scrollbar button textures and fix horizontal image scrollbars
2022-10-02 11:32:07 +13:00
Deve
ef72016f28
Android: use Irrlicht with SDL2 device ( #77 )
...
Co-authored-by: Maksim <Maksym48@pm.me>
2022-09-29 18:35:21 +02:00
Maksym H
443332f33b
Minor code sync
2022-09-23 13:19:07 +02:00
luk3yx
caa7ae51bb
Only show HUD co-ordinates when minimap is showing or debug mode is on ( #93 )
2022-09-23 15:50:45 +12:00
luk3yx
6befa9c8e9
Save settings when closing volume/keys dialogs
2022-09-20 12:10:02 +02:00
Bektur
bd51d690ab
Android: update and add getRoundScreen method ( #97 )
2022-09-18 02:05:37 +02:00
Bektur
cbb0bc2f53
Simplifying the drawing of the progress bar ( #96 )
...
Co-authored-by: Maksym H <Maksym48@pm.me>
2022-09-08 21:28:25 +03:00
luk3yx
4918f6a50f
Improve change keys, change volume and change password menus ( #94 )
...
Co-authored-by: Maksym H <Maksym48@pm.me>
2022-09-08 12:52:31 +03:00
luk3yx
087a56cf06
Don't crash with a negative length in particle definitions
2022-09-07 20:51:07 +12:00
Deve
fe5495288e
macOS: use SDL2 ( #90 )
2022-09-02 00:26:24 +03:00
Maksim
7624c29d96
Improve HUD text scaling
2022-08-20 22:12:54 +03:00
Maksim
ee2ebbfb91
Improve Pause menu
2022-08-20 22:03:42 +03:00
luk3yx
a6299e1cb5
Remove C++ wielded item status text
...
This clashes with the status text in some games that implement the same
thing in Lua
2022-08-14 10:11:50 +12:00
Maksim
bd4b420ccd
Minor changes and fixes
2022-08-08 00:31:01 +02:00
luk3yx
c658140b4b
Add string.buffer
to Lua environment (if it exists)
2022-08-06 23:00:45 +02:00
luk3yx
17f710bfd5
Send SSCSMs in singleplayer and add more APIs to SSCSM sandbox ( #72 )
2022-08-05 20:53:08 +02:00
AFCMS
fdd2efbbbe
Add minetest.settings
to CSM API and allow CSMs to provide settingtypes.txt
( #12131 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-08-04 11:39:06 +12:00
sfan5
735b01bd5f
Protect a few more settings from being set from mods
...
Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
2022-08-03 19:34:20 +12:00
sfan5
36883505da
Protect mg_name and mg_flags from being set by Lua ( #11010 )
2022-08-03 19:34:15 +12:00
luk3yx
fb78a8a0cd
Add update reminder ( #49 )
...
Co-authored-by: Maksym <Maksym48@pm.me>
Co-authored-by: ubulem <berkut87@gmail.com>
2022-08-02 09:48:01 +02:00
x2048
0fed6077fe
Use legacy image implementation (no NNAA filter) when not using 9-slice image ( #12608 )
2022-08-01 17:33:59 +12:00
luk3yx
65dc4b42d3
Mobile: add change language dropdown and reset settings button ( #75 )
2022-07-29 13:12:22 +02:00
Maksym H
1c19f6069f
Drop the mobile_friendly
server feature ( #79 )
2022-07-28 17:53:11 +02:00
luk3yx
e22b748ce9
Only log large invalid JSON strings when built in debug mode
2022-07-22 19:04:49 +12:00
Maksim
17ebe562a3
Android: minor update
2022-07-13 14:07:19 +03:00
Wuzzy
f9d97b5d05
Tweak duration_to_string formatting
2022-07-12 00:07:19 +03:00
luk3yx
357d3aaf8e
Make /setspawn world specific ( #67 )
2022-07-06 22:15:27 +03:00
Maksim
7b0794d243
Temporary fix for the transparent particles glitch
2022-07-03 23:35:56 +03:00
Vincent Robinson
0bfc98fe26
Backport (II): "FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )"
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 21:31:56 +03:00
luk3yx
f09359eb58
Fix drowning in minetest_game doors ( #66 )
...
Fixes #65
2022-07-02 22:32:53 +03:00
luk3yx
3cf9c06ae4
Mobile: don't stretch formspec to entire screen if it has a tabheader ( #62 )
2022-06-22 09:00:28 +03:00
Maksym
3991e90bbc
Update MainMenu and replace tabs on buttons ( #61 )
...
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-06-17 20:39:48 +03:00
Maksim
fbd1c6b88d
Backport: "FormSpec: 9-slice images, animated_images, and fgimg_middle ( #10265 )"
...
Co-Authored-By: Vincent Robinson <robinsonvincent89@gmail.com>
2022-06-15 10:45:38 +03:00
luk3yx
d6c82c3f7c
Improve main menu ( #60 )
...
Co-authored-by: Maksim <Maksym48@pm.me>
2022-06-14 12:02:40 +03:00
paradust7
e621d5b02c
Inline triLinearInterpolationNoEase and triLinearInterpolation ( #12421 )
...
Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
2022-06-13 17:16:45 +12:00
Maksim
e66d7fd516
Android: fix few crashes
2022-06-12 19:13:47 +03:00
Maksim
afea7abc41
TouchScreenGUI: minor fixes
2022-06-08 19:59:05 +02:00
Maksim
9cc76e96af
Minor fixes
2022-06-07 23:57:24 +02:00
Maksim
c71df1d735
Update MultiCraft Font
2022-06-04 17:47:21 +02:00
luk3yx
4765019103
Stop main menu and CSM formspec input errors from crashing the game entirely on Android
2022-05-30 19:50:22 +12:00
Maksim
2d0b2e7ea7
Minor changes and fixes
2022-05-28 15:39:25 +03:00
Lars Müller
00063a721b
Slap u64 on everything time-y ( #10984 )
2022-05-25 19:03:55 +12:00
Maksim
4047be93db
Use built-in methods for deletion in RecursiveDelete
2022-05-19 09:14:54 +03:00
Maksim
941fcdd97e
TouchScreenGUI: fix rare crash
2022-05-13 02:24:46 +03:00
luk3yx
b23c5b02ba
Fix noclip check on servers
2022-05-13 10:58:54 +12:00
luk3yx
a7d881cb10
Fix visual = "wielditem" compatibility with MT 0.4.15
...
MT 0.4.15 is only able to interpret the item name, if an item count or
metadata is sent in textures then MT 0.4.15 and older would show the
item as an unknown item.
2022-05-12 10:40:01 +12:00
DS
635e2893ad
Fix client-side performance of chat UI ( #11612 )
2022-05-11 00:24:52 +03:00
sfan5
0effd2e7a8
Clean up some auth packet handling related code
2022-05-08 17:57:02 +12:00
sfan5
33e2be6bd2
Fix password changing getting stuck if wrong password is entered once
2022-05-08 17:56:57 +12:00
sfan5
686a119e0f
Apply disallow_empty_password to password changes too
2022-05-08 17:56:52 +12:00
sfan5
d4b2acdecf
Fix race condition in registration leading to duplicate create_auth calls
2022-05-08 17:56:47 +12:00
x2048
b2cf6c7f9c
Avoid rendering invisible faces of simple nodeboxes ( #12262 )
...
* Skip rendering faces adjacent to opaque nodes
* Cancel out opposite faces of adjacent nodebox nodes of the same type
Fixes #6409
2022-05-05 19:06:36 +12:00
sfan5
cd702ab664
Fix find_nodes_in_area misbehaving with out-of-map coordinates ( #11770 )
...
This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code.
2022-05-03 09:51:49 +12:00
SmallJoker
d9bd1bac7b
OpenAL: Free buffers on quit
2022-05-02 09:58:41 +03:00
Jude Melton-Houghton
ad2e053f17
Optimize swapping nodes with equivalent lighting
2022-04-30 08:44:25 +12:00
numzero
745b858bae
Reset environment metadata if it is unreadable
2022-04-29 23:33:23 +03:00
luk3yx
f91eca1e5e
Add platform information to get_player_information ( #50 )
2022-04-27 09:24:40 +03:00
luk3yx
e739e47273
Better formspec prepend hack for 0.4 clients
2022-04-18 10:54:21 +12:00
Maksim
98f2fc92df
Minor fixes and changes
2022-04-10 13:20:59 +02:00
Maksim
aee23e4940
Minor GUI scaling fixes
2022-04-10 13:20:59 +02:00
Maksim
bbd89e8332
Update Github Actions
2022-04-10 13:20:59 +02:00
Maksim
aea47b3afe
TouchScreenGUI: minor fixes
2022-04-09 12:45:35 +02:00
luk3yx
f8f32cc628
Make protocol version <37 compatibility a setting
2022-04-08 18:58:07 +12:00
luk3yx
feb71c65e3
Improve change password UI ( #46 )
2022-04-01 10:20:19 +02:00