oweals/minetest.git
10 years agoUpdate documentation on is_ground_content
ShadowNinja [Thu, 24 Apr 2014 02:42:49 +0000 (22:42 -0400)]
Update documentation on is_ground_content

10 years agoRevert "Add backtrace to error function"
ShadowNinja [Thu, 24 Apr 2014 02:37:27 +0000 (22:37 -0400)]
Revert "Add backtrace to error function"

This reverts commit 5b518ed2feff28c9bf21ad940c1b211b72d71bd1.

This caused duplicate tracebacks and tracebacks when unwanted.
It also ignored the level argument to error() and didn't pass the message (or level) to debug.traceback().
Use xpcall() or lua_pcall()'s errorhandler argument instead.

10 years agoFix lost pause support in singleplayer
sapier [Thu, 24 Apr 2014 17:47:17 +0000 (19:47 +0200)]
Fix lost pause support in singleplayer

10 years agoFix argument type of the RaiseException() function
FessWolf [Tue, 22 Apr 2014 19:19:49 +0000 (22:19 +0300)]
Fix argument type of the RaiseException() function

10 years agoRevert binary database block position encoding
ShadowNinja [Tue, 22 Apr 2014 16:52:48 +0000 (12:52 -0400)]
Revert binary database block position encoding

This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7.

These weren't correct.  Add a black magic warning instead.

10 years agoFixed wrong node texture rotation for facedirs 5 and 7
MetaDucky [Fri, 18 Apr 2014 15:29:28 +0000 (17:29 +0200)]
Fixed wrong node texture rotation for facedirs 5 and 7

10 years agoFix formspec replacement handling for in game formspecs 1240/head
sapier [Sun, 20 Apr 2014 00:40:25 +0000 (02:40 +0200)]
Fix formspec replacement handling for in game formspecs

10 years agomake formspec textarea wordwrap
RealBadAngel [Tue, 22 Apr 2014 11:25:02 +0000 (13:25 +0200)]
make formspec textarea wordwrap

Thats updated #795

10 years agoAdd missing ip address to player join log entry
sapier [Mon, 21 Apr 2014 20:28:52 +0000 (22:28 +0200)]
Add missing ip address to player join log entry

10 years agoTextureable sun and moon.
RealBadAngel [Fri, 18 Apr 2014 10:47:25 +0000 (12:47 +0200)]
Textureable sun and moon.

10 years agoFix red background missing in deathscreen
sapier [Mon, 21 Apr 2014 18:10:23 +0000 (20:10 +0200)]
Fix red background missing in deathscreen

10 years agoFix chat console not working anymore
sapier [Sun, 20 Apr 2014 08:55:08 +0000 (10:55 +0200)]
Fix chat console not working anymore

10 years agoFix macro ARRAYSIZE name collision on windows
sapier [Sun, 20 Apr 2014 00:47:02 +0000 (02:47 +0200)]
Fix macro ARRAYSIZE name collision on windows

10 years agoReduce log level for incoming crap packets
sapier [Sat, 19 Apr 2014 20:12:01 +0000 (22:12 +0200)]
Reduce log level for incoming crap packets
Add log entry for peer timeout

10 years agoFix win32 build (typo in jthread lock cleanup)
sapier [Sat, 19 Apr 2014 12:09:01 +0000 (14:09 +0200)]
Fix win32 build (typo in jthread lock cleanup)

10 years agoReplace deathscreen by formspec variant 1178/head
sapier [Wed, 19 Mar 2014 18:13:12 +0000 (19:13 +0100)]
Replace deathscreen by formspec variant

10 years agoBunch of small fixes (coding style, very unlikely errors, warning messages) 1201/head
sapier [Sun, 6 Apr 2014 13:12:04 +0000 (15:12 +0200)]
Bunch of small fixes (coding style, very unlikely errors, warning messages)

10 years agoUse narrow_to_wide in gettext instead of os dependent conversion fct 1204/head
sapier [Sun, 6 Apr 2014 08:39:32 +0000 (10:39 +0200)]
Use narrow_to_wide in gettext instead of os dependent conversion fct

10 years agojthread remove locks that aren't absolutely required 1130/head
sapier [Fri, 31 Jan 2014 21:16:47 +0000 (22:16 +0100)]
jthread remove locks that aren't absolutely required
add c++11 atomic support (optional)

10 years agoAdd support for threadnames on BSD, Windows (MSVC-only), and OSX 1222/head
ShadowNinja [Sun, 13 Apr 2014 20:47:24 +0000 (16:47 -0400)]
Add support for threadnames on BSD, Windows (MSVC-only), and OSX

10 years agoFix warnings
proller [Fri, 18 Apr 2014 22:24:45 +0000 (02:24 +0400)]
Fix warnings

10 years agoRemove liquid_finite and weather 1235/head
proller [Fri, 18 Apr 2014 17:08:03 +0000 (21:08 +0400)]
Remove liquid_finite and weather

10 years agoAdd redis database backend
Sfan5 [Tue, 8 Apr 2014 19:39:21 +0000 (21:39 +0200)]
Add redis database backend

10 years agoFix invalid liquid lighting.
RealBadAngel [Wed, 16 Apr 2014 14:56:54 +0000 (16:56 +0200)]
Fix invalid liquid lighting.

10 years agoUse bit shifts rather than multiplication in block position encoding
ShadowNinja [Tue, 15 Apr 2014 20:25:04 +0000 (16:25 -0400)]
Use bit shifts rather than multiplication in block position encoding

10 years agoUse binary operators rather than "Python modulo" in decoding block positions
ShadowNinja [Tue, 15 Apr 2014 20:07:53 +0000 (16:07 -0400)]
Use binary operators rather than "Python modulo" in decoding block positions

10 years agoFix all warnings reported by clang
Sfan5 [Tue, 15 Apr 2014 17:49:32 +0000 (19:49 +0200)]
Fix all warnings reported by clang

10 years agoFix problem with newer MinGW runtimes
Sfan5 [Mon, 14 Apr 2014 16:03:28 +0000 (18:03 +0200)]
Fix problem with newer MinGW runtimes

10 years agoAdd checks for nil in minetest.after
ShadowNinja [Sun, 13 Apr 2014 21:50:46 +0000 (17:50 -0400)]
Add checks for nil in minetest.after

10 years agoReorder initialization of member variables to make GCC happy
ShadowNinja [Sun, 13 Apr 2014 21:47:58 +0000 (17:47 -0400)]
Reorder initialization of member variables to make GCC happy

10 years agoUse integers instead of float values 1114/head
BlockMen [Sat, 12 Apr 2014 11:50:22 +0000 (13:50 +0200)]
Use integers instead of float values

10 years agoAdd player:set_eye_offset() by @MirceaKitsune and clean up
BlockMen [Fri, 11 Apr 2014 13:32:46 +0000 (15:32 +0200)]
Add player:set_eye_offset() by @MirceaKitsune and clean up

10 years agoAdd third person view
BlockMen [Wed, 8 Jan 2014 12:47:53 +0000 (13:47 +0100)]
Add third person view

10 years agoFix write and read S32 vectors
BlockMen [Sat, 12 Apr 2014 15:39:51 +0000 (17:39 +0200)]
Fix write and read S32 vectors

10 years agoFix MSVC build
BlockMen [Sat, 12 Apr 2014 15:36:40 +0000 (17:36 +0200)]
Fix MSVC build

10 years agoFix broken Ipv4 serialization on win32
sapier [Fri, 11 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Fix broken Ipv4 serialization on win32

10 years agoFix broken win32+bsd build
sapier [Fri, 11 Apr 2014 19:45:30 +0000 (21:45 +0200)]
Fix broken win32+bsd build

10 years agoFix crash when teleporting near unknown node
BlockMen [Fri, 11 Apr 2014 19:38:16 +0000 (21:38 +0200)]
Fix crash when teleporting near unknown node

10 years agoInfer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANY
Kahrl [Fri, 7 Mar 2014 00:00:03 +0000 (01:00 +0100)]
Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANY

10 years agoAdd support for named threads (atm linux only) 1199/head
sapier [Sat, 5 Apr 2014 13:27:33 +0000 (15:27 +0200)]
Add support for named threads (atm linux only)

10 years agoMake config honor build system specified config defines 1205/head
sapier [Sun, 6 Apr 2014 08:48:04 +0000 (10:48 +0200)]
Make config honor build system specified config defines

10 years agoMinor fixes for file/modlist download in mainmenu 1208/head
sapier [Sun, 6 Apr 2014 13:20:45 +0000 (15:20 +0200)]
Minor fixes for file/modlist download in mainmenu

10 years agoCleanup client init states by bumping protocol version 1143/head
sapier [Thu, 13 Feb 2014 19:17:42 +0000 (20:17 +0100)]
Cleanup client init states by bumping protocol version
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready
Handle clients with protocol version < 23 (almost) same way as before
Make client tell server about it's version
Add client state to not send bogus player position updates prior init complete
Add access to statistics information (peer connction time,rtt,version)
Fix clients standing stalled in world while preloading item visuals (new clients only)
Add get_player_information to read client specific information from lua

10 years agoPass pointer to nodedef directly to avoid recalculation in quite often called function 1203/head
sapier [Sun, 6 Apr 2014 08:32:57 +0000 (10:32 +0200)]
Pass pointer to nodedef directly to avoid recalculation in quite often called function

10 years agoPerformance optimized button to button mask evaluation 1194/head
sapier [Thu, 3 Apr 2014 18:26:26 +0000 (20:26 +0200)]
Performance optimized button to button mask evaluation

10 years agoFix lost change password button 1192/head
sapier [Mon, 31 Mar 2014 20:50:03 +0000 (22:50 +0200)]
Fix lost change password button

10 years agoFix bug in RemoteClient::GetNextBlocks
Perttu Ahola [Wed, 26 Mar 2014 16:53:11 +0000 (18:53 +0200)]
Fix bug in RemoteClient::GetNextBlocks

10 years agoFix merge mistake when rebasing for PR #1169
Ciaran Gultnieks [Fri, 21 Mar 2014 20:12:13 +0000 (20:12 +0000)]
Fix merge mistake when rebasing for PR #1169

10 years agoFix double sending of chat messages
sapier [Sun, 23 Mar 2014 18:15:38 +0000 (19:15 +0100)]
Fix double sending of chat messages

10 years agoFix "ghost stacks" created when a player clicks an item on the ground:
Novatux [Tue, 18 Mar 2014 19:02:18 +0000 (20:02 +0100)]
Fix "ghost stacks" created when a player clicks an item on the ground:
since the object is not immediately removed, any other code may still
think an object is there, therefore leading to item duplication. This code
therefore sets the itemstring to '' after the object is picked up to avoid
such issues

10 years agoFix serializing of signed numbers in serializeStructToString
ShadowNinja [Fri, 21 Mar 2014 09:18:35 +0000 (05:18 -0400)]
Fix serializing of signed numbers in serializeStructToString

10 years agoNormal maps generation on the fly.
RealBadAngel [Fri, 21 Mar 2014 00:32:00 +0000 (01:32 +0100)]
Normal maps generation on the fly.
Parallax mapping with slope information.
Overriding normal maps.

10 years agoAdd more informative error messages for inventory and item method errors
ShadowNinja [Sat, 15 Mar 2014 21:20:52 +0000 (17:20 -0400)]
Add more informative error messages for inventory and item method errors

10 years agoRemove lua_State parameter from LuaError::LuaError
ShadowNinja [Sat, 15 Mar 2014 20:28:59 +0000 (16:28 -0400)]
Remove lua_State parameter from LuaError::LuaError

10 years agoRevert "Make sure we get a stacktrace for as many lua errors as possible"
ShadowNinja [Sat, 15 Mar 2014 20:01:06 +0000 (16:01 -0400)]
Revert "Make sure we get a stacktrace for as many lua errors as possible"

This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89.

Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this
caused a second, empty traceback in most cases.  In cases where there wasn't
annother traceback the stack had already unwound and the traceback was empty.

10 years agoMake serializeStructToString use an ostringstream
ShadowNinja [Sat, 15 Mar 2014 19:12:11 +0000 (15:12 -0400)]
Make serializeStructToString use an ostringstream

10 years agoFix sound not being played at the correct place.
Novatux [Sat, 15 Mar 2014 14:08:43 +0000 (15:08 +0100)]
Fix sound not being played at the correct place.

10 years agoMake sure we get a stacktrace for as many lua errors as possible
Sfan5 [Sat, 15 Mar 2014 13:49:30 +0000 (14:49 +0100)]
Make sure we get a stacktrace for as many lua errors as possible

10 years agoRevert "Use fixed-width format specifiers in serializeStructToString"
ShadowNinja [Fri, 14 Mar 2014 15:20:52 +0000 (11:20 -0400)]
Revert "Use fixed-width format specifiers in serializeStructToString"

This reverts commit 875f1327a47f78d783c3abc7f7acc3977dc286ec.
Fixed width format specifiers are only officially availale in C99 and C++11.

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 1164/head
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 973/head
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))