27 Commits
Author SHA1 Message Date
Timofey Solomko 76308ecf67 Swiftlinted. 2017-01-30 18:33:52 +03:00
Timofey Solomko d877adf962 Updated copyright year. 2017-01-05 23:09:53 +03:00
Timofey Solomko 4f4689651b Fixed several typos. 2017-01-02 18:08:40 +03:00
Timofey Solomko 64a1b37f1a Simplified lzmaDecoder initializer. 2017-01-01 20:37:43 +03:00
Timofey Solomko 33dd12aea6 Simplified code for range decoder initialization. 2017-01-01 20:30:56 +03:00
Timofey Solomko 41936b573e Removed lzma print functions. 2016-12-30 21:51:26 +03:00
Timofey Solomko 2774fcbb57 Added prevByte computed property to DWP so it is possible to make bitArray private again. 2016-12-30 18:11:05 +03:00
Timofey Solomko 9dc12b63c7 All is… arrays in LZMADecoder replaced with single probabilities array. 2016-12-30 17:55:09 +03:00
Timofey Solomko 173b7e927f Redone XZError cases, added proper documentation to all new types and functions. 2016-12-26 20:28:43 +03:00
Timofey Solomko 97116bbe31 Fixed several build errors on other apple platforms. 2016-12-26 08:55:27 +03:00
Timofey Solomko deb037d848 Several functions are now private. 2016-12-25 22:05:42 +03:00
Timofey Solomko eaf336e2f0 Now the state of lzmaDecoder is reset entirely. 2016-12-24 23:37:07 +03:00
Timofey Solomko f5270f9674 Fixed build error when range decoder is reset. 2016-12-24 15:10:42 +03:00
Timofey Solomko c64f739cb2 RangeDecoder is now reset each time. 2016-12-24 15:00:18 +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 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 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 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 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