paly2 [Sun, 10 Jul 2016 13:15:43 +0000 (15:15 +0200)]
Add minetest.unregister_item and minetest.register_alias_force
est31 [Tue, 30 Aug 2016 04:18:37 +0000 (06:18 +0200)]
Run updatepo.sh
Rui [Tue, 30 Aug 2016 04:09:03 +0000 (04:09 +0000)]
Translated using Weblate (Danish)
Currently translated at 30.2% (271 of 895 strings)
Don't end with '\n'.
Rui [Sun, 17 Jul 2016 15:50:36 +0000 (15:50 +0000)]
Translated using Weblate (Japanese)
Currently translated at 50.0% (448 of 895 strings)
This is a merger of two commits.
Thomas Wagner Nielsen [Fri, 12 Aug 2016 18:51:18 +0000 (18:51 +0000)]
Translated using Weblate (Danish)
Currently translated at 27.3% (245 of 895 strings)
bse666 [Tue, 9 Aug 2016 07:40:53 +0000 (07:40 +0000)]
Translated using Weblate (German)
Currently translated at 98.5% (882 of 895 strings)
Mateusz Mendel [Fri, 29 Jul 2016 19:02:36 +0000 (19:02 +0000)]
Translated using Weblate (Polish)
Currently translated at 42.4% (380 of 895 strings)
Jakub Mendel [Fri, 29 Jul 2016 18:03:41 +0000 (18:03 +0000)]
Translated using Weblate (Polish)
Currently translated at 42.4% (380 of 895 strings)
Bruno Borges [Thu, 21 Jul 2016 17:30:08 +0000 (17:30 +0000)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 87.8% (786 of 895 strings)
Enhancements
Bruno Borges [Thu, 21 Jul 2016 00:15:09 +0000 (00:15 +0000)]
Translated using Weblate (Portuguese)
Currently translated at 64.9% (581 of 895 strings)
lisacvuk [Wed, 13 Jul 2016 09:50:11 +0000 (09:50 +0000)]
Translated using Weblate (Serbian (cyrillic))
Currently translated at 33.2% (298 of 895 strings)
Jean-Baptiste [Wed, 13 Jul 2016 16:41:45 +0000 (16:41 +0000)]
Translated using Weblate (French)
Currently translated at 99.5% (891 of 895 strings)
Onyx Steinheim [Wed, 13 Jul 2016 16:31:38 +0000 (16:31 +0000)]
Translated using Weblate (French)
Currently translated at 99.4% (890 of 895 strings)
This is a merger of two commits.
Jeff Huang [Wed, 13 Jul 2016 08:23:52 +0000 (08:23 +0000)]
Translated using Weblate (Chinese (Taiwan))
Currently translated at 100.0% (895 of 895 strings)
Rui [Tue, 30 Aug 2016 03:40:48 +0000 (12:40 +0900)]
Document keymap_autorun in settingtypes.txt and minetest.conf.example (#4486)
est31 [Tue, 30 Aug 2016 02:40:54 +0000 (04:40 +0200)]
Update minetest.conf.example and settings_translation_file.cpp
rubenwardy [Sun, 7 Aug 2016 13:32:31 +0000 (14:32 +0100)]
Fix background formspec elements from interfering with each other
Fixes #4397
red-001 [Sun, 28 Aug 2016 14:02:33 +0000 (15:02 +0100)]
Settingtypes.txt: Clarify comments, correct spelling
SmallJoker [Thu, 28 Jul 2016 12:32:32 +0000 (14:32 +0200)]
Builtin: Disallow registering users with the same name
Prevents duplicate names: 'NickName', 'nickname', 'NICKNAME'.
Skips already registered users, so they can connect as usual.
rubenwardy [Sun, 7 Aug 2016 15:22:50 +0000 (16:22 +0100)]
Allow fields to choose whether they close on enter press
rubenwardy [Sun, 7 Aug 2016 15:01:00 +0000 (16:01 +0100)]
Submit name of field on enter key press
paramat [Sat, 20 Aug 2016 01:05:34 +0000 (02:05 +0100)]
Camera: Higher frequency limit for view/hand bobbing and footsteps
Rebased and tuned version of Calinou's original pull request.
'm_view_bobbing_speed' controls the frequency of view bobbing,
hand bobbing and footsteps, it was limited to a maximum of 40 (walking
frequency) so did not increase if player speed was modified by a
'speed buff', a sprinting mod or modified in .conf or advanced
settngs.
This commit raises the limit to 70 which is suitable for sprinting.
Auke Kok [Fri, 11 Dec 2015 06:58:11 +0000 (22:58 -0800)]
Make plantlike drawtype more fun
Adds several new ways that the plantlike drawtype mesh can be changed.
This requires paramtype2 = "meshoptions" to be set in the node
definition. The drawtype for these nodes should be "plantlike".
These modifications are all done using param2. This field is now
a complex bitfield that allows some or more of the combinations to
be chosen, and the mesh draw code will choose the options based as
neeeded for each plantlike node.
bit layout:
bits 0, 1 and 2 (values 0x1 through 0x7) are for choosing the plant
mesh shape:
0 - ordinary plantlike plant ("x" shaped)
1 - ordinary plant, but rotated 45 degrees ("+" shaped)
2 - a plant with 3 faces ("*" shaped)
3 - a plant with 4 faces ("#" shaped)
4 - a plant with 4 faces ("#" shaped, leaning outwards)
5 through 7 are unused and reserved for future mesh shapes.
bit 3 (0x8) causes the plant to be randomly offset in the x,z
plane. The plant should fall within the 1x1x1 nodebox if regularly
sized.
bit 4 (0x10) causes the plant mesh to grow by sqrt(2), and will cause
the plant mesh to fill out 1x1x1, and appear slightly larger. Texture
makers will want to make their plant texture 23x16 pixels to have the
best visual fit in 1x1x1 size.
bit 5 (0x20) causes each face of the plant to have a slight negative
Y offset in position, descending up to 0.125 downwards into the node
below. Because this is per face, this causes the plant model to be
less symmetric.
bit 6 (0x40) through bit 7 (0x80) are unused and reserved for
future use.
!(https://youtu.be/qWuI664krsI)
est31 [Mon, 22 Aug 2016 02:27:44 +0000 (04:27 +0200)]
Client: disable pre v25 init sending by default
Disable the ability to connect to old servers by default to
improve password security.
If people still want to connect to old (0.4.12 and earlier)
servers, they can flip the send_pre_v25_init setting.
Add the ability to detect if we've tried to connect
to a server which only supports the pre v25 init protocol,
and show an apropriate error message. Most times the error
will already be catched at the serverlist level, the
detection mechanism only acts as last resort, because the
"Connection timed out" error message that would be shown
otherwise would be very confusing.
Automatic "fixing" of this condition is not desired,
as it would allow for downgrade attacks.
As already 161 of the 167 servers on the serverlist
support the new srp based auth protocol (> 96%),
the breakage should be minimal.
Follow up of commit
af30183124d40a969040d7de4b3a487feec466e4 "Add option to not send pre v25 init packet"
Also change the pessimistic assumption of masterlist
server versions to optimistic, in order to avoid buggy
behaviour (favourites not in the serverlist would be
denied to connect to, etc).
Xunto [Mon, 22 Aug 2016 18:21:48 +0000 (22:21 +0400)]
Move on join and on leave messages to lua (#4460)
kahrl [Sun, 21 Aug 2016 00:40:23 +0000 (02:40 +0200)]
gettext.h: include <locale> before defining the gettext macro (#4452)
Fixes #4446: a syntax error that happens if something else (such as
<iomanip> or <locale> in certain libstdc++ versions) includes
<libintl.h> later, which contains a function declaration for gettext
that gets mangled by the macro.
See the added comment in gettext.h and the discussion in #4446/#4452
for details.
est31 [Sat, 20 Aug 2016 19:26:44 +0000 (21:26 +0200)]
Also support X11 icon for minetest copies installed via make install (#4407)
Fixes #4323.
Tim [Wed, 27 Jul 2016 16:46:02 +0000 (18:46 +0200)]
Tidy up generate_from_settingtypes.lua a bit.
* Multiline strings
* Table-concat instead of String-concats
* string.rep instead of loop-concat
* string.format %q instead of manual quotation by gsub
* Assert writeable files
* Generate new settings_translation_file
Tim [Wed, 27 Jul 2016 16:41:16 +0000 (18:41 +0200)]
Move generation from settingtypes out of dlg_settings_advanced
Avoids unreachable code linter warning by moving generation code
(of minetest.conf.example and settings_translation_file.cpp)
out of dlg_settings_advanced.
Due to passing the settings, also it avoids reading the settings file twice.
Instead of activating the code by changing the active if-clauses,
its activation is now done by uncommenting the loadfile() statement.
Rogier-5 [Fri, 19 Aug 2016 18:23:30 +0000 (20:23 +0200)]
Fix for failure to find jsoncpp in android build (#4456)
Commit 4503b5 did not update the android build script.
obneq [Fri, 12 Aug 2016 17:11:56 +0000 (19:11 +0200)]
Mapblock mesh: Fix updateFastFaceRow tiling issue
Increase maximum length of tiled node rows from 2 to mapblock size.
SmallJoker [Sat, 30 Jul 2016 10:50:22 +0000 (12:50 +0200)]
Script API: Make the craft recipe field 'method' consistent
DonBatman [Sun, 14 Aug 2016 11:40:31 +0000 (04:40 -0700)]
Lua_api.txt: Change 'maxwear' to 'uses' in 'tool_capabilities'
'maxwear' has been deprecated for over 3 years
Add spaces around '=' nearby
Thomas--S [Sat, 2 Jul 2016 15:58:08 +0000 (17:58 +0200)]
Add an [opacity:<r> texture modifier. Makes the base image transparent according to the given ratio. r must be between 0 and 255. 0 means totally transparent. 255 means totally opaque. Useful for texture overlaying.
sfan5 [Fri, 12 Aug 2016 12:33:26 +0000 (14:33 +0200)]
Update AppData file with more URLs and keywords
Rogier-5 [Thu, 11 Aug 2016 17:22:40 +0000 (19:22 +0200)]
Use the standard to_string() functions for C++11 (#4279)
If compiling according to a C++ version before C++11, then define
std::to_string ourselves.
Add a to_wstring version as well
As std::to_string() for floating point types uses %.6f as floating
point format converter, instead of %G, it needs special care.
To preserve ftos() behavior (which is expected to use the %G format
converter), it no longer uses to_string().
Rogier-5 [Wed, 10 Aug 2016 22:22:32 +0000 (00:22 +0200)]
Add infotext containing entity type (e.g. mobs:cow) to unknown entities (#4431)
If a mod is disabled, or upgraded without sufficient backward compatibility,
then entities it has put into the world become unknown, and continue moving
around, but are completely unrecognisable.
This change allows the player to see their type, and therefore which mod is
or was responsible.
David Carlier [Thu, 28 Jul 2016 07:56:22 +0000 (08:56 +0100)]
couple of memory leaks fixes.
DLaboratory [Wed, 13 Jul 2016 08:49:47 +0000 (16:49 +0800)]
Update the version of irrlicht to 1.8.3, add steps for Sqlite3
Also add note for 64-bit Windows users
Ben Deutsch [Tue, 2 Aug 2016 19:36:34 +0000 (21:36 +0200)]
Zooming the camera requires the 'zoom' privilege
Ben Deutsch [Tue, 2 Aug 2016 20:47:47 +0000 (22:47 +0200)]
Document zoom_fov in settingtypes.txt and minetest.conf.example
Esteban I. Ruiz Moreno [Sun, 31 Mar 2013 03:30:32 +0000 (00:30 -0300)]
Add zoom, tweakable with zoom_fov, default key: Z (like optifine)
Tomas [Wed, 10 Aug 2016 10:17:48 +0000 (12:17 +0200)]
Lua->C getintfield() use lua_tointeger (#4408)
previously function used tonumber which returned float
this caused errors in large numbers and resulted in
obj-def-handlers being invalid when retrived from lua tables in c
Rogier-5 [Wed, 10 Aug 2016 10:10:00 +0000 (12:10 +0200)]
Fixes for compiling with a newer (system) jsoncpp (#4429)
* Move included json code to jsoncpp subdirectory
This is needed to avoid having to specify the minetest src directory
as a system include when fixing the json includes.
* Fix json includes
They used "", so that the compiler searches the project's directory
first. The result was that when compiling with a system jsoncpp,
the project's own version of json.h was still included, instead of
the system version.
The includes now use <>, so a system location, or one specified with
'-Ilocation' is searched only.
* Fix for jsoncpp deprecated function warning
When compiling with a newer version of jsoncpp (and
ENABLE_SYSTEM_JSONCPP=true), jsoncpp emits a warning
about a deprecated function that minetest uses.
Ner'zhul [Wed, 10 Aug 2016 10:08:05 +0000 (12:08 +0200)]
Permit usage of std::unordered_map & std::unorderered_set on c++11 compilers (#4430)
This fallback to std::map & std::set for older compilers
Use UNORDERED_SET as an example in decoration and ore biome sets
Use UNORDERED_MAP as an example in nameidmapping
Rémi Verschelde [Wed, 10 Aug 2016 06:51:36 +0000 (08:51 +0200)]
Add simulation category
paramat [Wed, 3 Aug 2016 02:44:33 +0000 (03:44 +0100)]
Decorations: Fix decoration height check errors
Fix height check comparison from '>=' to '>'.
Fix getHeight() for schematic decorations to account for
'deco place center y' flag and for how normal placement
sinks schematic 1 node into the ground.
Jungletrees were not being placed at y = 46, y = 47 despite
having an acceptable 16 nodes of height above ground surface.
paramat [Fri, 29 Jul 2016 02:44:58 +0000 (03:44 +0100)]
Mapgen: Remove unused 'flat' and 'trees' flags from mg_flags
When the 'flat' and 'trees' flags were moved into mgv6_spflags they
were left in mg_flags in an attempt to support old mgv6 worlds. However
their appearence in mg_flags causes confusion, also, later, old-world
support was found to be broken for mgv6 worlds with 'notrees'.
This commit cleans up the mess and comes a month after a thread warning
of the change, and explaining the required action, was posted in the
news subforum. Only old mgv6 worlds with 'flat' or 'notrees' are
affected, a small minority of worlds, the required action being
correctly setting these flags in mgv6_spflags.
Disable a section of the 'map settings manager' unit test which is to
be changed as it is causing problems for pull requests.
Dorian Wouters [Wed, 3 Aug 2016 22:41:54 +0000 (00:41 +0200)]
Fix l_request_insecure_environment not ignoring all whitespace (#4395)
l_request_insecure_environment didn't ignore all whitespace in the
secure.trusted_mods config option.
Replaces std::remove with std::remove_if and the isspace function.
est31 [Wed, 3 Aug 2016 22:29:06 +0000 (00:29 +0200)]
test_map_settings_manager: Fix Wunused-result warning
est31 [Wed, 3 Aug 2016 21:20:36 +0000 (23:20 +0200)]
Porting: Fix endless loop if image format is not recognized
SmallJoker [Fri, 29 Jul 2016 08:23:09 +0000 (10:23 +0200)]
texture_packs.txt: Document special textures
rubenwardy [Fri, 29 Jul 2016 14:39:36 +0000 (15:39 +0100)]
Documentation: Create texture_packs.txt
Combine texture_overrides.txt and sections of lua_api.txt
mtango688 [Thu, 28 Jul 2016 21:40:23 +0000 (15:40 -0600)]
lua_api.txt: Document how to properly clear node metadata
Nathaniel Olsen [Fri, 29 Jul 2016 21:37:06 +0000 (16:37 -0500)]
Update README.txt (#4368)
* Update README.txt
As of Ubuntu 16.10, libpng12-dev is replaced with libpng12-0, since libpng12-0 is available in 16.04 repositories, I think that needed to be changed.
Also I changed 'git-core' to 'git' for fedora users, keep it consistent with the ubuntu/debian instructions.
* Update README.txt
Fernando Carmona Varo [Sun, 24 Jul 2016 12:01:20 +0000 (14:01 +0200)]
buildbot: retrieve short commit hash properly
Instead of trying to manually parse the output of 'git show' which can be different across different git configurations, properly use the 'git rev-parse' command that is intended for this purpose.
Ner'zhul [Thu, 28 Jul 2016 11:13:25 +0000 (13:13 +0200)]
Increase android versionCode (#4350)
This little update is due to a packaging problem when uploading on play store. They don't permit to re upload an APK with same version code.
This case was a fail on openssl packaged version which was old and rejected by Google but they don't remove the APK then i should increase the version code to permit having it on play store
SmallJoker [Tue, 26 Jul 2016 12:39:03 +0000 (14:39 +0200)]
Upright sprite objects: Horizontally flip the front image
For consistent horizontal sprite structure when seen from front and back
Fix code style
Wuzzy [Mon, 25 Jul 2016 20:52:42 +0000 (22:52 +0200)]
Main menu, lua_api.txt: Fix mod/texture pack screenshot size issues
Recommend mod screenshot size in lua_api.txt
Adjust displayed screenshot size of texture packs
Document texture pack files in lua_api.txt
Tim [Sat, 23 Jul 2016 11:29:53 +0000 (13:29 +0200)]
Builtin: Add core.MAP_BLOCKSIZE constant
Tim [Thu, 7 Jul 2016 21:58:52 +0000 (23:58 +0200)]
Builtin: Fix check for a player object in core.check_player_privs
core.check_player_privs accepts as first argument a name or player object, but just tested for a string.
This caused crashes inside builtin, when being passed any unexpected types.
This provides a better (duck-typing like) test, better error reporting.
est31 [Sun, 24 Jul 2016 15:41:36 +0000 (17:41 +0200)]
Update minetest.conf.example and the settings translation file
paramat [Tue, 19 Jul 2016 23:23:08 +0000 (00:23 +0100)]
Mgvalleys / cavegen: Place riverbed nodes under river water
When a CavesNoiseIntersection tunnel intersects a river place biome
'riverbed' nodes in tunnel entrance instead of biome 'top' nodes.
James Stevenson [Thu, 14 Jul 2016 14:07:40 +0000 (10:07 -0400)]
lua_api.txt: Remove tooltip checkbox[] element
est31 [Tue, 12 Jul 2016 20:45:34 +0000 (22:45 +0200)]
HTTP lua API docs: correct some function references
Tim [Tue, 12 Jul 2016 19:51:10 +0000 (21:51 +0200)]
Builtin/profiler: Replace game profiler (#4245)
Use the setting "profiler.load" to enable profiling.
Other settings can be found in settingtypes.txt.
* /profiler print [filter] - report statistics to in-game console
* /profiler dump [filter] - report statistics to STDOUT and debug.txt
* /profiler save [format [filter]] - saves statistics to a file in your worldpath
* txt (default) - same treetable format as used by the dump and print commands
* csv - ready for spreadsheet import
* json - useful for adhoc D3 visualizations
* json_pretty - line wrapped and intended json for humans
* lua - serialized lua table of the profile-data, for adhoc scripts
* /profiler reset - reset all gathered profile data.
This can be helpful to discard of any startup measurements that often spike during loading or to get more useful min-values.
[filter] allows limiting the output of the data via substring/pattern matching against the modname.
Note: Serialized data structures might be subject to change with changed or added measurements.
csv might be the most stable, due to flat structure.
Changes to the previous version include:
* Updated and extended API monitoring
* Correct calculation of average (mean) values (undistorted by idleness)
* Reduce instrumentation overhead.
* Fix crashes related to missing parameters for the future and occasional DIV/0's.
* Prevent issues caused by timetravel (overflow, timejump, NTP corrections)
* Prevent modname clashes with internal names.
* Measure each instrumentation individually and label based on registration order.
* Labeling of ABM's and LBM's for easier classification.
Giving several ABM's or LBM's the same label will treat them as one.
Missing labels will be autogenerated based on name or registration order.
* Configurable instrumentation and reporting. Skip e.g. builtin if you don't need it.
* Profile the profiler to measure instrumentation overhead.
Duane [Mon, 11 Jul 2016 14:46:01 +0000 (09:46 -0500)]
Lua_api.txt: Fix description of node drop behaviour
paramat [Sun, 10 Jul 2016 15:03:53 +0000 (16:03 +0100)]
Treegen: Improve use of signed vs. unsigned integers
To fix GCC 6.1.1 compilation warning:
'assuming signed overflow does not occur when assuming
that (X - c) > X is always false'
est31 [Tue, 12 Jul 2016 18:50:20 +0000 (20:50 +0200)]
Run updatepo.sh
est31 [Tue, 12 Jul 2016 18:49:33 +0000 (20:49 +0200)]
Update minetest.conf.example, and settings_translation_file.cpp
Onyx Steinheim [Tue, 12 Jul 2016 16:56:29 +0000 (16:56 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)
ikmaak [Fri, 8 Jul 2016 10:32:09 +0000 (10:32 +0000)]
Translated using Weblate (Dutch)
Currently translated at 89.6% (795 of 887 strings)
Muhammad Rifqi Priyo Susanto [Thu, 23 Jun 2016 17:34:59 +0000 (17:34 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 55.8% (495 of 887 strings)
Roberto Mengíbar Fernández [Tue, 14 Jun 2016 21:57:46 +0000 (21:57 +0000)]
Translated using Weblate (Spanish)
Currently translated at 59.0% (524 of 887 strings)
Guillaume Robert [Mon, 13 Jun 2016 18:39:36 +0000 (18:39 +0000)]
Translated using Weblate (French)
Currently translated at 91.2% (809 of 887 strings)
arsdragonfly [Sat, 11 Jun 2016 10:56:31 +0000 (10:56 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 75.1% (667 of 887 strings)
Лазар Вукановић [Thu, 9 Jun 2016 11:11:15 +0000 (11:11 +0000)]
Translated using Weblate (Serbian (cyrillic))
Currently translated at 31.5% (280 of 887 strings)
Лазар Вукановић [Thu, 9 Jun 2016 08:40:00 +0000 (08:40 +0000)]
Added translation using Weblate (Serbian (cyrillic))
Tim [Sat, 4 Jun 2016 13:18:08 +0000 (13:18 +0000)]
Translated using Weblate (Esperanto)
Currently translated at 32.2% (286 of 887 strings)
susan [Fri, 3 Jun 2016 12:31:02 +0000 (12:31 +0000)]
Translated using Weblate (Chinese (China))
Currently translated at 74.1% (658 of 887 strings)
Snipie [Sat, 9 Jul 2016 14:00:14 +0000 (14:00 +0000)]
Fix typos (#4298)
est31 [Fri, 8 Jul 2016 15:07:31 +0000 (17:07 +0200)]
Ubuntu build HOWTO: Suggest to install git instead of git-core
The package docs for the git-core Ubuntu package in all supported
Ubuntu versions, including 12.04 say:
This is a transitional dummy package. The 'git-core' package has been
renamed to 'git', which has been installed automatically. This git-core
package is now obsolete, and can safely be removed from the system if no
other package depends on it.
Fixes #4109
est31 [Fri, 8 Jul 2016 05:26:00 +0000 (07:26 +0200)]
Fix -Wterminate warnings in rollback.cpp as well
Fix #4137 for rollback.cpp as well.
est31 [Fri, 8 Jul 2016 04:24:22 +0000 (06:24 +0200)]
Fix -Wterminate warning on GCC 6
Fixes #4137
Jay Arndt [Thu, 7 Jul 2016 01:15:36 +0000 (20:15 -0500)]
Fix warning in porting::setXorgWindowIcon when building without X11 (#4288)
Foghrye4 [Mon, 25 Apr 2016 15:50:10 +0000 (18:50 +0300)]
Adding minetest.clear_craft
Modifications by est31: grammar fixes in doc + error messages and
a little style fix, no functional change.
sfan5 [Mon, 20 Jun 2016 16:11:05 +0000 (18:11 +0200)]
Use mathematical function to determine yaw direction
Snipie [Tue, 5 Jul 2016 07:43:25 +0000 (07:43 +0000)]
Fix for cropped text "Toggle Cinematic"
rubenwardy [Mon, 4 Jul 2016 17:01:58 +0000 (18:01 +0100)]
Remove cinematic toggle on F8
Also update cinematic mode's description to include mouse
est31 [Sun, 3 Jul 2016 23:33:46 +0000 (01:33 +0200)]
Finally set a window icon on X11
Since the creation of minetest, it had no window icon on X11.
Now we have one.
The misc/minetest-xorg-icon-128.png file is a rendering of the
misc/minetest.svg file with inkscape, created with something like:
inkscape -z -e misc/minetest-xorg-icon-128.png -w 128 -h 128 misc/minetest.svg
est31 [Mon, 4 Jul 2016 19:32:32 +0000 (21:32 +0200)]
Temporarily disable "testStartStopWait" Threading unit test on mac
The "testStartStopWait" unit test is unreliably failing on mac,
for some time already. See bug #3786.
Having the unittest fail unreliably doesn't help anybody but mostly
inhibits the main feature of travis builds: to test PRs for regressions.
Therefore, disable the specific unit test for until bug #3786
is fixed.
Rogier-5 [Mon, 4 Jul 2016 19:00:57 +0000 (21:00 +0200)]
Fix & make linux conditionals uniform (#4278)
The source used a hodge-podge of different combinations of different
macros to check for linux: 'linux', '__linux', '__linux__'.
As '__linux__' is standard (Posix), and the others are not, the source
now uniformly uses __linux__. If either linux or __linux are defined,
it is made sure that __linux__ is defined as well.
est31 [Mon, 4 Jul 2016 18:49:13 +0000 (20:49 +0200)]
Disable joysticks per default for now
It seems that various different devices register as
Joysticks on linux, and their presence has caused
lots of confusion amongst minetest users.
Therefore, disable the joystick feature.
Closes #4261
Closes #4221
est31 [Sun, 3 Jul 2016 17:36:51 +0000 (19:36 +0200)]
Remove top left minetest watermark
Move version information into the window caption.
On popular player request.
Fixes #4209.
kwolekr [Fri, 24 Jun 2016 22:15:56 +0000 (18:15 -0400)]
Add MapSettingsManager and new mapgen setting script API functions
This commit refactors the majority of the Mapgen settings system.
- MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap,
instead of the EmergeManager.
- New Script API functions added:
core.get_mapgen_setting
core.get_mapgen_setting_noiseparams,
core.set_mapgen_setting, and
core.set_mapgen_setting_noiseparams.
- minetest.get/set_mapgen_params are deprecated by the above new functions.
- It is now possible to view and modify any arbitrary mapgen setting from a mod,
rather than the base MapgenParams structure.
- MapgenSpecificParams has been removed.
kwolekr [Tue, 14 Jun 2016 04:10:55 +0000 (00:10 -0400)]
Mapgen: Refactor mapgen creation and management
- Move mapgen creation logic out of EmergeManager and into Mapgen
- Internally represent mapgen type as an enum value, instead of a string
- Remove the need for a MapgenFactory per mapgen
Pavel Puchkin [Sun, 3 Jul 2016 11:30:09 +0000 (13:30 +0200)]
Remove old docs. We have VCS history anyways. (#4266)
David Carlier [Sun, 19 Jun 2016 07:48:12 +0000 (08:48 +0100)]
openbsd's port fix for non Linux systems w/o libRT
X11 headers are not always in expected locations, add them to include list.
Modifications by est31: indentation fixes, commit message improved
HybridDog [Tue, 28 Jun 2016 04:34:22 +0000 (06:34 +0200)]
Only allow strings to be passed to minetest.global_exists (#4253)
Sometimes you accidentally forget the quotes when using global_exists, this makes minetest abort if you did so.
M builtin/common/strict.lua
est31 [Fri, 24 Jun 2016 18:43:29 +0000 (20:43 +0200)]
Also shut down when SIGTERM was received
Fixes #4251