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
RealBadAngel [Mon, 9 Dec 2013 12:25:43 +0000 (13:25 +0100)]
Optimize shaders code. Add settings at compile time.
kwolekr [Mon, 9 Dec 2013 03:13:05 +0000 (22:13 -0500)]
Mapgen Indev: Fix segfault in cave generation due to uninitialized variable
Novatux [Sun, 8 Dec 2013 07:01:20 +0000 (08:01 +0100)]
Fix shaders on some GPUs
kwolekr [Sun, 8 Dec 2013 06:37:41 +0000 (01:37 -0500)]
Fix leak and possible segfault in minetest.set_mapgen_params
kwolekr [Sun, 8 Dec 2013 04:43:46 +0000 (23:43 -0500)]
EmergeManager: Fix Lua mapgen override param handling
kwolekr [Sun, 8 Dec 2013 03:45:21 +0000 (22:45 -0500)]
Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6
ShadowNinja [Sun, 8 Dec 2013 03:03:07 +0000 (22:03 -0500)]
Move script_run_callbacks to Lua
ShadowNinja [Sat, 7 Dec 2013 03:40:04 +0000 (22:40 -0500)]
Fix paralax occlusion setting
sfan5 [Fri, 6 Dec 2013 17:37:32 +0000 (18:37 +0100)]
Fix small mistake in Lua API docs
sapier [Fri, 6 Dec 2013 16:49:10 +0000 (17:49 +0100)]
Fix win32 jthread implementation
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
ShadowNinja [Wed, 4 Dec 2013 18:39:57 +0000 (13:39 -0500)]
Only create one alias metatable
PilzAdam [Tue, 3 Dec 2013 21:26:40 +0000 (22:26 +0100)]
Use a table in set_physics_override()
PilzAdam [Tue, 3 Dec 2013 17:51:15 +0000 (18:51 +0100)]
Add sneak and sneak_glitch to set_physics_override()
Sfan5 [Tue, 3 Dec 2013 19:03:20 +0000 (20:03 +0100)]
Fix LevelDB maps
RealBadAngel [Tue, 3 Dec 2013 16:21:40 +0000 (17:21 +0100)]
Shaders rework.
PilzAdam [Tue, 3 Dec 2013 17:05:36 +0000 (18:05 +0100)]
Dont move item back when not clicking on a slot
proller [Tue, 3 Dec 2013 16:13:33 +0000 (20:13 +0400)]
Rename names -> can_see_far_names in announce
sapier [Mon, 2 Dec 2013 21:21:58 +0000 (22:21 +0100)]
Fix broken async locking in release build
proller [Tue, 3 Dec 2013 15:48:43 +0000 (19:48 +0400)]
Remove link to #, add unlimited_player_transfer_distance to announce
Sfan5 [Sun, 1 Dec 2013 19:58:46 +0000 (20:58 +0100)]
Fix MinGW build
sapier [Sun, 1 Dec 2013 00:52:06 +0000 (01:52 +0100)]
Cleanup jthread and fix win32 build
kwolekr [Sun, 1 Dec 2013 13:57:35 +0000 (08:57 -0500)]
Cavegen: Fix possible out-of-bounds heightmap access
kwolekr [Sun, 1 Dec 2013 06:23:39 +0000 (01:23 -0500)]
Decoration: Add schematic Y-slice probability support
sapier [Sat, 30 Nov 2013 20:22:15 +0000 (21:22 +0100)]
Fix log threadname lookup handling not beeing threadsafe
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.
ShadowNinja [Sat, 30 Nov 2013 17:24:54 +0000 (12:24 -0500)]
Add error handler to async step
ShadowNinja [Sat, 30 Nov 2013 17:11:07 +0000 (12:11 -0500)]
Optimize table creation
Novatux [Sat, 30 Nov 2013 17:57:56 +0000 (18:57 +0100)]
Add documentation for minetest.swap_node
Novatux [Sat, 23 Nov 2013 14:35:49 +0000 (15:35 +0100)]
Add minetest.swap_node