oweals/minetest.git
10 years agoUpdate mapgen params in ServerMap after Mapgen init
kwolekr [Sat, 14 Dec 2013 15:49:20 +0000 (10:49 -0500)]
Update mapgen params in ServerMap after Mapgen init

10 years agoHandle Lua errors in on_generate callbacks instead of throwing SIGABRT
kwolekr [Sat, 14 Dec 2013 06:59:16 +0000 (01:59 -0500)]
Handle Lua errors in on_generate callbacks instead of throwing SIGABRT

10 years agoAdd map feature generation notify Lua API
kwolekr [Sat, 14 Dec 2013 06:52:06 +0000 (01:52 -0500)]
Add map feature generation notify Lua API

10 years agoRemove support for optdepends.txt
ShadowNinja [Fri, 13 Dec 2013 17:58:32 +0000 (12:58 -0500)]
Remove support for optdepends.txt

10 years agoDon't call curl_global_init twice
Kahrl [Fri, 13 Dec 2013 17:08:53 +0000 (18:08 +0100)]
Don't call curl_global_init twice

10 years agoReplace any direct curl usage by httpfetch
sapier [Sat, 9 Nov 2013 21:49:27 +0000 (22:49 +0100)]
Replace any direct curl usage by httpfetch

10 years agoUse httpfetch_async in serverlist announce code
Kahrl [Thu, 29 Aug 2013 03:58:13 +0000 (05:58 +0200)]
Use httpfetch_async in serverlist announce code

10 years agoImplement urlencode and urldecode
Kahrl [Thu, 29 Aug 2013 03:56:48 +0000 (05:56 +0200)]
Implement urlencode and urldecode

10 years agoRewrite client media download and support hash-based remote download
Kahrl [Thu, 29 Aug 2013 03:22:18 +0000 (05:22 +0200)]
Rewrite client media download and support hash-based remote download

Move most of the media-related code in client.cpp into a new class
ClientMediaDownloader (clientmedia.cpp, clientmedia.h). Among other
things, this class does the following things:

- Download [remote_server][sha1] instead of [remote_server][name]. This
is to support servers that provide the same file name with different
contents.
- Initially fetch [remote_server]index.mth. This file should follow the
Minetest Hashset format (currently version 1) and contain a list of SHA1
hashes that exist on the server.
- The list of needed SHA1s is uploaded (via HTTP POST) when index.mth is
requested, so servers can optionally narrow down the list to the needs
of the client.
- If index.mth is missing (HTTP response code 404), we enter compat mode,
fetching [remote_server][name] as before this commit.
- remote_server can now contain multiple servers, separated by commas.
The downloader code attempts to split requests between the different
servers, as permitted by each server's index.mth. If one server claims
to have a file but actually doesn't (or something fails), we ask a
different server that also claims to have it.
- As before, when none of the remote servers provide a particular
file, we download it via the conventional method, i.e. using
the minetest protocol: TOSERVER_REQUEST_MEDIA / TOCLIENT_MEDIA.
- Bugfix: Every downloaded file's SHA1 is now verified against the SHA1
announced by the minetest server (before loading it and inserting it
into the file cache).
- Bugfix: Only send TOSERVER_RECEIVED_MEDIA when we actually have all
media. This should fix #863.

10 years agoImplement httpfetch module and initialize it from main()
Kahrl [Thu, 29 Aug 2013 03:04:56 +0000 (05:04 +0200)]
Implement httpfetch module and initialize it from main()

Add curl_parallel_limit setting that will replace media_fetch_threads in
a later commit.

Fix a typo in MutexedQueue::pop_back() that made it impossible to compile
code that used this function. (Noticed this while implementing httpfetch.)

10 years agoFix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
Ilya Zhuravlev [Fri, 13 Dec 2013 09:18:00 +0000 (13:18 +0400)]
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.

10 years agoMake line_of_sight return blocking node position
stujones11 [Wed, 11 Dec 2013 20:33:39 +0000 (20:33 +0000)]
Make line_of_sight return blocking node position

10 years agoAdd 'on_prejoinplayer' callback
kaeza [Thu, 12 Dec 2013 06:51:35 +0000 (04:51 -0200)]
Add 'on_prejoinplayer' callback

10 years agoAdd configurable font shadow. 1049/head
Ilya Zhuravlev [Thu, 12 Dec 2013 17:47:54 +0000 (21:47 +0400)]
Add configurable font shadow.

10 years agoImplement search tab and version picker
sapier [Wed, 11 Dec 2013 22:07:38 +0000 (23:07 +0100)]
Implement search tab and version picker

10 years agoAdd Lithuanian translation.
Ilya Zhuravlev [Wed, 11 Dec 2013 18:10:56 +0000 (22:10 +0400)]
Add Lithuanian translation.

10 years agoCheck if width, height or start index of a list[] is negative
PilzAdam [Mon, 9 Dec 2013 21:39:24 +0000 (22:39 +0100)]
Check if width, height or start index of a list[] is negative

10 years agoOptimize shaders code. Add settings at compile time.
RealBadAngel [Mon, 9 Dec 2013 12:25:43 +0000 (13:25 +0100)]
Optimize shaders code. Add settings at compile time.

10 years agoMapgen Indev: Fix segfault in cave generation due to uninitialized variable
kwolekr [Mon, 9 Dec 2013 03:13:05 +0000 (22:13 -0500)]
Mapgen Indev: Fix segfault in cave generation due to uninitialized variable

10 years agoFix shaders on some GPUs 1041/head
Novatux [Sun, 8 Dec 2013 07:01:20 +0000 (08:01 +0100)]
Fix shaders on some GPUs

10 years agoFix leak and possible segfault in minetest.set_mapgen_params 606/head
kwolekr [Sun, 8 Dec 2013 06:37:41 +0000 (01:37 -0500)]
Fix leak and possible segfault in minetest.set_mapgen_params

10 years agoEmergeManager: Fix Lua mapgen override param handling
kwolekr [Sun, 8 Dec 2013 04:43:46 +0000 (23:43 -0500)]
EmergeManager: Fix Lua mapgen override param handling

10 years agoDungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6
kwolekr [Sun, 8 Dec 2013 03:45:21 +0000 (22:45 -0500)]
Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6

10 years agoMove script_run_callbacks to Lua
ShadowNinja [Sun, 8 Dec 2013 03:03:07 +0000 (22:03 -0500)]
Move script_run_callbacks to Lua

10 years agoFix paralax occlusion setting
ShadowNinja [Sat, 7 Dec 2013 03:40:04 +0000 (22:40 -0500)]
Fix paralax occlusion setting

10 years agoFix small mistake in Lua API docs
sfan5 [Fri, 6 Dec 2013 17:37:32 +0000 (18:37 +0100)]
Fix small mistake in Lua API docs

10 years agoFix win32 jthread implementation 1040/head
sapier [Fri, 6 Dec 2013 16:49:10 +0000 (17:49 +0100)]
Fix win32 jthread implementation

10 years agoImprove (re)spawn, add cache_block_before_spawn and max_spawn_height settings
sweetbomber [Thu, 30 May 2013 16:14:22 +0000 (17:14 +0100)]
Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings

10 years agoOnly create one alias metatable
ShadowNinja [Wed, 4 Dec 2013 18:39:57 +0000 (13:39 -0500)]
Only create one alias metatable

10 years agoUse a table in set_physics_override()
PilzAdam [Tue, 3 Dec 2013 21:26:40 +0000 (22:26 +0100)]
Use a table in set_physics_override()

10 years agoAdd sneak and sneak_glitch to set_physics_override()
PilzAdam [Tue, 3 Dec 2013 17:51:15 +0000 (18:51 +0100)]
Add sneak and sneak_glitch to set_physics_override()

10 years agoFix LevelDB maps
Sfan5 [Tue, 3 Dec 2013 19:03:20 +0000 (20:03 +0100)]
Fix LevelDB maps

10 years agoShaders rework.
RealBadAngel [Tue, 3 Dec 2013 16:21:40 +0000 (17:21 +0100)]
Shaders rework.

10 years agoDont move item back when not clicking on a slot 1034/head
PilzAdam [Tue, 3 Dec 2013 17:05:36 +0000 (18:05 +0100)]
Dont move item back when not clicking on a slot

10 years agoRename names -> can_see_far_names in announce
proller [Tue, 3 Dec 2013 16:13:33 +0000 (20:13 +0400)]
Rename names -> can_see_far_names in announce

10 years agoFix broken async locking in release build
sapier [Mon, 2 Dec 2013 21:21:58 +0000 (22:21 +0100)]
Fix broken async locking in release build

10 years agoRemove link to #, add unlimited_player_transfer_distance to announce
proller [Tue, 3 Dec 2013 15:48:43 +0000 (19:48 +0400)]
Remove link to #, add unlimited_player_transfer_distance to announce

10 years agoFix MinGW build
Sfan5 [Sun, 1 Dec 2013 19:58:46 +0000 (20:58 +0100)]
Fix MinGW build

10 years agoCleanup jthread and fix win32 build 1029/head
sapier [Sun, 1 Dec 2013 00:52:06 +0000 (01:52 +0100)]
Cleanup jthread and fix win32 build

10 years agoCavegen: Fix possible out-of-bounds heightmap access
kwolekr [Sun, 1 Dec 2013 13:57:35 +0000 (08:57 -0500)]
Cavegen: Fix possible out-of-bounds heightmap access

10 years agoDecoration: Add schematic Y-slice probability support
kwolekr [Sun, 1 Dec 2013 06:23:39 +0000 (01:23 -0500)]
Decoration: Add schematic Y-slice probability support

10 years agoFix log threadname lookup handling not beeing threadsafe 1028/head
sapier [Sat, 30 Nov 2013 20:22:15 +0000 (21:22 +0100)]
Fix log threadname lookup handling not beeing threadsafe

10 years agoAssume a selection box for fences
0gb.us [Wed, 16 Oct 2013 05:17:06 +0000 (22:17 -0700)]
Assume a selection box for fences

Similar to assuming a selection box for the nodebox drawtype, minetest.register_item() now assumes a selection box for the fencelike drawtype.

10 years agoAdd error handler to async step
ShadowNinja [Sat, 30 Nov 2013 17:24:54 +0000 (12:24 -0500)]
Add error handler to async step

10 years agoOptimize table creation
ShadowNinja [Sat, 30 Nov 2013 17:11:07 +0000 (12:11 -0500)]
Optimize table creation

10 years agoAdd documentation for minetest.swap_node
Novatux [Sat, 30 Nov 2013 17:57:56 +0000 (18:57 +0100)]
Add documentation for minetest.swap_node

10 years agoAdd minetest.swap_node
Novatux [Sat, 23 Nov 2013 14:35:49 +0000 (15:35 +0100)]
Add minetest.swap_node

10 years agoFix MSVC build.
Ilya Zhuravlev [Sat, 30 Nov 2013 17:00:18 +0000 (21:00 +0400)]
Fix MSVC build.

10 years agoChange default value of is_ground_content to true
kwolekr [Sat, 30 Nov 2013 07:37:10 +0000 (02:37 -0500)]
Change default value of is_ground_content to true

Most modders would otherwise forget to explicitly define this, and generated nodes aliased from mods would wall-off caves

10 years agoLuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, made optio...
kwolekr [Sat, 30 Nov 2013 05:27:39 +0000 (00:27 -0500)]
LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, made optional this time; also fixed a slight bug with night values being ignored

10 years agoLuaVoxelManip: Add get_light_data() and set_light_data()
kwolekr [Sat, 30 Nov 2013 02:16:08 +0000 (21:16 -0500)]
LuaVoxelManip: Add get_light_data() and set_light_data()

10 years agoFixed potential NULL pointer and leak when setting node metadata
MetaDucky [Wed, 20 Nov 2013 21:11:57 +0000 (22:11 +0100)]
Fixed potential NULL pointer and leak when setting node metadata

10 years agoCavegen: Respect is_ground_content MapNode setting; fix some code formatting issues
kwolekr [Sat, 30 Nov 2013 01:54:04 +0000 (20:54 -0500)]
Cavegen: Respect is_ground_content MapNode setting; fix some code formatting issues

10 years agoFix broken thread stop handling 1026/head
sapier [Sat, 30 Nov 2013 00:51:54 +0000 (01:51 +0100)]
Fix broken thread stop handling

10 years agoFix old gcc build
sapier [Fri, 29 Nov 2013 22:36:18 +0000 (23:36 +0100)]
Fix old gcc build

10 years agoFix modstore/favourites hang by adding asynchronous lua job support 977/head
sapier [Tue, 26 Nov 2013 17:15:31 +0000 (18:15 +0100)]
Fix modstore/favourites hang by adding asynchronous lua job support

10 years agoSplit server/client port setting to avoid port number clashes in mainmenu 846/head
sapier [Thu, 28 Nov 2013 20:43:06 +0000 (21:43 +0100)]
Split server/client port setting to avoid port number clashes in mainmenu

10 years agoDon't use variable length arrays
ShadowNinja [Thu, 28 Nov 2013 16:09:51 +0000 (11:09 -0500)]
Don't use variable length arrays

10 years agoRollback fixes and get_node_actions 1001/head
ShadowNinja [Tue, 12 Nov 2013 21:13:00 +0000 (16:13 -0500)]
Rollback fixes and get_node_actions

10 years agoSQLite rollback
Mario Barrera [Sun, 13 Oct 2013 16:35:10 +0000 (13:35 -0300)]
SQLite rollback

10 years agoFix line_of_sight (AGAIN)
sapier [Sun, 24 Nov 2013 23:03:03 +0000 (00:03 +0100)]
Fix line_of_sight (AGAIN)

10 years agoReenable -dev suffix
PilzAdam [Sun, 24 Nov 2013 18:01:25 +0000 (19:01 +0100)]
Reenable -dev suffix

10 years agoBump version to 0.4.8 0.4.8
kwolekr [Sun, 24 Nov 2013 07:12:20 +0000 (02:12 -0500)]
Bump version to 0.4.8

10 years agoDon't continue trying to deserialize blank block data
kwolekr [Sun, 24 Nov 2013 07:10:15 +0000 (02:10 -0500)]
Don't continue trying to deserialize blank block data

10 years agoTemporary disable local install button due to irrlicht dialog breaking localization
sapier [Sun, 24 Nov 2013 01:15:25 +0000 (02:15 +0100)]
Temporary disable local install button due to irrlicht dialog breaking localization

10 years agoFix my name (doesn't display correctly because of utf8 characters)
Novatux [Sat, 23 Nov 2013 19:05:07 +0000 (20:05 +0100)]
Fix my name (doesn't display correctly because of utf8 characters)

10 years agoFix rename modpack button not working, fixes #1019
Sfan5 [Sat, 23 Nov 2013 17:47:54 +0000 (18:47 +0100)]
Fix rename modpack button not working, fixes #1019

10 years agoRun updatepo.sh
PilzAdam [Sat, 23 Nov 2013 16:38:01 +0000 (17:38 +0100)]
Run updatepo.sh

10 years agoTranslated using Weblate (Spanish)
Pablo Lezaeta [Sat, 19 Oct 2013 06:15:53 +0000 (08:15 +0200)]
Translated using Weblate (Spanish)

10 years agoTranslated using Weblate (Russian)
Anton Tsyganenko [Fri, 22 Nov 2013 10:45:37 +0000 (11:45 +0100)]
Translated using Weblate (Russian)

10 years agoTranslated using Weblate (Polish)
Maciej Kasatkin [Tue, 8 Oct 2013 19:22:42 +0000 (21:22 +0200)]
Translated using Weblate (Polish)

10 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Wed, 30 Oct 2013 14:04:25 +0000 (15:04 +0100)]
Translated using Weblate (Czech)

Myslím, že se jedná o IME Convert klávesu: http://msdn.microsoft.com/en-us/library/system.windows.input.key.aspx

10 years agoTranslated using Weblate (Romanian)
King Artur [Sat, 16 Nov 2013 19:43:09 +0000 (20:43 +0100)]
Translated using Weblate (Romanian)

10 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Wed, 30 Oct 2013 14:03:48 +0000 (15:03 +0100)]
Translated using Weblate (Czech)

Myslím, že se jedná o IME NonConvert klávesu: http://msdn.microsoft.com/en-us/library/system.windows.input.key.aspx

10 years agoTranslated using Weblate (Czech)
Frantisek Simorda [Tue, 8 Oct 2013 19:41:01 +0000 (21:41 +0200)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Spanish)
Pablo Lezaeta [Sat, 19 Oct 2013 06:14:21 +0000 (08:14 +0200)]
Translated using Weblate (Spanish)

10 years agoTranslated using Weblate (Czech)
Heisenberg CZE [Tue, 8 Oct 2013 18:04:49 +0000 (20:04 +0200)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Spanish)
Pablo Lezaeta [Tue, 8 Oct 2013 18:45:10 +0000 (20:45 +0200)]
Translated using Weblate (Spanish)

10 years agoTranslated using Weblate (Czech)
Petr Hála [Tue, 8 Oct 2013 12:45:02 +0000 (14:45 +0200)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Czech)
Heisenberg CZE [Tue, 8 Oct 2013 08:39:34 +0000 (10:39 +0200)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Czech)
Heisenberg CZE [Tue, 8 Oct 2013 08:30:49 +0000 (10:30 +0200)]
Translated using Weblate (Czech)

10 years agoTranslated using Weblate (Czech)
Petr Hála [Tue, 8 Oct 2013 05:06:49 +0000 (07:06 +0200)]
Translated using Weblate (Czech)

10 years agoFix invalid escape sequence in database migration code
Kahrl [Sat, 23 Nov 2013 15:09:38 +0000 (16:09 +0100)]
Fix invalid escape sequence in database migration code

10 years agoPrevent enabling Shaders if Direct3D is used
Sfan5 [Sat, 23 Nov 2013 07:55:48 +0000 (08:55 +0100)]
Prevent enabling Shaders if Direct3D is used

10 years agoFix crash when pressing Enter key in formspec menu
Kahrl [Fri, 22 Nov 2013 23:30:16 +0000 (00:30 +0100)]
Fix crash when pressing Enter key in formspec menu

11 years agoFix usage of 'minetest' where 'engine' was intended
ShadowNinja [Fri, 22 Nov 2013 02:24:04 +0000 (21:24 -0500)]
Fix usage of 'minetest' where 'engine' was intended

11 years agoFix possible implicit conversion of NULL to std::string
kwolekr [Thu, 21 Nov 2013 05:49:32 +0000 (00:49 -0500)]
Fix possible implicit conversion of NULL to std::string

11 years agoLuaVoxelManip: Update parameter index of set_lighting()
kwolekr [Thu, 21 Nov 2013 05:45:17 +0000 (00:45 -0500)]
LuaVoxelManip: Update parameter index of set_lighting()

11 years agoMapgen V6: Respect water_level setting
kwolekr [Thu, 21 Nov 2013 05:43:15 +0000 (00:43 -0500)]
Mapgen V6: Respect water_level setting

11 years agoFix modmanager screenshot path
BlockMen [Tue, 19 Nov 2013 14:39:40 +0000 (15:39 +0100)]
Fix modmanager screenshot path

11 years agofix gettext compile issues under win32
MetaDucky [Thu, 14 Nov 2013 19:09:37 +0000 (20:09 +0100)]
fix gettext compile issues under win32

11 years agoFix issue #1009 (minetest.get_connected_players() returns non-existing players)
kwolekr [Sun, 17 Nov 2013 07:57:40 +0000 (02:57 -0500)]
Fix issue #1009 (minetest.get_connected_players() returns non-existing players)

11 years agoIncrease liquid_loop_max to 10000 again
PilzAdam [Sun, 17 Nov 2013 20:05:14 +0000 (21:05 +0100)]
Increase liquid_loop_max to 10000 again

11 years agoRevert patch 58f036ad1 that causes object duplication (which tried to fix objects...
Perttu Ahola [Tue, 12 Nov 2013 17:54:32 +0000 (19:54 +0200)]
Revert patch 58f036ad1 that causes object duplication (which tried to fix objects getting hidden from client) and fix the original problem correctly. This fixes the second distinct object duplication bug.

11 years agoFix Result of processed Request was written to invalid (non existent) ResultQueue...
sapier [Thu, 14 Nov 2013 17:30:43 +0000 (18:30 +0100)]
Fix Result of processed Request was written to invalid (non existent) ResultQueue if requesting thread timed out before

11 years agoAdd missing RequestQueue doc
sapier [Wed, 13 Nov 2013 20:49:50 +0000 (21:49 +0100)]
Add missing RequestQueue doc

11 years agoFix multicaller support in RequestQueue
sapier [Wed, 13 Nov 2013 20:46:14 +0000 (21:46 +0100)]
Fix multicaller support in RequestQueue

11 years agoDo the same for LevelDB interface
kwolekr [Sun, 17 Nov 2013 16:26:34 +0000 (11:26 -0500)]
Do the same for LevelDB interface

11 years agoHandle blank blocks in database
kwolekr [Sun, 17 Nov 2013 15:57:45 +0000 (10:57 -0500)]
Handle blank blocks in database

Fix screwed-up indentation

11 years agoRevert "Don't use msvc libs for mingw build"
kwolekr [Sun, 17 Nov 2013 15:33:58 +0000 (10:33 -0500)]
Revert "Don't use msvc libs for mingw build"

This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.