aboutsummaryrefslogtreecommitdiff
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-23Disallow object:remove() if the object is a playerKahrl2-0/+2
Rebased by Zeno- (conflict in lua_api.txt)
2015-02-21Fix serialization of floating point numbersShadowNinja1-1/+10
2015-02-21Improve FindIrrlicht.cmake moduleMarkus Koschany1-1/+1
Linux distributions prefer to link against a shared version of the Irrlicht engine instead of using embedded code copies of the same. Search for this shared version first and use that but fall back to the static version if it does not exist. This also fixes https://github.com/minetest/minetest/issues/2163
2015-02-21Add mod.conf file support This new file only permits to specify a mod name ↵kaeza1-0/+5
for now
2015-02-21Fix android buildLoic Blot1-2/+2
2015-02-21Fix some memory leaks on packet sending.Loic Blot4-12/+13
2015-02-21Move hex.h to util/Loic Blot6-15/+14
2015-02-21Fix particles draworderBlockMen1-2/+2
2015-02-21Move sha1.hpp and base64.hpp to util/Loic Blot11-9/+9
2015-02-21Use skin font for usernames (fixes #2363)BlockMen1-1/+1
2015-02-21Use proper CMakeLists.txt for network and client directoriesLoic Blot3-7/+28
2015-02-21Update Japanese TranslationRui1-313/+440
ok @Zeno- @nerzhul
2015-02-21Unit tests must be done at integration process.Loic Blot4-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.
2015-02-21Mgv5: Remove blobgen. Remove crumble and wetness noisesparamat4-73/+322
Add large pseudorandom caves below -256 De-link terrain level from water_level Cavegen: Mgv5 large cave code
2015-02-20update README.txtNer'zhul1-7/+4
* prefix apt-get with sudo * git clone minetest_game without going to folder * execute minetest binary without going into bin folder
2015-02-19Typo fix in networkprotocol.hNer'zhul1-1/+1
InventoryAction is in inventorymanager.h
2015-02-18Uncomment version patch fieldBlockMen1-1/+1
2015-02-18Bump version to 0.4.12Perttu Ahola4-5/+5
2015-02-18Add modname convention checkingNovatux1-3/+8
Fixes #2037
2015-02-18Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est318-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
2015-02-18Increase default font_sizeBlockMen2-4/+4
2015-02-18Fix font_size under windowsBlockMen1-1/+7
2015-02-18Use fixed size for builtin menus on non-android platformsPerttu Ahola2-1/+9
2015-02-18Update missing files for Android.mkLoic Blot1-2/+2
2015-02-18Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot5-9/+29
reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
2015-02-18Android build fixLoic Blot1-1/+1
2015-02-18Fix map_seed not changed when creating a new world after login to anotherfz722-3/+6
2015-02-17Change many useless std::list into Environment class (m_players), ABMHandler ↵Loic Blot2-70/+54
and ActiveBlockList::update This improve looping performances.
2015-02-18Grab GUIChatConsole::m_font, fixes segfault when changing font_sizeKahrl1-2/+5
2015-02-17Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot5-42/+32
Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
2015-02-17Replace std::list by std::vector into timerUpdate callsLoic Blot3-10/+9
2015-02-17Ignore old entities from 0.3.Novatux2-1/+7
2015-02-17Remove old comment from Network Rework Patch 2/4Loic Blot1-16/+0
2015-02-17Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot13-51/+43
ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
2015-02-17SAO: re-add old ActiveObjectTypes for a future migration layerLoic Blot6-11/+14
2015-02-17SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot9-315/+20
ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
2015-02-17Add player direction to on-screen debug textYaman1-0/+23
(PR Modified slightly)
2015-02-16Add LevelDB and redis to Travis Linux buildssfan52-4/+7
2015-02-16Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot4-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
2015-02-16[Patch 2/4] Network rework: packet writing, sending and cleanupsLoic Blot22-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
2015-02-16Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2-25/+49
2015-02-15Fix unit test if there isn't a localhost address (for example FreeBSD ↵Loic Blot1-2/+21
jails), second part
2015-02-15Fix unit test if there isn't a localhost address (for example FreeBSD jails)Loic Blot1-5/+35
2015-02-15Only do the IPv6 unit test if IPv6 is enabledLoic Blot1-1/+1
2015-02-15Updated Spanish translationsngosang1-300/+278
2015-02-14Fix issue #2278, Connection sent before address data loadingLoic Blot1-2/+3
2015-02-14Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since ↵Loic Blot1-2/+3
146f77fdb750833c649de7159a0833c398e14a4d
2015-02-14Fix crash on passing false as value in table to table.copy(t)est311-3/+2
Fixes #2293.
2015-02-13Suppress CGUITTFONT build warningsCraig Robbins1-4/+22
2015-02-12Add german and french translation for minetest.desktopLoic Blot1-0/+2
This fixes #1573