]> git.lizzy.rs Git - minetest.git/log
minetest.git
7 years agoFix non reverted change on TOSERVER_BREATH compat
Loic Blot [Sun, 1 Jan 2017 22:57:37 +0000 (23:57 +0100)]
Fix non reverted change on TOSERVER_BREATH compat

7 years agoBreath cheat fix: server side
Loic Blot [Sun, 1 Jan 2017 15:13:01 +0000 (16:13 +0100)]
Breath cheat fix: server side

Breath is now handled server side. Changing this behaviour required some modifications to core:

* Ignore TOSERVER_BREATH package, marking it as obsolete
* Clients doesn't send the breath to server anymore
* Use PlayerSAO pointer instead of peer_id in Server::SendPlayerBreath to prevent a useless lookup (little perf gain)
* drop a useless static_cast in emergePlayer

7 years agoFix /grant & /revoke not working with custom auth handler (#4974)
Dorian Wouters [Sat, 31 Dec 2016 17:12:26 +0000 (18:12 +0100)]
Fix /grant & /revoke not working with custom auth handler (#4974)

core.auth_table is not supposed to be accessed directly.

7 years agoFix interact range check (thanks to @lhofhansl)
sfan5 [Thu, 29 Dec 2016 18:35:22 +0000 (19:35 +0100)]
Fix interact range check (thanks to @lhofhansl)

7 years agoUse the outgoing split sequence number for every outgoing packet (#4864)
Rogier-5 [Thu, 29 Dec 2016 12:44:47 +0000 (13:44 +0100)]
Use the outgoing split sequence number for every outgoing packet (#4864)

(instead of the last incoming sequence number...)

Fixes #4848

7 years agoBuildbot: Update Gettext version (#4971)
sfan5 [Thu, 29 Dec 2016 12:17:24 +0000 (13:17 +0100)]
Buildbot: Update Gettext version (#4971)

7 years agoRedo light.cpp.
Auke Kok [Fri, 9 Dec 2016 01:37:13 +0000 (17:37 -0800)]
Redo light.cpp.

Remake the light_decode_table.

The table starts out without pre-filled in values since those
are always discarded by the code apparently. We calculate a
pseudo curve with gamma power function, and then apply a new
adjustment table.

The adjustment table is setup to make the default gamma of 2.2
look decent: not too dark at light level 3 or so, but too dark
at 1 and below to be playable. The curve is much smoother than
before and looks reasonable at the whole range, offering a
pleasant decay of light levels away from lights.

The `display_gamma` setting now actually does something logical:
the game is darker at values below 2.2, and brighter at values
above 2.2. At 3.0, the game is very bright, but still has a good
light scale. At 1.1 or so, the bottom 5 light levels are virtually
black, but you can still see enough detail at light levels 7-8,
so the range and spread is adequate.

I must add that my monitor is somewhat dark to begin with, since
I have a `hc` screen that doesn't dynamic range colors or try to
pull up `black` pixels for me (it is tuned for accurate color and
light levels), so this should look even better on more dynamic
display tunings.

7 years agoDont compare short with bool (#4963)
adrido [Wed, 28 Dec 2016 20:22:01 +0000 (21:22 +0100)]
Dont compare short with bool (#4963)

Fixes a compiler warning on MSVC

7 years agoIrrlicht 1.9 support
sfan5 [Sat, 24 Dec 2016 13:26:03 +0000 (14:26 +0100)]
Irrlicht 1.9 support

7 years agoVarious anticheat improvements
sfan5 [Thu, 22 Dec 2016 18:29:15 +0000 (19:29 +0100)]
Various anticheat improvements

* Calculate maximum interact distance from wielded tool
* New "interacted_while_dead" cheat_type for the Lua API
* Disallow dropping items while dead
* Move player to spawn before resurrecting them

7 years agoAdd gradle wrapper (#4954)
Ner'zhul [Sat, 24 Dec 2016 11:30:18 +0000 (12:30 +0100)]
Add gradle wrapper (#4954)

Gradle wrapper permit to use multiple gradle versions across OS versions

7 years agoUpdate Android build tools to latest version (#4872)
rubenwardy [Sat, 24 Dec 2016 07:34:19 +0000 (07:34 +0000)]
Update Android build tools to latest version (#4872)

7 years agoMinimal game: Use field 'tiles' instead of 'tile_images'
Rogier [Wed, 14 Dec 2016 15:23:25 +0000 (16:23 +0100)]
Minimal game: Use field 'tiles' instead of 'tile_images'

7 years agoMove PP() and PP2() macros to basic_macros.h
Rogier [Tue, 13 Dec 2016 22:16:26 +0000 (23:16 +0100)]
Move PP() and PP2() macros to basic_macros.h

Instead of redefining them everywhere.

7 years agoProcess ABMs in a spherical volume instead of cubic
Lars Hofhansl [Sat, 10 Dec 2016 18:31:17 +0000 (10:31 -0800)]
Process ABMs in a spherical volume instead of cubic

Increase active_block_range default to a 3 mapblock radius.

7 years agoShaders: Remove unnecessary 'if' statements
Lars Hofhansl [Thu, 8 Dec 2016 05:14:18 +0000 (21:14 -0800)]
Shaders: Remove unnecessary 'if' statements

Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating
it for each fragment.
Remove if (fogDistance != 0.0).

7 years agoMake minetest abort on lua panic
Rogier [Mon, 25 Jul 2016 16:43:15 +0000 (18:43 +0200)]
Make minetest abort on lua panic

Currently, lua does a regular exit() after a lua panic, which can make
a problem hard to debug. Invoking FATAL_ERROR() instead will print
some useful information, and abort() minetest, so that a debugger can
be used to analyze the situation.

7 years agoContinue with 0.4.15-dev
sfan5 [Thu, 22 Dec 2016 21:52:15 +0000 (22:52 +0100)]
Continue with 0.4.15-dev

7 years agoBump version to 0.4.15 0.4.15
sfan5 [Thu, 22 Dec 2016 21:52:15 +0000 (22:52 +0100)]
Bump version to 0.4.15

7 years agoFinal update to credits before release
Craig Robbins [Thu, 22 Dec 2016 21:23:12 +0000 (07:23 +1000)]
Final update to credits before release

7 years agoTranslated using Weblate (Russian)
Nikolay [Mon, 19 Dec 2016 10:06:43 +0000 (10:06 +0000)]
Translated using Weblate (Russian)

Currently translated at 59.2% (544 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Cold Meson 06 [Tue, 20 Dec 2016 06:07:18 +0000 (06:07 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.5% (914 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Bruno Borges [Tue, 20 Dec 2016 04:19:29 +0000 (04:19 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 94.8% (871 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Cold Meson 06 [Tue, 20 Dec 2016 02:18:51 +0000 (02:18 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.5% (776 of 918 strings)

7 years agoTranslated using Weblate (Dutch)
Rogier [Fri, 16 Dec 2016 10:28:03 +0000 (10:28 +0000)]
Translated using Weblate (Dutch)

Currently translated at 85.2% (783 of 918 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Wed, 14 Dec 2016 02:06:54 +0000 (02:06 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (918 of 918 strings)

7 years agoAndroid: Workarounds for Googles completely broken NDK
sfan5 [Thu, 22 Dec 2016 13:45:53 +0000 (14:45 +0100)]
Android: Workarounds for Googles completely broken NDK

7 years agoAndroid: update curl and libgmp
est31 [Wed, 21 Dec 2016 13:31:59 +0000 (14:31 +0100)]
Android: update curl and libgmp

7 years agoBuiltin/../falling.lua: Avoid crash when object pos over limit
paramat [Wed, 21 Dec 2016 07:10:32 +0000 (07:10 +0000)]
Builtin/../falling.lua: Avoid crash when object pos over limit

If the object pos is over limit, 'add entity' will not add an entity,
causing 'obj' to be nil.

7 years agoDon't ship with broken languages (#4940)
est31 [Wed, 21 Dec 2016 13:15:48 +0000 (14:15 +0100)]
Don't ship with broken languages (#4940)

7 years agoDisable mod security by default (closes #4944)
sfan5 [Wed, 21 Dec 2016 13:04:46 +0000 (14:04 +0100)]
Disable mod security by default (closes #4944)

7 years agoFix warning reported by clang (possible bug in Settings lua api)
sfan5 [Wed, 21 Dec 2016 09:20:06 +0000 (10:20 +0100)]
Fix warning reported by clang (possible bug in Settings lua api)

7 years agoCorrect Swahili translations (#4939)
sfan5 [Wed, 21 Dec 2016 05:37:25 +0000 (06:37 +0100)]
Correct Swahili translations (#4939)

7 years agoLimit drawing rect of selected item to viewport size (fixes #4341)
sfan5 [Tue, 20 Dec 2016 13:27:14 +0000 (14:27 +0100)]
Limit drawing rect of selected item to viewport size (fixes #4341)

7 years agoSecurity: Fix resolving of some relative paths
ShadowNinja [Fri, 16 Dec 2016 22:43:39 +0000 (17:43 -0500)]
Security: Fix resolving of some relative paths

Trying to resolve a path with RemoveRelativePathComponents that can't
be resolved without leaving leading parent components (e.g. "../worlds/foo"
or "bar/../../worlds/foo") will fail.  To work around this, we leave
the relative components and simply remove the trailing components one
at a time, and bail out when we find a parent component.  This will
still fail for paths like "worlds/foo/noexist/../auth.txt" (the path
before the last parent component must not exist), but this is fine
since you won't be able to open a file with a path like that anyways
(the O.S. will determine that the path doesn't exist.
Try `cat /a/../etc/passwd`).

7 years agoFix RemoveRelatvePathComponents
ShadowNinja [Fri, 16 Dec 2016 22:35:58 +0000 (17:35 -0500)]
Fix RemoveRelatvePathComponents

This used to return "/foo" for "../foo" when it should return the enpty
string (i.e., error removing all relative components).

7 years agoMod security: Allow read-only access to all mod paths
ShadowNinja [Mon, 5 Dec 2016 19:59:15 +0000 (19:59 +0000)]
Mod security: Allow read-only access to all mod paths

7 years agoFix occlusion culling, again (#4930)
lhofhansl [Mon, 19 Dec 2016 05:43:04 +0000 (21:43 -0800)]
Fix occlusion culling, again (#4930)

7 years agoFix occlusing counting (#4922)
lhofhansl [Sun, 18 Dec 2016 12:25:42 +0000 (04:25 -0800)]
Fix occlusing counting (#4922)

7 years agoFix unnecessary block loading (#4847)
Dániel Juhász [Sun, 18 Dec 2016 09:20:23 +0000 (10:20 +0100)]
Fix unnecessary block loading (#4847)

This commit makes the game load blocks only if they are not in the
memory.

7 years agoMapgen: Make mgv7 the default in UI
Auke Kok [Fri, 16 Dec 2016 04:55:41 +0000 (20:55 -0800)]
Mapgen: Make mgv7 the default in UI

The actual menu default comes from defaultsettings.cpp.

7 years agoFix build with gettext enabled
est31 [Wed, 14 Dec 2016 04:41:48 +0000 (05:41 +0100)]
Fix build with gettext enabled

7 years agoCavegen: Wider tunnels in mgflat, mgfractal, mgvalleys
paramat [Tue, 13 Dec 2016 04:08:23 +0000 (04:08 +0000)]
Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleys

As mgv7 is now the default mapgen i re-checked its tunnel width on request,
discovered they needed to be wider, and have made this change.
This commit widens the identical 3D noise tunnels in the other mapgens in
exactly the same way.

7 years agoRun updatepo.sh
est31 [Tue, 13 Dec 2016 23:31:12 +0000 (00:31 +0100)]
Run updatepo.sh

7 years agoUpdate minetest.conf.example and settings_translation_file.cpp
est31 [Tue, 13 Dec 2016 23:15:11 +0000 (00:15 +0100)]
Update minetest.conf.example and settings_translation_file.cpp

7 years agoTranslated using Weblate (Ukrainian)
Fixer [Tue, 13 Dec 2016 22:32:51 +0000 (22:32 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 38.1% (350 of 918 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Sun, 11 Dec 2016 09:22:15 +0000 (09:22 +0000)]
Translated using Weblate (German)

Currently translated at 98.9% (908 of 918 strings)

7 years agoTranslated using Weblate (German)
Jan Sbrz [Sat, 3 Dec 2016 12:57:21 +0000 (12:57 +0000)]
Translated using Weblate (German)

Currently translated at 94.7% (870 of 918 strings)

7 years agoTranslated using Weblate (Lithuanian)
Zygi Mantus [Sat, 10 Dec 2016 20:29:11 +0000 (20:29 +0000)]
Translated using Weblate (Lithuanian)

Currently translated at 26.2% (241 of 918 strings)

7 years agoTranslated using Weblate (Russian)
Andrey [Tue, 13 Dec 2016 03:10:43 +0000 (03:10 +0000)]
Translated using Weblate (Russian)

Currently translated at 56.3% (517 of 918 strings)

7 years agoTranslated using Weblate (Russian)
Maksim Gamarnik [Tue, 6 Dec 2016 10:17:38 +0000 (10:17 +0000)]
Translated using Weblate (Russian)

Currently translated at 56.2% (516 of 918 strings)

7 years agoTranslated using Weblate (Russian)
Stas Kies [Wed, 31 Aug 2016 21:36:05 +0000 (21:36 +0000)]
Translated using Weblate (Russian)

Currently translated at 56.1% (515 of 918 strings)

7 years agoTranslated using Weblate (Indonesian)
Alvin Hikmawan [Sat, 10 Dec 2016 10:03:21 +0000 (10:03 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 69.4% (638 of 918 strings)

7 years agoTranslated using Weblate (Indonesian)
Muhammad Rifqi Priyo Susanto [Thu, 8 Dec 2016 15:40:14 +0000 (15:40 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 58.6% (538 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Indonesian)
Alvin Hikmawan [Fri, 2 Dec 2016 07:30:27 +0000 (07:30 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 58.6% (538 of 918 strings)

7 years agoTranslated using Weblate (Indonesian)
Yana Agun Siswanto [Sat, 22 Oct 2016 07:19:46 +0000 (07:19 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 58.6% (538 of 918 strings)

7 years agoTranslated using Weblate (French)
Onyx Steinheim [Sun, 27 Nov 2016 10:39:47 +0000 (10:39 +0000)]
Translated using Weblate (French)

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (French)
AcidNinja [Wed, 16 Nov 2016 12:19:12 +0000 (12:19 +0000)]
Translated using Weblate (French)

Currently translated at 100.0% (918 of 918 strings)

This is a merger of 4 commits.

7 years agoTranslated using Weblate (French)
Onyx Steinheim [Mon, 17 Oct 2016 08:41:00 +0000 (08:41 +0000)]
Translated using Weblate (French)

Currently translated at 97.7% (897 of 918 strings)

7 years agoTranslated using Weblate (Polish)
Jakub Mendel [Tue, 8 Nov 2016 16:43:42 +0000 (16:43 +0000)]
Translated using Weblate (Polish)

Currently translated at 59.5% (547 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Polish)
red-001 [Tue, 8 Nov 2016 16:46:07 +0000 (16:46 +0000)]
Translated using Weblate (Polish)

Currently translated at 41.6% (382 of 918 strings)

7 years agoTranslated using Weblate (Polish)
nedzadarek [Sun, 25 Sep 2016 20:41:59 +0000 (20:41 +0000)]
Translated using Weblate (Polish)

Currently translated at 41.2% (379 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Han So Ri [Sun, 30 Oct 2016 13:50:36 +0000 (13:50 +0000)]
Translated using Weblate (Korean)

Currently translated at 53.8% (494 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Korean)
Dongjin Han [Fri, 28 Oct 2016 07:01:21 +0000 (07:01 +0000)]
Translated using Weblate (Korean)

Currently translated at 5.6% (52 of 918 strings)

7 years agoTranslated using Weblate (Korean)
sorichan [Fri, 28 Oct 2016 07:01:16 +0000 (07:01 +0000)]
Translated using Weblate (Korean)

Currently translated at 5.6% (52 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Dongjin Han [Fri, 28 Oct 2016 06:42:29 +0000 (06:42 +0000)]
Translated using Weblate (Korean)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Korean)
sorichan [Fri, 28 Oct 2016 06:40:30 +0000 (06:40 +0000)]
Translated using Weblate (Korean)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:41:21 +0000 (21:41 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 3.3% (31 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:40:10 +0000 (21:40 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.8% (26 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:39:49 +0000 (21:39 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.7% (25 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:36:59 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.7% (16 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:36:50 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (15 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:36:29 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:36:17 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.4% (13 of 918 strings)

7 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Tue, 25 Oct 2016 11:59:38 +0000 (11:59 +0000)]
Translated using Weblate (Czech)

Currently translated at 51.0% (469 of 918 strings)

7 years agoTranslated using Weblate (Czech)
Tomáš Bělohlávek [Tue, 25 Oct 2016 11:37:03 +0000 (11:37 +0000)]
Translated using Weblate (Czech)

Currently translated at 58.0% (533 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Chinese (Taiwan))
Jeff Huang [Sat, 15 Oct 2016 08:01:02 +0000 (08:01 +0000)]
Translated using Weblate (Chinese (Taiwan))

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (Chinese (Taiwan))
Mingye Wang [Fri, 14 Oct 2016 16:29:41 +0000 (16:29 +0000)]
Translated using Weblate (Chinese (Taiwan))

Currently translated at 97.0% (891 of 918 strings)

7 years agoTranslated using Weblate (Catalan)
tonibm19 [Wed, 26 Oct 2016 09:14:30 +0000 (09:14 +0000)]
Translated using Weblate (Catalan)

Currently translated at 46.0% (423 of 918 strings)

7 years agoTranslated using Weblate (Catalan)
Roc Humet [Thu, 6 Oct 2016 17:55:09 +0000 (17:55 +0000)]
Translated using Weblate (Catalan)

Currently translated at 43.6% (401 of 918 strings)

7 years agoTranslated using Weblate (Spanish)
Alfonso R. Zepeda R [Tue, 4 Oct 2016 03:39:44 +0000 (03:39 +0000)]
Translated using Weblate (Spanish)

Currently translated at 57.8% (531 of 918 strings)

7 years agoTranslated using Weblate (Japanese)
Rui [Sat, 1 Oct 2016 05:59:25 +0000 (05:59 +0000)]
Translated using Weblate (Japanese)

Currently translated at 49.4% (454 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Swahili)
Eidy [Mon, 3 Oct 2016 04:27:05 +0000 (04:27 +0000)]
Translated using Weblate (Swahili)

Currently translated at 99.8% (917 of 918 strings)

This is a merger of 3 commits.

7 years agoAdded translation using Weblate (Swahili)
Eidy [Mon, 3 Oct 2016 03:39:22 +0000 (03:39 +0000)]
Added translation using Weblate (Swahili)

7 years agoTranslated using Weblate (Portuguese)
João Rodrigues [Tue, 8 Nov 2016 00:48:08 +0000 (00:48 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 66.7% (613 of 918 strings)

There is no need to specify that a mod is an extra.

7 years agoTranslated using Weblate (Portuguese (Brazil))
José Henrique Luckmann [Tue, 27 Sep 2016 17:51:17 +0000 (17:51 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.2% (773 of 918 strings)

7 years agoTranslated using Weblate (Danish)
Thomas Wagner Nielsen [Thu, 24 Nov 2016 15:52:26 +0000 (15:52 +0000)]
Translated using Weblate (Danish)

Currently translated at 73.0% (671 of 918 strings)

7 years agoTranslated using Weblate (Danish)
Joe Hansen [Thu, 6 Oct 2016 14:48:01 +0000 (14:48 +0000)]
Translated using Weblate (Danish)

Currently translated at 73.0% (671 of 918 strings)

This is a merger of 3 commits.

7 years agoTranslated using Weblate (Danish)
Thomas Wagner Nielsen [Tue, 30 Aug 2016 07:05:41 +0000 (07:05 +0000)]
Translated using Weblate (Danish)

Currently translated at 29.5% (271 of 918 strings)

7 years agoMgv7: Change default cave width to 0.09
sfan5 [Mon, 12 Dec 2016 16:10:16 +0000 (17:10 +0100)]
Mgv7: Change default cave width to 0.09

7 years agoFix segfault on startup error on Android
rubenwardy [Sun, 11 Dec 2016 22:17:32 +0000 (22:17 +0000)]
Fix segfault on startup error on Android

7 years agoFix camera jumping on Android when panning past 0/360 mark
rubenwardy [Sun, 11 Dec 2016 21:57:43 +0000 (21:57 +0000)]
Fix camera jumping on Android when panning past 0/360 mark

7 years agoMod dependency lists: Should have platform-independent line breaking
Bernardo Sulzbach [Mon, 12 Dec 2016 02:39:09 +0000 (00:39 -0200)]
Mod dependency lists: Should have platform-independent line breaking

This fixes a bug existing in modmgr.lua as reported by @Wuzzy2 which
caused the mod dependency list to glitch if input was using a line
terminator different than the OS default.

The C++ code does not need any changes as it already trims CR
occurrences on platforms on which the line termination sequence is LF.

Taken into account the size of the depends.txt files used, this should
not introduce a noticeable performance regression.

Fixes #4720

7 years agoSetting limits: Fix message text in advanced settings tab
Rogier [Sun, 11 Dec 2016 19:13:49 +0000 (20:13 +0100)]
Setting limits: Fix message text in advanced settings tab

It would complain that the value should be higher than the lower
bound, when it should be higher than or equal to the lower bound.

Similar issue for the upper bound.

7 years agoView range: Set maximum to 4000 nodes
Rogier [Sat, 10 Dec 2016 23:23:32 +0000 (00:23 +0100)]
View range: Set maximum to 4000 nodes

The network protocol does not support larger than 255 mapblocks.

7 years agoMapgen: Make mgv7 the default mapgen
paramat [Thu, 1 Dec 2016 21:53:43 +0000 (21:53 +0000)]
Mapgen: Make mgv7 the default mapgen

7 years agoFix computation of viewing range (in blocks) sent to server (#4882)
Rogier-5 [Sun, 11 Dec 2016 18:49:49 +0000 (19:49 +0100)]
Fix computation of viewing range (in blocks) sent to server (#4882)

Fixes #4878

Also remove an artificial viewing range reduction that
(presumably) was added to compensate for miscomputed
viewing ranges, and that doesn't seem to be needed any
more (thanks to lhofhansl).

7 years agoFix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)
rubenwardy [Fri, 9 Dec 2016 17:27:36 +0000 (17:27 +0000)]
Fix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)

Fixes #4121

7 years agoBuildbot: Update LuaJIT version
sfan5 [Wed, 7 Dec 2016 09:18:18 +0000 (10:18 +0100)]
Buildbot: Update LuaJIT version

7 years agoSimple decorations: Fix range check for deco->deco_param2
Auke Kok [Wed, 7 Dec 2016 06:08:16 +0000 (22:08 -0800)]
Simple decorations: Fix range check for deco->deco_param2

Allow any int value, and properly range check it before casting.