57 Commits (e8fd432f14783fddca728e79c1ef48e0eabdde2b)

Author SHA1 Message Date
Graham e8fd432f14 Combine key validation with uncompression 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 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 d0dbf4c58e Make set subject of when 3 years ago
Graham ab3300a8c7 Return old NamedEntry after removal from NamedEntryCollection 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 4 years ago
Graham df68f6d801 Add Js5ConfigGroup object 4 years ago
Graham 6023569ce0 Add code for packing and unpacking groups 4 years ago
Graham 36e4fa474b Fix comment 4 years ago
Graham fa20f1e118 Fix Js5MasterIndex::create 4 years ago
Graham f1433ec97f Add method for creating a Js5MasterIndex 4 years ago
Graham 61d525c542 Convert Js5MasterIndex.Entry to a data class 4 years ago
Graham 62271878b6 Replace check with require in Js5MasterIndex::read 4 years ago
Graham 1c13fec91f Replace `?: throw AssertionError()` with `!!` 4 years ago
Graham d78c382ea7 Add in operator support to NamedEntryCollection 4 years ago
Graham 0b43e26d36 Remove redundant toList() calls after sorted() 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 06cad72eaa Add Js5Archive object 4 years ago
Graham 977dd0bd93 Check that we read exactly uncompressedLen bytes 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 15d359429e Add alloc parameter to Store.open() 4 years ago
Graham 0afc7a563d Add Store.open() method 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 b51b2f5e77 Cache values() array in enums 4 years ago
Graham d5240e3e42 Use assertions for conditions we never expect to hit 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 8bed0fc875 Rename getOrCreateIndex to createOrGetIndex 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 7ab567b7b9 Optimise DiskStore::list 4 years ago
Graham 1455379f20 Document thread safety of DiskStore and FlatFileStore 4 years ago
Graham 20d6d73d30 Check {read,write}BufferSize are both zero or positive 4 years ago
Graham 5e447f31d6 Free readBuffer if the writeBuffer allocation fails 4 years ago
Graham 8cdd33a1dd Replace exists() with isDirectory() for consistency 4 years ago
Graham 3f8e1a1951 Add FlatFileStoreTest 4 years ago
Graham 232ba32bbd Enable explicit API mode 4 years ago