oweals/minetest.git
8 years agoTranslated using Weblate (Chinese (China))
Jun Zhang [Wed, 30 Dec 2015 15:01:36 +0000 (16:01 +0100)]
Translated using Weblate (Chinese (China))

Currently translated at 34.8% (274 of 787 strings)

8 years agoFix world config menu ignoring `name` in `mod.conf`.
Diego Martinez [Mon, 7 Dec 2015 03:49:01 +0000 (00:49 -0300)]
Fix world config menu ignoring `name` in `mod.conf`.

8 years agoBackface culling: Ignore setting in tiledef from old servers.
Auke Kok [Thu, 21 Jan 2016 22:40:24 +0000 (14:40 -0800)]
Backface culling: Ignore setting in tiledef from old servers.

Outdated servers are always sending tiledefs with culling
enabled no matter what, as the value was previously entirely
ignored.

To compensate, we must (1) detect that we're running against
an old server with a new client, and (2) disable culling for
mesh, plantlike, firelike and liquid draw types no matter what
the server is telling us.

In order to achieve this, we need to bump the protocol version
since we cannot rely on the tiledef version, and test for it
being older. I've bumped the protocol version, although that
should have likely happened in the actual change that introduced
the new backface_culling PR #3578. Fortunately that's only 2
commits back at this point.

We also explicitly test for the drawtype to assure we are not
changing the culling value for other nodes, where it should
remain enabled.

This was tested against various pub servers, including 0.4.13 and
0.4.12.

Fixes #3598

8 years agoFix compilation warning if compiling for android with c++11
est31 [Sat, 23 Jan 2016 05:26:58 +0000 (06:26 +0100)]
Fix compilation warning if compiling for android with c++11

8 years agoFix texture tear issue
RealBadAngel [Thu, 21 Jan 2016 15:04:41 +0000 (16:04 +0100)]
Fix texture tear issue

8 years agoFix C++11 compilability
est31 [Sat, 23 Jan 2016 04:45:00 +0000 (05:45 +0100)]
Fix C++11 compilability

Previous commits broke it... :(

8 years agoLiquid flow: Prevent water spreading on ignore
paramat [Sun, 17 Jan 2016 05:11:35 +0000 (05:11 +0000)]
Liquid flow: Prevent water spreading on ignore

8 years agoAllow per-tiles culling.
Auke Kok [Tue, 19 Jan 2016 04:44:46 +0000 (20:44 -0800)]
Allow per-tiles culling.

Backface culling is enabled by default for all tiles, as this
is how the lua parser initializes each tiledef. We revert to
always using the value from the tiledef since it is always
read and serialized.

Mods that wish to enable culling for e.g. mesh nodes, now can
specify the following to enable backface culling:

    tiles = {{ name = "tex.png", backface_culling = true }},

Note the double '{' and use of 'name' key here! In the same
fashion, backface_culling can be disabled for any node now.

I've tested this against the new door models and this properly
allows me to disable culling per node. I've also tested this
against my crops mod which uses mesh nodes where culling needs
to be disabled, and tested also with plantlike drawtype nodes
where we want this to continue to be disabled.

No default setting has changed. The defaults are just migrated
from nodedef.cpp to c_content.cpp.

8 years agoEmergeManager: Do not queue duplicate block requests
kwolekr [Sat, 14 Nov 2015 08:07:21 +0000 (03:07 -0500)]
EmergeManager: Do not queue duplicate block requests

8 years agoFix Settings::remove() always returning true
Kahrl [Tue, 19 Jan 2016 09:15:01 +0000 (10:15 +0100)]
Fix Settings::remove() always returning true

8 years agoShow infotext with description for item entities
RealBadAngel [Fri, 8 Jan 2016 14:59:36 +0000 (15:59 +0100)]
Show infotext with description for item entities

8 years agoCorrect overflowing rivers in Valleys mapgen.
Duane Robertson [Mon, 18 Jan 2016 07:55:08 +0000 (01:55 -0600)]
Correct overflowing rivers in Valleys mapgen.

8 years agoFix wield item glitch
RealBadAngel [Mon, 18 Jan 2016 05:08:54 +0000 (06:08 +0100)]
Fix wield item glitch

8 years agocorrected minetest.pos_to_string()
Pinky Snow [Sat, 16 Jan 2016 10:23:00 +0000 (05:23 -0500)]
corrected minetest.pos_to_string()

corrected this bit reflect the function properly.

8 years agoFix error message in settings tab overlapping 'save' button
Rogier [Fri, 8 Jan 2016 08:29:39 +0000 (09:29 +0100)]
Fix error message in settings tab overlapping 'save' button

The save button is now fully functional again when an error message
is shown.

After an invalid value is entered in the settings tab dialog, the GUI
label for the error message that is shown was partly overlapping the
'save' button, so that the top half of the button could not be clicked
on.

8 years agoPrevent spawning in rivers with valleys mapgen. Remove unecessary whitespace.
Duane Robertson [Sat, 16 Jan 2016 09:53:02 +0000 (03:53 -0600)]
Prevent spawning in rivers with valleys mapgen. Remove unecessary whitespace.

8 years agoMake ItemStack:set_count(0) clear the item stack
sfan5 [Fri, 15 Jan 2016 12:40:59 +0000 (13:40 +0100)]
Make ItemStack:set_count(0) clear the item stack

fixes minetest/minetest_game#786

8 years agoMake all mesh manipulators in mesh.cpp work with any vertex type
Kahrl [Fri, 15 Jan 2016 01:16:21 +0000 (02:16 +0100)]
Make all mesh manipulators in mesh.cpp work with any vertex type

cloneMesh() has to use a switch in order to create a different
mesh buffer type depending on vertex type. (Credit: the new cloneMesh
was written by RealBadAngel.)

To avoid repetitive code, all other methods use getVertexPitchFromType()
to automatically adapt the indexing to the vertex type at runtime.

8 years agoAdd Valleys mapgen.
Duane Robertson [Thu, 14 Jan 2016 03:57:02 +0000 (21:57 -0600)]
Add Valleys mapgen.

8 years agoMgv7/flat/fractal: Place biome top node on tunnel entrance floor
paramat [Mon, 11 Jan 2016 05:46:41 +0000 (05:46 +0000)]
Mgv7/flat/fractal: Place biome top node on tunnel entrance floor

8 years agoMapgen: Various fixes and improvements
paramat [Mon, 11 Jan 2016 00:30:03 +0000 (00:30 +0000)]
Mapgen: Various fixes and improvements

Lua_api.txt: Document 'minetest.registered_biomes'
Minimal: Remove 'mapgen_air' alias
Cavegen: Add fallback node for 'mapgen_ice'
Dungeongen: Add fallback node for 'mapgen_river_water_source'
Mgv5: Remove unnecessary '#include util/directiontables.h'
Add missing 'this->'s in makeChunk()
Mgv6: Edit empty line formatting
Remove leading spaces in makeChunk()
Add missing spaces after 'for' and 'if'
Mgv7: Edit empty line formatting

8 years agoMgflat: Set blank default spflags. Unhide
paramat [Sun, 10 Jan 2016 03:27:32 +0000 (03:27 +0000)]
Mgflat: Set blank default spflags. Unhide

8 years agoFix the checking of flags values in the settings tab
Rogier [Thu, 7 Jan 2016 19:59:35 +0000 (20:59 +0100)]
Fix the checking of flags values in the settings tab

Changes:
- Accept setting an empty flags-type value in the settings tab
  if the variable specification permits it
- Don't accept substrings of flag values
  E.g. with values: 'one,two,three', 'hree', 'w', etc. used to
  be accepted. Not any more
- Don't accept flags with random pattern-matching special characters
  E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used
  to be accepted. Not any more.

8 years agoImprove parsing of setting types from settingtypes.txt for settings tab
Rogier [Thu, 7 Jan 2016 11:33:26 +0000 (12:33 +0100)]
Improve parsing of setting types from settingtypes.txt for settings tab

- Accept numbers prefixed with '+'
- Accept multiple spaces instead of just a single one where spaces are expected
- Allow flags to have an empty default value

8 years agoCache disable_anticheat and check it for "interacted_too_far"
ASL97 [Mon, 7 Dec 2015 09:39:48 +0000 (17:39 +0800)]
Cache disable_anticheat and check it for "interacted_too_far"

8 years agoActually add Doxygen main page
ShadowNinja [Sat, 9 Jan 2016 20:11:43 +0000 (15:11 -0500)]
Actually add Doxygen main page

I apparently forgot to add this file in my previous commit (bd40ee2b95138139a8cfbef878b3461176688c15).

8 years agoNew 3D Mode: Pageflip
Dalai Felinto [Mon, 14 Dec 2015 21:01:32 +0000 (19:01 -0200)]
New 3D Mode: Pageflip

The pageflip mode requires a stereo quadbuffer, and a modern graphic
card. Patch tested with NVidia 3D Vision.

The mini-map is not drawn, but that's what is done for topbottom and
sidebyside modes as well.

Also most of the time the user would prefer the HUD to be off. That's
for the user to decide though, and toggle it manually.

Finally, the interocular distance (aka eye separation) is twice as much
as the "3d_paralax_strength" settings. I find this a strange design
decision. I didn't want to chance this though, since it's how the other
3d modes interpret this settings.

8 years agoSimplify custom games packaging
Pavel Puchkin [Fri, 13 Mar 2015 11:09:58 +0000 (13:09 +0200)]
Simplify custom games packaging

8 years agoFix screenshot links in AppData file
sfan5 [Sat, 9 Jan 2016 15:13:37 +0000 (16:13 +0100)]
Fix screenshot links in AppData file

8 years agofixed spelling
Pinky Snow [Sat, 9 Jan 2016 01:31:53 +0000 (20:31 -0500)]
fixed spelling

Fixed spelling mistake!

8 years agoReplace instance of readsome with read in decompressZlib Make decompressZlib more...
gregorycu [Mon, 4 Jan 2016 07:02:12 +0000 (18:02 +1100)]
Replace instance of readsome with read in decompressZlib Make decompressZlib more robust

8 years agoClarified what get_node does.
Robert Zenz [Thu, 7 Jan 2016 22:16:56 +0000 (23:16 +0100)]
Clarified what get_node does.

8 years agoUpdate lua_api.txt
slemonide [Sat, 2 Jan 2016 11:21:17 +0000 (03:21 -0800)]
Update lua_api.txt

set_sky does work with on_joinplayer

8 years agoFix redis error reporting 3546/head
est31 [Fri, 8 Jan 2016 14:37:11 +0000 (15:37 +0100)]
Fix redis error reporting

Previously, we assumed that reply->str was NULL
terminated. However, this turned out to be not true,
as users reported crashes in strlen connected to
where reply->str was appended to an std::string.

Use the method recomended by the docs, to read the
length separately.

8 years agoLiquids: Flow into and destroy 'floodable' nodes
paramat [Wed, 30 Dec 2015 04:22:58 +0000 (04:22 +0000)]
Liquids: Flow into and destroy 'floodable' nodes

Add new node property 'floodable', default false
Define "air" as floodable = true in C++ and lua

8 years agoImprove Doxyfile 3432/head
ShadowNinja [Mon, 7 Dec 2015 02:34:30 +0000 (21:34 -0500)]
Improve Doxyfile

* Add main page.
* Organize into sections.
* Add threading sources.
* Include SpatialAreaStore, LevelDB/Redis, sound, FreeType, and cURL in output.
* Add logo.
* Fix project name hardcoding.
* Remove PAPER_TYPE (only used when GENERATE_LATEX is enabled).
* Have dot render graphs as SVG (smaller, and works even if dot's text drawing functionality is broken).
* Enable built-in STL support.
* Enable search bar.
* Switch from header-bar based navigation to treeview based navigation.
* Enable dynamic HTML (collapses graphs).
* Enable generation timestamp.

8 years agoFix for commit 87dcee6 It uses the wrong variable and only covers some use cases...
gregorycu [Mon, 4 Jan 2016 05:15:50 +0000 (16:15 +1100)]
Fix for commit 87dcee6 It uses the wrong variable and only covers some use cases. This change covers all use cases.

8 years agoAdd MinSizeRel and RelWithDebInfo to MSVCBuildDir check
gregorycu [Sun, 3 Jan 2016 07:30:39 +0000 (18:30 +1100)]
Add MinSizeRel and RelWithDebInfo to MSVCBuildDir check

8 years agoPrevent technically unsafe access with empty vector
gregorycu [Sun, 3 Jan 2016 07:25:09 +0000 (18:25 +1100)]
Prevent technically unsafe access with empty vector

8 years agoMade it more clear that "[combine" does accept a list of files.
Robert Zenz [Sat, 2 Jan 2016 21:14:09 +0000 (22:14 +0100)]
Made it more clear that "[combine" does accept a list of files.

8 years agofilesys: safeWriteToFile(): Remove the target file before rename only on Windows
Perttu Ahola [Fri, 1 Jan 2016 16:14:30 +0000 (18:14 +0200)]
filesys: safeWriteToFile(): Remove the target file before rename only on Windows

Removing the target file on other platforms was enabled likely unintentionally
by commit 5f1f1151d3a9c113902630adc16cc3f4845da7ba.

This may be the reason why there has been corruption of files on Linux on hard
shutdowns.

Previously I described the problem and this fix in issue #3084.

8 years agoMinimal: Add mapgen alias for air
paramat [Tue, 29 Dec 2015 23:42:34 +0000 (23:42 +0000)]
Minimal: Add mapgen alias for air

8 years agoFix client crashing when connecting to server
est31 [Tue, 29 Dec 2015 23:50:50 +0000 (00:50 +0100)]
Fix client crashing when connecting to server

My commit

e2d54c9f9275e4f77ec33be8054621d42945f7a4 "shutdown when requested from lua in singleplayer too"

broke minetest's feature to connect to servers. The client crashed
after the connection init was complete.

Thanks to @sofar for reporting the bug.

Fixes #3498.

8 years agoFix cache path with RUN_IN_PLACE
ShadowNinja [Fri, 18 Dec 2015 20:42:12 +0000 (15:42 -0500)]
Fix cache path with RUN_IN_PLACE

If an `XDG_CACHE_HOME` can't be found or `RUN_IN_PLACE` is enabled,
`path_cache` is left at its default of `$PATH_USER/cache`
(at a time when `PATH_USER` is `..`), rather than being reset to
`$PATH_USER/cache` after `PATH_USER` has been properly set.

8 years agoInclude custom error message in all SQLite3 exceptions.
Rogier [Mon, 28 Dec 2015 18:34:16 +0000 (19:34 +0100)]
Include custom error message in all SQLite3 exceptions.

And replace manual tests for error with SQLOK() where possible.

8 years agoHandle SQLITE_BUSY errors gracefully
Rogier [Wed, 23 Dec 2015 10:38:50 +0000 (11:38 +0100)]
Handle SQLITE_BUSY errors gracefully

This allows other applications (e.g. minetestmapper) to interrogate
the database while minetest is running, without causing an almost
certain minetest crash.

8 years agoAdd macos/freebsd missing endian.h include and add win endianness info
qiukeren [Mon, 21 Dec 2015 12:52:40 +0000 (20:52 +0800)]
Add macos/freebsd missing endian.h include and add win endianness info

8 years agoRevert "Refactoring and code style fixes in preparation of adding mesh typed items"
Sapier [Tue, 29 Dec 2015 18:55:50 +0000 (19:55 +0100)]
Revert "Refactoring and code style fixes in preparation of adding mesh typed items"

This reverts commit f14e7bac54af65e3d3d99f89f23f114b17058e49.

Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need

8 years agoRevert "Add support for using arbitrary meshes as items"
Sapier [Tue, 29 Dec 2015 18:53:38 +0000 (19:53 +0100)]
Revert "Add support for using arbitrary meshes as items"

This reverts commit 91bafceee6606fab79db1bde4cba01b84fed65c7.

Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need

8 years agoMake collisionMoveSimple time overflow message written to log/show up at max once... 3467/head
Sapier [Fri, 18 Dec 2015 18:20:06 +0000 (19:20 +0100)]
Make collisionMoveSimple time overflow message written to log/show up at max once per step

8 years agoAdd support for using arbitrary meshes as items 3479/head
Sapier [Sat, 19 Dec 2015 03:43:59 +0000 (04:43 +0100)]
Add support for using arbitrary meshes as items

8 years agoRefactoring and code style fixes in preparation of adding mesh typed items
Sapier [Sat, 19 Dec 2015 12:29:06 +0000 (13:29 +0100)]
Refactoring and code style fixes in preparation of adding mesh typed items

8 years agoshutdown when requested from lua in singleplayer too
est31 [Sat, 26 Dec 2015 15:19:09 +0000 (16:19 +0100)]
shutdown when requested from lua in singleplayer too

Before, minetest.request_shutdown didn't shut down
singleplayer instances or server instances from the server tab.

This commit fixes this. Fixes #3489.

8 years agoDatabase backends: fix bug, and small speedup
est31 [Sat, 26 Dec 2015 16:01:41 +0000 (17:01 +0100)]
Database backends: fix bug, and small speedup

-> Redis backend: break from switch to fix bug
-> Dummy and redis backends: reserve the count so that creating the list is faster

8 years agoAlphabetical sorting of texture packs in menu (fixes #3487)
jeanpatrick.guerrero@gmail.com [Fri, 25 Dec 2015 21:10:29 +0000 (22:10 +0100)]
Alphabetical sorting of texture packs in menu (fixes #3487)

8 years agoUpdate URLs for buildbot & travis
sfan5 [Wed, 23 Dec 2015 22:51:06 +0000 (23:51 +0100)]
Update URLs for buildbot & travis

The freehoster these files were hosted on is shutting down soon-ish, they're now hosted on my VPS.

8 years agoAdd missing documentation of automatic_face_movement_max_rotation_per_sec entity...
Sapier [Fri, 25 Dec 2015 13:11:39 +0000 (14:11 +0100)]
Add missing documentation of automatic_face_movement_max_rotation_per_sec entity parameter

8 years agoAndroid: shorten initial progress bar text way more simple
Sapier [Fri, 18 Dec 2015 19:05:13 +0000 (20:05 +0100)]
Android: shorten initial progress bar text way more simple

8 years agoAndroid: Tell make about sub-makes to speed up build
est31 [Wed, 23 Dec 2015 03:51:09 +0000 (04:51 +0100)]
Android: Tell make about sub-makes to speed up build

Before, sub-makes called by make were called without make knowing they
were sub-makes. This however led make's jobserver not do its tasks,
and the build process ended up with inefficient parralelisation. This
commit fixes this by applying the two ways the make manual tells
about: putting + to the start of the line (used when ndk-build is
invoked), and exchanging "make" with "$(MAKE)".

Before, make complained with messages like:

make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

This complaint can now only been seen for openssl. openssl has issues
if make gets exchanged with $(MAKE): if exchanged, above error message
is multiplied for various subdirs of the openssl source tree.

On a 4 core box, "make -j 4" build time from "make clean_all" cleaned
source tree could be improved from 15:34 minutes to 10:45 minutes.
This means a speedup of 45%.

8 years agoTranslated using Weblate (Italian)
Gianluca Luparini [Mon, 21 Dec 2015 21:09:55 +0000 (22:09 +0100)]
Translated using Weblate (Italian)

Currently translated at 43.8% (345 of 787 strings)

8 years agoTranslated using Weblate (Japanese)
Rui [Sat, 19 Dec 2015 10:07:16 +0000 (11:07 +0100)]
Translated using Weblate (Japanese)

Currently translated at 40.0% (315 of 787 strings)

8 years agoTranslated using Weblate (Dutch)
Rogier [Sat, 19 Dec 2015 00:09:48 +0000 (01:09 +0100)]
Translated using Weblate (Dutch)

Currently translated at 95.1% (749 of 787 strings)

Squashed two translation commits to one

8 years agoTranslated using Weblate (Russian)
Anton Tsyganenko [Thu, 17 Dec 2015 22:01:57 +0000 (23:01 +0100)]
Translated using Weblate (Russian)

Currently translated at 48.7% (384 of 787 strings)

Squashed two translation commits to one

8 years agoTranslated using Weblate (Italian)
Luca Argentieri [Mon, 14 Dec 2015 22:08:44 +0000 (23:08 +0100)]
Translated using Weblate (Italian)

Currently translated at 43.8% (345 of 787 strings)

8 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Thu, 26 Nov 2015 18:08:05 +0000 (19:08 +0100)]
Translated using Weblate (Czech)

Currently translated at 56.6% (446 of 787 strings)

Squashed two translation commits to one

8 years agoTranslated using Weblate (Chinese (Taiwan))
Jeff Huang [Thu, 10 Dec 2015 07:13:11 +0000 (08:13 +0100)]
Translated using Weblate (Chinese (Taiwan))

Currently translated at 59.7% (470 of 787 strings)

8 years agoTranslated using Weblate (Hebrew)
ChaosWormz [Wed, 25 Nov 2015 07:42:11 +0000 (08:42 +0100)]
Translated using Weblate (Hebrew)

Currently translated at 3.1% (25 of 787 strings)

8 years agoTranslated using Weblate (Japanese)
Rui [Mon, 23 Nov 2015 06:16:33 +0000 (07:16 +0100)]
Translated using Weblate (Japanese)

Currently translated at 39.8% (314 of 787 strings)

8 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Mon, 23 Nov 2015 15:45:21 +0000 (16:45 +0100)]
Translated using Weblate (Czech)

Currently translated at 49.0% (386 of 787 strings)

Squashed two translation commits to one

8 years agoTranslated using Weblate (Lojban)
senpi [Sun, 22 Nov 2015 05:05:30 +0000 (06:05 +0100)]
Translated using Weblate (Lojban)

Currently translated at 11.4% (90 of 787 strings)

8 years agoTranslated using Weblate (Lithuanian)
Liudas Ališauskas [Thu, 19 Nov 2015 04:07:59 +0000 (05:07 +0100)]
Translated using Weblate (Lithuanian)

Currently translated at 30.7% (242 of 787 strings)

Squashed two translation commits to one

8 years agoTranslated using Weblate (Estonian)
Kristjan Räts [Thu, 19 Nov 2015 15:52:36 +0000 (16:52 +0100)]
Translated using Weblate (Estonian)

Currently translated at 23.7% (187 of 787 strings)

8 years agoTranslated using Weblate (Italian)
Andrea Di Pietro Ulla [Sun, 15 Nov 2015 14:37:50 +0000 (15:37 +0100)]
Translated using Weblate (Italian)

Currently translated at 42.0% (331 of 787 strings)

8 years agoFix lua object:get_properties() being broken
Sapier [Sun, 20 Dec 2015 23:24:37 +0000 (00:24 +0100)]
Fix lua object:get_properties() being broken

8 years agoFix missing localization for obj
HybridDog [Fri, 18 Dec 2015 16:38:25 +0000 (17:38 +0100)]
Fix missing localization for obj

8 years agoAndroid: Fix extra files being copied to the APK
ShadowNinja [Sat, 19 Dec 2015 04:26:44 +0000 (23:26 -0500)]
Android: Fix extra files being copied to the APK

dcb91cf0c0c9a20622feeb4e5e8104ffbc9fa8ec hacked around the biggest issue
this caused, but wasted a lot of CPU time and disk space  It also still
included a lot of other unwanted files.  This removes all of `doc/` except
the license, and also removes the server list.

8 years agoFix missing pop
est31 [Sun, 20 Dec 2015 02:36:47 +0000 (03:36 +0100)]
Fix missing pop

Previous commit

70ea5d552e283bd5bce3278cbf3819bd87ba2602 "Add support for limiting rotation of automatic face movement dir entitys"

by sapier has broken minetest's feature to open worlds. This was due to a
missing stack pop operation.

Thanks to @oleastre for reporting this bug and suggesting the fix.

8 years agoAdd support for limiting rotation of automatic face movement dir entitys 3457/head
Sapier [Mon, 14 Dec 2015 23:03:18 +0000 (00:03 +0100)]
Add support for limiting rotation of automatic face movement dir entitys

8 years agoAndroid: Implement Autohiding button bars to cleanup screen 2132/head
Sapier [Sun, 13 Dec 2015 22:00:05 +0000 (23:00 +0100)]
Android: Implement Autohiding button bars to cleanup screen

8 years agoAndroid: Remove unused build target curl_binary
Sapier [Thu, 17 Dec 2015 19:51:54 +0000 (20:51 +0100)]
Android: Remove unused build target curl_binary

8 years agoAndroid: Don't put html docs to apk
Sapier [Tue, 15 Dec 2015 23:59:44 +0000 (00:59 +0100)]
Android: Don't put html docs to apk

8 years agoAndroid: Remove non freetype fonts from apk
Sapier [Tue, 15 Dec 2015 20:41:03 +0000 (21:41 +0100)]
Android: Remove non freetype fonts from apk

8 years agoAndroid: Fix pressed buttons not beeing cleared on opening menu
Sapier [Thu, 17 Dec 2015 19:43:25 +0000 (20:43 +0100)]
Android: Fix pressed buttons not beeing cleared on opening menu

8 years agoAdd option to give every object a nametag 3393/head
BlockMen [Fri, 20 Nov 2015 22:46:33 +0000 (23:46 +0100)]
Add option to give every object a nametag

or change the nametag text of players

8 years agoGet movement setting instead of hard coded value
asl97 [Wed, 2 Dec 2015 02:45:57 +0000 (10:45 +0800)]
Get movement setting instead of hard coded value

8 years agoMgfractal: Add 3D and 4D fractals
paramat [Tue, 8 Dec 2015 05:40:36 +0000 (05:40 +0000)]
Mgfractal: Add 3D and 4D fractals

3D Mandelbrot/Mandelbar
3D Christmas Tree
3D Mandelbulb
3D Cosine Mandelbulb
4D Mandelbulb
Plus corresponding julia set for each
Add credits for formulas
Rename parameter 'formula' to 'fractal'
Speed optimisations

8 years agoFix events on Windows
BlockMen [Fri, 11 Dec 2015 21:40:37 +0000 (22:40 +0100)]
Fix events on Windows

8 years agoFix android build
est31 [Fri, 11 Dec 2015 10:22:05 +0000 (11:22 +0100)]
Fix android build

Fix android build since commit

696148e29889b2923f926b27f76979454676506d "Fix Event implementation"

by @ShadowNinja.

Fixes #3444. Thanks @kwolekr for pointing out the fix.

8 years agoFix some setting documentation
est31 [Thu, 10 Dec 2015 17:25:28 +0000 (18:25 +0100)]
Fix some setting documentation

* Horizontal and vertical are used wrongly. Use height and width because
horizontal/vertical describes different things. Thanks @kilbith for pointing out.
* Update minetest.conf.example and settings_translation_file.cpp
* Correct maximum/minimum copy paste mistake.

8 years agoSpeed up and make more accurate relief mapping
RealBadAngel [Wed, 9 Dec 2015 22:08:55 +0000 (23:08 +0100)]
Speed up and make more accurate relief mapping

using linear + binary search.

8 years agoFix Event implementation 3408/head
ShadowNinja [Sun, 29 Nov 2015 05:17:51 +0000 (00:17 -0500)]
Fix Event implementation

On non-windows platforms this just used a semaphore,
which meant that multiple calls to signal() would
result in wait() returning multiple times.

8 years agoAdd seperate cache path 3111/head
ShadowNinja [Mon, 24 Aug 2015 21:00:06 +0000 (17:00 -0400)]
Add seperate cache path

This is set to the XDG cache path where possible.
It's set to the app's cache path on Android.

8 years agoFix threshold type
est31 [Mon, 7 Dec 2015 08:42:39 +0000 (09:42 +0100)]
Fix threshold type

Fix the type of the threshold value for mapgen.
The commit

a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4 "Fix spelling of noise_threshold"

has changed it to be read as int, but it can have non-integral values too.

Thanks to @kwolekr for pointing this out.

8 years agolua_api.txt: add blank lines before * lists
est31 [Mon, 7 Dec 2015 06:26:12 +0000 (07:26 +0100)]
lua_api.txt: add blank lines before * lists

If rendered as markdown, lists need a blank line before them
so that they are recognized as such.

8 years agoMapgen: Add propagate_shadow bool to calcLighting
paramat [Wed, 2 Dec 2015 03:28:03 +0000 (03:28 +0000)]
Mapgen: Add propagate_shadow bool to calcLighting

To terminate unwanted shadows from floatlands or realms above
Also add to LuaVoxelManip calc_lighting for use in mapgen mods
Remove the 2 argument calcLighting, mapgens now use the 5
argument form to specify the volumes for propagateSunlight and
spreadLight
In mgsinglenode replace calcLighting with setLighting and
clean-up use of tabs and spaces

8 years agoFix spelling of noise_threshold
Jun Zhang [Sat, 5 Dec 2015 13:00:11 +0000 (21:00 +0800)]
Fix spelling of noise_threshold

8 years agoImprove LuaJIT detection
Ferdinand Thiessen [Thu, 3 Dec 2015 20:18:39 +0000 (21:18 +0100)]
Improve LuaJIT detection

On openSUSE luajit is not detected correctly.
This is because openSUSE is using a lua version suffix, like other Linux distributions do it also.
So the include directory is:
include/luajit-5_1-2.0

8 years agoMake travis work again
est31 [Sat, 5 Dec 2015 16:51:56 +0000 (17:51 +0100)]
Make travis work again

Now we do sudo apt-get update to download package sources.
This fixes travis build with the new GCE based infrastructure.

Closes #3427.
Closes #3426.

8 years agoFix build if BUILD_SHARED_LIBS defaults to "ON"
Ferdinand Thiessen [Thu, 3 Dec 2015 20:34:46 +0000 (21:34 +0100)]
Fix build if BUILD_SHARED_LIBS defaults to "ON"

openSUSE sets that option to ON.

Fixes #3420.

9 years agoDocument limitations of minetest.get_password_hash
est31 [Wed, 2 Dec 2015 17:26:09 +0000 (18:26 +0100)]
Document limitations of minetest.get_password_hash