summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/FastNBT.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prepare ChunkData for BlockState storage (#5105)Tiger Wang2021-03-051-0/+12
| | | | | | | | | | | | | | | | | | | | | | | * Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com>
* zlib -> libdeflate (#5085)Tiger Wang2021-01-111-41/+37
| | | | | | + Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
* FastNBTWriter: AddString now uses string_viewTiger Wang2020-08-281-4/+4
| | | | * Avoids an allocation for all those string literals we pass in
* 1.14 connection supportTiger Wang2020-07-261-1/+1
|
* Cleanup unneeded globals (#4736)peterbell102020-05-101-3/+3
|
* NBT: Dynamic list-max-count protection. (#4697)Mattes D2020-04-301-8/+26
|
* Fix building with clang 8.0 (#4346)Bond-0092019-08-111-4/+6
|
* Deal with covered switches consistently (#4161)peterbell102018-02-051-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()
* Fix BSD buildpeterbell102017-08-021-0/+1
|
* cParsedNBT: Improved error reporting (#3876)peterbell102017-07-301-47/+125
| | | | | | * cParsedNBT: Improved error reporting * Fix typos
* Fixed type-casting-related warnings.Mattes D2016-08-241-6/+6
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-22/+22
|
* Fix off by two error in ReadStringworktycho2015-12-181-1/+1
|
* Check for invalid tags when reading a compound tagtycho2015-12-181-2/+6
|
* Fixed String Parsing crash bugtycho2015-12-181-5/+1
| | | | Check string length against actual remaining data, not an abitary constant
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-10/+10
|
* Fixed warnings in MSVC.Mattes D2015-06-021-0/+3
| | | | It complained about undefined return values or using uninitialized variables.
* Make -Werror disabling file onlytycho2015-05-191-3/+3
| | | | Ad fix a load of warnings
* Fixed warnings in FastNBT.cpp.Mattes D2015-01-201-39/+40
|
* FastNBT: Added a sanity check for number of list items.Mattes D2014-12-211-1/+8
| | | | Fixes CID 55812.
* Fixed cParsedNBT::FindTagByPath().madmaxoft2014-09-201-1/+1
| | | | There was an off-by-one error in the name handling.
* Basic style fixes.madmaxoft2014-07-171-2/+2
|
* Normalized comments.madmaxoft2014-07-171-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.
* Even more size_t fixes.Mattes D2014-05-091-4/+4
|
* Build fixes after the last size_t batch.Mattes D2014-05-091-2/+2
|
* Fixed MSVC 64-bit build warnings.Mattes D2014-05-091-14/+16
|
* Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-2/+2
|
* Fixed xofts issuesTycho2014-03-101-1/+1
|
* Use string.reserve to avoid the need to do inplace byteswapTycho2014-03-101-10/+6
|
* Fixed a few MSVC warnings.madmaxoft2014-01-071-5/+8
|
* Fixed unaligned memory access in FastNBT.madmaxoft2014-01-021-5/+5
| | | | This should fix #420.
* Moved source to srcAlexander Harkness2013-11-241-0/+547