zefram/minetest/minetest_engine.git
10 years agoUse fixed-width format specifiers in serializeStructToString
ShadowNinja [Thu, 13 Mar 2014 15:07:52 +0000 (11:07 -0400)]
Use fixed-width format specifiers in serializeStructToString

10 years agoFix game pause in singleplayer
BlockMen [Thu, 13 Mar 2014 13:06:18 +0000 (14:06 +0100)]
Fix game pause in singleplayer

10 years agoFix special characters in pause and message menu
BlockMen [Thu, 13 Mar 2014 13:00:10 +0000 (14:00 +0100)]
Fix special characters in pause and message menu

10 years agoReplace usage of long long with u64/s64
ShadowNinja [Wed, 12 Mar 2014 23:37:19 +0000 (19:37 -0400)]
Replace usage of long long with u64/s64

10 years agoPass arguments by reference
Selat [Thu, 27 Feb 2014 20:12:59 +0000 (23:12 +0300)]
Pass arguments by reference

10 years agoRemove goto from Environment::removePlayer
Selat [Wed, 5 Mar 2014 15:14:40 +0000 (18:14 +0300)]
Remove goto from Environment::removePlayer

10 years agoFix error when calling minetest.node_punch without a pointed_thing
ShadowNinja [Tue, 11 Mar 2014 16:59:02 +0000 (12:59 -0400)]
Fix error when calling minetest.node_punch without a pointed_thing

10 years agoFix generating winresource.o with build dir != source dir
Sfan5 [Tue, 11 Mar 2014 16:48:34 +0000 (17:48 +0100)]
Fix generating winresource.o with build dir != source dir

10 years agoCorrect misleading detached inventory error message
Ciaran Gultnieks [Fri, 7 Mar 2014 21:06:43 +0000 (21:06 +0000)]
Correct misleading detached inventory error message

Looks like a bit of hasty copying and pasting from s_item.cpp.

10 years agoUpdate ABM object counts when triggers add objects
Ciaran Gultnieks [Thu, 6 Mar 2014 19:20:06 +0000 (19:20 +0000)]
Update ABM object counts when triggers add objects

Also fixes long-standing accuracy issue due to unknown wider
object count not being incremented.

10 years agoFix race condition on exit to menu
sapier [Sun, 9 Mar 2014 10:01:13 +0000 (11:01 +0100)]
Fix race condition on exit to menu

10 years agoUpdate set_mapgen_params and set_gen_notify Lua API to use new flag format
kwolekr [Sat, 8 Mar 2014 16:34:46 +0000 (11:34 -0500)]
Update set_mapgen_params and set_gen_notify Lua API to use new flag format

10 years agoStop wasting time in abm - performance improvement
Ciaran Gultnieks [Mon, 3 Mar 2014 18:43:53 +0000 (18:43 +0000)]
Stop wasting time in abm - performance improvement

Unless I'm mistaken, the chunk of code I'm moving there is potentially
executed hundreds of times inside the loop to get the exact same result
every time

10 years agoReplace pause and message menu by formspec ones
sapier [Tue, 4 Mar 2014 18:57:39 +0000 (19:57 +0100)]
Replace pause and message menu by formspec ones

10 years agoFix rendering glitches when far from the center of the map
Novatux [Sun, 26 Jan 2014 10:40:21 +0000 (11:40 +0100)]
Fix rendering glitches when far from the center of the map

10 years agoDocument CMake options in README
Sfan5 [Mon, 3 Mar 2014 18:25:00 +0000 (19:25 +0100)]
Document CMake options in README

10 years agoImproved win32 file version information
sapier [Sun, 2 Mar 2014 22:49:19 +0000 (23:49 +0100)]
Improved win32 file version information

10 years agoFix for unloaded but active block problem
Ciaran Gultnieks [Thu, 20 Feb 2014 12:55:32 +0000 (12:55 +0000)]
Fix for unloaded but active block problem

10 years agoFix translation name.
Selat [Sun, 2 Mar 2014 18:22:47 +0000 (20:22 +0200)]
Fix translation name.

10 years agoAdd Belarusian translation.
Selat [Sat, 1 Mar 2014 19:54:23 +0000 (21:54 +0200)]
Add Belarusian translation.

10 years agoRemove "Server -!- " prefix from player messages
ShadowNinja [Tue, 25 Feb 2014 01:41:40 +0000 (20:41 -0500)]
Remove "Server -!- " prefix from player messages

10 years agoFix MSVC build
BlockMen [Wed, 26 Feb 2014 13:21:38 +0000 (14:21 +0100)]
Fix MSVC build

10 years agoFix null string escape
proller [Mon, 24 Feb 2014 16:41:04 +0000 (20:41 +0400)]
Fix null string escape

10 years agoFix test for broken LuaJIT versions, solves #1152
Sfan5 [Sun, 23 Feb 2014 17:16:00 +0000 (18:16 +0100)]
Fix test for broken LuaJIT versions, solves #1152

10 years agoTranslated using Weblate (Spanish)
Diego Martínez [Thu, 2 Jan 2014 21:09:19 +0000 (22:09 +0100)]
Translated using Weblate (Spanish)

10 years agoTranslated using Weblate (Romanian)
King Artur [Wed, 18 Dec 2013 20:44:06 +0000 (21:44 +0100)]
Translated using Weblate (Romanian)

wrong expression and wrong word order

10 years agoTranslated using Weblate (Portuguese)
João Farias [Mon, 6 Jan 2014 00:45:37 +0000 (01:45 +0100)]
Translated using Weblate (Portuguese)

10 years agoTranslated using Weblate (Lithuanian)
Jonas Kriaučiūnas [Wed, 11 Dec 2013 18:23:53 +0000 (19:23 +0100)]
Translated using Weblate (Lithuanian)

10 years agoTranslated using Weblate (Italian)
King Artur [Wed, 18 Dec 2013 20:40:51 +0000 (21:40 +0100)]
Translated using Weblate (Italian)

10 years agoTranslated using Weblate (German)
Pilz Adam [Sun, 29 Dec 2013 13:29:51 +0000 (14:29 +0100)]
Translated using Weblate (German)

10 years agoTranslated using Weblate (Estonian)
Jabo Babo [Wed, 18 Dec 2013 20:28:28 +0000 (21:28 +0100)]
Translated using Weblate (Estonian)

10 years agoTranslated using Weblate (Dutch)
b p [Sun, 5 Jan 2014 10:31:11 +0000 (11:31 +0100)]
Translated using Weblate (Dutch)

10 years agoTranslated using Weblate (Russian)
Сергей Голубев [Sun, 29 Dec 2013 15:58:57 +0000 (16:58 +0100)]
Translated using Weblate (Russian)

10 years agoTranslated using Weblate (German)
Jabo Babo [Wed, 18 Dec 2013 20:31:40 +0000 (21:31 +0100)]
Translated using Weblate (German)

Kürzen, da es sonst nicht in den Button passt.

10 years agoTranslated using Weblate (Lithuanian)
Jonas Kriaučiūnas [Wed, 11 Dec 2013 18:14:48 +0000 (19:14 +0100)]
Translated using Weblate (Lithuanian)

10 years agoTranslated using Weblate (Russian)
Ilya Zhuravlev [Tue, 26 Nov 2013 18:57:03 +0000 (19:57 +0100)]
Translated using Weblate (Russian)

10 years agoTranslated using Weblate (German)
Pilz Adam [Sun, 1 Dec 2013 22:46:45 +0000 (23:46 +0100)]
Translated using Weblate (German)

10 years agoTranslated using Weblate (Dutch)
Mitchell Ward [Sat, 7 Dec 2013 11:20:42 +0000 (12:20 +0100)]
Translated using Weblate (Dutch)

10 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Wed, 4 Dec 2013 10:23:25 +0000 (11:23 +0100)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Romanian)
Mitchell Ward [Sat, 7 Dec 2013 11:18:02 +0000 (12:18 +0100)]
Translated using Weblate (Romanian)

10 years agoTranslated using Weblate (Chinese (China))
Shen Zheyu [Mon, 25 Nov 2013 09:04:26 +0000 (10:04 +0100)]
Translated using Weblate (Chinese (China))

10 years agoTranslated using Weblate (Portuguese (Brazil))
Frederico Guimarães [Mon, 25 Nov 2013 01:13:09 +0000 (02:13 +0100)]
Translated using Weblate (Portuguese (Brazil))

10 years agoTranslated using Weblate (French)
we prefer instagib metl3 [Sat, 23 Nov 2013 17:03:39 +0000 (18:03 +0100)]
Translated using Weblate (French)

10 years agoTranslated using Weblate (German)
Pilz Adam [Sat, 23 Nov 2013 16:46:09 +0000 (17:46 +0100)]
Translated using Weblate (German)

10 years agoFix g_settings not being included
Sfan5 [Sun, 16 Feb 2014 07:16:49 +0000 (08:16 +0100)]
Fix g_settings not being included

10 years agoFix broken cross-compiling
Sfan5 [Sun, 16 Feb 2014 07:07:57 +0000 (08:07 +0100)]
Fix broken cross-compiling

10 years agoSchematic: Add force_placement parameter to minetest.place_structure API
kwolekr [Sun, 16 Feb 2014 00:46:57 +0000 (19:46 -0500)]
Schematic: Add force_placement parameter to minetest.place_structure API

10 years agoAdd minetest.set_noiseparam_defaults() Lua API
kwolekr [Sat, 15 Feb 2014 23:20:15 +0000 (18:20 -0500)]
Add minetest.set_noiseparam_defaults() Lua API

10 years agoAccept any error response code for missing index.mth
Kahrl [Sat, 15 Feb 2014 01:19:49 +0000 (02:19 +0100)]
Accept any error response code for missing index.mth

10 years agoAdd check to avoid usage of broken LuaJIT < 2.0.0beta8
sapier [Sat, 8 Feb 2014 14:45:09 +0000 (15:45 +0100)]
Add check to avoid usage of broken LuaJIT < 2.0.0beta8

10 years agoFix possible missing unlock of env_lock
sapier [Wed, 12 Feb 2014 18:47:27 +0000 (19:47 +0100)]
Fix possible missing unlock of env_lock

10 years agoServerEnvironment: Remove direct dependency on EmergeManager
kwolekr [Sun, 9 Feb 2014 21:36:30 +0000 (16:36 -0500)]
ServerEnvironment: Remove direct dependency on EmergeManager

10 years agoDefine strlcpy on platforms that do not have it
kwolekr [Sun, 9 Feb 2014 18:12:28 +0000 (13:12 -0500)]
Define strlcpy on platforms that do not have it

10 years agoAdd capability to read table flag fields from Lua API
kwolekr [Sun, 9 Feb 2014 17:38:50 +0000 (12:38 -0500)]
Add capability to read table flag fields from Lua API

10 years agoTune block emerge and sending parameters to more aggressive values
kwolekr [Sat, 8 Feb 2014 23:32:12 +0000 (18:32 -0500)]
Tune block emerge and sending parameters to more aggressive values

10 years agoMake flag strings clear specified flag with 'no' prefix
kwolekr [Sat, 8 Feb 2014 22:50:26 +0000 (17:50 -0500)]
Make flag strings clear specified flag with 'no' prefix

Remove flagmask field from set_mapgen_params table
Add small bits of needed documentation

10 years agoRemove lots of dead code
sapier [Tue, 4 Feb 2014 23:17:57 +0000 (00:17 +0100)]
Remove lots of dead code
Add check for datatype overflows
use native datatype indices instead of fixed 16bit/32bit ones

10 years agoFix invalid check for fread error on extracting zip
sapier [Fri, 7 Feb 2014 20:29:31 +0000 (21:29 +0100)]
Fix invalid check for fread error on extracting zip

10 years agoFix memory leak in database migration
Selat [Wed, 5 Feb 2014 17:52:59 +0000 (19:52 +0200)]
Fix memory leak in database migration

10 years agoAdd missing header
BlockMen [Thu, 6 Feb 2014 20:55:12 +0000 (21:55 +0100)]
Add missing header

10 years agoAdd the option to bind to a specific address
ShadowNinja [Wed, 5 Feb 2014 20:24:46 +0000 (21:24 +0100)]
Add the option to bind to a specific address

10 years agoRemove blank default values for emergequeue_limit_* settings
kwolekr [Wed, 5 Feb 2014 05:17:53 +0000 (00:17 -0500)]
Remove blank default values for emergequeue_limit_* settings

Add checks for invalid user input for important settings
Rename Settings::tryGet* to Settings::get*NoEx for consistency

10 years agoRevert "Fix settings to honor numeric conversion errors"
kwolekr [Wed, 5 Feb 2014 05:05:58 +0000 (00:05 -0500)]
Revert "Fix settings to honor numeric conversion errors"

This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.

10 years agoFix another heap-use-after-free in pause menu.
Ilya Zhuravlev [Thu, 16 Jan 2014 12:54:50 +0000 (16:54 +0400)]
Fix another heap-use-after-free in pause menu.

10 years agoFix unexpected preprocessor directive in gettext.cpp
Ilya Zhuravlev [Sun, 2 Feb 2014 12:22:33 +0000 (16:22 +0400)]
Fix unexpected preprocessor directive in gettext.cpp

10 years agoFix settings to honor numeric conversion errors
sapier [Wed, 5 Feb 2014 00:35:40 +0000 (01:35 +0100)]
Fix settings to honor numeric conversion errors
Rename try* non exceptioning functions to *NoEx

10 years agoUpdate minetest.conf.example
kwolekr [Tue, 4 Feb 2014 03:47:29 +0000 (22:47 -0500)]
Update minetest.conf.example

10 years agoHuge overhaul of the entire MapgenParams system
kwolekr [Tue, 4 Feb 2014 03:42:10 +0000 (22:42 -0500)]
Huge overhaul of the entire MapgenParams system

MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations.
Separation between the common and mapgen-specific parameters is now strongly defined.
Mapgen parameters objects are now properly encapsulated within the proper subsystems.

10 years agoSettings: Add no-exception variants of each get method
kwolekr [Tue, 4 Feb 2014 03:40:57 +0000 (22:40 -0500)]
Settings: Add no-exception variants of each get method

10 years agoFix crash when a error occurs in a globalstep callback
ShadowNinja [Mon, 3 Feb 2014 23:15:03 +0000 (18:15 -0500)]
Fix crash when a error occurs in a globalstep callback

10 years agoEscape texture pack names
ShadowNinja [Mon, 3 Feb 2014 22:57:19 +0000 (17:57 -0500)]
Escape texture pack names

10 years agoAdd minetest.kick_player(name, reason)
sapier [Sun, 26 Jan 2014 17:40:25 +0000 (18:40 +0100)]
Add minetest.kick_player(name, reason)

10 years agoRemove noisy error messages, prepend "pathfinder: " to pathfinder messages
sapier [Mon, 3 Feb 2014 19:13:31 +0000 (20:13 +0100)]
Remove noisy error messages, prepend "pathfinder: " to pathfinder messages

10 years agoAdd missing "-" to list of allowed chars in media filenames
sapier [Sun, 2 Feb 2014 14:34:33 +0000 (15:34 +0100)]
Add missing "-" to list of allowed chars in media filenames

10 years agoAdd additional check to avoid broadcasting private messages in error conditions
sapier [Sun, 2 Feb 2014 00:55:24 +0000 (01:55 +0100)]
Add additional check to avoid broadcasting private messages in error conditions

10 years agoAdd player:override_day_night_ratio() for arbitrarily controlling sunlight brightness
Perttu Ahola [Fri, 18 Oct 2013 08:53:19 +0000 (11:53 +0300)]
Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness

10 years agoAdd player:set_sky() with simple skybox support
Perttu Ahola [Thu, 2 May 2013 20:52:50 +0000 (23:52 +0300)]
Add player:set_sky() with simple skybox support

10 years agoAdd propper client initialization
sapier [Thu, 30 Jan 2014 23:24:00 +0000 (00:24 +0100)]
Add propper client initialization
  -add client states to avoid server sending data to uninitialized clients
  -don't show uninitialized clients to other players
  -propper client disconnect handling
Minor comment fixes in server
Minor bugfixes in connection
  -improved peer id calculation
  -honor NDEBUG flag
  -improved disconnect handling
  -increased initial send window
Remove some dead code

10 years agoNew HUD element - waypoint.
RealBadAngel [Sun, 26 Jan 2014 20:31:59 +0000 (21:31 +0100)]
New HUD element - waypoint.

10 years agoFix bug only half of unreliable queue handled per step in worst case
sapier [Sun, 26 Jan 2014 15:59:36 +0000 (16:59 +0100)]
Fix bug only half of unreliable queue handled per step in worst case

10 years agoFix use of previously deallocated EmergeManager
kwolekr [Sun, 26 Jan 2014 06:12:18 +0000 (01:12 -0500)]
Fix use of previously deallocated EmergeManager

10 years agoFix error on mod download failure
ShadowNinja [Fri, 24 Jan 2014 20:22:22 +0000 (15:22 -0500)]
Fix error on mod download failure

10 years agoPass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
ShadowNinja [Fri, 24 Jan 2014 00:21:01 +0000 (19:21 -0500)]
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks

10 years agoInclude system info in the HTTP user agent on Windows
Sfan5 [Sun, 19 Jan 2014 13:32:03 +0000 (14:32 +0100)]
Include system info in the HTTP user agent on Windows

10 years agoAdd pointed_thing to minetest.register_on_placenode
ShadowNinja [Wed, 22 Jan 2014 03:05:29 +0000 (22:05 -0500)]
Add pointed_thing to minetest.register_on_placenode

As suggested by qwrwed.

10 years agoConnection: Stop processing malformed packet when encountered
kwolekr [Tue, 21 Jan 2014 14:33:33 +0000 (09:33 -0500)]
Connection: Stop processing malformed packet when encountered

10 years agoFix curl dll not getting installed when sound is disabled
Sfan5 [Tue, 21 Jan 2014 12:35:26 +0000 (13:35 +0100)]
Fix curl dll not getting installed when sound is disabled

10 years agoFix minetest.rotate_and_place() calling on_rightclick() with nil/random param for...
PilzAdam [Sun, 19 Jan 2014 22:16:22 +0000 (23:16 +0100)]
Fix minetest.rotate_and_place() calling on_rightclick() with nil/random param for node

10 years agoUpdate lua_api.txt documentation
kwolekr [Sun, 19 Jan 2014 08:00:47 +0000 (03:00 -0500)]
Update lua_api.txt documentation

10 years agoLuaVoxelManip: Add get_param2_data and set_param2_data
kwolekr [Sun, 19 Jan 2014 07:55:34 +0000 (02:55 -0500)]
LuaVoxelManip: Add get_param2_data and set_param2_data

10 years agoSchematic: Read slice probability table from schematic descriptors
kwolekr [Sun, 19 Jan 2014 07:44:22 +0000 (02:44 -0500)]
Schematic: Read slice probability table from schematic descriptors

10 years agoFixed mainmenu lua errors because of changes in get_textlist_index
Dániel Varga [Thu, 16 Jan 2014 21:16:43 +0000 (22:16 +0100)]
Fixed mainmenu lua errors because of changes in get_textlist_index

Fixed lua error when none of the worlds or servers selected are and connect,
delete or configure buttons used.

10 years agoDeindent HTTPFetchRequest::HTTPFetchRequest()
ShadowNinja [Fri, 17 Jan 2014 00:33:02 +0000 (19:33 -0500)]
Deindent HTTPFetchRequest::HTTPFetchRequest()

10 years agoPrevent player jumping into nodes from below
BlockMen [Wed, 15 Jan 2014 13:49:13 +0000 (14:49 +0100)]
Prevent player jumping into nodes from below

Fixes camera glitch and cheating at drowning

10 years agoPrevent placing node when player would be inside new node
BlockMen [Wed, 15 Jan 2014 20:26:54 +0000 (21:26 +0100)]
Prevent placing node when player would be inside new node

10 years agoFix win32 reading semaphore count not working (broke all queues)
sapier [Tue, 14 Jan 2014 21:21:15 +0000 (22:21 +0100)]
Fix win32 reading semaphore count not working (broke all queues)

10 years agoMake default User-agent follow RFC 2616
ShadowNinja [Wed, 15 Jan 2014 16:58:28 +0000 (11:58 -0500)]
Make default User-agent follow RFC 2616

10 years agoFix building with MinGW
Sfan5 [Wed, 15 Jan 2014 16:35:00 +0000 (17:35 +0100)]
Fix building with MinGW

10 years agoFix building under MSVC
BlockMen [Tue, 14 Jan 2014 15:14:56 +0000 (16:14 +0100)]
Fix building under MSVC

10 years agoFix spelling of "attempt"
ShadowNinja [Tue, 14 Jan 2014 03:11:31 +0000 (22:11 -0500)]
Fix spelling of "attempt"