Commit Graph

  • 7be73f86d4 lib/nbt: Prevent addition of additional end tags to compounds BodgeMaster 2022-10-14 18:30:39 +0200
  • 71834e1018 lib/nbt: Build an end tag object into compound tag objects to prevent creation of endless compounds BodgeMaster 2022-10-14 18:08:49 +0200
  • ccce564219 lib/error: Add NOT_ALLOWED BodgeMaster 2022-10-14 17:31:12 +0200
  • 53279c6905 lib/error: Clean up comments BodgeMaster 2022-10-14 17:30:35 +0200
  • f8dd10d301 test/nbt_tags: Finish test implementation for NBT::Tag::List BodgeMaster 2022-10-13 11:34:06 +0200
  • 6672a4f149 test/nbt_tags: Implement string test and partial list test BodgeMaster 2022-10-09 10:29:28 +0200
  • d5ce50a4a9 lib/nbt: Fix a potential memory leak BodgeMaster 2022-10-09 10:18:20 +0200
  • f0092b78d3 lib/nbt: Make list serielizer return an error when serializing a list with no contained type set BodgeMaster 2022-10-08 23:35:21 +0200
  • b1ba33b39f test/nbt_tags: Implement unit tests for Float, Double, and Int8Array BodgeMaster 2022-10-08 12:56:13 +0200
  • 833c09e2da lib/nbt: Fix a bug caused by having two return statements swapped BodgeMaster 2022-10-08 12:54:05 +0200
  • b53999a548 tools/arraydump: Remove a debugging message that I accidentally left in BodgeMaster 2022-10-08 08:32:02 +0200
  • 379903d751 tools/baseconvert: New tool BodgeMaster 2022-10-08 08:29:01 +0200
  • 17792ec5bf lib/cli: Implement the "Additional Info" feature BodgeMaster 2022-10-08 08:27:48 +0200
  • 9ce35b5c6b test/nbt_tags: Implement more tests BodgeMaster 2022-10-08 08:25:57 +0200
  • be08a97275 tesst/nbt_tags: Choose a more sensible value for int8_0 BodgeMaster 2022-10-06 20:46:50 +0200
  • 6bdf99c897 test/nbt_tags: Implement tests for the first three tag types BodgeMaster 2022-10-06 11:10:51 +0200
  • 936def1a65 lib/nbt: move a comment (yes, very important commit) BodgeMaster 2022-10-06 11:09:58 +0200
  • 3cc1222de9 lib/nbt: Fix a bug in NBT::Helper::writeString() BodgeMaster 2022-10-06 10:21:59 +0200
  • ecf3b14b5a test/nbt_tags: I have no clue what’s going on here. BodgeMaster 2022-10-06 09:59:48 +0200
  • 8da758becd scripts/test/arraydump: Add test BodgeMaster 2022-10-05 06:26:41 +0200
  • 1e5051b503 setupenv: Remove check for xxd BodgeMaster 2022-10-05 05:31:37 +0200
  • 3b4c125ca2 tools/arraydump: Reimplement in C++ BodgeMaster 2022-10-05 05:26:04 +0200
  • 4cb1206839 lib/file: Fix isOpen not being set properly when closing and reopening; add destructor BodgeMaster 2022-10-05 05:02:58 +0200
  • 39c5940200 lib/file: Fix a potential memory leak created by yours truly BodgeMaster 2022-10-05 04:50:41 +0200
  • f3e03710f6 lib/file: Ensure a file is actually open before attempting to read BodgeMaster 2022-10-05 04:07:46 +0200
  • 72fc923839 lib/nbt: remove now useless comment BodgeMaster 2022-10-05 04:02:32 +0200
  • 5059bd0193 lib/file: change File::eof to a function BodgeMaster 2022-10-05 04:01:18 +0200
  • 8bb633f118 lib/error and lib/file: reassign code 9 to FILE_NOT_OPEN BodgeMaster 2022-10-05 03:48:05 +0200
  • ec44ac9531 lib/file: Check if there are enough bytes left to read BodgeMaster 2022-10-05 03:46:42 +0200
  • 341b4c187e lib/file: Fix (potential) memory leaks BodgeMaster 2022-10-05 03:30:01 +0200
  • 79650e390e lib/nbt: Implement the rest of the functions outline in the header BodgeMaster 2022-10-05 01:12:38 +0200
  • 2d2b67373c lib/nbt: Yesterday’s progress of implementing more of the functions in the header BodgeMaster 2022-10-04 02:39:58 +0200
  • 4c4366f7e6 lib/nbt: Partially update documentation to current terminology. BodgeMaster 2022-10-02 07:39:28 +0200
  • 4ef1d2c44f lib/nbt: Split serializer into two components BodgeMaster 2022-10-02 07:25:50 +0200
  • 5920d1d004 commit merge Shwoomple 2022-10-02 08:42:33 +0530
  • 056c1e6b11 lib/file.cpp: fix read fubctions. Shwoomple 2022-10-02 08:38:39 +0530
  • 8b1491c311 lib/nbt: Add missing class prefix to function names BodgeMaster 2022-10-01 04:57:45 +0200
  • fc2caf3bc0 lib/nbt: Implement more member functions for tag types BodgeMaster 2022-10-01 04:51:53 +0200
  • 89baeebc65 lib/file: Switch to using pointers for passing File objects around BodgeMaster 2022-09-30 20:10:28 +0200
  • c204aa7d76 lib/file.cpp:Fix exception warnings Shwoomple 2022-09-30 22:41:55 +0530
  • 09503d3dc7 lib/file: Remove accidentally included C header BodgeMaster 2022-09-30 18:31:49 +0200
  • 9fb06c998e scripts/build: Temporarily comment out hexnet BodgeMaster 2022-09-30 18:31:20 +0200
  • aa97154474 lib/error: Remove misplaced code fragment BodgeMaster 2022-09-30 18:09:23 +0200
  • 9abfd9e5a9 setupenv: Move sourcing the local environment before FOSS-VG environment adjustments BodgeMaster 2022-09-30 17:53:11 +0200
  • 150ce826ba complete merge Shwoomple 2022-09-30 11:03:05 +0530
  • 3449e3b9c4 lib/file: Implement broken file functions Shwoomple 2022-09-30 11:02:46 +0530
  • 213d28a9b8 setupenv: Fix syntax errors Charlie Root 2022-09-30 06:13:38 +0200
  • c1d7801436 complete merge Shwoomple 2022-09-28 08:22:09 +0530
  • 9610f4a4a2 lib/file: implement open function Shwoomple 2022-09-28 08:21:39 +0530
  • 434c976cc5 lib/nbt: Continue implementing in-memory NBT tag data types BodgeMaster 2022-09-28 03:43:54 +0200
  • 47fd1f8970 test/nbt_read_write_helpers: Change unnecessarily long string to be just one above the allowed size BodgeMaster 2022-09-26 23:53:53 +0200
  • 10b1d9fa0c lib/nbt: Start implementing NBT data types, make NBT::Helper::writeString() return an error instead of aborting the program BodgeMaster 2022-09-26 03:11:44 +0200
  • e8d41efeef lib/error.hpp: fix merge conflicts Shwoomple 2022-09-19 16:21:25 +0530
  • 508b5e67e7 lib/error.hpp: add file errors Shwoomple 2022-09-19 16:19:52 +0530
  • 398321e415 test/nbt*: Replace NBT::helper with NBT::Helper BodgeMaster 2022-09-19 11:20:51 +0200
  • 53878c3e2b lib/nbt: Start implementing the in-memory data structure for NBT BodgeMaster 2022-09-15 06:06:47 +0200
  • ad291ee77d lib/nbt: Capitalize NBT::Helper because I feel like it BodgeMaster 2022-09-15 02:00:07 +0200
  • 6149418f52 Add a level.dat to test the NBT parser on. BodgeMaster 2022-09-15 01:51:51 +0200
  • ac12bcf865 Makefile: Finally get rid of this as we don't need it. BodgeMaster 2022-09-15 01:06:59 +0200
  • 8b92d24ab9 setupenv: Add dependency check BodgeMaster 2022-09-11 10:11:17 +0200
  • aab91a2523 lib/nbt: Fix NBT::validateRawNBTData() and NBT::validateRawListContents closing #52 and #53 BodgeMaster 2022-09-11 09:14:32 +0200
  • 58b1199e38 lib/javacompat: Fixed JavaCompat::importJavaString() hanging when trying to import long strings BodgeMaster 2022-09-11 09:08:08 +0200
  • 48f8a7dcf2 tools/hexnet: start implementing console input Shwoomple 2022-08-30 00:51:53 +0530
  • 209d0828b4 tools/hexnet: un-comment problematic sections BodgeMaster 2022-08-29 21:06:54 +0200
  • b4d4ce77b2 tools/dumpnbt: better variable name and exit when data is invalid BodgeMaster 2022-08-29 21:02:36 +0200
  • ee5048331c tools/dumpnbt: start implementing a preliminary version BodgeMaster 2022-08-28 13:59:31 +0200
  • 629c999336 lib/nbt: Return correct error code from read functions (fixes #17) BodgeMaster 2022-08-27 22:35:10 +0200
  • cdd17045d1 test/nbt_read_write_helpers: add more tests according to issue #43 BodgeMaster 2022-08-27 20:10:29 +0200
  • bb40f6553e tools/hexnet: comment sections out temporarily to get rid of compile errors BodgeMaster 2022-08-27 11:50:36 +0200
  • a9759e3bc2 lib/file: Clarify what the functions do, take cursor position into account for cut functions and add missing cut function BodgeMaster 2022-08-24 01:36:55 +0200
  • ab1164557d lib/file: Write header BodgeMaster 2022-08-24 01:27:34 +0200
  • 1b8819ffe5 lib/error: Add ErrorOrVoid BodgeMaster 2022-08-24 01:21:38 +0200
  • 4934a78aaa lib/error: Move definitions of constructors of ErrorOr<> inside class definition. BodgeMaster 2022-08-24 01:19:59 +0200
  • 327ad9a9b5 Copyright Notice: Add authors section BodgeMaster 2022-08-23 23:24:29 +0200
  • bddab2e9f8 setupenv: Add tool directories to PATH, be more verbose BodgeMaster 2022-08-16 13:55:42 +0200
  • 017c8a61f8 scripts/tools/arraydump: New tool added BodgeMaster 2022-08-16 13:40:50 +0200
  • 5272636cb8 test/nbt_read_write_helpers: fix unit tests for readString() BodgeMaster 2022-08-15 13:30:53 +0200
  • 91d16ea451 test/javacompat: add test for mismatched size BodgeMaster 2022-08-15 12:24:03 +0200
  • a1fc0ce4b4 lib/nbt: Fix a possible buffer overflow in readString() BodgeMaster 2022-08-15 12:02:58 +0200
  • ca7b121c4d tools/hexnet: Implement udp partially. Shwoomple 2022-08-15 15:07:33 +0530
  • 25bec4c587 lib/nbt: Validator: Fix bytes not being added up correctly in multiple places BodgeMaster 2022-08-15 10:51:50 +0200
  • 589cf1ddaf lib/nbt: NBT validator: Fix wrong function declaration in the header, fix not using the currentPosition variable when accessing data BodgeMaster 2022-08-15 09:53:06 +0200
  • 884a5239c6 lib/nbt: fix a bug in NBT::helper::readString() which caused it to asuume that dataSize is the size of the string BodgeMaster 2022-08-15 09:51:46 +0200
  • 9190cad80d lib/nbt: finish implementation of validateRawNBTData() and fix a critical macro-induced bug BodgeMaster 2022-08-15 08:50:07 +0200
  • a862590370 lib/nbt: Start implementing the NBT validator BodgeMaster 2022-08-15 05:15:17 +0200
  • 3995e97f03 lib/javacompat: Make the endianness error message refer to the correct function BodgeMaster 2022-08-15 02:06:26 +0200
  • c9ec524db1 test/nbt_size_helpers: Implement tests for valid input BodgeMaster-unfinished BodgeMaster 2022-08-13 17:23:35 +0200
  • 73ae58e522 test/assert: Add line number to assertion failed message BodgeMaster 2022-08-13 17:04:55 +0200
  • acc19ae100 lib/nbt: Change behavior of totalTagSize to treat encounters of compounds and lists as errors BodgeMaster 2022-08-13 16:49:01 +0200
  • 149285c357 lib/nbt: Finish implementing containedDataLength, rename nextTagTotalSize->totalTagSize and nextTagDataLength->containedDataLength BodgeMaster 2022-08-13 15:56:59 +0200
  • 0c92bdf8fd test/nbt_size_helpers: begin adding unit tests for lib/nbt's new nextTag size helpers BodgeMaster 2022-08-13 15:47:08 +0200
  • 86f1ef596f lib/nbt: Begin implementing nextTagDataLength BodgeMaster 2022-08-13 15:46:06 +0200
  • 027f324f03 lib/nbt: Fix a bug in nextTagTotalSize and significantly improve readability by removing redundant code BodgeMaster 2022-08-13 15:42:52 +0200
  • 7a2c1d7d57 scripts/test: Clean old unit tests before building new ones to avoid confusion BodgeMaster 2022-08-13 15:37:25 +0200
  • 6fecb2cdb7 scripts/test/hexnet: Add license information BodgeMaster 2022-08-13 13:47:25 +0200
  • e882a09099 Build system: Improve output readability and prepare for script based unit tests BodgeMaster 2022-08-13 00:28:36 +0200
  • 748c91c375 scripts/test: change unit test file names BodgeMaster 2022-08-12 08:37:56 +0200
  • f5d85da98c lib/nbt: Move the functions for getting tag sizes into the helper namespace, give up on handling lists the same as all other tags BodgeMaster 2022-08-11 07:43:54 +0200
  • 396b9673fd lib/nbt: Various minor fixes to get the program to compile properly BodgeMaster 2022-08-11 06:57:42 +0200
  • 68fbf3ae20 lib/nbt: remove a function used to get the next tag type which introduced unnecessary complexity BodgeMaster 2022-08-11 06:56:06 +0200