aboutsummaryrefslogtreecommitdiff
path: root/src/object_properties.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-30Initialize world before creating BanManager and RollbackManagerShadowNinja1-4/+4
2013-12-30Fix InventoryList reading orderShadowNinja1-5/+10
Lua does not guarantee that the indexes of a table will be in numerical order.
2013-12-30Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."Novatux1-1/+1
This reverts commit 4e5760a5416cbca6945b1b4484cbd96bea7b250c.
2013-12-25Remove FPS from window titlePilzAdam1-16/+9
This doubles performance on some window managers (WTF?!)
2013-12-25Make SHA1::addBytes(..., 0) a no-op instead of an assertion failureKahrl1-1/+1
2013-12-24Use sleep_ms instead of select in httpfetch when max_fd == -1, fixes WSAEINVALKahrl1-13/+21
2013-12-23Fix particle code ignoring return value of std::vector::erase(). Wat.Kahrl1-4/+4
2013-12-22Fix wrong names for parallax settings in config example.RealBadAngel1-2/+2
2013-12-21Bugfix to get_all_craft_recipes.RealBadAngel1-2/+2
Indexes for empty slots shall not be skipped.
2013-12-19Check for denied access in itemdef/nodedef/media fetch loopKahrl1-0/+6
2013-12-18Don't throw a error when writing JSON failsShadowNinja3-9/+15
2013-12-18Log guilty node name when allow_metadata_inventory_move/put/take failsKahrl1-15/+18
2013-12-18Add 'minetest.write_json'ShadowNinja5-1/+92
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja18-134/+113
2013-12-17Fix formspec field labelsBlockMen1-3/+3
2013-12-16Fix broken httpfetch due to SimpleThread removalsapier1-0/+3
2013-12-16Fix MSVC compiling issueBlockMen1-1/+1
2013-12-16Reduce cloud coloring for colored fog and cloud modesapier1-1/+1
2013-12-15Remove an unused function and include from client.cppPilzAdam1-9/+0
2013-12-15Add setting to disable direction dependent fog and sky colorssapier4-41/+62
2013-12-15Directional fog + horizon colors, based on sun & moon positions at sunrise / ↵MirceaKitsune3-24/+96
sunset
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier9-88/+30
2013-12-14Add alpha setting to font shadowBlockMen5-4/+12
2013-12-14Update mapgen params in ServerMap after Mapgen initkwolekr3-4/+6
2013-12-14Handle Lua errors in on_generate callbacks instead of throwing SIGABRTkwolekr1-1/+3
2013-12-14Add map feature generation notify Lua APIkwolekr12-151/+252
2013-12-13Remove support for optdepends.txtShadowNinja2-17/+0
2013-12-13Don't call curl_global_init twiceKahrl1-9/+0
2013-12-13Replace any direct curl usage by httpfetchsapier6-85/+44
2013-12-13Use httpfetch_async in serverlist announce codeKahrl3-26/+17
2013-12-13Implement urlencode and urldecodeKahrl4-6/+57
2013-12-13Rewrite client media download and support hash-based remote downloadKahrl12-345/+931
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()Kahrl6-6/+860
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 Zhuravlev1-0/+2
2013-12-12Make line_of_sight return blocking node positionstujones114-6/+16
2013-12-12Add 'on_prejoinplayer' callbackkaeza5-0/+36
2013-12-12Add configurable font shadow.Ilya Zhuravlev5-3/+20
2013-12-11Implement search tab and version pickersapier8-187/+463