aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-03-07Clean up VectorAreaStoreShadowNinja
2016-03-07Move AreaStore container selection logic into getOptimalImplementationShadowNinja
2016-03-07Move AreaStore to utilShadowNinja
2016-03-07Make AreaStore cache setting privateShadowNinja
2016-03-07Simplify AreaStore ID managementShadowNinja
2016-03-07s_env.{cpp, h} cleanupsest31
* Replace string by-val passing with const reference * Fix code style * Remove redundant `int table` definition and indentation level
2016-03-07Add minetest.register_lbm() to run code on block load onlyest31
2016-03-07Use LuaErrors in security check macrosShadowNinja
Throwing a LuaError calls destructors as it propagates up the stack, wheres lua_error just executes a longjmp.
2016-03-04Mgvalleys: Correct spawn problemsDuane Robertson
Increase maximum spawn altitude to reduce spawn issues.
2016-03-04Decoration API: Allow force_placement of simple decorationsparamat
2016-03-03Require minetest.request_http_api to be called from the mod's main scopeJeija
Fixes #3764
2016-03-03Fix main menu being unable to set secure settingsShadowNinja
2016-03-03Remove debug.getupvalue from the Lua sandbox whitelistShadowNinja
This function could be used to steal insecure environments from trusted mods.
2016-03-02Add support for non-ASCII characters to chat consoleShadowNinja
This still only supports 256 characters, but that's because Irrlicht's clipboard handlers don't support wide characters.
2016-03-02Add Android chat formShadowNinja
2016-03-02Add text selection and copying to consoleShadowNinja
2016-03-02Unlock cursor when opening consoleShadowNinja
2016-03-02Use the console instead of a dedicated window when pressing keymap_chat/cmdEsteban I. Ruiz Moreno
keymap_console opens a full window for chat history browsing.
2016-03-01Revert "Fix jumping at node edge"nerzhul
This reverts commit 60dc01dc258db842e229351b871d0989e3e7d62c. This fixes issue #3773
2016-02-27Nodedef: Restore smooth lighting to waterparamat
2016-02-27Mgvalleys: Add Dry RiverbedsDuane Robertson
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.
2016-02-27Update po files, minetest.conf.example and settings_translation_file.cppest31
2016-02-26Fix minetest.request_insecure_environment() always returning nilJeija
Fixes #3765
2016-02-26Mapblock mesh: Allow to use VBORealBadAngel
2016-02-26Remove new_style_waterRealBadAngel
2016-02-26Cache some settingsrubenwardy
2016-02-23Sheet Ore: Eliminate crash caused by PcgRandom range max < minparamat
In the calculation of y_start, when 'column height max' was large it caused nmin.Y + max_height > nmax.Y - max_height Now, in this situation y_start is set to the midpoint between nmin.Y and nmax.Y Limit y0 and y1 to between nmin.Y and nmax.Y, otherwise index calculation, which has no checks for limits, places them at unwanted locations in the voxelmanip
2016-02-23GOTBLOCKS & DELETEBLOCKS: test packet size only oncenerzhul
2016-02-22Reset block send timer when invoking setBlock(s)NotSent()orwell96
As stated in this forum thread [1], I noticed that there is a 2 second interval in which inventory changes are shown on the client. @yyt16384 found the source of these 2 seconds: m_nothing_to_send_pause_timer is set to 2.0 every time there are no changes to make, but this timer is not reset when SetBlockNotSent or setBlocksNotSent are invoked. So in worst case, the changed block will be sent over 2 seconds too late. With this change, changed inventories are updated almost immediately, but it causes additional connection load.
2016-02-22Fix getting pointed nodeRealBadAngel
Fixes #3719 Closes #3753
2016-02-22Add Lua interface to HTTPFetchRequestJeija
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
2016-02-22Fix HTTPFetchRequest performing a GET request if post_data is suppliedJeija
Instead, perform a POST request with post_data.
2016-02-21Camera: remove auto tune FPS, single view range settingRealBadAngel
2016-02-21Remove preload_item_visuals codeRealBadAngel
Closes #3748
2016-02-21Dont make fastface if tile is not seamlessRealBadAngel
Fixes #3378 Closes #3751
2016-02-20Little collision.cpp cleanupsLoic Blot
2016-02-19Fix jumping at node edgegregorycu
2016-02-19Don't print locale directory error message when GetText is disabledShadowNinja
Also, downgrade the error to a warning.
2016-02-19Ignore spaces in secure.trusted_mods settingJeija
2016-02-19Minimap: show player markersRealBadAngel
2016-02-19Camera: Don't count camera offset twice for Nametagged CAOsRealBadAngel
2016-02-19Require request_insecure_environment to be called from the mod's main scopeShadowNinja
Previously you could steal a secure environment from a trusted mod by wrapping request_insecure_environment with some code like this: local rie_cp = minetest.request_insecure_environment local stolen_ie function minetest.request_insecure_environment() local ie = rie_cp() stolen_ie = stolen_ie or ie return ie end
2016-02-19Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16paramat
'cam_pos_nodes -/+ box_nodes_d' can exceed the range of v3s16 when a player is near the world edge using a large view range This previously caused world to disappear Create new function getBlocksInViewRange() called from updateDrawList() and renderMap() Correct code style throughout updateDrawList() and renderMap()
2016-02-18HOTFIX: fix too agressive block cullingRealBadAngel
2016-02-18Move object nametags to cameraRealBadAngel
2016-02-16Clientiface: remove "value is dummy" from docsest31
Commit 6a1670dbc31cc0e44178bbd9ad34ff0d5981a060 "Migrate to STL containers/algorithms." has replaced core::map<T, bool> with std::set<T>, but didn't update the accompanying comment saying "value is dummy". This happened at two places.
2016-02-16Mapblock mesh: Eliminate meshgen lagsRealBadAngel
2016-02-15Use vertices with tangents only when its needed.RealBadAngel
2016-02-14Player::accelerateHorizontal/Vertical should be member of LocalPlayerLoic Blot
2016-02-14Use proper variable types for uniform sampler layersRealBadAngel