red-001 [Mon, 10 Apr 2017 19:13:20 +0000 (20:13 +0100)]
[CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)
Loïc Blot [Mon, 10 Apr 2017 07:40:06 +0000 (09:40 +0200)]
Clang-format fix for Android
Loïc Blot [Mon, 10 Apr 2017 07:17:53 +0000 (09:17 +0200)]
Clang-format styles fixes since previous commit
Loic Blot [Mon, 10 Apr 2017 06:05:03 +0000 (08:05 +0200)]
Clang format: fix LINT on old PR which doesn't have LINT enabled
number Zero [Thu, 12 Jan 2017 09:19:36 +0000 (12:19 +0300)]
Hard-coded undersampling.
Adds uniform undersampling for the 3D rendered scene. GUI elements
are not undersampled, resulting in better playability for users
with low-performance platforms with readable fonts and formspecs.
The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels
which translates into a resolution reduction of x4, x9 or x16, and
is significant.
Vincent Glize [Sat, 8 Apr 2017 10:26:45 +0000 (12:26 +0200)]
LocalPlayer api lua
Dániel Juhász [Fri, 10 Mar 2017 17:25:58 +0000 (18:25 +0100)]
Hardware coloring for itemstacks
Adds the possibility to colorize item stacks based on their metadata.
In the item/node definition you can specify palette (an image file)
and color (fallback color if the item has no palette or metadata).
Then you can add palette_index to the metadata.
Dropped itemstacks with different colors do not merge.
red-001 [Sat, 8 Apr 2017 18:03:57 +0000 (19:03 +0100)]
Move chat command handling code from C++ to Lua (#5528)
raymoo [Sat, 8 Apr 2017 08:42:59 +0000 (01:42 -0700)]
Document that write_json will error on unserializable types. (#5539)
Previously it was erroneously documented that it would save them as null.
Loïc Blot [Sat, 8 Apr 2017 08:19:07 +0000 (10:19 +0200)]
Prepare for Linux daily build packages (using Gitlab.com CI) (#5542)
* Prepare for Linux daily build packages (using Gitlab.com CI)
Loïc Blot [Sat, 8 Apr 2017 07:28:37 +0000 (09:28 +0200)]
Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#5541)
We are bundling Lua5.1 which has same macro
Loic Blot [Sat, 8 Apr 2017 06:45:58 +0000 (08:45 +0200)]
code style fix on src/script/cpp_api/s_client.h
Vincent Glize [Sat, 8 Apr 2017 06:20:30 +0000 (08:20 +0200)]
[CSM] Add event on_connect player API lua (#5540)
* Add event on_connect player API lua
Loic Blot [Fri, 7 Apr 2017 21:56:02 +0000 (23:56 +0200)]
Fix cmake library default build problem since moving to lib/
Also make Lua library check a cmake module
Loic Blot [Fri, 7 Apr 2017 21:22:00 +0000 (23:22 +0200)]
Pass clang-format on 14 trivial header files fixes
Also remove them from whitelist
rubenwardy [Fri, 7 Apr 2017 18:06:50 +0000 (19:06 +0100)]
Fix signed/unsigned conversion warning
There was no bug here (as I checked for negativeness),
however it's good to get rid of warnings.
SmallJoker [Fri, 7 Apr 2017 15:59:27 +0000 (17:59 +0200)]
Cavegen: Fix non-constant array initializer error for MSVC
SmallJoker [Fri, 7 Apr 2017 15:10:26 +0000 (17:10 +0200)]
Settings: Update documentation (#5534)
Now documented (sorted a-z):
enable_console
enable_particles
creative_mode
hud_scaling
inventory_image_hack
keymap_console
keymap_zoom
shader_path
view_bobbing
Loic Blot [Fri, 7 Apr 2017 06:50:17 +0000 (08:50 +0200)]
Clang-format: fix some header files and remove them from whitelist
YuGiOhJCJ [Fri, 7 Apr 2017 05:29:43 +0000 (07:29 +0200)]
Add the REQUIRE_LUAJIT option (#5526)
adrido [Fri, 7 Apr 2017 05:14:39 +0000 (07:14 +0200)]
Windows: Skip cmd for release builds (#5416)
Auke Kok [Fri, 7 Apr 2017 05:04:40 +0000 (22:04 -0700)]
Fix "error: ‘playerSAO’ was not declared"
Cause:
351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19
A rebase issue missed a rename from playerSAO to playersao.
Tested.
Ekdohibs [Fri, 24 Mar 2017 14:56:10 +0000 (15:56 +0100)]
Fix spacing
Ekdohibs [Wed, 22 Mar 2017 02:25:16 +0000 (03:25 +0100)]
Fix problems when overriding the hand:
- If the hand can dig a node the item wielded can't, allow to dig it anyway.
- Fix the API callbacks from setting the hand instead of the wielded item.
rubenwardy [Sun, 2 Apr 2017 22:00:34 +0000 (23:00 +0100)]
Add Joystick type detection and Xbox controller support
* Add joystick type detection (with joystick_type setting to override it)
* Fix multiple joysticks from interfering with each other by only reading from one (add joystick_id setting)
* Add support for Xbox controllers
presstabstart [Fri, 7 Apr 2017 03:32:50 +0000 (04:32 +0100)]
Fix multiple death messages (#5305)
Fix multiple death messages (#3565) and damage server logs after death.
orwell96 [Thu, 6 Apr 2017 22:03:29 +0000 (00:03 +0200)]
Show media download progress in percent on progress screen (#5498)
Loïc Blot [Thu, 6 Apr 2017 14:03:29 +0000 (16:03 +0200)]
LINT: Switch whitelist check from egrep to awk
Bonus: make CI happy with the last rules fix
red-001 [Thu, 6 Apr 2017 20:50:45 +0000 (21:50 +0100)]
[CSM] Add function to get the server protocol version. (#5529)
Loïc Blot [Thu, 6 Apr 2017 13:37:02 +0000 (15:37 +0200)]
Clang-format continuation indent fixes + .gitignore additions
* Proper support for continuation indents in clang format
* make src/wieldmesh.h proper and remove it from whitelist
* Add CLion default build directories in .gitignore
Loïc Blot [Thu, 6 Apr 2017 13:27:47 +0000 (15:27 +0200)]
Clang format brace style fix
Loïc Blot [Thu, 6 Apr 2017 08:01:09 +0000 (10:01 +0200)]
Fix clang-format binary selection
Also fix spaces to tabs
Loic Blot [Thu, 6 Apr 2017 07:10:59 +0000 (09:10 +0200)]
Move LINT process in dedicated shell & fix
Move lint to dedicated shell permit to use it from your shell easily to check what is wrong
Also fix recent regressions in code style
Loic Blot [Thu, 6 Apr 2017 06:42:52 +0000 (08:42 +0200)]
Clang format: only show errors on non whitelisted files
fdedraco [Sat, 1 Apr 2017 08:46:53 +0000 (08:46 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 69.4% (638 of 918 strings)
Andrey K [Fri, 31 Mar 2017 20:38:51 +0000 (20:38 +0000)]
Translated using Weblate (Russian)
Currently translated at 59.2% (544 of 918 strings)
i486DX2 [Thu, 30 Mar 2017 19:16:35 +0000 (19:16 +0000)]
Translated using Weblate (Italian)
Currently translated at 96.0% (882 of 918 strings)
Gabriel Carvalho [Thu, 23 Mar 2017 18:24:31 +0000 (18:24 +0000)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.4% (913 of 918 strings)
Se isso se referir a Instrument builtin aa tradução é embutido
monolifed [Mon, 13 Mar 2017 19:17:17 +0000 (19:17 +0000)]
Translated using Weblate (Turkish)
Currently translated at 87.0% (799 of 918 strings)
Han So Ri [Sun, 5 Mar 2017 03:12:50 +0000 (03:12 +0000)]
Translated using Weblate (Korean)
Currently translated at 67.8% (623 of 918 strings)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Mar 2017 12:19:44 +0000 (12:19 +0000)]
Translated using Weblate (Malay)
Currently translated at 37.0% (340 of 918 strings)
Han So Ri [Mon, 27 Feb 2017 06:30:28 +0000 (06:30 +0000)]
Translated using Weblate (Korean)
Currently translated at 66.4% (610 of 918 strings)
黄冠恒 [Sun, 26 Feb 2017 14:56:16 +0000 (14:56 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 73.6% (676 of 918 strings)
Muhammad Nur Hidayat Yasuyoshi [Sun, 26 Feb 2017 11:13:32 +0000 (11:13 +0000)]
Translated using Weblate (Malay)
Currently translated at 24.8% (228 of 918 strings)
lisacvuk [Mon, 6 Feb 2017 16:24:06 +0000 (16:24 +0000)]
Translated using Weblate (Serbian (cyrillic))
Currently translated at 34.9% (321 of 918 strings)
susan [Sun, 5 Feb 2017 14:54:43 +0000 (14:54 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 73.0% (671 of 918 strings)
Jakub Mendel [Sat, 4 Feb 2017 14:50:31 +0000 (14:50 +0000)]
Translated using Weblate (Polish)
Currently translated at 70.2% (645 of 918 strings)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Feb 2017 22:17:07 +0000 (22:17 +0000)]
Translated using Weblate (Malay)
Currently translated at 17.4% (160 of 918 strings)
zaoqi [Sun, 5 Feb 2017 14:54:26 +0000 (14:54 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 73.0% (671 of 918 strings)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Feb 2017 17:56:46 +0000 (17:56 +0000)]
Added translation using Weblate (Malay)
Guo Yunhe [Sun, 22 Jan 2017 20:37:04 +0000 (20:37 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 72.9% (670 of 918 strings)
Viktar Vauchkevich [Mon, 16 Jan 2017 15:39:13 +0000 (15:39 +0000)]
Translated using Weblate (Belarusian)
Currently translated at 100.0% (918 of 918 strings)
Petter Reinholdtsen [Sun, 15 Jan 2017 14:54:29 +0000 (14:54 +0000)]
Translated using Weblate (Norwegian Bokmål)
Currently translated at 3.9% (36 of 918 strings)
Viktar Vauchkevich [Sun, 15 Jan 2017 16:42:07 +0000 (16:42 +0000)]
Translated using Weblate (Belarusian)
Currently translated at 100.0% (918 of 918 strings)
Viktar Vauchkevich [Sat, 31 Dec 2016 12:19:40 +0000 (12:19 +0000)]
Translated using Weblate (Belarusian)
Currently translated at 13.5% (124 of 918 strings)
Andrzej Redlarski [Fri, 30 Dec 2016 15:48:52 +0000 (15:48 +0000)]
Translated using Weblate (Polish)
Currently translated at 61.2% (562 of 918 strings)
Muhammad Rifqi Priyo Susanto [Fri, 30 Dec 2016 02:37:23 +0000 (02:37 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 69.4% (638 of 918 strings)
ignaloidas [Wed, 28 Dec 2016 12:00:17 +0000 (12:00 +0000)]
Translated using Weblate (Lithuanian)
Currently translated at 27.1% (249 of 918 strings)
Cold Meson 06 [Mon, 26 Dec 2016 18:35:24 +0000 (18:35 +0000)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (912 of 918 strings)
red-001 [Thu, 6 Apr 2017 06:14:31 +0000 (07:14 +0100)]
[CSM] Add support for positional audio. (#5516)
Fixes parts of #5389.
Loic Blot [Thu, 6 Apr 2017 05:57:49 +0000 (07:57 +0200)]
Expose vector helpers to CSM
Loïc Blot [Wed, 5 Apr 2017 10:30:52 +0000 (12:30 +0200)]
Memleak fix: LocalPlayer object was not deleted
Delete LocalPlayer when ClientEnvironment (object owner) is destroyed
paramat [Tue, 4 Apr 2017 10:59:52 +0000 (11:59 +0100)]
Mapgen documentation: Add descriptions to noise parameters
Shorten 'readable names'.
Add a new advanced settings menu section for Biome API noises.
Various minor edits and improvements.
paramat [Tue, 4 Apr 2017 05:37:21 +0000 (06:37 +0100)]
Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens
Only mgv6 uses the tree functions from treegen.cpp.
Paramat [Tue, 4 Apr 2017 05:51:58 +0000 (06:51 +0100)]
MapgenBasic: Add lava source as commonly used content (#5512)
Future mapgens are likely to use this for magma and volcanos.
Remove the getting of lava source content id in mgvalleys.
Loïc Blot [Tue, 4 Apr 2017 05:47:04 +0000 (07:47 +0200)]
Client handlers: Remove useless stringstream usage in two handlers (#5510)
red-001 [Tue, 4 Apr 2017 05:41:37 +0000 (06:41 +0100)]
[CSM] Add local node meta reference. (#5508)
paramat [Sun, 12 Mar 2017 13:26:09 +0000 (13:26 +0000)]
Cavegen/Mgv5/Mgv7: Add optional giant caverns
Add to MapgenBasic for use by multiple mapgens.
Add to mgv5 and mgv7, enabled by default.
Similar to mgvalleys caverns but half the scale.
Parameters for upper y limit, distance caverns taper to full size, and
noise threshold (full cavern size).
As with mgvalleys caverns are generated first and classic caves are
disabled in any mapchunk containing a cavern, to avoid excessive
spreading volumes of liquids.
This also avoids floating blobs of liquid where a large classic cave
has overgenerated out into a neighbouring previously-generated mapchunk.
Loïc Blot [Sun, 2 Apr 2017 08:51:50 +0000 (10:51 +0200)]
Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ instead of src/ (#5473)
* Update embedded jsoncpp from unk version to 0.10.6
0.10.6 is last release without c++11
* Make jsoncpp more compliant with its amalgamate
Jsoncpp cpp file should be upper, make the library like it does in amalgamate
* Reorganization: move minetest embedded libs outside of source tree to /lib
* Fix a dead grep in LINT
Auke Kok [Sun, 2 Apr 2017 08:51:16 +0000 (08:51 +0000)]
minetest.after(): simplify further, pause in singleplayer (#5500)
Using the `dtime` value entirely, this will stop the clock
if the game is paused in singleplayer. Since most of the
clocks were fixed a long time ago, this should again be
safe to use.
MarkuBu [Sat, 1 Apr 2017 14:50:53 +0000 (16:50 +0200)]
First commit for fine pointed (#5485)
Uwe Koloska [Sat, 1 Apr 2017 14:47:58 +0000 (16:47 +0200)]
Add missing source to android build (#5496)
Loïc Blot [Sat, 1 Apr 2017 12:48:16 +0000 (14:48 +0200)]
Clang-format: trivial fix on some headers (#5495)
Fix some headers style and remove them from whitelist
red-001 [Sat, 1 Apr 2017 11:40:56 +0000 (12:40 +0100)]
[CSM] Add function and chat command to disconnect from server. (#5487)
number Zero [Sat, 25 Mar 2017 18:01:27 +0000 (21:01 +0300)]
Signlike, glasslike drawtypes: Fix inverted textures
SmallJoker [Sat, 1 Apr 2017 08:18:13 +0000 (10:18 +0200)]
mapgen: Fix segfault when selecting invalid mapgen (#5491)
Loic Blot [Fri, 31 Mar 2017 20:29:34 +0000 (22:29 +0200)]
Fix clang-format Columns Width
Also fix l_client.cpp/h and remove them from whitelist
kilbith [Fri, 31 Mar 2017 19:57:08 +0000 (21:57 +0200)]
Wieldmesh: Natural orientation depending on pitch (#5490)
adrido [Thu, 30 Mar 2017 18:28:37 +0000 (20:28 +0200)]
Windows: Set window icon (#5486)
paramat [Wed, 29 Mar 2017 02:40:30 +0000 (03:40 +0100)]
Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVEL
Add the missing paramtype2 for param2 controlling the liquid level
inside the glasslike_framed drawtype.
Add missing documentation of the feature to lua_api.txt.
Update and improve comments for drawtype enumerations in nodedef.h.
Loïc Blot [Wed, 29 Mar 2017 13:50:22 +0000 (15:50 +0200)]
l_minimap: don't show minimap if configuration doesn't allow it
Loïc Blot [Wed, 29 Mar 2017 11:34:57 +0000 (13:34 +0200)]
Add CPP11 header to define nullptr & constexpr (#5471)
This header permit to use nullptr & constexpr keywords in portable code segments and benefit from nullptr & constexpr when using C++11 and greater
sfan5 [Wed, 29 Mar 2017 08:17:57 +0000 (10:17 +0200)]
Sneak: Fix sneaking on free-floating lower-half slabs
sfan5 [Mon, 27 Mar 2017 16:22:40 +0000 (18:22 +0200)]
Sneak: Fix stair lower step bug and ladder in 1x1 hole bugs
Diego Martínez [Tue, 28 Mar 2017 19:55:39 +0000 (16:55 -0300)]
Add functions to strip color information. (#5472)
Loïc Blot [Tue, 28 Mar 2017 12:50:17 +0000 (14:50 +0200)]
Fix a type bug in colorize function
This bug was introduced by
dd2f1d7551bfd70357ad4f3fb180704194272147 and reported by @kilbith
red-001 [Tue, 28 Mar 2017 06:26:54 +0000 (07:26 +0100)]
[CSM] Fix errors in and improve the CSM documentation. (#5467)
Loïc Blot [Mon, 27 Mar 2017 13:33:15 +0000 (15:33 +0200)]
clang-format: add a whitelist (#5459)
If file is in the whitelist, softfail, else hard failure
Some files are not in whitelist and marked as normal:
* src/content_mapnode.h
* src/cguittfont/xCGUITTFont.cpp
* src/gameparams.h
* src/profiler.cpp
Loïc Blot [Mon, 27 Mar 2017 13:03:13 +0000 (15:03 +0200)]
PostgreSQL: fix delete block
Typo fix: we are doing select on delete block.
This fix issue #5426
paramat [Thu, 23 Mar 2017 00:18:59 +0000 (00:18 +0000)]
Map generation limit: Make per-world
The setting limits map generation but affects nothing else.
Add 'mapgen_limit' to global mapgen parameters.
Move 'blockpos_over_mapgen_limit()' to the only place it is called
from: map.cpp.
Allow teleportation to any part of the world even if over the set
mapgen limit.
Simplify the reading of this limit in mgvalleys.
Remove the 'map_generation_limit' setting.
Diego Martínez [Sat, 11 Mar 2017 23:17:59 +0000 (20:17 -0300)]
Pathfinder: Send errors to `warningstream`.
Avoids spamming the chat about several errors.
Loic Blot [Sun, 26 Mar 2017 16:54:39 +0000 (18:54 +0200)]
Fix mismatch struct/class for GameUIFlags
Loïc Blot [Sun, 26 Mar 2017 12:07:07 +0000 (14:07 +0200)]
clang-format: fix counter increment & output (#5456)
clang-format: fix bash syntax on increment
Loïc Blot [Sun, 26 Mar 2017 09:29:21 +0000 (11:29 +0200)]
clang-format: limit diff to 50 files to prevent exceding the maximum travis output (4MB) (#5455)
sfan5 [Thu, 23 Mar 2017 20:47:59 +0000 (21:47 +0100)]
Sneak: Replicate sneak ladder in new code, is optional
Enabled using the existing 'sneak_glitch' physics override.
red-001 [Fri, 24 Mar 2017 23:43:36 +0000 (23:43 +0000)]
Change command prefix to "." and add "help" command.
number Zero [Sat, 18 Feb 2017 18:53:05 +0000 (21:53 +0300)]
Add mesh generation delay
Loïc Blot [Sat, 25 Mar 2017 18:12:18 +0000 (19:12 +0100)]
Add clang format & skip build if no source file modified (#5433)
* [BUILD] Add clang format + build skipping
* Add clang-format tool to check codestyle.
Warning: it check the whole modified file, not the diff part, it's why it's lazy. Please also look if rules are perfect, i take the Linux codestyle from LLVM site
Fix issue #5415
* Skip building project if no file is modified
* Fix a wrong brace to trigger LINT
* Make lint step outside of unix build scope
* Add AccessModifierOffset: -8
* Typo fix & needs compile fix
* Fix header priorities
SmallJoker [Fri, 24 Mar 2017 19:05:15 +0000 (20:05 +0100)]
Tile.cpp: Fix MSVC build broken by
072bbba
Loïc Blot [Fri, 24 Mar 2017 07:59:52 +0000 (08:59 +0100)]
Typo fix