42 Commits (df3370c0efe672934c1f6ac52533fde06c9b754b)

Author SHA1 Message Date
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
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 15d359429e Add alloc parameter to Store.open() 4 years ago
Graham a2d41d924f Change cache's crypto dependency to an API dependency 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 b51b2f5e77 Cache values() array in enums 4 years ago
Graham d5240e3e42 Use assertions for conditions we never expect to hit 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 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
Graham 9f1b2dbc29 Add BufferedFileChannel 4 years ago
Graham 2dda87fa4a Improve testListGroups() 4 years ago
Graham ad5f714982 Add testBounds() to DiskStoreTest 4 years ago
Graham 9de0b26da4 Throw exception in remove() if group ID is negative 4 years ago
Graham 63a8f5534e Add netty-buffer API dependency to the cache module 4 years ago
Graham ada90fb027 Add DiskStore tests 4 years ago
Graham cea016d4ef Add low-level cache interface 4 years ago
Graham e7ad4b92ff Group test files by test 4 years ago
Graham d801e5fda6 Re-use length variables in the Js5Compression code 4 years ago
Graham 24db41a74e Add gzip headers to containers 4 years ago
Graham ce97775663 Reduce use of ByteBuf{Input,Output}Stream in Js5Compression 4 years ago
Graham 3f59e1764c Store individual XteaKey components separately 4 years ago
Graham 58335ca6d0 Add JS5 compression/encryption implementation 4 years ago