6876 Commits

Author SHA1 Message Date
eddb536850 remove rtmp due fails in some linuxes due extra package need
* related to minenux/minetest-engine#13
* backported from commit 3eabd6eba350443ae724f54e65a1a4caee7c5f9f
2023-01-05 16:07:25 -04:00
80d97d28d3 CMake: link with Intl when necessary for kfreebsd of non-glibc libs like alpine
* non Glibc system linking with Intl library may be needed whenGettext support is enabled.
* https://git.alpinelinux.org/aports/tree/community/minetest/0001-CMake-link-with-Intl-when-necessary.patch
* Fixes: clientlauncher.cpp:(.text+0xcac): undefined reference to `libintl_gettext'
* backported df01036c3f
2023-01-05 16:00:51 -04:00
88a9023d12 backported relocation header fix from alpine for 0.4
* backported from dda9276abb0c819a6cc7d2550062268b792957b6
2023-01-05 15:38:21 -04:00
a125db579e again fix for miscspelled sintax in CMakefile for compiling
* fix miscspelled sintax in cmakefile
* fix missing packages for debian based distros ad ci gitlab
* change server description after a search
  this backported https://gituhub.com/minetest/minetest/issues/6074
2023-01-05 15:18:32 -04:00
fbabea7c60 fix micspelled sintax in cmakefile at src and missing --force in CI build 2023-01-05 14:14:07 -04:00
13696f2a43 ajust build for older debian using gitlab CI
* build fails due missing --force-yes on debian builds
* assume good event if some repos fails to update in debian based shit distros
2023-01-05 14:03:32 -04:00
e3d46356c0 finally got compilinig flags for C++11 using gnu extensions only for gcc
* use normal right extension on clang, only gnu for gcc
* related to minenux/minetest-engine-minetest#18
* use c++11 but with gnu xtensions
* related to minenux/minetest-engine-minetest#14
* complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* final set continuation of commit 83a552ed1a
* fix cmake if-else misctakes error sintax
* backported from 6a757711fbaa1b6c845dc6bf50ed7260d999cec9
2023-01-05 13:49:08 -04:00
2ba4f559aa try to fix curl linking problems, cos stupid minetest developers dont use pkg-config
* related to minenux/minetest-engine#13
* reported as https://github.com/minetest/minetest/issues/8483
* solved as https://github.com/minetest/minetest/issues/8482#issuecomment-485378755
* the problem was ignored by minetest stupid developers
2023-01-05 12:00:51 -04:00
1d10314a6d Install the locale directory in a standard location
* fixed builds in linux distributions
* backported 2349d31bae
* related: https://github.com/minetest/minetest/pull/9618
* backported ca8957f500
* Fix detection of in-place path_locale when RUN_IN_PLACE=0
* related: https://github.com/minetest/minetest/issues/9745
2023-01-05 11:36:23 -04:00
be06a8ad6b Disable shaders GUI on unsupported drivers
* address [#7563](https://github.com/minetest/minetest/issues/7563)
* Disable shaders GUI on unsupported drivers
  [#2060](https://github.com/minetest/minetest/issues/2060)
* Disable shaders if unavailable
* also backported "shaders disabled by default"
   continue of commit 21b1462b58
2023-01-05 09:29:24 -04:00
b920208550 Fix build for newer versions of GCC
* build with newer gcc 11
* backported 7c2826cbc0
2023-01-05 09:25:04 -04:00
2e7be0b9f1 Look for PostgreSQL library properly and fix CI
* fixed in cmake 3.20 but it's relatively easy to add a workaround
* This was only fixed by Kitware/CMake@8b066f1 (CMake 3.20),
* backported a24899bf2d
* https://codeberg.org/minenux/minenux/issues/32
2023-01-05 08:55:05 -04:00
2cf3b684f2 initialization standars for C++1 on mayor cases
* backported ffba2b7646
* Fix initialization standars for C++11 on mayor cases
* Let compatibilty for GCC 4.4+
2023-01-04 18:03:01 -04:00
cf6a378eae Fix build for stupid compilers
* issue http://github.com/minetest/minetest/issue/10256
* author Seeker on Date: Mon Aug 3 14:38:45 2020 -0700
* backported from d22fd6fc34
2023-01-04 17:53:53 -04:00
3022363dfb backported compilinig flags for C++11 using gnu extensions
* adapt  backorted commit 6a757711fbaa1b6c845dc6bf50ed7260d999cec9
* finally got compilinig flags for C++11 using gnu extensions
* related to minenux/minetest-engine#18
* use c++11 but with gnu xtensions
* related to minenux/minetest-engine#14
* complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* final set continuation of commit 83a552ed1a
* fix cmake if-else misctakes error sintax
2023-01-04 17:49:31 -04:00
47c2970313 featured powered player setttings
* dragon fire hacked
2023-01-04 17:31:38 -04:00
db479a9e97 Merge branch 'stable-4.0' into stable-4.0-next, sync float limits
* fix commits 00114e9c23 and 8afa292ed8  and c63593ec39, merge
  the solution with stable-4.0-next to define final release soon
2023-01-04 16:36:43 -04:00
mckaygerhard
055ab7c38a Adap the "Remove unnecessary float limits from script API" to checks of floats
* backport 8ff3fadba0
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* really close #4
* TODO adapt to use FLOAT checks
2022-07-20 22:01:31 +02:00
00114e9c23 Invalid float vector dimension range: clamp and warn instead of crash
* backported from https://github.com/minetest/minetest/pull/12389
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* close https://codeberg.org/minenux/minetest-engine-minetest/issues/4
2022-06-03 16:43:48 -04:00
5a91e3a240 Invalid float vector dimension range: clamp and warn instead of crash
* backported from https://github.com/minetest/minetest/pull/12389
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* close https://codeberg.org/minenux/minetest-engine-minetest/issues/4
2022-06-03 16:35:11 -04:00
9044b300d5 retrieve more client info on minetest 0.4 or 4.0 for minetest4
* take from https://forum.minetest.net/viewtopic.php?p=354631#p354631
* usefull for give more info for idetificatin of clients cheaters
2021-11-19 21:13:02 -04:00
e38c8177fe do not write auth.txt on each new user - added comit new command to
* do not write on each new user
* but let to write if set new password or any other case
* added new commit command
2021-11-03 16:47:39 -04:00
a42129a1a9 Key change menu: Fix for translating empty string
* Fix for incorrect translation of empty strings in key change menu
  In the key change menu, when a button key not have name
  an empty string is passed to gettext. The empty string is reserved
  for gettext to return de header of the .po file an this is shoved in the button
* backported 67cceb5064
2021-11-03 13:14:33 -04:00
eb306b9f36 Fix nodes dropping the wrong item
* Regression from minetest#5819 which caused handle_node_drops
  to ignore drops in a node's definition.
* backported da2b5212d12802a566f0fd13e257bf8ebe674f5a
2021-11-03 08:54:42 -04:00
dc8d041819 fix for a warning
* use __extension__ for lua_CFunction in loadlib.c
2021-11-02 18:36:07 -04:00
Loïc Blot
426b5d3149 Fix a crash on Android with Align2Npot2 (#8070)
* Fix a crash on Android with Align2Npot2

glGetString can be NULL. If stored in a string it triggers a SIGSEGV.
Instead do a basic strstr and verify the pointer
* Better Align2Npot2 check (+ performance)
2019-01-07 17:05:54 +01:00
Loïc Blot
dda844be16
Drop libgmp on Android and use mini-gmp (#8047) 2019-01-04 16:41:42 +01:00
Loïc Blot
899dcbf1ee Bump android version code for next Play Store version 2019-01-04 14:16:09 +01:00
Loïc Blot
957c59a678 Revert "upright_sprite: Fix texture position for players"
This reverts commit d58801ab3204757e6c49892a05633281144f4f44.
2019-01-03 12:04:51 +01:00
stujones11
3d15a6774d
Android: Fix start-up crashes on version 4.x (#8003)
* Android: Load shared STL library

* Android: Fix exception with window background image
2018-12-22 19:02:27 +01:00
Loic Blot
3c24f941e0
Add missing variables since previous cherry-pick 2018-12-22 17:28:22 +01:00
Maksim
9d64805ec1
Update Android java code (#7820)
Targets SDK 26 as required by the playstore.
Fixes screen auto-rotation closing game.
Hides on-screen navigation bar if present.

Update gradlew.
Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9).
Remove small app icons, not required.
Fix xml in unpacking activity.
Support Android permission: On Android 6.0+ you need to manually give write
permission (as required by google).
Background during unpacking (just a demo for now).
Material Design: no more Android 2 interface.
Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
2018-12-22 17:25:38 +01:00
rubenwardy
ce4497224f
Android: Fix memory leak when displaying images in the mainmenu (#8011) 2018-12-22 17:20:18 +01:00
stujones11
a873a3f4f8
Include alpha channel reference in MaterialTypeParam 2018-12-22 17:15:39 +01:00
Loic Blot
86e29ae586
Update android version code (rebuild) 2018-12-04 19:11:03 +01:00
Loic Blot
dd5f03731a Bump android version to 20 2018-06-28 19:11:01 +02:00
Loic Blot
5e7faf3f50 Update cURL (7.60.0) & SQLite3 (3.24.0) 2018-06-28 19:11:01 +02:00
stujones11
8427ae529a Android: Use correct temporary path (#7463) 2018-06-28 19:11:01 +02:00
sfan5
2e85254e91 Fix MurmurHash implementation to really be unaligned (#7482) 2018-06-28 19:11:01 +02:00
red-001
971dea7efd Fix crash caused by Lua error during startup (#7473) 2018-06-28 19:11:01 +02:00
red-001
85ce23b165 Fix buffer overrun in SRP (#7484)
The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
2018-06-28 19:11:01 +02:00
red-001
e66d5e500c Fix small memory leaks in client. (#7492) 2018-06-28 19:11:01 +02:00
Loic Blot
ea86ecf015
Android: gradle 3.1.3 is not available on mavenCentral
Also update wrapper
2018-06-11 20:37:17 +02:00
Loic Blot
4a48cd57e8
Fix android tools version used to build MT 2018-06-11 19:14:10 +02:00
Loic Blot
289c8dfde5
Android: fix clean_assets target 2018-06-11 19:13:56 +02:00
Loic Blot
9dfe9be1f3
Bump android version for next release 2018-06-10 18:28:41 +02:00
Loic Blot
f5c9c760e3
Android: use c++_shared library instead of c++_static
MT doesn't launch without that
2018-06-10 17:48:48 +02:00
SmallJoker
6dc7177a5d Bump version to 0.4.17.1 0.4.17.1 2018-06-10 17:18:11 +02:00
number Zero
24a2fd4dc4 Fix narrow/utf8 difference in incoming/outcoming messages 2018-06-10 17:18:11 +02:00
SmallJoker
2515207606 Fix crash in log_deprecated when triggered from no function
Based on commit a1598e1b
2018-06-10 17:18:11 +02:00