33 Commits
Author SHA1 Message Date
Timofey Solomko 623999ef58 Small docs fixes. 2017-01-28 21:02:56 +03:00
Timofey Solomko d877adf962 Updated copyright year. 2017-01-05 23:09:53 +03:00
Timofey Solomko 8107eaca9a Renamed and expanded several DeflateErrors. 2016-12-25 22:38:24 +03:00
Timofey Solomko 0ed89edf3d Small cleanup. 2016-12-25 22:30:52 +03:00
Timofey Solomko 962e9c0aba Several classes are now final. 2016-12-25 22:05:14 +03:00
Timofey Solomko c8a5813730 Removed append(contentsOf:) where possible and performed small cleanup. 2016-12-24 22:26:55 +03:00
Timofey Solomko 04106bfa8a Some changes to make deflate/bzip2 faster. 2016-12-24 18:42:56 +03:00
Timofey Solomko 59cdfa3a19 out array now has proper doc string. 2016-12-15 23:37:36 +03:00
Timofey Solomko b342918566 Renamed decodeHuffmanBlock to decode. 2016-12-15 23:24:36 +03:00
Timofey Solomko 008c3b557d Added doc for BZip2Error.WrongMagic. 2016-12-15 17:44:39 +03:00
Timofey Solomko 66a4632dd0 findNextSymbol no longer returns optional. 2016-12-11 14:00:06 +03:00
Timofey Solomko 6215d68aa5 tree property of HuffmanTree now stores only codes. findNextSymbol now returns Int instead of HuffmanLengths. 2016-12-04 19:58:41 +03:00
Timofey Solomko 875a015043 HuffmanTable renamed to HuffmanTree. Its properties are now private. 2016-12-04 19:49:53 +03:00
Timofey Solomko e93050260d Additionally simplified usage of findNextSymbol. 2016-12-04 19:28:57 +03:00
Timofey Solomko 91016942f0 Made changes so bzip2 now also works. 2016-12-04 19:25:28 +03:00
Timofey Solomko 870a4ddecf Simplified findNextSymbol usage and added a new way of finding a symbol (with tree) for .reversed bitOrders. 2016-12-04 15:55:34 +03:00
Timofey Solomko 0d928f7998 Added docs for Bzip2. 2016-11-19 20:24:14 +03:00
Timofey Solomko 662ad5b74b Fixed compilation-overflow error on some architectures. 2016-11-19 15:22:28 +03:00
Timofey Solomko b79781807d Removed unnecessary bitShift aligning. 2016-11-19 13:50:57 +03:00
Timofey Solomko 05ddfa50b8 Added more extension functions for integer type conversions. 2016-11-19 13:47:02 +03:00
Timofey Solomko 79bede022b Swiftlinted. 2016-11-19 13:39:04 +03:00
Timofey Solomko acbaf3300d During decoding only uint8 arrays are now used for storing intermediate results (no Data — no memory problems). 2016-11-16 20:12:37 +03:00
Timofey Solomko 73eb0a9a9b Fixed memory problems in BZip2. 2016-11-15 23:45:38 +03:00
Timofey Solomko c158f895bf Added new enum for specifying bit order. United DataWithPointer and DataWithStraightPointer. 2016-11-15 22:32:36 +03:00
Timofey Solomko 5960c4965e Fixed several mistakes in bzip2. Now it passes all tests. 2016-11-15 00:01:03 +03:00
Timofey Solomko ac8fb7508a Bzip2 now uses new DataWithStraightPointer. 2016-11-14 23:18:22 +03:00
Timofey Solomko 0c46733b8b Added parsing magic number of bzip2 archives. 2016-11-14 23:17:42 +03:00
Timofey Solomko 39b68958c8 Copyright updates. 2016-11-13 21:16:04 +03:00
Timofey Solomko 7bffe501de Completed implementation of BZip2. 2016-11-13 21:06:57 +03:00
Timofey Solomko 00b04ba312 Implementation of BZip2 reached bwt_reverse. 2016-11-13 20:30:45 +03:00
Timofey Solomko 55b0243c46 Added new convenience function to DataWithPointer which returns int number directly without conversion of uint8 array. 2016-11-13 19:30:36 +03:00
Timofey Solomko ac00cf580b More progress on BZip2. 2016-11-13 19:11:13 +03:00
Timofey Solomko e889850e77 Initial progress on bzip2 support. 2016-11-12 19:16:39 +03:00