Skip to content
Snippets Groups Projects
  1. Jan 10, 2015
  2. Jan 08, 2015
  3. Dec 29, 2014
  4. Dec 23, 2014
  5. Dec 06, 2014
  6. Nov 30, 2014
  7. Nov 22, 2014
    • Pavel Puchkin's avatar
      Fix compiling if no endian.h found · f7f24d14
      Pavel Puchkin authored
      
      f7d65091 introduces error when no endian.h found in the system.
      
      Since "CHECK_INCLUDE_FILE" returns empty string instead of "0", when
      "cmake_config.h" is generated it has "#define CMAKE_HAVE_ENDIAN_H " line.
      Later we have "#define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H" in the
      "config.h", an thus "HAVE_ENDIAN_H" is also empty sting. Because of
      this, "#if HAVE_ENDIAN_H" is incorrect preprocessor directive.
      
      Signed-off-by: default avatarCraig Robbins <kde.psych@gmail.com>
      f7f24d14
  8. Nov 21, 2014
    • Rafael Reilova's avatar
      serialize.h: use machine native byte swapping if available, fall-back to... · f7d65091
      Rafael Reilova authored
      serialize.h: use machine native byte swapping if available, fall-back to previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000()
      
      nodemetadata.cpp, nodetimer.cpp
      	optimzation: simpler deserialize node position method
      
      staticobject.cpp:
      	cleanup: use util/serialize.h inlines instead of its own de/serialization
      
      serialize.cpp:
      	minor optimization/cleanup: avoid generation of unneeded string temporary
      
      CMakeLists.txt, cmake_config.h.in: detection of endian.h
      
      config.h: added HAVE_ENDIAN_H
      
      Commits due to feedback squashed
      
      Signed-off-by: default avatarCraig Robbins <kde.psych@gmail.com>
      f7d65091
  9. Nov 08, 2014
  10. Nov 01, 2014
  11. Sep 21, 2014
  12. Jul 29, 2014
    • sfan5's avatar
      Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL... · 17345404
      sfan5 authored
      Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476
      17345404
  13. Jul 12, 2014
  14. Jun 29, 2014
  15. Jun 17, 2014
  16. May 25, 2014
  17. May 24, 2014
  18. May 18, 2014
  19. Apr 19, 2014
  20. Apr 16, 2014
  21. Mar 11, 2014
  22. Mar 05, 2014
  23. Mar 02, 2014
  24. Feb 23, 2014
  25. Feb 16, 2014
  26. Feb 13, 2014
  27. Jan 31, 2014
    • sapier's avatar
      Add propper client initialization · e258675e
      sapier authored
        -add client states to avoid server sending data to uninitialized clients
        -don't show uninitialized clients to other players
        -propper client disconnect handling
      Minor comment fixes in server
      Minor bugfixes in connection
        -improved peer id calculation
        -honor NDEBUG flag
        -improved disconnect handling
        -increased initial send window
      Remove some dead code
      e258675e
  28. Jan 21, 2014
  29. Jan 14, 2014
  30. Jan 05, 2014
  31. Dec 13, 2013
    • Kahrl's avatar
      Rewrite client media download and support hash-based remote download · 0404bbf6
      Kahrl authored
      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.
      0404bbf6
    • Kahrl's avatar
      Implement httpfetch module and initialize it from main() · 0ea3e6db
      Kahrl authored
      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.)
      0ea3e6db
  32. Nov 11, 2013
  33. Sep 29, 2013
Loading