est31 [Thu, 28 Jan 2016 22:53:58 +0000 (23:53 +0100)]
Don't print whole json data buffer to errorstream on error
`errorstream` must not be overly verbose as clientside it is directly printed
onto the ingame chat window. These days, the serverlist can contain > 200k bytes,
so better print it to warningstream if the data buffer is too long.
Paolo DGZ [Sun, 24 Jan 2016 14:00:55 +0000 (15:00 +0100)]
Translated using Weblate (Italian)
Currently translated at 52.0% (410 of 787 strings)
Kisbenedek Márton [Sun, 24 Jan 2016 23:59:19 +0000 (00:59 +0100)]
Translated using Weblate (Hungarian)
Currently translated at 32.4% (255 of 787 strings)
Tobyplowy [Sat, 23 Jan 2016 03:35:25 +0000 (04:35 +0100)]
Translated using Weblate (Dutch)
Currently translated at 95.5% (752 of 787 strings)
Ian giestas pauli [Thu, 14 Jan 2016 19:25:46 +0000 (20:25 +0100)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 41.6% (328 of 787 strings)
Ian giestas pauli [Thu, 14 Jan 2016 17:32:23 +0000 (18:32 +0100)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 26.6% (210 of 787 strings)
Ian giestas pauli [Thu, 14 Jan 2016 17:20:14 +0000 (18:20 +0100)]
Translated using Weblate (Portuguese)
Currently translated at 23.6% (186 of 787 strings)
Rui [Thu, 14 Jan 2016 07:53:58 +0000 (08:53 +0100)]
Translated using Weblate (Japanese)
Currently translated at 43.4% (342 of 787 strings)
Rui [Wed, 13 Jan 2016 07:54:13 +0000 (08:54 +0100)]
Translated using Weblate (Japanese)
Currently translated at 42.0% (331 of 787 strings)
Peter Mikkelsen [Wed, 13 Jan 2016 08:23:08 +0000 (09:23 +0100)]
Translated using Weblate (Danish)
Currently translated at 30.1% (237 of 787 strings)
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)
Diego Martinez [Mon, 7 Dec 2015 03:49:01 +0000 (00:49 -0300)]
Fix world config menu ignoring `name` in `mod.conf`.
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
est31 [Sat, 23 Jan 2016 05:26:58 +0000 (06:26 +0100)]
Fix compilation warning if compiling for android with c++11
RealBadAngel [Thu, 21 Jan 2016 15:04:41 +0000 (16:04 +0100)]
Fix texture tear issue
est31 [Sat, 23 Jan 2016 04:45:00 +0000 (05:45 +0100)]
Fix C++11 compilability
Previous commits broke it... :(
paramat [Sun, 17 Jan 2016 05:11:35 +0000 (05:11 +0000)]
Liquid flow: Prevent water spreading on ignore
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.
kwolekr [Sat, 14 Nov 2015 08:07:21 +0000 (03:07 -0500)]
EmergeManager: Do not queue duplicate block requests
Kahrl [Tue, 19 Jan 2016 09:15:01 +0000 (10:15 +0100)]
Fix Settings::remove() always returning true
RealBadAngel [Fri, 8 Jan 2016 14:59:36 +0000 (15:59 +0100)]
Show infotext with description for item entities
Duane Robertson [Mon, 18 Jan 2016 07:55:08 +0000 (01:55 -0600)]
Correct overflowing rivers in Valleys mapgen.
RealBadAngel [Mon, 18 Jan 2016 05:08:54 +0000 (06:08 +0100)]
Fix wield item glitch
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.
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.
Duane Robertson [Sat, 16 Jan 2016 09:53:02 +0000 (03:53 -0600)]
Prevent spawning in rivers with valleys mapgen. Remove unecessary whitespace.
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
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.
Duane Robertson [Thu, 14 Jan 2016 03:57:02 +0000 (21:57 -0600)]
Add Valleys mapgen.
paramat [Mon, 11 Jan 2016 05:46:41 +0000 (05:46 +0000)]
Mgv7/flat/fractal: Place biome top node on tunnel entrance floor
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
paramat [Sun, 10 Jan 2016 03:27:32 +0000 (03:27 +0000)]
Mgflat: Set blank default spflags. Unhide
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.
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
ASL97 [Mon, 7 Dec 2015 09:39:48 +0000 (17:39 +0800)]
Cache disable_anticheat and check it for "interacted_too_far"
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).
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.
Pavel Puchkin [Fri, 13 Mar 2015 11:09:58 +0000 (13:09 +0200)]
Simplify custom games packaging
sfan5 [Sat, 9 Jan 2016 15:13:37 +0000 (16:13 +0100)]
Fix screenshot links in AppData file
Pinky Snow [Sat, 9 Jan 2016 01:31:53 +0000 (20:31 -0500)]
fixed spelling
Fixed spelling mistake!
gregorycu [Mon, 4 Jan 2016 07:02:12 +0000 (18:02 +1100)]
Replace instance of readsome with read in decompressZlib Make decompressZlib more robust
Robert Zenz [Thu, 7 Jan 2016 22:16:56 +0000 (23:16 +0100)]
Clarified what get_node does.
slemonide [Sat, 2 Jan 2016 11:21:17 +0000 (03:21 -0800)]
Update lua_api.txt
set_sky does work with on_joinplayer
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.
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
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.
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.
gregorycu [Sun, 3 Jan 2016 07:30:39 +0000 (18:30 +1100)]
Add MinSizeRel and RelWithDebInfo to MSVCBuildDir check
gregorycu [Sun, 3 Jan 2016 07:25:09 +0000 (18:25 +1100)]
Prevent technically unsafe access with empty vector
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.
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.