139 Commits (master)

Author SHA1 Message Date
Graham 7d041e6e22 Replace readAllBytes() with readBytes() 3 years ago
Graham 6aea0cfc8e Add FlatFileStoreZipWriter 3 years ago
Graham dbd169aa1a Make fastutil part of the cache library's API 3 years ago
Graham e6af0affb6 Ignore corrupt indexes in Js5MasterIndex::create 3 years ago
Graham b067020cad Ignore trailing blocks with a non-zero next block pointer 3 years ago
Graham 75d4446b92 Ensure uncompressIfKeyValid always consumes the entire container 3 years ago
Graham 416dabec4c Include empty loc groups in the total number of known keys 3 years ago
Graham bdaf5aae2c Rename WHIRLPOOL to DIGESTS for consistency with the Js5Index flags 3 years ago
Graham 53db5b3314 Add support for the current master index format 3 years ago
Graham e8fd432f14 Combine key validation with uncompression 3 years ago
Graham 359891c01e Convert all test objects to classes 3 years ago
Graham 5e6afb88f6 Improve RSA method naming 3 years ago
Graham 0016b8ab7d Replace AssertionError with IllegalStateException 3 years ago
Graham 98d25539b9 Combine RSA encrypt and decrypt methods into a single crypt method 3 years ago
Graham 5d7bd5b5c7 Add support for signed master indexes 3 years ago
Graham 7b6c0cf1fd Use block comments for multi-line comments 3 years ago
Graham 4ccebc7ef8 Replace assertThrows with assertFailsWith 3 years ago
Graham 8fcf7cae46 Test the master index length validation code 3 years ago
Graham 4126abfaad Add support for unversioned master indexes 3 years ago
Graham 936968363b Add CacheModule 3 years ago
Graham d5d76f9301 Add DiskStoreZipWriter 3 years ago
Graham 451d59b9e6 Add missing retain() call to Group.pack() 3 years ago
Graham f8835b7581 Always return a mutable Int2ObjectSortedMap from Group.unpack() 3 years ago
Graham f90b9df505 Replace Paths.get() with Path.of() 3 years ago
Graham 918f8ab379 Remove redundant visibility modifier 3 years ago
Graham d0dbf4c58e Make set subject of when 3 years ago
Graham ab3300a8c7 Return old NamedEntry after removal from NamedEntryCollection 3 years ago
Graham af0a1e7457 Fix DiskStoreTest and FlatFileStoreTest on Windows 3 years ago
Graham 186c5930a5 Add Js5Archive and Js5ConfigGroup constants for 550 3 years ago
Graham e384d634cc Reduce allocations if a singleton set is already mutable 3 years ago
Graham df68f6d801 Add Js5ConfigGroup object 3 years ago
Graham 6023569ce0 Add code for packing and unpacking groups 3 years ago
Graham 36e4fa474b Fix comment 3 years ago
Graham fa20f1e118 Fix Js5MasterIndex::create 3 years ago
Graham 30828308b2 Replace assertThrows with assertFailsWith 3 years ago
Graham 32fe61bd7d Replace org.junit.jupiter.api.Test with kotlin.test.Test 3 years ago
Graham 9ddce82df4 Format code 3 years ago
Graham 4aa75c8fee Improve Js5MasterIndex test coverage 3 years ago
Graham f1433ec97f Add method for creating a Js5MasterIndex 3 years ago
Graham 61d525c542 Convert Js5MasterIndex.Entry to a data class 3 years ago
Graham 62271878b6 Replace check with require in Js5MasterIndex::read 3 years ago
Graham 1c13fec91f Replace `?: throw AssertionError()` with `!!` 3 years ago
Graham d78c382ea7 Add in operator support to NamedEntryCollection 3 years ago
Graham 0b43e26d36 Remove redundant toList() calls after sorted() 3 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 06cad72eaa Add Js5Archive object 4 years ago
Graham 977dd0bd93 Check that we read exactly uncompressedLen bytes 4 years ago