Commit Graph

92 Commits (51200e7d753b4276038f21cf02d0b8d732c33be1)

Author SHA1 Message Date
BodgeMaster 51200e7d75 Resources: Add two files that contain the same data, one being normal UTF-8, the other being Java-style unicode 2022-07-05 19:57:43 +02:00
BodgeMaster b428b17647 Reoucres: add a Java tool to convert normal strings into Java-style strings 2022-07-05 19:35:37 +02:00
BodgeMaster 762ba7f089 NBT: add write helpers for float types 2022-07-04 19:43:31 +02:00
BodgeMaster 8c7be385ae NBT: add write helpers for int32 and int64 2022-07-04 18:29:38 +02:00
BodgeMaster 6d62d995df NBT: implement write helpers for int8 and int16 2022-07-04 18:03:40 +02:00
BodgeMaster 044593e081 NBT: add compiler errors to the endian specific sections 2022-07-02 16:41:54 +02:00
BodgeMaster 664632d111 NBT: add stub write helper functions 2022-07-02 02:08:32 +02:00
BodgeMaster f18874019b fix copyright notice 2022-07-02 01:04:32 +02:00
BodgeMaster 4f9577eb36 NBT: implement readFloat helpers 2022-07-01 21:15:18 +02:00
BodgeMaster 38b2a6f270 add pragma once to endianness check result 2022-07-01 14:09:46 +02:00
BodgeMaster 1dcf37c0fc add our own endianness check because there is apparently no proper way to check for that at compile time 2022-07-01 13:57:20 +02:00
BodgeMaster 975cdd309d NBT: implement NBT::helper::readInt64Array 2022-06-30 11:02:30 +02:00
BodgeMaster edcf40d5a5 NBT: implement NBT::helper::readInt32Array 2022-06-30 10:45:12 +02:00
BodgeMaster 562fbcecbb remove pointless placeholder, rename /test to /test_data because the actual tests live in /src/test 2022-06-29 12:34:27 +02:00
BodgeMaster c8be03dfa3 Merge branch 'master' of https://lostcave.ddnss.de/git/BodgeMaster/FOSS-VG 2022-06-29 12:26:24 +02:00
BodgeMaster c87c519bb5 NBT: implement NBT::helper::readInt8Array 2022-06-29 12:22:54 +02:00
BodgeMaster 71fab21dfb Error: add OVERRUN_ERROR 2022-06-29 11:32:33 +02:00
Gregory Powers 8c9990de1b Switched spaces for tabs in the makefile so it works 2022-06-28 22:33:19 -04:00
BodgeMaster d43ef67ed1 NBT: fix bug in readInt64, improve readability 2022-06-29 00:05:02 +02:00
BodgeMaster ed429633e5 NBT Test: fix begin of data test for int64, remove irrelevant (and architecture-specific) suffixes 2022-06-29 00:02:51 +02:00
BodgeMaster 7c12a92b2a NBT: implement the integer helper functions 2022-06-28 22:04:04 +02:00
BodgeMaster 12b4a8bb55 Tests: fix up alias and implement first tests 2022-06-28 22:03:27 +02:00
BodgeMaster d37f5581c3 assert.h++: fix failure handling 2022-06-28 20:11:24 +02:00
BodgeMaster c61aca5b72 assert.h++: simple ASSERT() macro 2022-06-28 19:55:22 +02:00
BodgeMaster 9b0d54165d test.sh: add copyright notice (and fix a linking issue caused by argument order -_-) 2022-06-28 19:53:38 +02:00
BodgeMaster 63b25ed749 fixed test script 2022-06-28 18:55:35 +02:00
BodgeMaster ebfa4738b6 formatting 2022-06-28 18:54:50 +02:00
BodgeMaster e09fb6a61f add test infrastructure, closing #11 2022-06-28 18:28:44 +02:00
BodgeMaster 274f18e693 Environment: fix LD_LIBRARY_PATH not being set correctly if it has a preexisting value 2022-06-28 18:07:05 +02:00
BodgeMaster 7dfa8365f8 Makefile: make the clean target do project clean and the mrproper target deep clean everything 2022-06-28 17:08:54 +02:00
BodgeMaster a3d62b1fcb Merge branch 'master' of https://lostcave.ddnss.de/git/BodgeMaster/FOSS-VG 2022-06-28 17:03:18 +02:00
BodgeMaster 4f760f44be NBT: Implement readInt8 helper closing #2 2022-06-28 16:58:31 +02:00
BodgeMaster 12e9533772 apparently that's not how cpp works (I stole it from somewhere lol) 2022-06-28 16:51:52 +02:00
Gregory Powers ae65968f98 Merge branch 'master' of https://lostcave.ddnss.de/git/BodgeMaster/FOSS-VG
I'm adding a makefile
2022-06-28 10:44:32 -04:00
Gregory Powers 483ab43560 edited makefile 2022-06-28 10:43:50 -04:00
BodgeMaster 8594f4cbb0 NBT: Fix ambiguity between int types and bool when calling the ErrorOr<> constructor 2022-06-28 16:13:33 +02:00
BodgeMaster 83d606a2c7 Error: Add error codes to ErrorOr<> and add constructors
This allows us to handle functions that can fail in multiple different ways
2022-06-28 16:01:39 +02:00
BodgeMaster 081035db32 expose helpers in the header, rename NBT::helpers to NBT::helper 2022-06-28 15:19:47 +02:00
BodgeMaster ab920a114b comply with code style guidelines, also minor fix to them 2022-06-28 14:25:32 +02:00
BodgeMaster 2b51cdb9cc Merge branch 'master' of https://lostcave.ddnss.de/git/BodgeMaster/FOSS-VG 2022-06-28 14:20:02 +02:00
Gregory Powers 481d4ce70e added a makefile 2022-06-27 22:34:09 -04:00
BodgeMaster 9b58d165c0 We have a suitable string type for UTF-8 now. 2022-06-27 18:15:01 +02:00
BodgeMaster 6d6b0dae5a add warranty disclaimer 2022-06-27 14:22:16 +02:00
Jan Danielzick 60f53f9e6d add 80 character comment rule to sh 2022-06-27 13:29:24 +02:00
BodgeMaster 512ecddcb0 add verbosity to shell scripts 2022-06-27 13:07:47 +02:00
BodgeMaster 0a63b86474 minor rewording of an error message 2022-06-27 13:06:09 +02:00
BodgeMaster db7be9b782 add code style guidelines 2022-06-27 13:03:45 +02:00
BodgeMaster d25d3213fd formatting 2022-06-27 11:59:02 +02:00
Jan Danielzick 63758ae422 Update 'README.md' 2022-06-27 11:57:47 +02:00
BodgeMaster 62dd17b73f Show a message when loading the provided shell environment 2022-06-27 11:47:36 +02:00