1539 Commits
Author SHA1 Message Date
Timofey Solomko 1a67064786 Added first steps in processing cd headers. 2017-01-14 21:12:51 +03:00
Timofey Solomko 92a9eeda03 Added support for zip64 end of cd. 2017-01-14 20:52:52 +03:00
Timofey Solomko 066bf1369c Added first steps of zip parsing and test for it. 2017-01-14 19:46:55 +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 e91ea337ec Preparations for 2.0.1. 2017-01-02 15:30:06 +03:00
Timofey Solomko 02e76226bf Fixed incorrect reading of adler32 due to misaligned byte. 2017-01-02 15:25:13 +03:00
Timofey Solomko 1a02a737b1 A small restructuring. 2017-01-01 20:45:57 +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 4183db2eef Removed recently added integer operators overloads. 2017-01-01 14:40:24 +03:00
Timofey Solomko 21f61f19cf Removed 'good functions' recently added to DWP. 2017-01-01 14:39:55 +03:00
Timofey Solomko 1d8d014250 Added a couple of ‘good functions’ to DWP. 2016-12-30 23:03:27 +03:00
Timofey Solomko 29b46e7582 Added various unsinged integer operators overloads. 2016-12-30 23:02:58 +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 e5a81a5b87 Preparations for 2.0.0. 2016-12-29 22:27:16 +03:00
Timofey Solomko f7633ece0e Fixed a build problem when building subpods other than XZ. 2016-12-26 22:29:28 +03:00
Timofey Solomko a90184233a Some updates to docs and GzipHeader.FileSystemType. 2016-12-26 21:49:05 +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 4c32333c0c Added associated values to WrongCheck errors. 2016-12-25 22:45:55 +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 329aa22d66 GzipArchive.ServiceInfo replaced with GzipHeader. 2016-12-25 22:29:50 +03:00
Timofey Solomko 862262d098 ZlibArchive.ServiceInfo replaced with ZlibHeader. 2016-12-25 22:22:56 +03:00
Timofey Solomko d1574786b2 HuffmanTree is no longer CustomStringConvertible. 2016-12-25 22:07:41 +03:00
Timofey Solomko 346268fa1d Gzip.ServiceInfo is now longer equatable. 2016-12-25 22:06:53 +03:00
Timofey Solomko 6a5a4c3420 Added new GzipHeader struct. 2016-12-25 22:05:59 +03:00
Timofey Solomko deb037d848 Several functions are now private. 2016-12-25 22:05:42 +03:00
Timofey Solomko 962e9c0aba Several classes are now final. 2016-12-25 22:05:14 +03:00
Timofey Solomko 6c08af8cec gzip: now calculates checksum from each member individually (not the entire uncomp data). 2016-12-25 15:29:50 +03:00
Timofey Solomko 65872b0a52 Reenabled support of stream padding and added support of several streams in one file (because such files exist). 2016-12-24 23:37:58 +03:00
Timofey Solomko eaf336e2f0 Now the state of lzmaDecoder is reset entirely. 2016-12-24 23:37:07 +03:00
Timofey Solomko c8a5813730 Removed append(contentsOf:) where possible and performed small cleanup. 2016-12-24 22:26:55 +03:00
Timofey Solomko 56a3ae9f02 Added adler-32 check to zlib and small docs updates. 2016-12-24 21:06:44 +03:00
Timofey Solomko d42e9ed16e Added new int extension function which reverses byte order in a number. 2016-12-24 21:05:05 +03:00
Timofey Solomko 07786773c5 Added gzip file members support. 2016-12-24 20:37:35 +03:00
Timofey Solomko 888ad5ec80 Added two variables to DWP which will be useful later. 2016-12-24 20:35:03 +03:00
Timofey Solomko e8c2bf992d Added check of header’s crc. 2016-12-24 20:33:03 +03:00
Timofey Solomko 3c4ca8f81c Added check of crc and isize of uncompressed data in Gzip. 2016-12-24 20:14:07 +03:00
Timofey Solomko 3939b0396d GZIP: Renamed NonZeroReservedFlags to WrongFlags, added WrongCRC error, some docs updates. 2016-12-24 20:02:40 +03:00
Timofey Solomko dfe83f8297 Removed argument lable pointerData from internal deflate-related methods. 2016-12-24 20:00:43 +03:00
Timofey Solomko 04106bfa8a Some changes to make deflate/bzip2 faster. 2016-12-24 18:42:56 +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