summaryrefslogtreecommitdiff
path: root/src/serialization.cpp
Commit message (Collapse)AuthorAge
* Add limit parameter to decompressZlibBen Deutsch2020-02-01
| | | | | This can prevent untrusted data, such as sent over the network, from consuming all memory with a specially crafted payload.
* Add compatibility to vcpkg buildsystem (#8317)adrido2019-06-10
|
* compressZlib: don't use a SharedBuffer but a raw u8 * pointerLoic Blot2017-07-27
| | | | | | | | Remove usage of the SharedBuffer in zlib compression which has two problems: * We copied the whole memory block to compress it (not good with mapblocks) * We copied sometimes strings to SharedBuffer to SharedBuffer (2nd time) Use this method in MapNode::serializeBulk + optimize serialization but merging 3 identical loops in a single loop
* Don't use ZLIB_WINAPI if the required DLL is not provided to CMakesfan52016-09-21
| | | | | This allows you to use an stdcall zlib (zlib1.dll instead of zlibwapi.dll) when building Minetest for win32.
* Replace instance of readsome with read in decompressZlib Make decompressZlib ↵gregorycu2016-01-09
| | | | more robust
* Add compression APIShadowNinja2014-09-20
|
* Revert "Don't use msvc libs for mingw build"kwolekr2013-11-17
| | | | This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.
* Don't use msvc libs for mingw buildsapier2013-11-17
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Fix compressZlib()Perttu Ahola2012-07-22
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-17
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-05
| | | | GPLv2/later, by agreement of major contributors
* the zlib error print function now prints to dstream (debug.txt)Perttu Ahola2011-08-08
|
* Messed around with genmap.py. Now supports format version 17.Perttu Ahola2011-06-05
|
* Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola2011-04-21
|
* better graphics, zlib to work on vc++Perttu Ahola2010-12-14
|
* commit before content-tile separationPerttu Ahola2010-12-13
|
* license stuffPerttu Ahola2010-11-29
| | | | | --HG-- rename : src/licensecomment.txt => licensecomment.txt
* Initial filesPerttu Ahola2010-11-27