aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-01-11Add operator!= to Inventory(List), make operator== a const methodKahrl
2014-01-11Add forceloadingNovatux
2014-01-10Fix check for max_fd == -1 should actually be max_fd != -1sapier
2014-01-10Fixed minetest reliable udp implementation (compatible to old clients)sapier
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2014-01-09Set locale properly when built without gettext supportPerttu Ahola
2014-01-07Don't lookup node texts in a endless recursion loopsapier
2014-01-06Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height ↵ShadowNinja
settings" The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
2014-01-07Fix wrong named masterserver announce variableproller
2014-01-07Send long announce as POST, show OS in useragentproller
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
2014-01-06Actually pause singleplayer game in pause menu and use lower maximum FPS in itPerttu Ahola
2014-01-06Add function to deregister a profiler from profiler listsapier
2014-01-06Create new instance of mesh every time it's required (Solves #703)Perttu Ahola
2014-01-05BUILD: fix cmake list parsinghasufell
because cmake is unable to parse it's own lists properly
2014-01-05BUILD: prefer pkg-config for freetype2 detectionhasufell
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.
2014-01-05Add option to link to OpenGL ES, fixes #1051Sfan5
2014-01-05Fix absence of images when compiled with RUN_IN_PLACE=0.Ilya Zhuravlev
2014-01-02Fix objects being selected behind a nodeNovatux
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.