rubenwardy [Sat, 19 Aug 2017 18:43:02 +0000 (19:43 +0100)]
Fix empty legacy meta being persisted
Nathanaël Courant [Sun, 27 Aug 2017 17:06:40 +0000 (19:06 +0200)]
Statbars: fix incorrect half-images in non-standard orientations (fixes #6198)
Paramat [Sat, 26 Aug 2017 06:45:09 +0000 (07:45 +0100)]
Android stepheight: Only increase if 'touching ground' (#6313)
Dániel Juhász [Thu, 24 Aug 2017 06:31:33 +0000 (06:31 +0000)]
Fix Android node selection distance (#6187)
Loïc Blot [Mon, 21 Aug 2017 14:07:39 +0000 (16:07 +0200)]
serialize: use a temporary for SerializeException Exception must always use temporary instead of global copied exception instances, it's not recommended and should have undefined issues
Loic Blot [Thu, 17 Aug 2017 17:15:12 +0000 (19:15 +0200)]
Loïc Blot [Wed, 16 Aug 2017 21:48:29 +0000 (23:48 +0200)]
ClientInterface: add a function to verify (correctly) if user limit was reached (#6258)
* ClientInterface: add a function to verify (correctly) if user limit was reached
CS_HelloSent is a better indicator of active slots than CS_Created, which are session objects created after init packet reception
Switch existing checks to ClientInterface::isUserLimitReached()
Use range-based for loop for getClientIds() used function too
This will fix #6254 (not the memory overhead if init is flooded)
Dániel Juhász [Sat, 24 Jun 2017 16:58:01 +0000 (18:58 +0200)]
Make dropped items colorable
SmallJoker [Thu, 10 Aug 2017 07:41:56 +0000 (09:41 +0200)]
Trigger on_rightclick regardless on the formspec meta field
Document behaviour for older clients.
Fixer [Wed, 9 Aug 2017 10:50:16 +0000 (13:50 +0300)]
Full viewing range key message clarified
To make it sound less confusing to players
Jens Rottmann [Fri, 4 Aug 2017 23:42:39 +0000 (01:42 +0200)]
Add tiny Y offset in collisionMoveSimple() to tweak performance
Another small general problem: the player is always standing exactly on the
bondary between 2 nodes e.g. Y=1.5 is exactly between nodes Y=1 and Y=2.
floatToInt() and myround() will round +/-n.5 always 'outwards' to +/-(n+1),
which means they behave differently depending on where you are: they round
upwards above sea level and downwards when underground. This inconsistency
comes from the way the coordinates are calculated, independent of the
specific C++ code.
The result is a tiny bit of lost performance when moving underground,
because 1 node level more than necessary is checked for collisions. This can
be amended by adding a tiny offset to minpos_f.Y, like @paramat suggested.
This is not an elegant solution, but still better than wasting CPU.
Jens Rottmann [Fri, 4 Aug 2017 19:48:32 +0000 (21:48 +0200)]
Fix player coordinate rounding in collisionMoveSimple() (#6197)
To determine the area (nodes) where a player movement took place
collisionMoveSimple() first took the old/new player coordinates and rounded
them to integers, then added the player character's collision box and
implicitely rounded the result. This has 2 problems:
Rounding the position and the box seperately, then adding the resulting
integers means you get twice the rounding error. And implicit rounding
always rounds towards 0.0, unlike floatToInt(), which rounds towards the
closest integer.
Previous (simplified) behavior: round(pos)+(int)box, for example player at
Y=0.9, body is 1.75m high: round(0.9)+(int)1.75 = 1+1 = 2.
==> A character's height of 1.75m always got rounded down to 1m, its width
of +/-0.3 even became 0.
Fixed by adding the floats first, then rounding properly: round(pos+box) =
round(0.9+1.75) = round(2.65) = 3.
Juozas Pocius [Wed, 2 Aug 2017 13:40:38 +0000 (16:40 +0300)]
Fix crash when using --go in command line
SmallJoker [Sat, 29 Jul 2017 17:01:14 +0000 (19:01 +0200)]
Noise: Prevent unittest crash caused by division by zero
SmallJoker [Sat, 1 Apr 2017 18:38:14 +0000 (20:38 +0200)]
Sneak: Stripped down version
Fix taking damage caused by sneaking over a nodebox gap.
Fix strange behaviour on stair nodeboxes.
Enable jumping from node edges while sneaking.
Enable movement around corners while sneaking on a 1-node-high groove in a wall.
stujones11 [Sat, 1 Jul 2017 16:01:07 +0000 (17:01 +0100)]
Include TILE_MATERIAL_OPAQUE in shaders header (#6086)
stujones11 [Wed, 7 Jun 2017 17:52:38 +0000 (18:52 +0100)]
Tile material: Add 'TILE_MATERIAL_OPAQUE', use for drawtype 'NDT_NORMAL'
Prevents normal drawtype nodes having transparency.
Avoids clients cheating by using 'x-ray' texture packs with transparent textures.
paramat [Wed, 28 Jun 2017 08:35:46 +0000 (09:35 +0100)]
Mgv7: Fix undefined 'float_mount_height'
Commit
cad10ce3b747b721fd63784915e05f12bc488128 altered the parameter
'float_mount_height' but was missing the necessary line in the constructor
to get the altered value from 'params'.
Fixes 3D floatland terrain generating everywhere.
Jesse McDonald [Tue, 27 Jun 2017 10:34:11 +0000 (05:34 -0500)]
Fix for empty key/value when reading item string with wear but no metadata (#6058)
paramat [Sun, 25 Jun 2017 03:45:40 +0000 (04:45 +0100)]
Mgv7: Clean up divide-by-zero fix
paramat [Fri, 23 Jun 2017 20:49:26 +0000 (21:49 +0100)]
Mgv7: Avoid divide-by-zero errors
Some settings of paramters can cause mgv7 variables to be -inf, nan or -nan.
This can cause massive vertical columns of water to appear above sea level.
Dániel Juhász [Wed, 21 Jun 2017 08:47:31 +0000 (08:47 +0000)]
Fix render order of overlays (#6008)
* Fix render order of overlays
* Use C++11 loops
* Fix time_t
Ezhh [Wed, 21 Jun 2017 05:50:57 +0000 (06:50 +0100)]
Fix console resize issue when maximising game window (#6023)
Zeno- [Tue, 20 Jun 2017 10:36:58 +0000 (20:36 +1000)]
Fix console not being properly resized after window size changed (#6020)
Dániel Juhász [Tue, 20 Jun 2017 09:19:56 +0000 (09:19 +0000)]
Automatic item and node colorization (#5640)
* Automatic item and node colorization
Now nodes with a palette yield colored item stacks, and colored items
place colored nodes by default. The client predicts the colorization.
* Backwards compatibility
* Use nil
* Style fixes
* Fix code style
* Document changes
SmallJoker [Mon, 19 Jun 2017 14:30:26 +0000 (16:30 +0200)]
find_nodes_in_area: Extend maximal count to U32_MAX (#5277)
Extend documentation, limit area volume
Remove u16 count limitation
* Prevent integer overflow, replace minp/maxp with pos1/pos2
Loïc Blot [Mon, 19 Jun 2017 12:10:30 +0000 (14:10 +0200)]
Verify HudSetParams input when hotbar textures are set (#6013)
* Verify HudSetParams input when hotbar textures are set
This fix #6011
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'.
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)
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 [Wed, 7 Jun 2017 17:11:28 +0000 (19:11 +0200)]
make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942)
red-001 [Tue, 6 Jun 2017 15:02:44 +0000 (16:02 +0100)]
Fix typos/mistakes in the documentation for colour related functions. (#5936)
ShadowNinja [Sat, 3 Jun 2017 21:59:17 +0000 (17:59 -0400)]
Fix segmentation fault with tool capabilities (#5899)
sfan5 [Mon, 20 Nov 2017 18:27:06 +0000 (19:27 +0100)]
rubenwardy [Sat, 9 Sep 2017 19:33:28 +0000 (20:33 +0100)]
Fix branch being labelled as 0.4.17 instead of 0.4.17-dev
You should use tags instead of this branch to track the latest release
Loïc Blot [Sun, 20 Aug 2017 15:20:11 +0000 (17:20 +0200)]
New version scheme (#6292)
* Version changes: current dev version is now 0.4.17
* This change permit to have multi branches with various versions
* Dev version is 0.4.17-dev and next release will be 0.4.17
ShadowNinja [Sat, 3 Jun 2017 18:55:10 +0000 (14:55 -0400)]
Merge 0.4.16 into stable-0.4
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.
Wuzzy [Fri, 2 Jun 2017 15:16:30 +0000 (17:16 +0200)]
Remove “inf” argument from shutdown command help (#5880)
Dániel Juhász [Fri, 2 Jun 2017 13:57:59 +0000 (13:57 +0000)]
Document hardware coloring and soft node overlays (#5876)
Dániel Juhász [Thu, 1 Jun 2017 21:18:55 +0000 (23:18 +0200)]
Do not shade inventory items with textures (#5869)
This commit restores the old behavior: if an inventory item has an own
inventory texture, it will not be shaded.
Loïc Blot [Thu, 1 Jun 2017 21:18:24 +0000 (23:18 +0200)]
Show singlenode mapgen to menu (#5868)
Fix #5867
red-001 [Thu, 1 Jun 2017 06:00:26 +0000 (07:00 +0100)]
Fix dropdown menu selection (#5847)
This fixes a bug that occurred when the selection list of a drop down menu was changed but the name was still the same.
red-001 [Wed, 31 May 2017 18:08:13 +0000 (19:08 +0100)]
Add more files and file types to `.gitignore` (#5859)
red-001 [Wed, 31 May 2017 18:07:33 +0000 (19:07 +0100)]
Nametag: remove colour codes before calculating alignment. (#5862)
stujones11 [Mon, 29 May 2017 21:26:25 +0000 (22:26 +0100)]
Don't add damage flash while punch texture modifier is active (#5767)
Loïc Blot [Sun, 28 May 2017 13:23:30 +0000 (15:23 +0200)]
guiVolumeChange: prevent wrong value position by using 1 label instead of 2 (#5839)
* Use only one label instead of two for the soundText, this permit to ensure both label & values are aligned
* Add '%' character too, to reflect it's a percentage volume
* Remove rect on regenerateGui (upper part) which shadows outer part and which is not needed outside of the DesiredRect affectation
Fix issue #5837
Nathan Salapat [Sun, 28 May 2017 07:23:06 +0000 (02:23 -0500)]
Added missing levels to logging menu (#5836)
* Added missing levels to logging menu
Added none and error options to the debug_log_level in the advance settings.
paramat [Thu, 25 May 2017 17:53:47 +0000 (18:53 +0100)]
Mapgen files: Update and correct copyright credits
SmallJoker [Fri, 26 May 2017 12:03:36 +0000 (14:03 +0200)]
Time: Change old `u32` timestamps to 64-bit (#5818)
MacOSX build fix + cleanups
Loïc Blot [Thu, 25 May 2017 14:43:55 +0000 (16:43 +0200)]
Enhance ABM performance a little bit by removing two std::set copy (#5815)
* Enhance ABM performance a little bit by removing two std::set copy
* ActiveBlockModifier::getTriggerContents now returns a const ref
* ActiveBlockModifier::getRequiredNeighbors now returns a const ref
* ActiveBlockModifier::getRequiredNeighbors is now purely virtual
* Little code style fix
Paramat [Thu, 25 May 2017 10:46:34 +0000 (11:46 +0100)]
Mgv6 mudflow: Remove decoration if 'dirt with grass' below flows away (#5798)
Mudflow of a neighbouring mapchunk extends into a mapchunk's edge, and could
remove 'dirt with grass' from under a decoration, creating unsupported
decorations.
Remove any decoration above if a 'dirt with grass' node is removed by mudflow.