1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 07:30:23 +02:00
Commit Graph

8019 Commits

Author SHA1 Message Date
3a9fe2bd5b Run updatepo.sh 2019-01-06 09:33:11 +01:00
893b5d50c2 Update translations from Weblate 2019-01-06 09:32:00 +01:00
9854340c0b Drop libgmp on Android and use mini-gmp (#8047) 2019-01-04 16:45:37 +01:00
6b978f88e3 Bump android version code for next Play Store version 2019-01-04 14:16:45 +01:00
022b1eca0b Make sqlite3 default auth & player backends for new worlds (#8043)
* Make sqlite3 default auth & player backends for new worlds

Also notify about auth backend depreciation
2019-01-04 12:55:07 +01:00
4a7c97c5f6 Fix on_successful_save -> onSuccessfulSave 2019-01-04 11:33:04 +01:00
c1d7dbfc38 Fix various player save issues (performance penalty on sql backends + bugs)
* PostgreSQL & SQLite3 doesn't setModified(false) on RemotePlayer, then player is saved on each server save call. This results in heavy useless writes.
* PostgreSQL & SQLite3 ack engine meta write whereas db commit hasn't been performed. If commit failed write has failed. We mustn't notify engine write is done.
* serializing player meta must not setModified(false) because it didn't ensure write has been done
* add RemotePlayer::on_successfull_save callback to do the flag update on a successful save
2019-01-04 10:20:04 +01:00
0717719073 Player file directory must be only created when using file backend.
Also ensure on each player save that the directory exists
2019-01-04 10:06:46 +01:00
cf224c9d6b Remove remote media compatibility mode. (#8044)
The fallback code shouldn't be needed and is a remnant of the GET
method that old media servers use. Clients using it are likely
to just waste bandwidth and having to download the media again
through the normal transfer from server method. The most reliable
method is to get all missing textures therefore from the server
directly and not spam the remote media server with 404s.
2019-01-04 00:26:08 +01:00
bba4563d89 Proselytize the network. Use IEEE F32 (#8030)
* Proselytize the network. Use IEEE F32
* Remove unused V2F1000 functions
2019-01-03 17:04:26 +01:00
ceacff13a6 CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)
Previously, when the CSM restriction 'LOAD_CLIENT_MODS' was used a
client was still able to add CSM code to 'builtin' to bypass that
restriction, because 'builtin' is not yet verified.

Until server-sent CSM and verifying of 'builtin' are complete, make
'LOAD_CLIENT_MODS' disable the loading of builtin.

Clarify code comments and messages to distinguish between client-side
modding and client-side scripting. 'Scripting' includes 'builtin',
'modding' does not.
2019-01-03 12:10:07 +01:00
c26eab6319 autojump setting: Remove repeated doc line (#8041) 2019-01-02 23:32:19 +01:00
c6f784f43b Add minetest.load_area (#8023) 2018-12-31 00:32:54 +00:00
aa5ec2ec02 Extend pitch fly mode to swimming (#7943) 2018-12-31 00:07:30 +00:00
7d7ccf5c0f Fix installed modpacks not being found correctly 2018-12-30 12:26:44 +00:00
badecfa471 Update README.android with current build info (#8026) 2018-12-28 23:31:09 +01:00
f12d374956 Content store: Fix bugs relating to packages list size 2018-12-26 12:47:32 +00:00
a5197eaebc CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)
* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
2018-12-24 10:51:10 +01:00
9080d7c990 Remove 'Reset singleplayer world' button from full menu on Android (#8017)
Make button appearence dependent on menustyle not platform.
Button only functions with simple menu.
2018-12-23 23:49:08 +00:00
67049eba3c Fix entity rotation in existing worlds (#7989) 2018-12-23 23:22:27 +00:00
b8b33a6423 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:00 +01:00
309e158fc8 mapnode: add const/noexcept (#8009) 2018-12-22 17:36:24 +01:00
0990ddb3bb Android: Fix memory leak when displaying images in the mainmenu (#8011) 2018-12-22 08:46:41 +01:00
a318bceb63 Lua_api.txt: Add documentation of missing field to 'on_punch' (#8008) 2018-12-22 00:32:27 +00:00
2a69f874da reportMetadataChange; Silence clang warnings 2018-12-21 19:05:29 +01:00
d994f7ca5f Fix more transparency issues with ogles2 driver (#8005) 2018-12-20 23:40:17 +01:00
ba07a8b872 Android: Move touchscreen rare controls inline with settings icon (#8006) 2018-12-20 21:11:57 +00:00
b7eb81fed9 Add command line option to load password from file (#7832) 2018-12-18 20:15:14 +01:00
80eb762af1 ieee_float: Silence compiler warning
Trivial issue reported by @pgimeno
2018-12-18 19:50:07 +01:00
8e4095f068 Fix the part of the float test that requires IEC559/IEEE754 compliance
GCC and CLang compilers fail to support full IEC559 compliance required for the test, when certain compiler flags are active. This patch implements a heuristic that checks for the most common flag in GCC and CLang, plues an extra check which GCC disables when it's not compliant, to hopefully catch most cases where it can't run.
2018-12-18 12:27:23 +01:00
7a4d4bc9e6 Lua_api.txt: Document inventory sending behaviour (#7720) 2018-12-18 00:38:39 +00:00
e7367f0fa5 Fix C++11 violation that broke clang on Debian Stretch 2018-12-16 20:08:25 +01:00
24cdbe9bf5 Add a basic kubernetes deployment file (#7979)
* Add a basic kubernetes deployment file
2018-12-15 15:12:40 +01:00
7efb407872 Fix ignored mod.conf mod name for world.mt (broken by e8eaab6)
Patch supplied by @pgimeno. Thank you.
2018-12-15 09:01:00 +01:00
05f3dbfa68 Android: Add activeobjectmgr.cpp and ieee_float.cpp, sort list 2018-12-14 20:35:43 +01:00
9e36a880fe Add docker image documentation (#7969)
* Add docker image documentation
* Update README.md
2018-12-13 20:19:19 +01:00
eda35100b6 Add an activeobject manager to hold active objects (#7939)
* Add an activeobject manager to hold active objects
* Add unittests
2018-12-13 20:18:54 +01:00
839e935ba0 Network: Send IEEE floats (#7768) 2018-12-13 11:20:57 +01:00
8471d027b9 Make showOverlayMessage strings translatable (#7964) 2018-12-13 11:05:38 +01:00
08610aad7e (client_)lua_api.txt: Rename func -> function (#7960) 2018-12-12 08:50:40 +00:00
1a51455b9e Gitlab CI: docker image rename + add commit id tag 2018-12-12 09:47:32 +01:00
3bfb8284b8 Make MapNode handle paramtype2≠leveled properly (#7958) 2018-12-12 00:02:09 +01:00
ca141ed491 Add a Dockerfile + gitlab CI build (#7968)
* Add a minetest docker file
* Clone minetest_game from git directly
2018-12-12 00:00:08 +01:00
ce32a327ff lua_api.txt: Various fixes and improvements (#7945)
* Add missing tables of registered things

* Eliminate some duplication

Registration functions in 'Registered definitions' section merged into
'Registration functions' section.

* Misc. fixes

* Add privilege definition table

* Remove not-special soil group from special groups

* Merge two registration functions sections

* Move 'added to' information to tables section

Also fix some capitalization and missing periods

* Minor fixes

* Split Registration functions into two subsections

And update Registered definition tables to match order

* Fixes
2018-12-11 17:37:06 +01:00
a8575295d5 porting.cpp: better minetest support on BSD
BSD folder detection is pretty raw, just use the same detection as Linux
2018-12-11 17:35:39 +01:00
f318366c20 Fix ContentDB packages timing out by using download_file instead (#7891) 2018-12-11 04:43:14 +00:00
a833bee9ed Add object visual type 'item' (#7870) 2018-12-11 02:57:04 +00:00
98fa8a154d Content store: Fix missing screenshot in package view dialog 2018-12-10 20:25:56 +00:00
afaf7b901b Fix wrong parameter order for inventory callbacks (#7952) 2018-12-10 19:18:03 +01:00
f7cccd4df3 Fix dissector script to work with newer versions of Wireshark (#7957) 2018-12-10 14:47:35 +01:00