aboutsummaryrefslogtreecommitdiff
path: root/src/serialization.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch MapBlock compression to zstd (#10788)lhofhansl2021-08-311-6/+129
| | | | | | | * Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
* Add limit parameter to decompressZlibBen Deutsch2020-02-011-3/+17
| | | | | 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-101-3/+1
|
* compressZlib: don't use a SharedBuffer but a raw u8 * pointerLoic Blot2017-07-271-18/+17
| | | | | | | | 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-211-1/+1
| | | | | 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-091-1/+3
| | | | more robust
* Add compression APIShadowNinja2014-09-201-5/+4
|
* Revert "Don't use msvc libs for mingw build"kwolekr2013-11-171-1/+1
| | | | This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.
* Don't use msvc libs for mingw buildsapier2013-11-171-1/+1
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Fix compressZlib()Perttu Ahola2012-07-221-18/+9
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-171-1/+2
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* the zlib error print function now prints to dstream (debug.txt)Perttu Ahola2011-08-081-8/+8
|
* Messed around with genmap.py. Now supports format version 17.Perttu Ahola2011-06-051-3/+3
|
* Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola2011-04-211-0/+6
|
* better graphics, zlib to work on vc++Perttu Ahola2010-12-141-0/+3
|
* commit before content-tile separationPerttu Ahola2010-12-131-5/+177
|
* license stuffPerttu Ahola2010-11-291-0/+19
| | | | | --HG-- rename : src/licensecomment.txt => licensecomment.txt
* Initial filesPerttu Ahola2010-11-271-0/+77