2584 Commits
Author SHA1 Message Date
Timofey Solomko dfe83f8297 Removed argument lable pointerData from internal deflate-related methods. 2016-12-24 20:00:43 +03:00
Timofey Solomko 5c288deb9f Readded missing test files. 2016-12-24 19:30:53 +03:00
Timofey Solomko 9be265aeb4 Updated test results. 2016-12-24 18:43:05 +03:00
Timofey Solomko 04106bfa8a Some changes to make deflate/bzip2 faster. 2016-12-24 18:42:56 +03:00
Timofey Solomko c226b4905b Added new test results. filter_test.py now supports xz test results. 2016-12-24 15:39:18 +03:00
Timofey Solomko f5270f9674 Fixed build error when range decoder is reset. 2016-12-24 15:10:42 +03:00
Timofey Solomko 836843a1cc One more fix for multiByteDecode… 2016-12-24 15:10:18 +03:00
Timofey Solomko c64f739cb2 RangeDecoder is now reset each time. 2016-12-24 15:00:18 +03:00
Timofey Solomko e8d103776b Fixed padding processing for blocks and index once again. 2016-12-24 14:04:18 +03:00
Timofey Solomko f1f2240867 Small change to crc calculations. 2016-12-24 14:03:42 +03:00
Timofey Solomko e4181a76a9 Swiftlinted. 2016-12-24 12:34:23 +03:00
Timofey Solomko e520458a11 Fixed problem caused by not specifying uncompressed size before lzma decoding. 2016-12-23 23:37:09 +03:00
Timofey Solomko b61a5a466d Moved multiByteDecode into DWP. Hopefully, now it works properly (I’ve also made some changes to it). 2016-12-23 23:36:35 +03:00
Timofey Solomko bd411906be Small cleanup in lzmadecoder. 2016-12-23 21:48:07 +03:00
Timofey Solomko c57f7f3a5d Fixed error due to unitialized lc,lp,pb befor resetting state. 2016-12-23 21:47:55 +03:00
Timofey Solomko c0fefcc77b Fixed reset bits calculation. 2016-12-23 21:47:19 +03:00
Timofey Solomko 35052bdc28 Added check of backwardSize, disabled stream padding. 2016-12-23 21:33:10 +03:00
Timofey Solomko 1468914491 Fixed problems with calculation of unpadded size of a block. 2016-12-23 21:20:33 +03:00
Timofey Solomko 4d35231c32 Dictionary size is now passed around and fixed the problem with big-endian integers. 2016-12-23 21:20:03 +03:00
Timofey Solomko a5158e27f2 Fixed crash in crc64. 2016-12-23 21:19:18 +03:00
Timofey Solomko d41bab2136 DWP is now final. 2016-12-23 20:40:48 +03:00
Timofey Solomko d00944bb94 Small docs changes in XZ. 2016-12-23 20:40:38 +03:00
Timofey Solomko 39050dd7d0 Probably completed lzma2. 2016-12-23 20:40:30 +03:00
Timofey Solomko 4bb92c00d5 A new attempt has been made to make an LZMADecoder initializer which can support both LZMA and LZMA2. Also lzma Constants are no longer a substruct. 2016-12-23 20:09:46 +03:00
Timofey Solomko ec8f15965a Added new convenience function for OutWindow. 2016-12-23 20:07:42 +03:00
Timofey Solomko d3650edbeb Finished LZMA/LZMADecoder. 2016-12-23 19:52:08 +03:00
Timofey Solomko 60008cc5c8 Moved initial values for properties of lzma classes to their declarations (where possible). 2016-12-23 19:16:28 +03:00
Timofey Solomko 5b942c31b7 pointerData is now stored as an instance property in all LZMA classes. 2016-12-23 19:09:50 +03:00
Timofey Solomko c95edcec2f lzmaDecode method rewritten as an instance method. 2016-12-23 19:02:29 +03:00
Timofey Solomko 53a80f8a79 Splitted code from LZMA into several files and added new class LZMADecoder. 2016-12-23 17:43:40 +03:00
Timofey Solomko 1aa51c18e0 Removed StreamHeader structure. 2016-12-23 15:13:18 +03:00
Timofey Solomko 8cc882619b Implemented parsing of index in xz and enable support of crc64 check. 2016-12-23 14:41:28 +03:00
Timofey Solomko c8a656a677 Added checks related to (un)compressed size of block. 2016-12-23 14:23:09 +03:00
Timofey Solomko eb78ca6af2 Added lzma2. 2016-12-22 23:52:18 +03:00
Timofey Solomko b232078e4e Completed block parsing in XZ. 2016-12-22 23:51:52 +03:00
Timofey Solomko 0e6f417d67 Main functions of LZMA restructured a bit to support addition of lzma2. 2016-12-22 23:51:12 +03:00
Timofey Solomko 6909d21c1c Added a couple of functions to DWP which may be used in the future. 2016-12-22 23:50:37 +03:00
Timofey Solomko 87c0f255d5 Added crc64. 2016-12-22 23:50:13 +03:00
Timofey Solomko f9641aec6d Fixed blockHeaderPadding and some cleanup. 2016-12-22 11:27:53 +03:00
Timofey Solomko 0d55c0f71f Hopefully fixed multiByteDecoder. 2016-12-22 11:18:14 +03:00
Timofey Solomko db000e2820 Added processIndex function and fixed misunderstanding about numberOfFilters. 2016-12-21 22:21:37 +03:00
Timofey Solomko 50d8369e8f Some progress on XZ. 2016-12-20 20:55:04 +03:00
Timofey Solomko c918f9156d Added footer and stream padding processing to xz archive. 2016-12-18 16:23:58 +03:00
Timofey Solomko fb45daaf67 Fixed typo in the name of the function. Added function to get bytes. 2016-12-18 16:23:37 +03:00
Timofey Solomko ebd50d61fe Added first things for xz archive support and tests for it. 2016-12-18 14:17:12 +03:00
Timofey Solomko 6589459e37 A small cleanup in GzipTests. 2016-12-18 14:16:36 +03:00
Timofey Solomko bc64ce44b1 Added function which calculates crc32. 2016-12-18 14:16:16 +03:00
Timofey Solomko b4766be618 Internal decompress function of LZMA now has its argument label omitted. 2016-12-18 14:15:51 +03:00
Timofey Solomko 0d52d55c5c XZ files are now in git lfs. 2016-12-18 14:15:14 +03:00
Timofey Solomko b0a728afff Removed answers for test9,10,11 because they are all the same as test8. 2016-12-18 12:29:03 +03:00