Loïc Blot [Sat, 17 Jun 2017 17:11:28 +0000 (19:11 +0200)]
Cpp11 initializers 2 (#5999)
* C++11 patchset 10: continue cleanup on constructors
* Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop)
* More classes cleanup
* More classes cleanup + change NULL tests to boolean tests
Loïc Blot [Fri, 16 Jun 2017 09:25:52 +0000 (11:25 +0200)]
C++11 patchset 9: move hardcoded init parameters to class definitions (part 1) (#5984)
* C++11 patchset 9: move hardcoded init parameters to class definitions
C++11 introduced the possibility to define the default values directly in class definitions, do it on current code
Also remove some unused attributes
* CollisionInfo::bouncy
* collisionMoveResult::collides_xy
* collisionMoveResult::standing_on_unloaded
* Clouds::speed
* More constructor cleanups + some variables removal
* remove only write guiFormSpecMenu::m_old_tooltip
* move header included inside defintions in genericobject.h
* remove some unused since years exception classes
* remove unused & empty debug_stacks_init
* remove unused & empty content_nodemeta_serialize_legacy
* remove forgotten useless bool (bouncy) in collision.cpp code
Rui [Fri, 16 Jun 2017 05:17:30 +0000 (14:17 +0900)]
Fix deserialization of ItemDefinition (#5995)
paramat [Thu, 15 Jun 2017 21:48:26 +0000 (22:48 +0100)]
Mgv6 mudflow: Also check for 'ignore' nodes
Previously, when removing decorations we searched upwards and removed until we
found air or water. However, the node above the decoration can be 'ignore' if
a stacked decoration extends into the volume above the mapchunk. The result
could be a problematic column of air placed in the volume of 'ignore'. The
unnecessary placing of air also slows the function.
Add a check for 'ignore' nodes when removing decorations.
Ezhh [Thu, 15 Jun 2017 20:38:41 +0000 (21:38 +0100)]
Improve chatcommand params consistency (#5985)
* Fix and improve params consistency
* Move parenthesis requirement to descriptions
paramat [Mon, 12 Jun 2017 16:53:17 +0000 (17:53 +0100)]
Mgv6 mudflow: Avoid partially removed stacked decorations
Recently we started to remove decorations if the dirt below was flowed away,
but this did not check for stacked decorations, causing them to have only
their lowest node removed.
Also, placed mud could partially bury stacked decorations.
Remove 'old_is_water' bool which on testing is never true.
Add new function 'moveMud()' to reduce indentation.
Remove stacked decoration nodes above a removed decoration.
Remove stacked decorations partially buried in placed mud.
Rui [Wed, 14 Jun 2017 15:21:08 +0000 (00:21 +0900)]
Fix no sound bug (#5968)
Loïc Blot [Wed, 14 Jun 2017 14:23:08 +0000 (16:23 +0200)]
Remove legacy content_abm.{cpp,h}
sfan5 [Wed, 14 Jun 2017 06:04:39 +0000 (08:04 +0200)]
Update list of installed files concerning server and non-RUN_IN_PLACE builds (#5976)
* mods/mods_here.txt should be present on servers
* client/serverlist/ can be omitted for RUN_IN_PLACE=0
* clientmods/ is not used on servers
Rui [Sun, 11 Jun 2017 19:20:50 +0000 (04:20 +0900)]
Fix the serialization error by
ff73c7a (#5964)
Loïc Blot [Sun, 11 Jun 2017 11:58:43 +0000 (13:58 +0200)]
Use thread_local instead from some static settings (#5955)
thread_local permits to limit variable lifetime to thread duration. Use it on each setting place which uses static to cache variable result only for thread lifetime. This permits to keep the same performance level & reconfigure server from MT gui in those various variables places.
Add thread_local to undersampling calculation too.
Rui [Sun, 11 Jun 2017 11:58:26 +0000 (20:58 +0900)]
Sound: Add pitch option (#5960)
* Sound: Add pitch option
Loïc Blot [Sun, 11 Jun 2017 10:49:30 +0000 (12:49 +0200)]
Remove minetestmapper from this repository (#5901)
It's now located at https://github.com/minetest/minetestmapper
Remove colors.txt and sectors2sqlite too
red-001 [Sun, 11 Jun 2017 07:43:31 +0000 (08:43 +0100)]
Improve the path select GUI (#5852)
- Allow lua to chose whatever directories or files can be selected
- Fix selecting directories
- Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu`
- Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog`
- Remove duplicate code and fix code style.
Related changes
- fix `clang-format` whitelist.
- Regenerate minetest.conf.example
ShadowNinja [Sun, 11 Jun 2017 07:43:05 +0000 (03:43 -0400)]
Remove threads.h and replace its definitions with their C++11 equivalents (#5957)
This also changes threadProc's signature, since C++11 supports arbitrary
thread function signatures.
QrchackOfficial [Sun, 4 Jun 2017 23:52:55 +0000 (01:52 +0200)]
Remove superfluous pointer null checks
number Zero [Fri, 9 Jun 2017 17:31:16 +0000 (20:31 +0300)]
Plantlike meshoptions: Fix inverted random vertical offset
paramat [Sun, 4 Jun 2017 21:28:32 +0000 (22:28 +0100)]
(Re)spawn players within 'mapgen_limit'
Previously, findSpawnPos() did not take the 'mapgen_limit' setting into account,
a small limit often resulted in a spawn out in the void.
Use the recently added 'calcMapgenEdges()' to get max spawn range through a new
mapgenParams function 'getSpawnRangeMax()'.
Previously, when a player respawned into a world, 'objectpos_over_limit()' was
used as a check, which was inaccurate.
Use the recently added 'saoPosOverLimit()' to get exact mapgen edges.
Also fix default value of 'm_sao_limit_min'.
Elijah Duffy [Sat, 10 Jun 2017 18:14:26 +0000 (11:14 -0700)]
Menu: Do not use textlist for shaders in settings tab (#5820)
Replace the textlist used if the shaders checkbox is unchecked in the settings tab of the main menu with labels. This makes the formspec feel more consistent as the items do not move when shaders is unchecked but only change colour and the checkboxes beside them disappear.
red-001 [Sat, 10 Jun 2017 11:49:44 +0000 (12:49 +0100)]
Add a server-sided way to remove color codes from incoming chat messages (#5948)
These code be generated by CSM, a modded client or just copy and pasted by the player.
Changes
- Update configuration example and setting translation file.
- Remove colour codes before logging chat.
- Add setting to remove colour codes before processing the chat.
DS [Sat, 10 Jun 2017 11:49:28 +0000 (13:49 +0200)]
fix an example in lua_api (#5604)
Loïc Blot [Sat, 10 Jun 2017 11:49:15 +0000 (13:49 +0200)]
C++11 patchset 6: forbid object copy using assigment/copy function deleters (#5945)
C++11 implement function deleting, it's generally used to prevent some object copy
In script API use this function removal on ScriptApiBase instead of ScriptApiClient/Server/MainMenu, this affect all ScriptApis
Move DISABLE_CLASS_COPY with constructor, the deleted function permit to replace function in its original place
Thomas--S [Sat, 10 Jun 2017 11:24:05 +0000 (13:24 +0200)]
Order es_DrawType exactly like enum NodeDrawType in nodedef.h (#5946)
This will help to avoid some strange bugs.
red-001 [Fri, 9 Jun 2017 19:39:25 +0000 (20:39 +0100)]
Fix sending color codes to clients that don't support them. (#5950)
Also remove `disable_escape_sequences` since it's not needed anymore.
DS [Fri, 9 Jun 2017 13:48:04 +0000 (15:48 +0200)]
CSM: Fix documentation error for register_on_*_chat_messages (#5917)
Loïc Blot [Fri, 9 Jun 2017 07:40:16 +0000 (09:40 +0200)]
buildbot: exit 0 at the end of the script
This permits script to return correct state when skipping packaging
Loïc Blot [Thu, 8 Jun 2017 14:30:30 +0000 (16:30 +0200)]
Implement GItlab CI daily builds for windows platform (32 & 64) (#5923)
* Implement win32 & win64 builds in Gitlab CI + pkg improvements
* windows buildbot: split build & deploy steps
* move deb artifacts to root folder to have a nicer artifact
* add windows build + packaging on xenial
red-001 [Thu, 8 Jun 2017 13:30:09 +0000 (14:30 +0100)]
Have the server send the player list to the client (#5924)
* Have the server send the player list to the client
Currently the client generates the player list based on the Client active object list, the issue with this is that we can't be sure all player active objects will be sent to the client, so this could result in players showing up when someone run `/status` but auto complete not working with their nick and CSM not being aware of the player
Loïc Blot [Thu, 8 Jun 2017 08:40:11 +0000 (10:40 +0200)]
C++11 patchset 5: use std::threads and remove old compat layer (#5928)
* C++11 patchset 5: use std::threads and remove old compat layer
* use pragma once in modified headers
* use C++11 function delete for object copy
Paramat [Thu, 8 Jun 2017 07:57:00 +0000 (08:57 +0100)]
Autorun: Change to 'autoforward' (#5926)
Minetest does not have 'run'.
Automatic forwards is very often used while flying or swimming, so a general
word is more suitable.
red-001 [Thu, 8 Jun 2017 07:50:51 +0000 (08:50 +0100)]
Use a settings object when generating world.mt and set player_backend to sqlite. (#5940)
* Use a settings object when generating world.mt and set player_backend to sqlite.
* Update subgame.cpp
DS [Wed, 7 Jun 2017 17:11:28 +0000 (19:11 +0200)]
make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942)
red-001 [Wed, 7 Jun 2017 07:09:06 +0000 (08:09 +0100)]
[CSM] Add function to get player privileges (#5933)
* [CSM] Add function to get player privileges + move related help functions to common
* Added @Zeno- const
Loic Blot [Tue, 6 Jun 2017 21:02:03 +0000 (23:02 +0200)]
DragonflyBSD & NetBSD build fix
Loic Blot [Tue, 6 Jun 2017 17:54:48 +0000 (19:54 +0200)]
Fix bump_version.sh & client_lua_api.md
This modification was forgotten at release
red-001 [Tue, 6 Jun 2017 15:02:44 +0000 (16:02 +0100)]
Fix typos/mistakes in the documentation for colour related functions. (#5936)
Loïc Blot [Tue, 6 Jun 2017 14:29:28 +0000 (16:29 +0200)]
Use C++11 mutexes only (remove compat code) (#5922)
* Fix event LINT & remove default constructor/destructors
* remove compat code & modernize autolock header
Loïc Blot [Tue, 6 Jun 2017 14:19:04 +0000 (16:19 +0200)]
Revert "Remove deprecated code segments (#5891)"
This reverts commit
599e13e95e81aadb959c9f3715aec9b425ede084.
Elijah Duffy [Tue, 6 Jun 2017 12:34:31 +0000 (05:34 -0700)]
Main Menu: Add get_clientmodpath API (#5912)
Add `core.get_clientmodpath` to main menu API (also possible in async calls).
Loïc Blot [Tue, 6 Jun 2017 12:34:14 +0000 (14:34 +0200)]
C++11 patchset 3: remove Atomic/GenericAtomic and use std::atomic (#5906)
red-001 [Tue, 6 Jun 2017 05:57:35 +0000 (06:57 +0100)]
Remove old network code (#5921)
Vincent Glize [Mon, 5 Jun 2017 07:43:21 +0000 (09:43 +0200)]
Fixed #5907 Documentation for screen_h and screen_w (#5909)
Loic Blot [Mon, 5 Jun 2017 07:36:13 +0000 (09:36 +0200)]
Remove SharedPtr, it's not used and will be never used, we use C++11
Loic Blot [Sun, 4 Jun 2017 21:07:45 +0000 (23:07 +0200)]
Gitlab CI: Fix Ubuntu 14.04/Debian 8 build by using GCC 6 toolchain
+ indent fix
Thomas--S [Sun, 4 Jun 2017 19:42:32 +0000 (21:42 +0200)]
Remove deprecated code segments (#5891)
Loïc Blot [Sun, 4 Jun 2017 19:00:04 +0000 (21:00 +0200)]
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
Loic Blot [Fri, 26 May 2017 15:04:10 +0000 (17:04 +0200)]
JsonCPP update from 0.10.6 to 1.8.0
Loic Blot [Fri, 26 May 2017 15:03:46 +0000 (17:03 +0200)]
Minetest for C++11 (CMakeLists + Travis)
* Move GCC to GCC 6 & GCC 7
* Move Clang to Clang 3.6 & Clang 4.0
* LINT moves from Clang 3.9 to Clang 4.0
* Move XCode 7.3 to 8.0
* Use more travis tricks to install compilers instead of adding complexity to our build script
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Drop mingw cmake generated files and add them to gitignore
Casimir [Sun, 4 Jun 2017 07:37:30 +0000 (09:37 +0200)]
Mapgen v6: Use snow blocks in tundra and remove them from taiga (#5827)
* Mapgen v6: Use snow blocks in tundra and remove them from taiga
* Use snowblocks in tundra above dirt with snow
ShadowNinja [Sat, 3 Jun 2017 21:59:17 +0000 (17:59 -0400)]
Fix segmentation fault with tool capabilities (#5899)
Vincent Glize [Sat, 3 Jun 2017 20:02:07 +0000 (22:02 +0200)]
Snake case for screen options in minetest.conf (#5792)
ShadowNinja [Sat, 3 Jun 2017 18:42:10 +0000 (14:42 -0400)]
Continue with 0.4.16-dev
ShadowNinja [Sat, 3 Jun 2017 18:42:10 +0000 (14:42 -0400)]
Bump version to 0.4.16
ShadowNinja [Sat, 3 Jun 2017 18:39:49 +0000 (14:39 -0400)]
Update remove_player documentation
This function only removes player meta data,
not player authentication data.
rubenwardy [Sun, 28 May 2017 19:37:44 +0000 (20:37 +0100)]
Update credits
The following algorithm was used when selecting contributors:
* Every non-trivial contributor from the current release,
Non-trivial meaning more than X non-trivial commits, not counting documentation/translation changes
* The top Y contributors from the last 4 years.
* Previous contributor means no contributions since a few months before the last release.
In the future this should be automated
pandaro [Sat, 3 Jun 2017 10:10:53 +0000 (10:10 +0000)]
Translated using Weblate (Italian)
Currently translated at 77.6% (795 of 1024 strings)
Лазар Вукановић [Fri, 2 Jun 2017 14:47:17 +0000 (14:47 +0000)]
Translated using Weblate (Serbian (cyrillic))
Currently translated at 38.1% (391 of 1024 strings)
Mateusz Mendel [Wed, 31 May 2017 19:57:58 +0000 (19:57 +0000)]
Translated using Weblate (Polish)
Currently translated at 61.3% (628 of 1024 strings)
praprot [Fri, 2 Jun 2017 18:30:43 +0000 (18:30 +0000)]
Added translation using Weblate (Slovenian)
BreadW [Mon, 29 May 2017 12:33:31 +0000 (12:33 +0000)]
Translated using Weblate (Japanese)
Currently translated at 48.2% (494 of 1024 strings)
Emiel van Rooijen [Wed, 31 May 2017 09:20:24 +0000 (09:20 +0000)]
Translated using Weblate (Dutch)
Currently translated at 79.7% (817 of 1024 strings)
texmex [Wed, 31 May 2017 07:56:28 +0000 (07:56 +0000)]
Translated using Weblate (Swedish)
Currently translated at 12.1% (124 of 1024 strings)
metarmask [Wed, 31 May 2017 07:32:00 +0000 (07:32 +0000)]
Translated using Weblate (Swedish)
Currently translated at 11.0% (113 of 1024 strings)
texmex [Wed, 31 May 2017 07:31:43 +0000 (07:31 +0000)]
Translated using Weblate (Swedish)
Currently translated at 10.9% (112 of 1024 strings)
Muhammad Nur Hidayat Yasuyoshi [Fri, 26 May 2017 02:59:04 +0000 (02:59 +0000)]
Translated using Weblate (Malay)
Currently translated at 90.2% (924 of 1024 strings)
Muhammad Rifqi Priyo Susanto [Fri, 26 May 2017 14:36:18 +0000 (14:36 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 94.5% (968 of 1024 strings)
Muhammad Rifqi Priyo Susanto [Fri, 26 May 2017 03:06:23 +0000 (03:06 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 84.2% (863 of 1024 strings)
Viktar Vauchkevich [Thu, 25 May 2017 17:22:33 +0000 (17:22 +0000)]
Translated using Weblate (Belarusian)
Currently translated at 100.0% (1024 of 1024 strings)
anonymous [Fri, 2 Jun 2017 12:27:13 +0000 (12:27 +0000)]
Translated using Weblate (French)
Currently translated at 88.6% (908 of 1024 strings)
Hugo Locurcio [Fri, 2 Jun 2017 12:26:56 +0000 (12:26 +0000)]
Translated using Weblate (French)
Currently translated at 88.5% (907 of 1024 strings)
Loïc Blot [Mon, 22 May 2017 17:47:43 +0000 (17:47 +0000)]
Translated using Weblate (French)
Currently translated at 88.4% (906 of 1024 strings)
José [Mon, 22 May 2017 09:52:31 +0000 (09:52 +0000)]
Translated using Weblate (French)
Currently translated at 87.4% (895 of 1024 strings)
Loïc Blot [Mon, 22 May 2017 06:15:56 +0000 (06:15 +0000)]
Translated using Weblate (French)
Currently translated at 86.9% (890 of 1024 strings)
monolifed [Sun, 21 May 2017 20:45:47 +0000 (20:45 +0000)]
Translated using Weblate (Turkish)
Currently translated at 100.0% (1024 of 1024 strings)
Wuzzy [Sun, 21 May 2017 21:54:17 +0000 (21:54 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (1024 of 1024 strings)
LNJ [Sun, 21 May 2017 20:04:50 +0000 (20:04 +0000)]
Translated using Weblate (German)
Currently translated at 99.8% (1022 of 1024 strings)
Wuzzy [Sun, 21 May 2017 19:57:22 +0000 (19:57 +0000)]
Translated using Weblate (German)
Currently translated at 99.8% (1022 of 1024 strings)
Fixer [Sun, 21 May 2017 20:31:30 +0000 (20:31 +0000)]
Translated using Weblate (Ukrainian)
Currently translated at 40.0% (410 of 1024 strings)
Olexandr [Sun, 21 May 2017 17:29:04 +0000 (17:29 +0000)]
Translated using Weblate (Ukrainian)
Currently translated at 37.6% (386 of 1024 strings)
Fixer [Sun, 21 May 2017 17:28:17 +0000 (17:28 +0000)]
Translated using Weblate (Ukrainian)
Currently translated at 37.6% (386 of 1024 strings)
weqqr [Fri, 2 Jun 2017 19:42:43 +0000 (19:42 +0000)]
Translated using Weblate (Russian)
Currently translated at 96.3% (987 of 1024 strings)
Andrew Zyabin [Wed, 31 May 2017 10:20:48 +0000 (10:20 +0000)]
Translated using Weblate (Russian)
Currently translated at 96.2% (986 of 1024 strings)
Sergey [Wed, 31 May 2017 10:20:38 +0000 (10:20 +0000)]
Translated using Weblate (Russian)
Currently translated at 96.2% (986 of 1024 strings)
Andrew Zyabin [Wed, 31 May 2017 10:16:58 +0000 (10:16 +0000)]
Translated using Weblate (Russian)
Currently translated at 96.1% (985 of 1024 strings)
anonymous [Wed, 31 May 2017 10:16:19 +0000 (10:16 +0000)]
Translated using Weblate (Russian)
Currently translated at 96.0% (984 of 1024 strings)
weqqr [Wed, 24 May 2017 08:24:26 +0000 (08:24 +0000)]
Translated using Weblate (Russian)
Currently translated at 95.8% (982 of 1024 strings)
Alex “XShell” Schekoldin [Wed, 24 May 2017 08:17:48 +0000 (08:17 +0000)]
Translated using Weblate (Russian)
Currently translated at 95.8% (981 of 1024 strings)
weqqr [Wed, 24 May 2017 07:40:53 +0000 (07:40 +0000)]
Translated using Weblate (Russian)
Currently translated at 95.8% (981 of 1024 strings)
Pavel Sokolov [Wed, 24 May 2017 07:40:38 +0000 (07:40 +0000)]
Translated using Weblate (Russian)
Currently translated at 95.8% (981 of 1024 strings)
weqqr [Wed, 24 May 2017 07:39:06 +0000 (07:39 +0000)]
Translated using Weblate (Russian)
Currently translated at 95.8% (981 of 1024 strings)
Sergey [Tue, 23 May 2017 19:55:59 +0000 (19:55 +0000)]
Translated using Weblate (Russian)
Currently translated at 75.5% (774 of 1024 strings)
weqqr [Tue, 23 May 2017 19:55:44 +0000 (19:55 +0000)]
Translated using Weblate (Russian)
Currently translated at 75.3% (772 of 1024 strings)
Sergey [Sun, 21 May 2017 18:55:24 +0000 (18:55 +0000)]
Translated using Weblate (Russian)
Currently translated at 58.2% (596 of 1024 strings)
weqqr [Sun, 21 May 2017 17:23:32 +0000 (17:23 +0000)]
Translated using Weblate (Russian)
Currently translated at 55.0% (564 of 1024 strings)
Loïc Blot [Sat, 3 Jun 2017 17:57:02 +0000 (19:57 +0200)]
Properly remove SAO when worldedges are overtaken (#5889)
* LuaEntitySAO: Remove beyond outermost mapchunk edges
Based on a commit by, and with help from, nerzhul.
Add 2 functions to class Mapgen:
A function to calculate actual mapgen edges, called from the Mapgen constructor.
A function called indirectly from content_sao.cpp per entity step to check SAO
position is within mapgen edges.
* Calculate borders from params not mapgen, which is not available everytime
Loic Blot [Sat, 3 Jun 2017 17:36:01 +0000 (19:36 +0200)]
Android: update build tools version + versionCode bump for release
red-001 [Sat, 3 Jun 2017 12:44:04 +0000 (13:44 +0100)]
Remove unimplemented setting `movement_speed_descend` (#5892)
SmallJoker [Sat, 3 Jun 2017 06:55:26 +0000 (08:55 +0200)]
Tooltips: Unify the tooltip[] and list[] description tooltip display functions (#5848)
* Tooltips: Unify the tooltip[] and list[] description tooltip display functions
Wuzzy [Sat, 3 Jun 2017 06:20:22 +0000 (08:20 +0200)]
Mention data type for get/set_attribute in docs (#5884)
Wuzzy [Fri, 2 Jun 2017 12:15:49 +0000 (14:15 +0200)]
Lua_api.txt: Various edits and Markdown syntax improvements
Add minor bits of missing Lua API documentation.
Remove L-system lighting bug warning.
Clarify 2 lines in node timer documentation.
Fix many Markdown syntax errors in lua_api.txt.