Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Don't call curl_global_init twice | Kahrl | 2013-12-13 |
| | |||
* | Replace any direct curl usage by httpfetch | sapier | 2013-12-13 |
| | |||
* | Use httpfetch_async in serverlist announce code | Kahrl | 2013-12-13 |
| | |||
* | Implement urlencode and urldecode | Kahrl | 2013-12-13 |
| | |||
* | Rewrite client media download and support hash-based remote download | Kahrl | 2013-12-13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | Implement httpfetch module and initialize it from main() | Kahrl | 2013-12-13 |
| | | | | | | | | 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.) | ||
* | Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing. | Ilya Zhuravlev | 2013-12-13 |
| | |||
* | Make line_of_sight return blocking node position | stujones11 | 2013-12-12 |
| | |||
* | Add 'on_prejoinplayer' callback | kaeza | 2013-12-12 |
| | |||
* | Add configurable font shadow. | Ilya Zhuravlev | 2013-12-12 |
| | |||
* | Implement search tab and version picker | sapier | 2013-12-11 |
| | |||
* | Add Lithuanian translation. | Ilya Zhuravlev | 2013-12-11 |
| | |||
* | Check if width, height or start index of a list[] is negative | PilzAdam | 2013-12-09 |
| | |||
* | Optimize shaders code. Add settings at compile time. | RealBadAngel | 2013-12-09 |
| | |||
* | Mapgen Indev: Fix segfault in cave generation due to uninitialized variable | kwolekr | 2013-12-08 |
| | |||
* | Fix shaders on some GPUs | Novatux | 2013-12-08 |
| | |||
* | Fix leak and possible segfault in minetest.set_mapgen_params | kwolekr | 2013-12-08 |
| | |||
* | EmergeManager: Fix Lua mapgen override param handling | kwolekr | 2013-12-08 |
| | |||
* | Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6 | kwolekr | 2013-12-07 |
| | |||
* | Move script_run_callbacks to Lua | ShadowNinja | 2013-12-07 |
| | |||
* | Fix paralax occlusion setting | ShadowNinja | 2013-12-06 |
| | |||
* | Fix small mistake in Lua API docs | sfan5 | 2013-12-06 |
| | |||
* | Fix win32 jthread implementation | sapier | 2013-12-06 |
| | |||
* | Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings | sweetbomber | 2013-12-05 |
| | |||
* | Only create one alias metatable | ShadowNinja | 2013-12-04 |
| | |||
* | Use a table in set_physics_override() | PilzAdam | 2013-12-03 |
| | |||
* | Add sneak and sneak_glitch to set_physics_override() | PilzAdam | 2013-12-03 |
| | |||
* | Fix LevelDB maps | Sfan5 | 2013-12-03 |
| | |||
* | Shaders rework. | RealBadAngel | 2013-12-03 |
| | |||
* | Dont move item back when not clicking on a slot | PilzAdam | 2013-12-03 |
| | |||
* | Rename names -> can_see_far_names in announce | proller | 2013-12-03 |
| | |||
* | Fix broken async locking in release build | sapier | 2013-12-03 |
| | |||
* | Remove link to #, add unlimited_player_transfer_distance to announce | proller | 2013-12-03 |
| | |||
* | Fix MinGW build | Sfan5 | 2013-12-01 |
| | |||
* | Cleanup jthread and fix win32 build | sapier | 2013-12-01 |
| | |||
* | Cavegen: Fix possible out-of-bounds heightmap access | kwolekr | 2013-12-01 |
| | |||
* | Decoration: Add schematic Y-slice probability support | kwolekr | 2013-12-01 |
| | |||
* | Fix log threadname lookup handling not beeing threadsafe | sapier | 2013-11-30 |
| | |||
* | Assume a selection box for fences | 0gb.us | 2013-11-30 |
| | | | | Similar to assuming a selection box for the nodebox drawtype, minetest.register_item() now assumes a selection box for the fencelike drawtype. | ||
* | Add error handler to async step | ShadowNinja | 2013-11-30 |
| | |||
* | Optimize table creation | ShadowNinja | 2013-11-30 |
| | |||
* | Add documentation for minetest.swap_node | Novatux | 2013-11-30 |
| | |||
* | Add minetest.swap_node | Novatux | 2013-11-30 |
| | |||
* | Fix MSVC build. | Ilya Zhuravlev | 2013-11-30 |
| | |||
* | Change default value of is_ground_content to true | kwolekr | 2013-11-30 |
| | | | | Most modders would otherwise forget to explicitly define this, and generated nodes aliased from mods would wall-off caves | ||
* | LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, ↵ | kwolekr | 2013-11-30 |
| | | | | made optional this time; also fixed a slight bug with night values being ignored | ||
* | LuaVoxelManip: Add get_light_data() and set_light_data() | kwolekr | 2013-11-30 |
| | |||
* | Fixed potential NULL pointer and leak when setting node metadata | MetaDucky | 2013-11-29 |
| | |||
* | Cavegen: Respect is_ground_content MapNode setting; fix some code formatting ↵ | kwolekr | 2013-11-29 |
| | | | | issues | ||
* | Fix broken thread stop handling | sapier | 2013-11-30 |
| |