summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Documentation: Clarify global and mapgen-specific mapgen flagsparamat2016-03-11
|
* Introduce "protection_bypass" privilege.Auke Kok2016-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This privilege allows map protection bypassing for server operators and world moderators. Initially I had thought that bypassing protection mods would have been something that could entirely be done inside mods and minetest_game, but the concept of protection is defined in core, in the code of core.is_protected(). I don't feel that it would be logical to introduce a protection concept in core, but not some way around that for server operators to maintain map parts that need fixing, de-griefing or cleanup. Others had noticed the same problems, and proposed a patch to minetest_game. That patch is fine by itself, but it fails to add protection bypass functionality for digging normal nodes and placing nodes. So, instead, we indroduce the new priv "protection_bypass" in core, and modify 'on_place_node' and 'node_dig' to allow bypassing node protections if the player holds this priv. This priv was tested with protector redo by tenplus1. A followup patch to Minetest Game will include allowing special checks for doors, trapdoors, chests in Minetest Game. Protection mods will likely want to mimic the changes in their relevant code sections.
* Avoid try/catch for settings.Auke Kok2016-03-09
| | | | | We can just test for the presence of these settings nicely here, no need to use a try / catch construct.
* Add consistent monotonic day counter - get_day_count()Auke Kok2016-03-09
| | | | | | | | | | | | | | | | | | | | | | | | I've written several experimental bits of code that revolve around the need for a consistent calendar, but implementing one is extremely hard in mods due to time changes and mods overriding core.get_timeofday(), which will conflict. The second part of the problem is that doing this from a mod requires constant maintenance of a settings file. An implementation in core is trivial, however, and solves all of these problems at virtually no cost: No extra branches in server steps, and a single branch when minetest.set_time_of_day(), which is entirely reasonable. We store the day_count value in env_meta.txt. The use case is obvious: This change allows mods to create an actual virtual calendar, or properly account for seasonal changes, etc.. We add a "/days" chatcommand that displays the current day count. No permissions are needed. It can only retrieve the day count, not modify it.
* Add AreaStore custom ID APIShadowNinja2016-03-07
|
* Implement AreaStore serializationShadowNinja2016-03-07
|
* Fix SpatialAreaStore not freeing removed areasShadowNinja2016-03-07
|
* Add basic AreaStore method documentationShadowNinja2016-03-07
|
* Sort AreaStore headerShadowNinja2016-03-07
|
* Clean up VectorAreaStoreShadowNinja2016-03-07
|
* Move AreaStore container selection logic into getOptimalImplementationShadowNinja2016-03-07
|
* Move AreaStore to utilShadowNinja2016-03-07
|
* Make AreaStore cache setting privateShadowNinja2016-03-07
|
* Simplify AreaStore ID managementShadowNinja2016-03-07
|
* s_env.{cpp, h} cleanupsest312016-03-07
| | | | | | * Replace string by-val passing with const reference * Fix code style * Remove redundant `int table` definition and indentation level
* Add minetest.register_lbm() to run code on block load onlyest312016-03-07
|
* Use LuaErrors in security check macrosShadowNinja2016-03-07
| | | | | Throwing a LuaError calls destructors as it propagates up the stack, wheres lua_error just executes a longjmp.
* Settings Tab: Regroup dropdown datas in tablesJean-Patrick Guerrero2016-03-06
|
* Faster insertion into tableRui9142016-03-06
|
* Add forgotten valleys mapgen in mapgen nameMuhammad Rifqi Priyo Susanto2016-03-05
| | | | Missing `valleys` in `settingtypes.txt` and `minetest.conf.example`.
* Update settings tab + some misc. clean-upJean-Patrick Guerrero2016-03-05
|
* Update Android dependencies, -O3 optimization, remove old ARMv5 configMaksim Gamarnik2016-03-05
| | | | | | | * Update OpenSSL (thanks @sapier, i use his patch!), Curl and SQLite3. * Remove old arm config. Almost all phones that use ARMv5 have 1 core and 256-512 RAM, it's about 2-5 FPS. * Do -O3 optimization for libs and remove -fexpensive-optimizations for Minetest (-O3 includes this! Read gcc docs). * OpenSSL fix - thanks @sapier, again.
* Mgvalleys: Correct spawn problemsDuane Robertson2016-03-04
| | | | Increase maximum spawn altitude to reduce spawn issues.
* Decoration API: Allow force_placement of simple decorationsparamat2016-03-04
|
* Require minetest.request_http_api to be called from the mod's main scopeJeija2016-03-03
| | | | Fixes #3764
* Fix main menu being unable to set secure settingsShadowNinja2016-03-03
|
* Remove debug.getupvalue from the Lua sandbox whitelistShadowNinja2016-03-03
| | | | This function could be used to steal insecure environments from trusted mods.
* Add support for non-ASCII characters to chat consoleShadowNinja2016-03-02
| | | | | This still only supports 256 characters, but that's because Irrlicht's clipboard handlers don't support wide characters.
* Add Android chat formShadowNinja2016-03-02
|
* Add text selection and copying to consoleShadowNinja2016-03-02
|
* Unlock cursor when opening consoleShadowNinja2016-03-02
|
* Use the console instead of a dedicated window when pressing keymap_chat/cmdEsteban I. Ruiz Moreno2016-03-02
| | | | keymap_console opens a full window for chat history browsing.
* Fix a mistake in the world format documentationAleksey Vorona2016-03-03
| | | | | | Fixed a minor mistake that made it appear as if the inventory is serialized multiple times - once per each variable. In fact it is serialized once per each node.
* Revert "Fix jumping at node edge"nerzhul2016-03-01
| | | | | | This reverts commit 60dc01dc258db842e229351b871d0989e3e7d62c. This fixes issue #3773
* Resize object_marker_red.png to 16x16ShadowNinja2016-02-28
| | | | Having a non-power-of-two image broke the Android app.
* Nodedef: Restore smooth lighting to waterparamat2016-02-27
|
* Mgvalleys: Add Dry RiverbedsDuane Robertson2016-02-27
| | | | | | | | | | | | Lower water table where base humidity is low. Alter heat and humidity to compensate for river humidity and altitude chill. Correct misuse of surface_max_y in generateTerrain. Remove sand trails in the water at river mouths. Remove river water below water_level. Correct heat/humidity calculations where noises are less than zero. Correct heightmap errors as much as possible. Make humidity calculations more readable.
* Update po files, minetest.conf.example and settings_translation_file.cppest312016-02-27
|
* Don't generate trailing spaces in minetest.conf.exampleest312016-02-27
| | | | | If the default value of a setting was empty, it previously generated a trailing space.
* Translated using Weblate (Russian)Dmitry Smirnov2016-02-27
| | | | | | Currently translated at 61.3% (483 of 787 strings) (Merger of five commits)
* Translated using Weblate (Russian)Vasily Pavlov2016-02-27
| | | | | | Currently translated at 49.5% (390 of 787 strings) (Merger of three commits)
* Translated using Weblate (Spanish)Miguel Isaac2016-02-27
| | | | | | Currently translated at 47.0% (370 of 787 strings) (Merger of two commits from the same author)
* Translated using Weblate (Catalan)Joan Ciprià Moreno2016-02-27
| | | | Currently translated at 37.3% (294 of 787 strings)
* Translated using Weblate (Spanish)Laura Arjona Reina2016-02-27
| | | | Currently translated at 46.6% (367 of 787 strings)
* Translated using Weblate (Portuguese (Brazil))Bruno Borges2016-02-27
| | | | Currently translated at 65.5% (516 of 787 strings)
* Translated using Weblate (Polish)Amadeo2016-02-27
| | | | Currently translated at 33.9% (267 of 787 strings)
* Translated using Weblate (Ukrainian)Fixer2016-02-27
| | | | Currently translated at 30.4% (240 of 787 strings)
* Translated using Weblate (Spanish)Diego Martínez2016-02-27
| | | | Currently translated at 45.9% (362 of 787 strings)
* Translated using Weblate (Italian)Paolo DGZ2016-02-27
| | | | Currently translated at 52.7% (415 of 787 strings)
* Translated using Weblate (Indonesian)Muhammad Rifqi Priyo Susanto2016-02-27
| | | | Currently translated at 42.4% (334 of 787 strings)