aboutsummaryrefslogtreecommitdiff
path: root/src/serialization.cpp
AgeCommit message (Collapse)Author
2022-04-08Fix compiler warningsShadowNinja
2022-02-08Remove awful Mingw32 workaroundssfan5
Instead a warning is triggered if an affected compiler is detected. closes #12022
2022-01-30Add another very awful workaround to prevent a crash on Mingw32sfan5
This appears to be the same issue as 70df3d54f37c280f7afe60f6e964b8406577f39f. Hopefully the next MinGW update will remove the need for this.
2021-08-31Switch MapBlock compression to zstd (#10788)lhofhansl
* Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
2020-02-01Add limit parameter to decompressZlibBen Deutsch
This can prevent untrusted data, such as sent over the network, from consuming all memory with a specially crafted payload.
2019-06-10Add compatibility to vcpkg buildsystem (#8317)adrido
2017-07-27compressZlib: don't use a SharedBuffer but a raw u8 * pointerLoic Blot
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
2016-09-21Don't use ZLIB_WINAPI if the required DLL is not provided to CMakesfan5
This allows you to use an stdcall zlib (zlib1.dll instead of zlibwapi.dll) when building Minetest for win32.
2016-01-09Replace instance of readsome with read in decompressZlib Make decompressZlib ↵gregorycu
more robust
2014-09-20Add compression APIShadowNinja
2013-11-17Revert "Don't use msvc libs for mingw build"kwolekr
This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.
2013-11-17Don't use msvc libs for mingw buildsapier
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-07-22Fix compressZlib()Perttu Ahola
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2011-08-08the zlib error print function now prints to dstream (debug.txt)Perttu Ahola
2011-06-05Messed around with genmap.py. Now supports format version 17.Perttu Ahola
2011-04-21Some work-in-progress in hp and mobs and a frightening amount of random fixes.Perttu Ahola
2010-12-14better graphics, zlib to work on vc++Perttu Ahola
2010-12-13commit before content-tile separationPerttu Ahola
2010-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt
2010-11-27Initial filesPerttu Ahola