1
0

6441 Commits

Author SHA1 Message Date
a532068c86 update build CI use all server postgresql in older debians, trey also newer fedoras
* hardcoded cmake cos is the defaul for older versions of postgresql
  this also works on newer ones.. for custom paths reconfiguration
  must be done when runs cmake configure step
2024-05-31 16:12:24 -04:00
f266a5138e Check property duplicate login names
* Check for duplicate login in TOSERVER_INIT handler
  backported 492110a640
  i.e. checks for duplicate logins before sending all media data to the client
2024-05-31 15:47:20 -04:00
0181518c79 fix package , fix ci build, tune cmake flags and rules
* tune up gitlab ci:
  * remove package part cos we have obs service
  * add feladora 38 and feladora 37 too
  * remove winbuntu 14, add debian 11, 12, winbuntu 17, 20, 22
  * use minenux minetest repo game (seems not work)
  * remove non buildable stages.. only build and package shit win
  * set multicraft as prefix path and artifacts
  * back cmake in list new behaviour for blacklist locales
  * gitlab ci buil for debian 8 using backports on jsoncpp
  * solved https://github.com/minetest/minetest/issues/6567
  * solved https://github.com/minetest/minetest/issues/7681
* cmake fixed to minimum supported and c++11 standar able
  * close #51
  * allow distro hardening and cflags env
    close #55
  * Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
  * Fix linking with Postgres libs:
  * closes https://github.com/minetest/minetest/issues/12149
  * closes https://github.com/minetest/minetest/issues/11219
  * PostgreSQL fallback code missed the includes https://github.com/minetest/minetest/issues/11219
  * a24899bf2d
  * 3e2145d662
  * integrates https://github.com/minetest/minetest/pull/11215
  *  a24899bf2d
  * backported 998e4820c9
2024-05-30 20:55:59 -04:00
Maksym H
db11d3ec7b Android: replace porting::getTotalSystemMemory on SDL_GetSystemRAM 2024-05-30 17:30:43 -04:00
Maksym H
23a14cf674 Convert textures to (A1)R5G6B5 format on low memory device 2024-05-30 17:29:19 -04:00
Deve
d4d5ee3154 Free loaded data after alBufferData() (#147)
https://github.com/kcat/openal-soft/blob/master/examples/alplay.c#L266
2024-05-30 16:04:24 -04:00
Deve
4b622b058a Mobile: improve the chat experience (#146)
* Some chat input dialog fixes.

- If getAndroidChatOpen() is true then input dialog is created by chat.
- Hide touchscreengui when chat input dialog is open.

* Check input dialog owner in config registration, just in case

* Make sure there is no menu active before showing touchscreengui

* Reset input dialog owner when reading value
2024-05-30 15:29:19 -04:00
Maksym H
b116381d28 Fix background image scaling in MainMenu 2024-05-30 15:27:39 -04:00
Maksym H
575f130854 Version 2.0.5-release
* cherry picked from commit
  14a7fe0266
* fix main menu minor changes cherry picked from commit
  f917f5c8d0
2023-09-05 18:08:53 -04:00
880579ea15 fix header porting import and fix devices filtering conditionals
* Minor cleanup and improvements, cherry picked modified from commit
  66b1aafb4b
2023-09-05 15:37:40 -04:00
7083b0fb09 Mobile: use SDL_IsTablet() to determine the device type
* cherry picked from commit
  1c1acc3cfb
* this commit define automatically the client mode, if tabled or not!
  is goot to be backported to final minetest
* this depends of the previous commit, so now phone devices and tables
  are buil using SDL, check commit bd244fb402ee965862f42455d18857d7453f2cac
  in this repository
2023-09-05 14:23:58 -04:00
Maksym H
9cf737dde1 TouchScreenGUI: minor fixes 2023-09-05 13:45:53 -04:00
Maksym H
592f225798 Apple: update 2023-09-05 13:42:55 -04:00
Daroc Alden
91784d6d04 Fix undefined behavior in TileLayer (#12125)
Initialize the values properly

(cherry picked from commit 8e918bb322ceb8dcb4101740391138191d490e6d)
2023-08-10 23:33:53 -04:00
Maksym H
9db28e0daa MainMenu improvements and cleanup (#141)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
(cherry picked from commit 75452a9e9abe14deaf80cd696b056f708cf4f0fb)
2023-08-10 23:00:28 -04:00
Maksym H
365c63e99e Decrease sneak margin to fix phasing through thin walls
(cherry picked from commit 803428eaffc43a698ad5216a7c9b8d71e23bf3ff)
2023-08-10 23:00:08 -04:00
Maksym H
714de48c75 Simplify hasNPotSupport() check
(cherry picked from commit 0b4dda3c4ac110f9b6ee0bab93529108f4d91150)
2023-08-10 22:59:32 -04:00
luk3yx
2714e5d0f6 Prevent suffocation in plantlike nodes
(cherry picked from commit 73680423f5994e73fdb2e49289309fcf41c6ccfb)
2023-08-10 22:56:37 -04:00
Deve
4157a8c8e1 TouchScreenGUI: handle screen resizing and fix memory leaks
(cherry picked from commit 9c5c0dcd3cef6d6b3bcab11e801d428c511e4bae)
2023-08-10 22:56:22 -04:00
Maksym H
9b03f0a82e Android: minor update
(cherry picked from commit 4e2d7463cda7630d76c8b26c6dc63b2b73f0e3e5)
2023-08-10 22:55:36 -04:00
Maksym H
4c4b00d719 Add hasNPotSupport() check in getTexture() function
(cherry picked from commit 63fa8c286fe09c5f7fc2c9a81be80f1b03d89be4)
2023-08-10 22:55:19 -04:00
luk3yx
e2726757f7 Log the name of entities that can't be added
(cherry picked from commit 2422c202d38a798f1162fb6aea79e53ed061117d)
2023-08-10 22:54:00 -04:00
luk3yx
c16954e407 Add no_change_anim group
(cherry picked from commit d12f19fabf3fddc3f3bb83210ea80cf56f00fad8)
2023-08-10 22:52:14 -04:00
Maksym H
6fbceface0 Disable joysticks without SDL2
(cherry picked from commit 9b1209a68a4ae51f38dd2ebc97a7c168e9cacfc8)
2023-08-10 22:50:02 -04:00
luk3yx
e7d88cca42 Add pressed inventory slot background image
(cherry picked from commit f22951ab2b63c691f81d11267ff3e63e70457a14)
2023-08-10 22:48:22 -04:00
luk3yx
035e35c962 Scale statbar background texture correctly when its resoltuion differs
(cherry picked from commit 88c52130f81db79756087ffd95cd38d0ad2756a0)
2023-08-10 22:45:28 -04:00
Maksym H
70df6b60c2 Apple: switch to MultiCraft Font
(cherry picked from commit 58f63ae4a77ff691555f3397263b9d908b6d4456)
2023-08-10 22:45:04 -04:00
Deve
3219db4e89 Add build scripts for Windows using MSYS2 (#130) 2023-08-10 22:44:08 -04:00
Maksym H
732281da4a Remove formspec opacity in the ConfirmRegistration dialog 2023-08-10 22:30:31 -04:00
Deve
8c5e0cb61f Add SDL game controller support (#105) 2023-08-10 21:18:19 -04:00
luk3yx
371c3d3115 Don't crash on mod directories without init.lua 2023-08-10 21:17:52 -04:00
Maksym H
46c24e6c47 Improve the size of the loading progress bar (on GLES) 2023-08-10 21:17:05 -04:00
Deve
fe35c3a31c Add a fix for inventory that can't be open in some cases
The forceUpdateHoveredElement() forces GUI Environment to drop previously
grabbed elements that are not hovered anymore.
2023-08-10 21:11:51 -04:00
luk3yx
c3f00dedc2 Add list[] bgimg 2023-08-10 21:10:54 -04:00
Deve
8cd48bd34f Chat console fixes (#133)
* Some fixes for text selection in chat.

- Reset selection on chat open
- Reset selection on new message
- Reset selection when window size changed

* Don't move to bottom when user is scrolling chat

* Some work on prompt selection

* Make it working when text length is larger than max visible length

* Handle touch events for prompt

* Avoid moving chat history on new messages during scrolling.

Also simplify selection marks comparing.

* Move scroll to bottom on sending new message when console is opened without close on enter

* Fixed copy to clipboard when chat buffer is full and also keep text selected when new message arrives

* Some improvements for prompt selection

* Delete selected text on new input or backspace key press

* Fixed text selection and cursor pos for regular font

* Fixed drawing prompt with newlines

* Fixed empty prompt selection with ctrl+a

* Enable chat console on android tablets
2023-08-10 17:52:35 -04:00
luk3yx
a1a38c20af Use separate top/bottom textures for chat scrollbar 2023-08-10 17:46:59 -04:00
luk3yx
eded502651 Allow table and textarea scrollbars to be customised (#129) 2023-08-10 17:45:45 -04:00
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