oweals/minetest.git
4 years agoClarify use of minetest.request_insecure_environment() (#9597)
rubenwardy [Mon, 6 Apr 2020 14:54:27 +0000 (15:54 +0100)]
Clarify use of minetest.request_insecure_environment() (#9597)

4 years agoAllow relative directories for `screenshot_path`, tweak default path (#9122)
Hugo Locurcio [Mon, 6 Apr 2020 14:54:12 +0000 (16:54 +0200)]
Allow relative directories for `screenshot_path`, tweak default path (#9122)

This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.

In addition, the screenshot directory will now be created if it doesn't
exist already.

4 years agoAdd tone mapping for entities (#9521)
Danila Shutov [Mon, 6 Apr 2020 14:06:40 +0000 (17:06 +0300)]
Add tone mapping for entities (#9521)

fixes #9301

4 years agoAdd allowed_mapgens option in game.conf. (#9263)
Wren Turkal [Mon, 6 Apr 2020 14:06:16 +0000 (07:06 -0700)]
Add allowed_mapgens option in game.conf. (#9263)

The game.conf has a disallowed_mapgens option. However, some games
require a certain mapgen to be used, like the CTF plugin. This change
adds an option to specify allowed mapgens so that the setting can be
specified in a way that needn't be updated as map generators are added
to Minetest.

4 years agoSome minor Lua API documentation clarifications (#9461)
Wuzzy [Mon, 6 Apr 2020 14:05:27 +0000 (16:05 +0200)]
Some minor Lua API documentation clarifications (#9461)

See #5854

4 years agoContinue with 5.3.0-dev
sfan5 [Sun, 5 Apr 2020 16:31:52 +0000 (18:31 +0200)]
Continue with 5.3.0-dev

4 years agoBump version to 5.2.0 5.2.0
sfan5 [Sun, 5 Apr 2020 16:31:50 +0000 (18:31 +0200)]
Bump version to 5.2.0

4 years agoUpdate credits for 5.2.0 (#9593)
rubenwardy [Sun, 5 Apr 2020 16:30:44 +0000 (17:30 +0100)]
Update credits for 5.2.0 (#9593)

4 years agoTranslated using Weblate (Japanese)
BreadW [Sun, 5 Apr 2020 01:33:05 +0000 (01:33 +0000)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (German)
sfan5 [Sat, 4 Apr 2020 18:15:01 +0000 (18:15 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Turkish)
Oğuz Ersen [Sat, 4 Apr 2020 04:50:12 +0000 (04:50 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoHypertext: Fix hovercolor not working in global tag (#9582)
Pierre-Yves Rollo [Sun, 5 Apr 2020 13:04:41 +0000 (15:04 +0200)]
Hypertext: Fix hovercolor not working in global tag (#9582)

4 years agoBuiltin: Make item entities glow less (#9594)
sfan5 [Sat, 4 Apr 2020 19:27:30 +0000 (21:27 +0200)]
Builtin: Make item entities glow less (#9594)

minor adjustment to #9200

4 years agoRevert collision tweaks #9365 and #9327 (#9591)
SmallJoker [Sat, 4 Apr 2020 19:27:23 +0000 (21:27 +0200)]
Revert collision tweaks #9365 and #9327 (#9591)

This reverts commit df74d369a395f0b99bd23fa3e7fb4c628c3df336.
This reverts commit 908e76247922d4adf879b3996c4f75bdbb4e536d.

Restores the original collision detection bugs to release 5.2.0 prior the large collision detection fix.

4 years agoFix cursor still visible after closing formspec while on HyperText (#9583)
Pierre-Yves Rollo [Sat, 4 Apr 2020 14:17:15 +0000 (16:17 +0200)]
Fix cursor still visible after closing formspec while on HyperText (#9583)

4 years agoFix 'the the' typos in comments (#9554)
LNJ [Sat, 4 Apr 2020 13:52:41 +0000 (15:52 +0200)]
Fix 'the the' typos in comments (#9554)

4 years agoFix failing build due to translation file error
sfan5 [Fri, 3 Apr 2020 22:16:18 +0000 (00:16 +0200)]
Fix failing build due to translation file error

4 years agoUtility script to help with Weblate commit import
sfan5 [Fri, 3 Apr 2020 21:20:11 +0000 (23:20 +0200)]
Utility script to help with Weblate commit import

4 years agoUpdate translation files
updatepo.sh [Fri, 3 Apr 2020 21:19:54 +0000 (23:19 +0200)]
Update translation files

4 years agoUpdate minetest.conf.example, settings_translation_file.cpp
updatepo.sh [Fri, 3 Apr 2020 21:17:42 +0000 (23:17 +0200)]
Update minetest.conf.example, settings_translation_file.cpp

4 years agoTranslated using Weblate (Indonesian)
Allan Nordhøy [Fri, 3 Apr 2020 10:49:25 +0000 (10:49 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 92.0% (1185 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
sfan5 [Fri, 3 Apr 2020 20:08:33 +0000 (20:08 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.6% (768 of 1288 strings)

4 years agoTranslated using Weblate (French)
Allan Nordhøy [Fri, 3 Apr 2020 17:17:31 +0000 (17:17 +0000)]
Translated using Weblate (French)

Currently translated at 96.0% (1237 of 1288 strings)

4 years agoTranslated using Weblate (Greek)
THANOS SIOURDAKIS [Tue, 31 Mar 2020 16:40:14 +0000 (16:40 +0000)]
Translated using Weblate (Greek)

Currently translated at 1.7% (22 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
Tiller Luna [Tue, 31 Mar 2020 15:11:39 +0000 (15:11 +0000)]
Translated using Weblate (Russian)

Currently translated at 94.4% (1217 of 1288 strings)

4 years agoTranslated using Weblate (Russian)
anonymous [Tue, 31 Mar 2020 15:02:53 +0000 (15:02 +0000)]
Translated using Weblate (Russian)

Currently translated at 94.6% (1219 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Nynorsk)
sfan5 [Mon, 30 Mar 2020 19:34:29 +0000 (19:34 +0000)]
Translated using Weblate (Norwegian Nynorsk)

Currently translated at 30.9% (398 of 1288 strings)

4 years agoTranslated using Weblate (Swedish)
sfan5 [Mon, 30 Mar 2020 19:37:27 +0000 (19:37 +0000)]
Translated using Weblate (Swedish)

Currently translated at 32.1% (414 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
sfan5 [Mon, 30 Mar 2020 19:29:02 +0000 (19:29 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 99.3% (1279 of 1288 strings)

4 years agoTranslated using Weblate (Ukrainian)
sfan5 [Mon, 30 Mar 2020 19:38:02 +0000 (19:38 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 41.3% (533 of 1288 strings)

4 years agoTranslated using Weblate (Portuguese)
ssantos [Sun, 29 Mar 2020 19:12:59 +0000 (19:12 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 95.8% (1234 of 1288 strings)

4 years agoTranslated using Weblate (Polish)
sfan5 [Mon, 30 Mar 2020 19:34:57 +0000 (19:34 +0000)]
Translated using Weblate (Polish)

Currently translated at 77.0% (992 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sun, 29 Mar 2020 21:47:32 +0000 (21:47 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 60.0% (774 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Allan Nordhøy [Sun, 29 Mar 2020 21:22:30 +0000 (21:22 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 60.0% (774 of 1288 strings)

4 years agoTranslated using Weblate (Danish)
sfan5 [Mon, 30 Mar 2020 19:20:09 +0000 (19:20 +0000)]
Translated using Weblate (Danish)

Currently translated at 47.8% (616 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sun, 29 Mar 2020 00:22:03 +0000 (00:22 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 54.0% (696 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
anonymous [Sun, 29 Mar 2020 00:13:53 +0000 (00:13 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 42.7% (551 of 1288 strings)

4 years agoTranslated using Weblate (Norwegian Bokmål)
Liet Kynes [Sat, 28 Mar 2020 23:58:14 +0000 (23:58 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 42.7% (551 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
Tirifto [Thu, 26 Mar 2020 18:26:53 +0000 (18:26 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 99.3% (1279 of 1288 strings)

4 years agoTranslated using Weblate (Romanian)
Gmail a - 2 - a Boxa [Wed, 11 Mar 2020 18:52:18 +0000 (18:52 +0000)]
Translated using Weblate (Romanian)

Currently translated at 18.6% (240 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Simplified))
wzy2006 [Sat, 7 Mar 2020 14:07:32 +0000 (14:07 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 88.0% (1134 of 1288 strings)

4 years agoTranslated using Weblate (Lojban)
Robin Townsend [Tue, 3 Mar 2020 17:07:20 +0000 (17:07 +0000)]
Translated using Weblate (Lojban)

Currently translated at 12.7% (164 of 1288 strings)

4 years agoTranslated using Weblate (German)
Robin Townsend [Thu, 5 Mar 2020 04:38:40 +0000 (04:38 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Simplified))
Gao Tiesuan [Thu, 27 Feb 2020 12:08:53 +0000 (12:08 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 86.8% (1118 of 1288 strings)

4 years agoTranslated using Weblate (French)
Lucas Burlingham [Sun, 1 Mar 2020 19:01:31 +0000 (19:01 +0000)]
Translated using Weblate (French)

Currently translated at 93.5% (1205 of 1288 strings)

4 years agoTranslated using Weblate (Arabic)
abidin toumi [Sun, 1 Mar 2020 18:48:55 +0000 (18:48 +0000)]
Translated using Weblate (Arabic)

Currently translated at 6.9% (89 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
Ács Zoltán [Sat, 29 Feb 2020 16:46:33 +0000 (16:46 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.5% (767 of 1288 strings)

4 years agoTranslated using Weblate (Esperanto)
Gao Tiesuan [Thu, 27 Feb 2020 12:13:24 +0000 (12:13 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 92.5% (1192 of 1288 strings)

4 years agoTranslated using Weblate (Czech)
Vojtěch Šamla [Sun, 23 Feb 2020 23:10:35 +0000 (23:10 +0000)]
Translated using Weblate (Czech)

Currently translated at 48.3% (623 of 1288 strings)

4 years agoTranslated using Weblate (Arabic)
An0n3m0us [Sat, 22 Feb 2020 19:32:51 +0000 (19:32 +0000)]
Translated using Weblate (Arabic)

Currently translated at 6.1% (79 of 1288 strings)

4 years agoTranslated using Weblate (Lithuanian)
An0n3m0us [Sat, 22 Feb 2020 19:21:12 +0000 (19:21 +0000)]
Translated using Weblate (Lithuanian)

Currently translated at 15.2% (196 of 1288 strings)

4 years agoTranslated using Weblate (French)
Hugo Locurcio [Wed, 19 Feb 2020 14:57:21 +0000 (14:57 +0000)]
Translated using Weblate (French)

Currently translated at 92.3% (1189 of 1288 strings)

4 years agoTranslated using Weblate (Spanish)
JDiaz [Sun, 16 Feb 2020 11:09:19 +0000 (11:09 +0000)]
Translated using Weblate (Spanish)

Currently translated at 67.9% (875 of 1288 strings)

4 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Mon, 17 Feb 2020 05:06:52 +0000 (05:06 +0000)]
Translated using Weblate (Malay)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Hungarian)
An0n3m0us [Fri, 14 Feb 2020 18:47:13 +0000 (18:47 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 59.7% (769 of 1288 strings)

4 years agoTranslated using Weblate (Spanish)
universales [Wed, 29 Jan 2020 18:43:17 +0000 (18:43 +0000)]
Translated using Weblate (Spanish)

Currently translated at 67.7% (872 of 1288 strings)

4 years agoTranslated using Weblate (Chinese (Traditional))
pan93412 [Tue, 28 Jan 2020 07:22:29 +0000 (07:22 +0000)]
Translated using Weblate (Chinese (Traditional))

Currently translated at 68.9% (888 of 1288 strings)

4 years agoTranslated using Weblate (Turkish)
monolifed [Sat, 25 Jan 2020 17:19:36 +0000 (17:19 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (Japanese)
BreadW [Sat, 25 Jan 2020 13:11:03 +0000 (13:11 +0000)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoTranslated using Weblate (German)
Wuzzy [Fri, 24 Jan 2020 18:47:04 +0000 (18:47 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1288 of 1288 strings)

4 years agoAdd warning to set_sky() docs about unstable dawn and night sky colours (#9578)
Paramat [Fri, 3 Apr 2020 01:57:15 +0000 (02:57 +0100)]
Add warning to set_sky() docs about unstable dawn and night sky colours (#9578)

Also clean up confusing double meaning usage of the word 'skybox'.

4 years agoFix texture distortion for flowing liquids (#9561)
Elias Åström [Thu, 2 Apr 2020 17:24:35 +0000 (19:24 +0200)]
Fix texture distortion for flowing liquids (#9561)

Previously textures of the side faces on flowing liquid nodes would
become distorted on different axis depending on the liquid level.  This
is because the nodes always had the same texture coordinates, even when
the generated face could have different sizes.  This solves that problem
by adjusting the texture coordinates for the vertices making up the top
of the faces, so the textures will not look compressed for smaller
faces.

4 years agoFix GUI element click-through by changing visibility (#9534)
DS [Tue, 31 Mar 2020 17:34:42 +0000 (19:34 +0200)]
Fix GUI element click-through by changing visibility (#9534)

This adds a vector that holds pointers to elements that should only be visible while being drawn.

In the guifsmenu's draw func, all elements in this vector are made visible and invisible again. Apart from there, they are always invisible. (Well they are still visible before the first drawn, does this matter? If yes, it could be fixed easily with some lines of code everywhere.)

4 years agoFormspec: Mark `hypertext` and markup language as unstable
v-rob [Sat, 28 Mar 2020 20:54:19 +0000 (13:54 -0700)]
Formspec: Mark `hypertext` and markup language as unstable

4 years agoIgnore near_plane setting on non-Android platforms (#8749)
ANAND [Sat, 28 Mar 2020 20:53:55 +0000 (02:23 +0530)]
Ignore near_plane setting on non-Android platforms (#8749)

Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.

4 years agoTravis: Correct Linux dependencies so that PostgreSQL is found by CMake
sfan5 [Sat, 28 Mar 2020 12:04:15 +0000 (13:04 +0100)]
Travis: Correct Linux dependencies so that PostgreSQL is found by CMake

4 years agoFix crash on wielditem/item entities
sfan5 [Sat, 28 Mar 2020 11:56:48 +0000 (12:56 +0100)]
Fix crash on wielditem/item entities

bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687

4 years agoImprove documentation of minetest.get_node_drops()
sfan5 [Thu, 26 Mar 2020 19:28:44 +0000 (20:28 +0100)]
Improve documentation of minetest.get_node_drops()

Also remove the comment saying it could be removed or modified.

4 years agoHypertext: Fix alignment tags adding unwanted newlines (#9548)
Pierre-Yves Rollo [Thu, 26 Mar 2020 18:56:35 +0000 (19:56 +0100)]
Hypertext: Fix alignment tags adding unwanted newlines (#9548)

4 years agoConnection: Fix deadlock in debug mode (#9550)
SmallJoker [Thu, 26 Mar 2020 18:13:50 +0000 (19:13 +0100)]
Connection: Fix deadlock in debug mode (#9550)

4 years agoFix small typos in lua_api.txt (#9546)
Dave Chu [Wed, 25 Mar 2020 10:44:20 +0000 (03:44 -0700)]
Fix small typos in lua_api.txt (#9546)

4 years agoFix incorrect light updates for wielditem and item visuals (#9540)
Danila Shutov [Mon, 23 Mar 2020 20:57:44 +0000 (23:57 +0300)]
Fix incorrect light updates for wielditem and item visuals (#9540)

An alternative to #9537

4 years agoAdd comments for translators (#9510)
Wuzzy [Fri, 20 Mar 2020 08:41:07 +0000 (08:41 +0000)]
Add comments for translators (#9510)

* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings

4 years agoFix entity lighting (#9514)
Danila Shutov [Mon, 16 Mar 2020 21:58:13 +0000 (00:58 +0300)]
Fix entity lighting (#9514)

fixes #9482

4 years agoTransform texture UVs with provided tex. matrix (#9515)
Danila Shutov [Mon, 16 Mar 2020 21:57:46 +0000 (00:57 +0300)]
Transform texture UVs with provided tex. matrix (#9515)

fixes #9481

4 years agoFix mouse events sent to wrong GUI elements when dragging
sfan5 [Sun, 15 Mar 2020 19:34:49 +0000 (20:34 +0100)]
Fix mouse events sent to wrong GUI elements when dragging

4 years agoFormspecs: Add starting frame to `animated_image` (#9411)
v-rob [Mon, 16 Mar 2020 21:56:48 +0000 (14:56 -0700)]
Formspecs: Add starting frame to `animated_image` (#9411)

4 years agoFix some chatcommands not returning a value (#9503)
Wuzzy [Sat, 14 Mar 2020 14:01:22 +0000 (14:01 +0000)]
Fix some chatcommands not returning a value (#9503)

4 years agoUpdate clang-tidy configuration and scripts
sfan5 [Wed, 11 Mar 2020 12:33:54 +0000 (13:33 +0100)]
Update clang-tidy configuration and scripts

4 years agobuildbot: Update to newer MinGW gcc 9.2
sfan5 [Sun, 8 Mar 2020 20:05:12 +0000 (21:05 +0100)]
buildbot: Update to newer MinGW gcc 9.2

4 years agoUpdate travis build infrastructure
sfan5 [Sun, 8 Mar 2020 20:03:44 +0000 (21:03 +0100)]
Update travis build infrastructure

Ubuntu 14.04 -> 18.04
clang-format, clang-tidy 7 -> 8
clang 3.6 -> 3.9
clang 7 -> 9

4 years agoguiHyperText: Fix blinky cursor on link hover (#9392)
SmallJoker [Tue, 11 Feb 2020 18:53:09 +0000 (19:53 +0100)]
guiHyperText: Fix blinky cursor on link hover (#9392)

Change legacy size/position calculations to 'textarea'

4 years agominetest.get_content_id: error if the node does not exist (#9458)
HybridDog [Wed, 11 Mar 2020 15:25:14 +0000 (16:25 +0100)]
minetest.get_content_id: error if the node does not exist (#9458)

If a mod creator makes a typing mistake, this function now causes an error instead of returning the id of "ignore".

4 years agoFix memory leak in GUIHyperText (#9489)
DS [Tue, 10 Mar 2020 19:32:38 +0000 (20:32 +0100)]
Fix memory leak in GUIHyperText (#9489)

4 years agominetest,get_connected_players: Return empty table at load time (#9493)
sfan5 [Tue, 10 Mar 2020 19:32:04 +0000 (20:32 +0100)]
minetest,get_connected_players: Return empty table at load time (#9493)

4 years agoGUIFormSpecMenu: Remove field_close_on_enter warning (#9501)
SmallJoker [Tue, 10 Mar 2020 19:30:55 +0000 (20:30 +0100)]
GUIFormSpecMenu: Remove field_close_on_enter warning (#9501)

4 years agoRemove unnecessary checks before delete (#9500)
Nicolas Abril [Tue, 10 Mar 2020 19:30:42 +0000 (19:30 +0000)]
Remove unnecessary checks before delete (#9500)

Co-authored-by: Nicolas Abril <nicolasabril@alunos.utfpr.edu.br>
4 years agoFix 2 log messages when player joined to game (#9477)
Maksim [Sun, 8 Mar 2020 17:24:32 +0000 (18:24 +0100)]
Fix 2 log messages when player joined to game (#9477)

4 years agoImprove arm physics (#9485)
Jean-Patrick Guerrero [Sun, 8 Mar 2020 17:21:55 +0000 (18:21 +0100)]
Improve arm physics (#9485)

4 years agoFix star visilibity and documentation (since 946c03c6)
Jordan Snelling [Sun, 8 Mar 2020 15:13:36 +0000 (15:13 +0000)]
Fix star visilibity and documentation (since 946c03c6)

Fix memory leak (unused allocation)
Fix star rendering
Rename sky color struct
Fix stars on android
Remove extraneous .data() from android star draw

4 years agoWorkaround for get_player_information
SmallJoker [Sun, 8 Mar 2020 12:19:22 +0000 (13:19 +0100)]
Workaround for get_player_information

'-1' as value is handled as an error. If there are no RTT updates upon fast connect, set_player_information returned nil.

4 years agoGUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw conversi...
Jean-Patrick Guerrero [Sat, 7 Mar 2020 13:01:11 +0000 (14:01 +0100)]
GUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw conversion (#9437)

Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
4 years agoCleanup global namespace pollution in builtin (#9451)
Wuzzy [Fri, 6 Mar 2020 20:19:14 +0000 (20:19 +0000)]
Cleanup global namespace pollution in builtin (#9451)

4 years agoFix memory leak in protocol 38 set_sky
sfan5 [Thu, 5 Mar 2020 21:36:21 +0000 (22:36 +0100)]
Fix memory leak in protocol 38 set_sky

4 years agoFix linking failures when compiled with Clang 9
sfan5 [Thu, 5 Mar 2020 19:33:47 +0000 (20:33 +0100)]
Fix linking failures when compiled with Clang 9

4 years agoFixes around ServerActiveObject on_punch handling
sfan5 [Wed, 4 Mar 2020 18:13:26 +0000 (19:13 +0100)]
Fixes around ServerActiveObject on_punch handling

4 years agoFix potential security issue(s), documentation on minetest.deserialize() (#9369)
sfan5 [Thu, 5 Mar 2020 21:03:04 +0000 (22:03 +0100)]
Fix potential security issue(s), documentation on minetest.deserialize() (#9369)

Also adds an unittest

4 years agoFix code style to make clang-format happy
sfan5 [Thu, 5 Mar 2020 19:55:29 +0000 (20:55 +0100)]
Fix code style to make clang-format happy

4 years agoset_sky improvements, set_sun, set_moon and set_stars
Jordach [Wed, 21 Aug 2019 20:47:45 +0000 (21:47 +0100)]
set_sky improvements, set_sun, set_moon and set_stars

4 years agoFix pathfinder bugs: returning nil frequently, broken A*, jump through solid nodes...
Wuzzy [Thu, 5 Mar 2020 11:07:52 +0000 (12:07 +0100)]
Fix pathfinder bugs: returning nil frequently, broken A*, jump through solid nodes (#9339)

* Fix pathfinder fail when startpos is over air
* Note down pathfinder restrictions
* Implement real A* search
* Pathfinder: Implement buildPath non-recursively
* Update find_path documentation
* Pathfinder: Check if jump path is unobstructed
* Pathfinder: Fix drop check first checking upwards
* Pathfinder: Return nil if source or dest are solid
* Pathfinder: Use priority queue for open list