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.
paramat [Tue, 29 Dec 2015 23:42:34 +0000 (23:42 +0000)]
Minimal: Add mapgen alias for air
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.
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.
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.
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.
qiukeren [Mon, 21 Dec 2015 12:52:40 +0000 (20:52 +0800)]
Add macos/freebsd missing endian.h include and add win endianness info
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
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
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
Sapier [Sat, 19 Dec 2015 03:43:59 +0000 (04:43 +0100)]
Add support for using arbitrary meshes as 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
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.
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
jeanpatrick.guerrero@gmail.com [Fri, 25 Dec 2015 21:10:29 +0000 (22:10 +0100)]
Alphabetical sorting of texture packs in menu (fixes #3487)
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.
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
Sapier [Fri, 18 Dec 2015 19:05:13 +0000 (20:05 +0100)]
Android: shorten initial progress bar text way more simple
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%.
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)
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)
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
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
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)
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
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)
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)
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)
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
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)
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
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)
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)
Sapier [Sun, 20 Dec 2015 23:24:37 +0000 (00:24 +0100)]
Fix lua object:get_properties() being broken
HybridDog [Fri, 18 Dec 2015 16:38:25 +0000 (17:38 +0100)]
Fix missing localization for obj
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.
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.
Sapier [Mon, 14 Dec 2015 23:03:18 +0000 (00:03 +0100)]
Add support for limiting rotation of automatic face movement dir entitys
Sapier [Sun, 13 Dec 2015 22:00:05 +0000 (23:00 +0100)]
Android: Implement Autohiding button bars to cleanup screen
Sapier [Thu, 17 Dec 2015 19:51:54 +0000 (20:51 +0100)]
Android: Remove unused build target curl_binary
Sapier [Tue, 15 Dec 2015 23:59:44 +0000 (00:59 +0100)]
Android: Don't put html docs to apk
Sapier [Tue, 15 Dec 2015 20:41:03 +0000 (21:41 +0100)]
Android: Remove non freetype fonts from apk
Sapier [Thu, 17 Dec 2015 19:43:25 +0000 (20:43 +0100)]
Android: Fix pressed buttons not beeing cleared on opening menu
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
asl97 [Wed, 2 Dec 2015 02:45:57 +0000 (10:45 +0800)]
Get movement setting instead of hard coded value
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
BlockMen [Fri, 11 Dec 2015 21:40:37 +0000 (22:40 +0100)]
Fix events on Windows
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.
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.
RealBadAngel [Wed, 9 Dec 2015 22:08:55 +0000 (23:08 +0100)]
Speed up and make more accurate relief mapping
using linear + binary search.
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.
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.
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.
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.
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
Jun Zhang [Sat, 5 Dec 2015 13:00:11 +0000 (21:00 +0800)]
Fix spelling of noise_threshold
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
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.
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.
est31 [Wed, 2 Dec 2015 17:26:09 +0000 (18:26 +0100)]
Document limitations of minetest.get_password_hash
paramat [Mon, 30 Nov 2015 02:31:43 +0000 (02:31 +0000)]
Mgv5/v7/flat/fractal: More large pseudorandom caves
Mgv7/flat/fractal: Reduce tunnel noise spreads to 96
Alex Ford [Wed, 18 Nov 2015 19:26:09 +0000 (12:26 -0700)]
Add on_secondary_use when right clicking an item in the air
paramat [Mon, 30 Nov 2015 01:43:28 +0000 (01:43 +0000)]
Dungeongen: Fix rarely triggered segfault
A segfault exposed a missing 'vm->m_area.contains()'
check in makeCorridor that allowed the calculation
of vm index for a node outside the vm area. The huge
and invalid index number caused getContent to fail
Jay Arndt [Sun, 29 Nov 2015 23:57:12 +0000 (17:57 -0600)]
Remove unused OpenALSoundManager::m_can_vorbis and EXT_vorbis check
paramat [Sat, 28 Nov 2015 19:49:11 +0000 (19:49 +0000)]
Lua_api.txt: Add documentation for biome definition
paramat [Sat, 28 Nov 2015 14:51:22 +0000 (14:51 +0000)]
Dungeongen: Also preserve river water nodes
For future river mapgens
Dungeons will not generate in river water, to
avoid dungeons filling and blocking river channels
Aaron Suen [Mon, 14 Sep 2015 01:04:22 +0000 (21:04 -0400)]
Re-enable texture pre-filters on wielditems, fixing #3178.
Robert Zenz [Sat, 7 Nov 2015 15:31:32 +0000 (16:31 +0100)]
Simplify regex used in check_modname_prefix and other improvements.
Simplified the regex used, added comments and changed the error message
to contain the correct mod name.
paramat [Sat, 21 Nov 2015 20:22:45 +0000 (20:22 +0000)]
Mgfractal: Move julia set selection into formula parameter
Improve default parameters
Update and improve documentation
Unhide mapgen, but is still unstable
est31 [Sun, 22 Nov 2015 15:15:47 +0000 (16:15 +0100)]
Update HUD flags on server like on client
Fixes bug for which commit
6c37e89f08f962eaba788a31f5d3c798ceaa65e6 "Fix old client showing duplicated health bar on new server"
by @sapier
laid the groundwork, where the server has
updated its copy of the hud flags without
respecting the mask.
Fixes #3395.
paramat [Sun, 15 Nov 2015 11:55:45 +0000 (11:55 +0000)]
Mapgen: Add global 'decorations' flag
Flag is set by default in MapgenParams
The global 'trees' flag remains but is now
undocumented and unset by default in MapgenParams
Add mgv6_spflag 'trees' set by default in
defaultsettings.cpp to affect new worlds only
This is automatically backwards
compatible for existing worlds
Rui [Sun, 11 Oct 2015 12:25:58 +0000 (21:25 +0900)]
Log static_spawn error only once
est31 [Mon, 16 Nov 2015 16:11:32 +0000 (17:11 +0100)]
Android: hardcode irrlicht revision, update other dependencies
Recent irrlicht revisions break the build, hardcode the revision to a working one
until upstream publishes a working version. See issue #3366 for
a discussion about this.
Also update dependencies to current versions.
Amaz [Mon, 9 Nov 2015 11:52:52 +0000 (11:52 +0000)]
Add a status text for autorun
TeTpaAka [Sat, 14 Nov 2015 11:00:52 +0000 (12:00 +0100)]
Allow craft replacements to use groups
LelixSuperHD [Sat, 14 Nov 2015 21:10:37 +0000 (22:10 +0100)]
Translated using Weblate (Italian)
Currently translated at 42.0% (331 of 787 strings)
Joan Ciprià Moreno [Fri, 13 Nov 2015 20:07:16 +0000 (21:07 +0100)]
Translated using Weblate (Spanish)
Currently translated at 45.8% (361 of 787 strings)
Joan Ciprià Moreno [Fri, 13 Nov 2015 21:39:38 +0000 (22:39 +0100)]
Translated using Weblate (Catalan)
Currently translated at 32.4% (255 of 787 strings)
ShadowNinja [Fri, 13 Nov 2015 20:06:24 +0000 (21:06 +0100)]
Translated using Weblate (Spanish)
Currently translated at 45.7% (360 of 787 strings)
Joan Ciprià Moreno [Fri, 13 Nov 2015 20:05:40 +0000 (21:05 +0100)]
Translated using Weblate (Spanish)
Currently translated at 45.6% (359 of 787 strings)
Wuzzy [Thu, 12 Nov 2015 17:10:23 +0000 (18:10 +0100)]
Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
Joan Ciprià Moreno [Thu, 12 Nov 2015 21:13:34 +0000 (22:13 +0100)]
Translated using Weblate (Catalan)
Currently translated at 26.3% (207 of 787 strings)
-
Joan Ciprià Moreno [Thu, 12 Nov 2015 17:07:38 +0000 (18:07 +0100)]
Translated using Weblate (Catalan)
Currently translated at 11.8% (93 of 787 strings)
Joan Ciprià Moreno [Thu, 12 Nov 2015 11:48:26 +0000 (12:48 +0100)]
Translated using Weblate (Spanish)
Currently translated at 31.6% (249 of 787 strings)
Maciej Kasatkin [Thu, 12 Nov 2015 12:08:42 +0000 (13:08 +0100)]
Translated using Weblate (Polish)
Currently translated at 31.6% (249 of 787 strings)
nobb [Thu, 12 Nov 2015 01:44:58 +0000 (02:44 +0100)]
Translated using Weblate (Japanese)
Currently translated at 41.4% (326 of 787 strings)
Wuzzy [Thu, 12 Nov 2015 16:52:14 +0000 (17:52 +0100)]
Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
Joan Ciprià Moreno [Thu, 12 Nov 2015 16:52:35 +0000 (17:52 +0100)]
Translated using Weblate (Catalan)
Currently translated at 9.2% (73 of 787 strings)
Wuzzy [Thu, 12 Nov 2015 15:56:25 +0000 (16:56 +0100)]
Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
Joan Ciprià Moreno [Thu, 12 Nov 2015 11:49:26 +0000 (12:49 +0100)]
Translated using Weblate (Catalan)
Currently translated at 100% (0 of 0 strings)
Created new translation.
Kristjan Räts [Wed, 11 Nov 2015 11:12:31 +0000 (12:12 +0100)]
Translated using Weblate (Estonian)
Currently translated at 21.4% (169 of 787 strings)
Rogier [Wed, 11 Nov 2015 19:55:19 +0000 (20:55 +0100)]
Translated using Weblate (Dutch)
Currently translated at 44.0% (347 of 787 strings)
Jarosław Maciejewski [Mon, 9 Nov 2015 18:10:07 +0000 (19:10 +0100)]
Translated using Weblate (Polish)
Currently translated at 25.4% (200 of 787 strings)
Rui [Mon, 9 Nov 2015 09:38:10 +0000 (10:38 +0100)]
Translated using Weblate (Japanese)
Currently translated at 40.2% (317 of 787 strings)
Jean-Patrick G [Sun, 8 Nov 2015 21:18:03 +0000 (22:18 +0100)]
Translated using Weblate (French)
Currently translated at 100.0% (787 of 787 strings)
Jean-Patrick G [Sun, 8 Nov 2015 20:55:16 +0000 (21:55 +0100)]
Translated using Weblate (French)
Currently translated at 96.8% (762 of 787 strings)
paramat [Sat, 14 Nov 2015 09:18:01 +0000 (09:18 +0000)]
Mgfractal: Revert unnecessary duplication of parameters
est31 [Sun, 15 Nov 2015 07:17:32 +0000 (08:17 +0100)]
sound_openal.cpp: remove unused header
est31 [Sat, 14 Nov 2015 02:00:52 +0000 (03:00 +0100)]
Load sound from memory
* Remove trailing lines from src/sound_openal.cpp
* Don't do a horribly ugly copy of the file's path, allocating and deallocating a
10 kb buffer in the process. This copy was needed for backwards compatibility
with libvorbis 1.3.1 and earlier, as the removed comment explains.
However, even Ubuntu precise has 1.3.2 already. Dropping support and sparing
the ugly copy can therefore be considered safe.
* Actually load sounds from the memory, not caching them at the disk first,
removing the old hack. This is the main motivation for the commit.
paramat [Fri, 13 Nov 2015 07:16:15 +0000 (07:16 +0000)]
Decoration API: Fix missing low density decorations
For a decoration count between 0 and 1 calculate a chance for 1