50 Commits (006c8f7b9bf6bbe56f6476e2e7141a651d8815c3)

Author SHA1 Message Date
Graham b067020cad Ignore trailing blocks with a non-zero next block pointer 4 years ago
Graham 416dabec4c Include empty loc groups in the total number of known keys 4 years ago
Graham bdaf5aae2c Rename WHIRLPOOL to DIGESTS for consistency with the Js5Index flags 4 years ago
Graham 53db5b3314 Add support for the current master index format 4 years ago
Graham e8fd432f14 Combine key validation with uncompression 4 years ago
Graham 359891c01e Convert all test objects to classes 4 years ago
Graham 5d7bd5b5c7 Add support for signed master indexes 4 years ago
Graham 4ccebc7ef8 Replace assertThrows with assertFailsWith 4 years ago
Graham 8fcf7cae46 Test the master index length validation code 4 years ago
Graham 4126abfaad Add support for unversioned master indexes 4 years ago
Graham d5d76f9301 Add DiskStoreZipWriter 4 years ago
Graham f90b9df505 Replace Paths.get() with Path.of() 4 years ago
Graham 918f8ab379 Remove redundant visibility modifier 4 years ago
Graham ab3300a8c7 Return old NamedEntry after removal from NamedEntryCollection 4 years ago
Graham af0a1e7457 Fix DiskStoreTest and FlatFileStoreTest on Windows 4 years ago
Graham 6023569ce0 Add code for packing and unpacking groups 4 years ago
Graham fa20f1e118 Fix Js5MasterIndex::create 4 years ago
Graham 30828308b2 Replace assertThrows with assertFailsWith 4 years ago
Graham 32fe61bd7d Replace org.junit.jupiter.api.Test with kotlin.test.Test 4 years ago
Graham 9ddce82df4 Format code 4 years ago
Graham 4aa75c8fee Improve Js5MasterIndex test coverage 4 years ago
Graham f1433ec97f Add method for creating a Js5MasterIndex 4 years ago
Graham d78c382ea7 Add in operator support to NamedEntryCollection 4 years ago
Graham 76977303b2 Add shorthand methods for creating ByteBufs from ByteArrays and Strings 4 years ago
Graham f143eef142 Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin 4 years ago
Graham ce5b76ef0f Rename dev.openrs2 package to org.openrs2 4 years ago
Graham efc7ba9d2b Add underflow/overflow tests 4 years ago
Graham 107c432e65 Rename NONE to UNCOMPRESSED 4 years ago
Graham 8d35b5010a Add functions for quickly checking if a XTEA key is valid 4 years ago
Graham 88175e798f Remove debug println from Js5IndexTest 4 years ago
Graham 89accc8b26 Rename root to ROOT 4 years ago
Graham 0afc7a563d Add Store.open() method 4 years ago
Graham d2ee9d3b8b Check that all decompression algorithms throw IOException on failure 4 years ago
Graham 0d384fa8f2 Throw IOException for all JS5 decompression errors 4 years ago
Graham 78f8069177 Add method for stripping the version trailer from a ByteBuf 4 years ago
Graham e764403cb2 Add tests for corrupt containers 4 years ago
Graham ec4f8b59c9 Use default ByteBufAllocator in unit tests 4 years ago
Graham 4fdedf298b Add support for colliding name hashes to Js5Index 4 years ago
Graham f984f357d8 Add Js5Index implementation 4 years ago
Graham 0af11d75c3 Add flag to disable encryption of uncompressed containers by default 4 years ago
Graham e5e9ece098 Fix JS5 uncompression of large GZIP-compressed files 4 years ago
Graham 3f8e1a1951 Add FlatFileStoreTest 4 years ago
Graham 9f1b2dbc29 Add BufferedFileChannel 4 years ago
Graham 2dda87fa4a Improve testListGroups() 4 years ago
Graham ad5f714982 Add testBounds() to DiskStoreTest 4 years ago
Graham ada90fb027 Add DiskStore tests 4 years ago
Graham e7ad4b92ff Group test files by test 4 years ago
Graham 24db41a74e Add gzip headers to containers 4 years ago
Graham 3f59e1764c Store individual XteaKey components separately 4 years ago
Graham 58335ca6d0 Add JS5 compression/encryption implementation 4 years ago