Skip to content
Snippets Groups Projects
  1. Jun 29, 2015
  2. Jun 27, 2015
  3. Jun 13, 2015
  4. May 19, 2015
  5. May 17, 2015
  6. May 11, 2015
    • est31's avatar
      Add LibGMP · 181f7baa
      est31 authored
      Uses system provided libgmp if found, if not it falls back to mini-gmp.
      181f7baa
  7. May 05, 2015
    • ShadowNinja's avatar
      Make Git version detection use VERSION_STRING instead of tags · 1be2d32f
      ShadowNinja authored
      This fixes the problem where 0.4.12-dev versions were erroneously shown as
      0.4.11-dev because the tag was added on a separate branch.  It also fixes a
      similar issue when builders didn't fetch new tags when updating.
      
      This also removes the number-of-commits-since-tag field, since it's
      incompatible with this.  Said field doesn't seem to be useful anyway if you
      have the commit hash.
      1be2d32f
  8. Apr 27, 2015
  9. Apr 26, 2015
    • kwolekr's avatar
      Tests: Modularize unit testing · 7220ca90
      kwolekr authored
      Split unit tests into separate files under src/unittest/
      Give better unittest diagnostics
      Clean up some code
      7220ca90
  10. Apr 08, 2015
  11. Apr 01, 2015
  12. Mar 27, 2015
    • ShadowNinja's avatar
      Clean up and tweak build system · 93fcab95
      ShadowNinja authored
        * Combine client and server man pages.
        * Update unit test options and available databases in man page.
        * Add `--worldname` to man page.
        * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
        * Disable server build by default on all operating systems.
        * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
        * Enable LevelDB, Redis, and FreeType detection by default.
        * Remove the `VERSION_PATCH_ORIG` hack.
        * Add option to search for and use system JSONCPP.
        * Remove broken LuaJIT version detection.
        * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
        * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
        * Clean up style of CMake files.
      93fcab95
  13. Mar 17, 2015
  14. Mar 05, 2015
  15. Feb 21, 2015
  16. Feb 16, 2015
    • Loïc Blot's avatar
      [Patch 2/4] Network rework: packet writing, sending and cleanups · ed04e8e9
      Loïc Blot authored
      NetworkPacket.cpp:
      * Remove some deprecated functions, we must use streaming interface
      * m_data converted from u8* to std::vector<u8>
      * Add an exporter to forge packet to Connection object
      * implement operator << std::wstring. n
      * implement operator << std::string
      * dynamic resize when write packet content.
      * fix string writing and performances.
      * create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
        * Reliability
        * Transmit channel
      * Implement putRawString for some ugly char (_INIT packet), and use it.
      * Many packet read and write migrated
      * Implement oldForgePacket to interface writing with current connection
      * fix U8/char/bool writing
      * fix string writing and performances.
      * add some missing functions
      * Use v3s16 read instead of reading x,y,z separately
      * Add irr::video::SColor support into packets
      * Add some missing handlers
      * Add a template function to increase offset
      * Throw a serialization error on packet reading (must be improved)
      
      PacketFactories:
      * Create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
      * Create ClientCommandFactory, used by server to get useful informations about packet processing (sending).
      
      Client.cpp:
      * implement NetworkPacket ::Send interface.
      * Move packet handlers to a dedicated file
      * Remove Client::Send(SharedBuffer)
      
      Server.cpp:
      * implement NetworkPacket ::Send interface.
      * Rewrite all packets using NetworkPacket
      * Move packet handlers to a dedicated file
      * Remove Server::Send(SharedBuffer)
      
      ClientIface.cpp:
      * Remove sendToAll(SharedBuffer<u8>)
      
      Connection.hpp rework:
      * Remove duplicate include
      * Remove duplicate negation
      * Remove a useless variable
      * Improve code performance by using a m_peers_list instead of scanning m_peers map
      * Remove Connection::Send(SharedBuffer)
      * Fix useafterfree into NetworkPacket Sending
      * Remove unused Connection::sendToAll
      
      Test.cpp:
      * Remove dead code
      * Update tests to use NetworkPackets
      
      Misc:
      * add new wrappers to Send packets in client, using NetworkPacket
      * Add NetworkPacket methods for Connection
      * coding style fix
      * dead code since changes cleanup
      * Use v3s16 read instead of reading x,y,z separately in some packets
      * Use different files to handle packets received by client and server
      * Cleanup: Remove useless includes
      
      ok @Zeno-
      Tested by @Zeno- @VanessaE and @nerzhul on running servers
      ed04e8e9
  17. Feb 12, 2015
    • Loïc Blot's avatar
      main.cpp rework * Move ClientLauncher class to a dedicated file *... · 146f77fd
      Loïc Blot authored
      main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLauncher now owns print_video_modes and speed_tests functions (they are only called by him) * Move GameParams to shared/gameparams.h because it's shared between server and client and launcher need to know it * Move InputHandlers class to client/inputhandler.h * Cleanup includes
      146f77fd
  18. Feb 10, 2015
    • Loïc Blot's avatar
      Network Layer 7 rework (Packet handling) · a704c04f
      Loïc Blot authored
      * Move networkcode to a dedicated directory
      * Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes
      * Create object NetworkPacket
        * It stores command (opcode) and data separated
        * It also stores peer_id
        * Data reading can be done by using a streaming interface
      * Change packet routing analysis
        * Remove old conditional analysis
        * Now uses function pointed analysis and add connection state ({Client,Server}::handlers)
        * Connection state permit to categorize condition to handle before analyze packets
        * Create a handler for depreciated messages, instead of duplicating code
      a704c04f
  19. Feb 02, 2015
  20. Jan 19, 2015
  21. Jan 18, 2015
  22. Jan 10, 2015
  23. Jan 08, 2015
  24. Dec 29, 2014
  25. Dec 23, 2014
  26. Dec 06, 2014
  27. Nov 30, 2014
  28. 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
  29. 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
  30. Nov 08, 2014
  31. Nov 01, 2014
  32. Sep 21, 2014
Loading