aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some memory leaks on packet sending.Loic Blot2015-02-214-12/+13
|
* Move hex.h to util/Loic Blot2015-02-216-15/+14
|
* Fix particles draworderBlockMen2015-02-211-2/+2
|
* Move sha1.hpp and base64.hpp to util/Loic Blot2015-02-2111-9/+9
|
* Use skin font for usernames (fixes #2363)BlockMen2015-02-211-1/+1
|
* Use proper CMakeLists.txt for network and client directoriesLoic Blot2015-02-213-7/+28
|
* Update Japanese TranslationRui2015-02-211-313/+440
| | | | ok @Zeno- @nerzhul
* Unit tests must be done at integration process.Loic Blot2015-02-214-28/+21
| | | | | | * Remove --enable-unittests and --disable-unittests and add --do-unittests function * --do-unittests function will exit 0 on success. * minetest and minetestserver binaries are launched with --do-unittests in travis build.
* Mgv5: Remove blobgen. Remove crumble and wetness noisesparamat2015-02-214-73/+322
| | | | | | Add large pseudorandom caves below -256 De-link terrain level from water_level Cavegen: Mgv5 large cave code
* update README.txtNer'zhul2015-02-201-7/+4
| | | | | * prefix apt-get with sudo * git clone minetest_game without going to folder * execute minetest binary without going into bin folder
* Typo fix in networkprotocol.hNer'zhul2015-02-191-1/+1
| | | InventoryAction is in inventorymanager.h
* Uncomment version patch fieldBlockMen2015-02-181-1/+1
|
* Bump version to 0.4.12Perttu Ahola2015-02-184-5/+5
|
* Add modname convention checkingNovatux2015-02-181-3/+8
| | | | Fixes #2037
* Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est312015-02-188-12/+129
| | | | | | | check serverlist Client now informs about incompatible servers from the list, this permits to prevent the protocol movements. Server announces its supported protocol versions to master server
* Increase default font_sizeBlockMen2015-02-182-4/+4
|
* Fix font_size under windowsBlockMen2015-02-181-1/+7
|
* Use fixed size for builtin menus on non-android platformsPerttu Ahola2015-02-182-1/+9
|
* Update missing files for Android.mkLoic Blot2015-02-181-2/+2
|
* Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot2015-02-185-9/+29
| | | | | | reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
* Android build fixLoic Blot2015-02-181-1/+1
|
* Fix map_seed not changed when creating a new world after login to anotherfz722015-02-182-3/+6
|
* Change many useless std::list into Environment class (m_players), ABMHandler ↵Loic Blot2015-02-172-70/+54
| | | | | | and ActiveBlockList::update This improve looping performances.
* Grab GUIChatConsole::m_font, fixes segfault when changing font_sizeKahrl2015-02-181-2/+5
|
* Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot2015-02-175-42/+32
| | | | | | Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
* Replace std::list by std::vector into timerUpdate callsLoic Blot2015-02-173-10/+9
|
* Ignore old entities from 0.3.Novatux2015-02-172-1/+7
|
* Remove old comment from Network Rework Patch 2/4Loic Blot2015-02-171-16/+0
|
* Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot2015-02-1713-51/+43
| | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
* SAO: re-add old ActiveObjectTypes for a future migration layerLoic Blot2015-02-176-11/+14
|
* SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot2015-02-179-315/+20
| | | | ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
* Add player direction to on-screen debug textYaman2015-02-171-0/+23
| | | | (PR Modified slightly)
* Add LevelDB and redis to Travis Linux buildssfan52015-02-162-4/+7
|
* Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot2015-02-164-68/+81
| | | | | | | | | | | This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected. In the callgrind map, you will see original: * 3.3M calls to std::list for 9700 calls to getFacePositions In the modified version, you will see: * 3.3K calls to std::list for 6900 call to getFacePositions Callgrind map is here: #2321 it's a huge performance improvement to l_find_node_near
* [Patch 2/4] Network rework: packet writing, sending and cleanupsLoic Blot2015-02-1622-4148/+3887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2015-02-162-25/+49
|
* Fix unit test if there isn't a localhost address (for example FreeBSD ↵Loic Blot2015-02-151-2/+21
| | | | jails), second part
* Fix unit test if there isn't a localhost address (for example FreeBSD jails)Loic Blot2015-02-151-5/+35
|
* Only do the IPv6 unit test if IPv6 is enabledLoic Blot2015-02-151-1/+1
|
* Updated Spanish translationsngosang2015-02-151-300/+278
|
* Fix issue #2278, Connection sent before address data loadingLoic Blot2015-02-141-2/+3
|
* Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since ↵Loic Blot2015-02-141-2/+3
| | | | 146f77fdb750833c649de7159a0833c398e14a4d
* Fix crash on passing false as value in table to table.copy(t)est312015-02-141-3/+2
| | | | Fixes #2293.
* Suppress CGUITTFONT build warningsCraig Robbins2015-02-131-4/+22
|
* Add german and french translation for minetest.desktopLoic Blot2015-02-121-0/+2
| | | | This fixes #1573
* Update czech translationJakub Vaněk2015-02-121-301/+389
|
* Minor fixes in translationsngosang2015-02-126-19/+19
|
* Fix gettext on MSVCBlockMen2015-02-123-25/+31
|
* Fix .zip extraction (mod store)ngosang2015-02-121-6/+6
|
* main.cpp rework * Move ClientLauncher class to a dedicated file * ↵Loic Blot2015-02-127-1232/+1304
| | | | 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