summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/FastNBT.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-10Cleanup unneeded globals (#4736)peterbell101-3/+3
2020-04-30NBT: Dynamic list-max-count protection. (#4697)Mattes D1-8/+26
2019-08-11Fix building with clang 8.0 (#4346)Bond-0091-4/+6
2018-02-05Deal with covered switches consistently (#4161)peterbell101-16/+40
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2017-08-02Fix BSD buildpeterbell101-0/+1
2017-07-30cParsedNBT: Improved error reporting (#3876)peterbell101-47/+125
* cParsedNBT: Improved error reporting * Fix typos
2016-08-24Fixed type-casting-related warnings.Mattes D1-6/+6
2016-02-05Bulk clearing of whitespaceLogicParrot1-22/+22
2015-12-18Fix off by two error in ReadStringworktycho1-1/+1
2015-12-18Check for invalid tags when reading a compound tagtycho1-2/+6
2015-12-18Fixed String Parsing crash bugtycho1-5/+1
Check string length against actual remaining data, not an abitary constant
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-10/+10
2015-06-02Fixed warnings in MSVC.Mattes D1-0/+3
It complained about undefined return values or using uninitialized variables.
2015-05-19Make -Werror disabling file onlytycho1-3/+3
Ad fix a load of warnings
2015-01-20Fixed warnings in FastNBT.cpp.Mattes D1-39/+40
2014-12-21FastNBT: Added a sanity check for number of list items.Mattes D1-1/+8
Fixes CID 55812.
2014-09-20Fixed cParsedNBT::FindTagByPath().madmaxoft1-1/+1
There was an off-by-one error in the name handling.
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-2/+2
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-05-09Even more size_t fixes.Mattes D1-4/+4
2014-05-09Build fixes after the last size_t batch.Mattes D1-2/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-14/+16
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-14/+16
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-2/+2
2014-03-10Fixed xofts issuesTycho1-1/+1
2014-03-10Use string.reserve to avoid the need to do inplace byteswapTycho1-10/+6
2014-01-07Fixed a few MSVC warnings.madmaxoft1-5/+8
2014-01-02Fixed unaligned memory access in FastNBT.madmaxoft1-5/+5
This should fix #420.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-05-01FastNBT: Added cFastNBTTag::GetName()madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1437 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-3/+4
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16Android: Made the initial pre-calculated spawn area smallerfaketruth1-0/+9
Android: Fixed FastNBT Android: Fixed level.dat reading/writing GroupManager uses groups.example.ini as default WebAdmin uses webadmin.example.ini as default git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvilmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1015 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-05AnvilStats: made FastNBT faster by tweaking the pre-allocation.madmaxoft@gmail.com1-1/+7
Although the file is shared between AnvilStats and MCServer, MCServer doesn't use this tweak (it uses too much memory) git-svn-id: http://mc-server.googlecode.com/svn/trunk@931 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: WorldStorage-related files in a separate subfoldermadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-530/+530
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08Fast NBT writer (Saving a chunk is now about twice as fast)madmaxoft@gmail.com1-1/+211
git-svn-id: http://mc-server.googlecode.com/svn/trunk@484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-0/+320
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6