aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-31Fix exception caused by destroying sockets on Server shutdownkwolekr
2013-12-31Fix enum element name in Lua HUD code (position vs. pos)kaeza
2013-12-30Initialize world before creating BanManager and RollbackManagerShadowNinja
2013-12-30Fix InventoryList reading orderShadowNinja
Lua does not guarantee that the indexes of a table will be in numerical order.
2013-12-25Remove FPS from window titlePilzAdam
This doubles performance on some window managers (WTF?!)
2013-12-25Make SHA1::addBytes(..., 0) a no-op instead of an assertion failureKahrl
2013-12-24Use sleep_ms instead of select in httpfetch when max_fd == -1, fixes WSAEINVALKahrl
2013-12-23Fix particle code ignoring return value of std::vector::erase(). Wat.Kahrl
2013-12-21Bugfix to get_all_craft_recipes.RealBadAngel
Indexes for empty slots shall not be skipped.
2013-12-19Check for denied access in itemdef/nodedef/media fetch loopKahrl
2013-12-18Don't throw a error when writing JSON failsShadowNinja
2013-12-18Log guilty node name when allow_metadata_inventory_move/put/take failsKahrl
2013-12-18Add 'minetest.write_json'ShadowNinja
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-12-17Fix formspec field labelsBlockMen
2013-12-16Fix broken httpfetch due to SimpleThread removalsapier
2013-12-16Fix MSVC compiling issueBlockMen
2013-12-16Reduce cloud coloring for colored fog and cloud modesapier
2013-12-15Remove an unused function and include from client.cppPilzAdam
2013-12-15Add setting to disable direction dependent fog and sky colorssapier
2013-12-15Directional fog + horizon colors, based on sun & moon positions at sunrise / ↵MirceaKitsune
sunset
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-14Add alpha setting to font shadowBlockMen
2013-12-14Update mapgen params in ServerMap after Mapgen initkwolekr
2013-12-14Handle Lua errors in on_generate callbacks instead of throwing SIGABRTkwolekr
2013-12-14Add map feature generation notify Lua APIkwolekr
2013-12-13Remove support for optdepends.txtShadowNinja
2013-12-13Don't call curl_global_init twiceKahrl
2013-12-13Replace any direct curl usage by httpfetchsapier
2013-12-13Use httpfetch_async in serverlist announce codeKahrl
2013-12-13Implement urlencode and urldecodeKahrl
2013-12-13Rewrite client media download and support hash-based remote downloadKahrl
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.
2013-12-13Implement httpfetch module and initialize it from main()Kahrl
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.)
2013-12-13Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.Ilya Zhuravlev
2013-12-12Make line_of_sight return blocking node positionstujones11
2013-12-12Add 'on_prejoinplayer' callbackkaeza
2013-12-12Add configurable font shadow.Ilya Zhuravlev
2013-12-11Implement search tab and version pickersapier
2013-12-09Check if width, height or start index of a list[] is negativePilzAdam
2013-12-09Optimize shaders code. Add settings at compile time.RealBadAngel
2013-12-08Mapgen Indev: Fix segfault in cave generation due to uninitialized variablekwolekr
2013-12-08Fix shaders on some GPUsNovatux
2013-12-08Fix leak and possible segfault in minetest.set_mapgen_paramskwolekr
2013-12-08EmergeManager: Fix Lua mapgen override param handlingkwolekr
2013-12-07Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6kwolekr
2013-12-07Move script_run_callbacks to LuaShadowNinja
2013-12-06Fix paralax occlusion settingShadowNinja
2013-12-06Fix win32 jthread implementationsapier
2013-12-05Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber
2013-12-03Use a table in set_physics_override()PilzAdam