Commit Graph

5936 Commits

Author SHA1 Message Date
Paolo DGZ 7a8687b83c Translated using Weblate (Italian)
Currently translated at 52.7% (415 of 787 strings)
2016-02-27 03:42:34 +01:00
Muhammad Rifqi Priyo Susanto e845ef0963 Translated using Weblate (Indonesian)
Currently translated at 42.4% (334 of 787 strings)
2016-02-27 03:42:34 +01:00
Kisbenedek Márton af4cd48e41 Translated using Weblate (Hungarian)
Currently translated at 69.1% (544 of 787 strings)

(Merger of three commits)
2016-02-27 03:42:11 +01:00
Jeija 033a510cf3 Fix minetest.request_insecure_environment() always returning nil
Fixes #3765
2016-02-26 06:36:48 +01:00
RealBadAngel f9d727764f Mapblock mesh: Allow to use VBO 2016-02-26 00:51:01 +00:00
RealBadAngel 8eb7ddb0a2 Remove new_style_water 2016-02-26 00:50:46 +00:00
rubenwardy 4efb7eb734 Cache some settings 2016-02-26 00:50:39 +00:00
Nathaniel Olsen f77b35b35b Add dependencies for Fedora systems 2016-02-25 21:46:54 +01:00
Maksim Gamarnik 9fb0f9bf4e Merge remote-tracking branch 'upstream/master' 2016-02-25 13:57:55 +02:00
Maksim Gamarnik e6d149b246 Small improvement 2016-02-25 13:57:10 +02:00
Maksim Gamarnik 92dff0178a build2 2016-02-24 04:27:46 +02:00
RealBadAngel e8a3d22cbe Shaders: fix fog not affecting opaque liquids 2016-02-23 23:51:41 +00:00
paramat 8591713405 Sheet Ore: Eliminate crash caused by PcgRandom range max < min
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-23 23:51:29 +00:00
nerzhul 147425483a GOTBLOCKS & DELETEBLOCKS: test packet size only once 2016-02-23 14:24:21 +01:00
Maksim Gamarnik 92041152e1 v. 1.1.2-pre | build1 2016-02-23 06:40:14 +02:00
est31 f3f4af3fb9 Fix android build
Android had a linker error since commit:

31e0667a4a "Add Lua interface to HTTPFetchRequest"

Fixes #3766. Thanks to @MoNTE48 for reporting the bug.
2016-02-23 01:48:52 +01:00
Maksim Gamarnik 7420584c5d test 2016-02-23 02:31:19 +02:00
Maksim Gamarnik fe70a72fe6 Merge 2016-02-23 00:40:02 +02:00
Maksim Gamarnik ae3d7c3ebc Merge remote-tracking branch 'upstream/master' 2016-02-23 00:38:30 +02:00
orwell96 e17fbb31d6 Reset block send timer when invoking setBlock(s)NotSent()
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-22 19:59:56 +01:00
est31 a26970cdd4 Android: hardcode leveldb revision
Newest leveldb commit breaks build.
With no fix in sight, there is no other way
than to fall back to the last working leveldb
revision, and hardcode it.

Workaround for upstream bug

https://github.com/google/leveldb/issues/340
2016-02-22 17:46:16 +01:00
RealBadAngel 9961185550 Fix getting pointed node
Fixes #3719
Closes #3753
2016-02-22 15:54:32 +01:00
Jeija 31e0667a4a Add Lua interface to HTTPFetchRequest
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-22 15:39:41 +01:00
Jeija a3892f5a66 Fix HTTPFetchRequest performing a GET request if post_data is supplied
Instead, perform a POST request with post_data.
2016-02-22 15:39:19 +01:00
RealBadAngel b2aabdfe07 Camera: remove auto tune FPS, single view range setting 2016-02-21 18:18:13 +01:00
RealBadAngel 2f4cf0bcca Remove preload_item_visuals code
Closes #3748
2016-02-21 17:46:50 +01:00
RealBadAngel 354635f9fb Dont make fastface if tile is not seamless
Fixes #3378
Closes #3751
2016-02-21 17:30:16 +01:00
BlockMen ecc8b70182 Restore simple settings tab and add advanced settings as dialog 2016-02-21 08:54:33 +00:00
Maksim Gamarnik 2ad9f7abf6 v. 1.1.0 release | MinGW 2016-02-21 04:18:49 +02:00
Loic Blot c6d7d2097c Little collision.cpp cleanups 2016-02-20 09:44:22 +01:00
gregorycu 60dc01dc25 Fix jumping at node edge 2016-02-19 20:05:58 -05:00
ShadowNinja a44393e43a Don't print locale directory error message when GetText is disabled
Also, downgrade the error to a warning.
2016-02-19 19:56:34 -05:00
Jeija 1b9aef43c9 Ignore spaces in secure.trusted_mods setting 2016-02-19 18:50:42 -05:00
Maksim Gamarnik 9ac4477a67 Doc fix 2016-02-20 01:36:36 +02:00
RealBadAngel 5f4ed94d90 Minimap: show player markers 2016-02-19 21:31:22 +01:00
RealBadAngel 5dbaa68967 Camera: Don't count camera offset twice for Nametagged CAOs 2016-02-19 14:52:19 +00:00
ShadowNinja 4827ee1258 Require request_insecure_environment to be called from the mod's main scope
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-19 14:52:10 +00:00
paramat 997be666e3 Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16
'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-19 14:51:41 +00:00
Maksim Gamarnik f32ca40892 Default: Oops 2016-02-19 02:18:56 +02:00
Maksim Gamarnik 8033e3213b Merge remote-tracking branch 'upstream/master' 2016-02-19 00:39:50 +02:00
Maksim Gamarnik 443f1ce96c Update README.md 2016-02-19 00:32:48 +02:00
Maksim Gamarnik 152d9cfbdb ver. 1.1.2
Fix license, remove npc, fix creative inventory, mobs spawning fix, doc
improve
2016-02-19 00:31:22 +02:00
RealBadAngel 1ec1a605d6 HOTFIX: fix too agressive block culling 2016-02-18 18:07:28 +01:00
RealBadAngel c3b279750e Move object nametags to camera 2016-02-18 16:43:29 +01:00
Maksim Gamarnik 108b5aa536 Fix 2016-02-17 20:34:20 +02:00
Maksim Gamarnik 1f7f17458e Android: final optimization! 2016-02-17 10:16:41 +02:00
Maksim Gamarnik 7b5d77084e Android: SPEEEEED! 2016-02-17 07:13:12 +02:00
Maksim Gamarnik b0a8937def Release | ver. 1.1.1 2016-02-17 01:48:31 +02:00
est31 4c654557ec Clientiface: remove "value is dummy" from docs
Commit

6a1670dbc3 "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-16 23:58:30 +01:00
Maksim Gamarnik a7df206e59 Fix games 2016-02-17 00:50:51 +02:00