6862 Commits

Author SHA1 Message Date
2a1c57534a Revert "antihacks: Patch fast/teleport vulnerability when attached to an entity"
* This reverts commit 5d5801d1515c113f1347d50a0dafada39a7cb155.
  due is an older branch with no enought code for implementation of getContent
2023-09-17 20:51:19 -04:00
5d5801d151 antihacks: Patch fast/teleport vulnerability when attached to an entity
* backported https://github.com/minetest/minetest/pull/10340/commits
* Fixed God Mode
* use core::radToDeg and a single v3f to multiply attachment_pos with
* Use getLength() for diffvec
2023-09-17 20:05:35 -04:00
a7b542c074 antihacks: Protect per-player detached inventory actions
* backported https://github.com/minetest/minetest/pull/10341
  Unfortunately also requires invhack mods to implement workarounds,
  but they seem to already be doing this.
2023-09-17 19:40:48 -04:00
4e1b1d0364 load warning fix for lua src build in 2023-09-17 17:41:53 -04:00
3ee0fd6f92 Slap u64 on everything time-y
* get_us_time() will overflow and reset to zero every now and then.
  Had it happen several times in one day,
  https://github.com/minetest/minetest/issues/10105
* backported b5eda416ce

Signed-off-by: mckaygerhard <mckaygerhard@gmail.com>
2023-09-17 15:13:12 -04:00
19afb03d0b Fix linking with Postgres libs on older cmake versions
* integrates https://github.com/minetest/minetest/pull/11215
  so it backported a24899bf2d
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* backported 998e4820c9
2023-09-12 21:45:49 -04:00
545ed62909 Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* backported 6caed7073c
  from upstream
2023-09-12 21:25:17 -04:00
8d77805791 set nice way to multi publish server list muti site
* nasty but more moral way of
  fea9c0e5d6
2023-09-06 22:49:24 -04:00
0d139df0a3 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:41:34 -04:00
96185fb4bd desktop and metadata in manespace series 4 2021-11-23 13:53:58 -04:00
9b2cf35c97 use minetest<version> as name per program and files
* permits to handle multiple versions of minetest on same integration
* permits better integration for distributions on linux and mac
* for progress on https://codeberg.org/minenux/minetest-engine/issues/6
* fix missing include dir for subgame.cpp
2021-11-19 17:49:27 -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
Loic Blot
119aa5c919 Fix crash due to missing pointer validation
Based on commit 014a1a0
2018-06-10 17:18:11 +02:00
Loic Blot
fb4bfc60de
Android: fix another build typo 2018-06-10 17:11:57 +02:00
Loic Blot
9bbe99b4f8
Android: fix RTTI issue 2018-06-10 17:07:32 +02:00
Loic Blot
0ef9c53a8c
Fix many Android build issues
It remains one issue with MT itself and rtti
2018-06-10 17:01:47 +02:00
stujones11
b5350e27ad
Android: Update build system for ndk-r15x
Add workarounds for ndk-r16.
2018-06-03 23:14:26 +02:00
SmallJoker
ecbb9310de Bump version to 0.4.17 0.4.17 2018-06-03 17:35:20 +02:00
Loic Blot
aac35a6e7c Backport buildbot win32 scripts too 2018-06-03 17:32:00 +02:00
Loic Blot
04fe8cc0a2 Update macosx build from master 2018-06-03 17:32:00 +02:00
Loic Blot
24abdf45b9 Fix windows toolchain due to missing packages, upgrade to more recent toolchain 2018-06-03 17:32:00 +02:00
SmallJoker
263400b3d8 C++03 oldify in various source files 2018-06-03 17:32:00 +02:00
Loic Blot
695d02e6bd More C++03 fixes 2018-06-03 17:32:00 +02:00
rubenwardy
e2815d27f1 Fix luajit include not being found 2018-06-03 17:32:00 +02:00
Paramat
ebfdb21624 Dungeons: Mostly fix missing stair nodes 2018-06-03 17:32:00 +02:00
mazocomp
0088fa6db4 Fix i386 bit build at OpenBSD (#7259) 2018-06-03 17:32:00 +02:00