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
kwolekr [Sun, 26 Jan 2014 06:12:18 +0000 (01:12 -0500)]
Fix use of previously deallocated EmergeManager
ShadowNinja [Fri, 24 Jan 2014 20:22:22 +0000 (15:22 -0500)]
Fix error on mod download failure
ShadowNinja [Fri, 24 Jan 2014 00:21:01 +0000 (19:21 -0500)]
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
Sfan5 [Sun, 19 Jan 2014 13:32:03 +0000 (14:32 +0100)]
Include system info in the HTTP user agent on Windows
ShadowNinja [Wed, 22 Jan 2014 03:05:29 +0000 (22:05 -0500)]
Add pointed_thing to minetest.register_on_placenode
As suggested by qwrwed.
kwolekr [Tue, 21 Jan 2014 14:33:33 +0000 (09:33 -0500)]
Connection: Stop processing malformed packet when encountered
Sfan5 [Tue, 21 Jan 2014 12:35:26 +0000 (13:35 +0100)]
Fix curl dll not getting installed when sound is disabled
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
kwolekr [Sun, 19 Jan 2014 08:00:47 +0000 (03:00 -0500)]
Update lua_api.txt documentation
kwolekr [Sun, 19 Jan 2014 07:55:34 +0000 (02:55 -0500)]
LuaVoxelManip: Add get_param2_data and set_param2_data
kwolekr [Sun, 19 Jan 2014 07:44:22 +0000 (02:44 -0500)]
Schematic: Read slice probability table from schematic descriptors
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.
ShadowNinja [Fri, 17 Jan 2014 00:33:02 +0000 (19:33 -0500)]
Deindent HTTPFetchRequest::HTTPFetchRequest()
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
BlockMen [Wed, 15 Jan 2014 20:26:54 +0000 (21:26 +0100)]
Prevent placing node when player would be inside new node
sapier [Tue, 14 Jan 2014 21:21:15 +0000 (22:21 +0100)]
Fix win32 reading semaphore count not working (broke all queues)
ShadowNinja [Wed, 15 Jan 2014 16:58:28 +0000 (11:58 -0500)]
Make default User-agent follow RFC 2616
Sfan5 [Wed, 15 Jan 2014 16:35:00 +0000 (17:35 +0100)]
Fix building with MinGW
BlockMen [Tue, 14 Jan 2014 15:14:56 +0000 (16:14 +0100)]
Fix building under MSVC
ShadowNinja [Tue, 14 Jan 2014 03:11:31 +0000 (22:11 -0500)]
Fix spelling of "attempt"
ShadowNinja [Tue, 14 Jan 2014 00:28:55 +0000 (19:28 -0500)]
Add minetest.override_item
Kahrl [Fri, 23 Aug 2013 10:24:11 +0000 (12:24 +0200)]
Add formspec table
khonkhortisan [Mon, 22 Apr 2013 18:35:10 +0000 (11:35 -0700)]
Allow vertical axis particle rotation constraint
Use tables for adding particles, deprecate former way.
separate particles(pawner) definition, add default values, work with no
arguments
Ilya Zhuravlev [Sun, 12 Jan 2014 18:07:35 +0000 (22:07 +0400)]
Fix some errors reported by clang static analyzer.
kwolekr [Sun, 12 Jan 2014 23:20:53 +0000 (18:20 -0500)]
Mapgen V6: Add flag to stop mud flow
Novatux [Sun, 12 Jan 2014 12:53:10 +0000 (13:53 +0100)]
Fix doc and forceloading crash.
ShadowNinja [Sat, 11 Jan 2014 19:08:02 +0000 (14:08 -0500)]
Add maximum recursion depth to read_json_value
ShadowNinja [Sat, 11 Jan 2014 18:47:59 +0000 (13:47 -0500)]
Rename get_json_value to read_json_value
ShadowNinja [Sun, 5 Jan 2014 00:07:30 +0000 (19:07 -0500)]
Add InvRef::get/set_lists()
Kahrl [Sat, 11 Jan 2014 10:17:15 +0000 (11:17 +0100)]
Compare values instead of pointers in Inventory::operator==
Kahrl [Sat, 11 Jan 2014 18:46:37 +0000 (19:46 +0100)]
Add operator!= to Inventory(List), make operator== a const method
Novatux [Sat, 11 Jan 2014 16:54:00 +0000 (17:54 +0100)]
Add forceloading
Novatux [Sat, 11 Jan 2014 16:23:28 +0000 (17:23 +0100)]
Deepcopy pointed_thing for after_place_node, give it to on_rightclick too.
sapier [Fri, 10 Jan 2014 18:19:16 +0000 (19:19 +0100)]
Fix check for max_fd == -1 should actually be max_fd != -1
sapier [Mon, 6 Jan 2014 19:05:28 +0000 (20:05 +0100)]
Fixed minetest reliable udp implementation (compatible to old clients)
sapier [Mon, 6 Jan 2014 11:45:42 +0000 (12:45 +0100)]
Make MutexQueue use jsemaphore for signaling
Perttu Ahola [Wed, 9 Jan 2013 12:37:00 +0000 (15:37 +0300)]
Set locale properly when built without gettext support
ShadowNinja [Wed, 8 Jan 2014 22:09:23 +0000 (17:09 -0500)]
Document "wielditem" visual
sapier [Tue, 7 Jan 2014 10:15:24 +0000 (11:15 +0100)]
Don't lookup node texts in a endless recursion loop
ShadowNinja [Tue, 7 Jan 2014 02:17:19 +0000 (21:17 -0500)]
Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings"
The commit didn't work because the blocks weren't loaded yet.
This reverts commit
22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b.
Conflicts:
minetest.conf.example
ShadowNinja [Tue, 7 Jan 2014 02:15:44 +0000 (21:15 -0500)]
Pass pointed_thing to after_place_node
ShadowNinja [Tue, 7 Jan 2014 01:40:59 +0000 (20:40 -0500)]
Add protection support to auto-rotated nodes
ShadowNinja [Tue, 7 Jan 2014 01:31:49 +0000 (20:31 -0500)]
Prevent auto-rotated nodes replacing the nodes they are placed on
proller [Mon, 6 Jan 2014 23:11:18 +0000 (03:11 +0400)]
Fix wrong named masterserver announce variable
proller [Mon, 6 Jan 2014 22:50:45 +0000 (02:50 +0400)]
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime)
StyledWriter -> FastWriter in masterserver announce
PilzAdam [Mon, 6 Jan 2014 17:59:14 +0000 (18:59 +0100)]
Escape error messages in error dialog
Perttu Ahola [Mon, 6 Jan 2014 15:37:23 +0000 (17:37 +0200)]
Actually pause singleplayer game in pause menu and use lower maximum FPS in it
sapier [Mon, 6 Jan 2014 14:21:22 +0000 (15:21 +0100)]
Add function to deregister a profiler from profiler list
Perttu Ahola [Mon, 6 Jan 2014 11:24:06 +0000 (13:24 +0200)]
Create new instance of mesh every time it's required (Solves #703)
Perttu Ahola [Mon, 6 Jan 2014 00:37:36 +0000 (02:37 +0200)]
Fix main menu error message dialog: Now multi-line messages aren't cut at half of second line
hasufell [Fri, 3 Jan 2014 15:15:14 +0000 (16:15 +0100)]
BUILD: fix cmake list parsing
because cmake is unable to parse it's own lists properly
hasufell [Sun, 8 Dec 2013 20:05:25 +0000 (21:05 +0100)]
BUILD: prefer pkg-config for freetype2 detection
This can solve numerous problems such as:
http://www.cmake.org/Bug/view.php?id=13959
http://www.cmake.org/Bug/view.php?id=14601
If pkg-config or freetype2.pc is not found, then fall back to the
FindFreetype.cmake module logic.
Restrict to UNIX since I only tested it here.
Sfan5 [Fri, 3 Jan 2014 09:17:01 +0000 (10:17 +0100)]
Add option to link to OpenGL ES, fixes #1051
Ilya Zhuravlev [Fri, 13 Dec 2013 16:35:57 +0000 (20:35 +0400)]
Fix absence of images when compiled with RUN_IN_PLACE=0.
Kahrl [Fri, 3 Jan 2014 03:36:13 +0000 (04:36 +0100)]
Reenable -dev suffix
Novatux [Thu, 2 Jan 2014 13:26:21 +0000 (14:26 +0100)]
Fix objects being selected behind a node
kwolekr [Wed, 1 Jan 2014 21:54:28 +0000 (16:54 -0500)]
Bump version to 0.4.9
kwolekr [Wed, 25 Dec 2013 04:50:49 +0000 (23:50 -0500)]
Fix exception caused by destroying sockets on Server shutdown
kaeza [Sat, 21 Dec 2013 03:37:14 +0000 (01:37 -0200)]
Fix enum element name in Lua HUD code (position vs. pos)
ShadowNinja [Mon, 30 Dec 2013 19:29:33 +0000 (14:29 -0500)]
Initialize world before creating BanManager and RollbackManager
ShadowNinja [Mon, 30 Dec 2013 19:00:05 +0000 (14:00 -0500)]
Fix InventoryList reading order
Lua does not guarantee that the indexes of a table will be in numerical order.
Novatux [Mon, 30 Dec 2013 17:45:34 +0000 (18:45 +0100)]
Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."
This reverts commit
4e5760a5416cbca6945b1b4484cbd96bea7b250c.
PilzAdam [Wed, 25 Dec 2013 02:52:42 +0000 (03:52 +0100)]
Remove FPS from window title
This doubles performance on some window managers (WTF?!)
Kahrl [Tue, 24 Dec 2013 23:29:00 +0000 (00:29 +0100)]
Make SHA1::addBytes(..., 0) a no-op instead of an assertion failure
Kahrl [Tue, 24 Dec 2013 18:28:09 +0000 (19:28 +0100)]
Use sleep_ms instead of select in httpfetch when max_fd == -1, fixes WSAEINVAL
Kahrl [Mon, 23 Dec 2013 14:11:53 +0000 (15:11 +0100)]
Fix particle code ignoring return value of std::vector::erase(). Wat.
RealBadAngel [Sat, 21 Dec 2013 23:30:17 +0000 (00:30 +0100)]
Fix wrong names for parallax settings in config example.
RealBadAngel [Sat, 21 Dec 2013 22:03:51 +0000 (23:03 +0100)]
Bugfix to get_all_craft_recipes.
Indexes for empty slots shall not be skipped.
Kahrl [Thu, 19 Dec 2013 20:47:08 +0000 (21:47 +0100)]
Check for denied access in itemdef/nodedef/media fetch loop
ShadowNinja [Wed, 18 Dec 2013 23:17:26 +0000 (18:17 -0500)]
Don't throw a error when writing JSON fails
Kahrl [Wed, 18 Dec 2013 21:57:33 +0000 (22:57 +0100)]
Log guilty node name when allow_metadata_inventory_move/put/take fails
ShadowNinja [Wed, 18 Dec 2013 21:46:53 +0000 (16:46 -0500)]
Add 'minetest.write_json'
ShadowNinja [Wed, 18 Dec 2013 21:35:55 +0000 (16:35 -0500)]
Handle LuaErrors in Lua -> C++ calls on LuaJIT
BlockMen [Tue, 17 Dec 2013 00:13:16 +0000 (01:13 +0100)]
Fix formspec field labels
sapier [Mon, 16 Dec 2013 22:31:56 +0000 (23:31 +0100)]
Fix broken httpfetch due to SimpleThread removal
BlockMen [Mon, 16 Dec 2013 00:13:08 +0000 (01:13 +0100)]
Fix MSVC compiling issue
sapier [Sun, 15 Dec 2013 23:16:06 +0000 (00:16 +0100)]
Reduce cloud coloring for colored fog and cloud mode
PilzAdam [Sun, 15 Dec 2013 18:15:25 +0000 (19:15 +0100)]
Remove an unused function and include from client.cpp
sapier [Sun, 15 Dec 2013 14:30:02 +0000 (15:30 +0100)]
Add setting to disable direction dependent fog and sky colors
MirceaKitsune [Sun, 30 Jun 2013 15:17:14 +0000 (18:17 +0300)]
Directional fog + horizon colors, based on sun & moon positions at sunrise / sunset
sapier [Tue, 3 Dec 2013 22:32:03 +0000 (23:32 +0100)]
Replace SimpleThread by JThread now implementing same features
BlockMen [Thu, 12 Dec 2013 20:02:09 +0000 (21:02 +0100)]
Add alpha setting to font shadow
kwolekr [Sat, 14 Dec 2013 15:49:20 +0000 (10:49 -0500)]
Update mapgen params in ServerMap after Mapgen init
kwolekr [Sat, 14 Dec 2013 06:59:16 +0000 (01:59 -0500)]
Handle Lua errors in on_generate callbacks instead of throwing SIGABRT
kwolekr [Sat, 14 Dec 2013 06:52:06 +0000 (01:52 -0500)]
Add map feature generation notify Lua API
ShadowNinja [Fri, 13 Dec 2013 17:58:32 +0000 (12:58 -0500)]
Remove support for optdepends.txt
Kahrl [Fri, 13 Dec 2013 17:08:53 +0000 (18:08 +0100)]
Don't call curl_global_init twice
sapier [Sat, 9 Nov 2013 21:49:27 +0000 (22:49 +0100)]
Replace any direct curl usage by httpfetch
Kahrl [Thu, 29 Aug 2013 03:58:13 +0000 (05:58 +0200)]
Use httpfetch_async in serverlist announce code
Kahrl [Thu, 29 Aug 2013 03:56:48 +0000 (05:56 +0200)]
Implement urlencode and urldecode
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.
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.)
Ilya Zhuravlev [Fri, 13 Dec 2013 09:18:00 +0000 (13:18 +0400)]
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
stujones11 [Wed, 11 Dec 2013 20:33:39 +0000 (20:33 +0000)]
Make line_of_sight return blocking node position
kaeza [Thu, 12 Dec 2013 06:51:35 +0000 (04:51 -0200)]
Add 'on_prejoinplayer' callback
Ilya Zhuravlev [Thu, 12 Dec 2013 17:47:54 +0000 (21:47 +0400)]
Add configurable font shadow.
sapier [Wed, 11 Dec 2013 22:07:38 +0000 (23:07 +0100)]
Implement search tab and version picker
Ilya Zhuravlev [Wed, 11 Dec 2013 18:10:56 +0000 (22:10 +0400)]
Add Lithuanian translation.
PilzAdam [Mon, 9 Dec 2013 21:39:24 +0000 (22:39 +0100)]
Check if width, height or start index of a list[] is negative