Commit Graph
1108 Commits
Author SHA1 Message Date
Timofey Solomko 1271cd6e84 Reorganized deflate tests and added new encoding tests. 2017-02-07 22:51:03 +03:00
Timofey Solomko d1343e4c35 Fixed a problem with last distance symbol. 2017-02-07 22:45:23 +03:00
Timofey Solomko f7b75188fa lengthEncode code replaced with modified old version. 2017-02-07 22:36:04 +03:00
Timofey Solomko 8241d945bc Corrected errors with writing extra bits for HuffmanCodes. 2017-02-07 22:35:19 +03:00
Timofey Solomko eb81146e2a lengthEncode replaced with version which doesn’t perform any compression, test now compares before and after comp/decomp. 2017-02-05 20:47:42 +03:00
Timofey Solomko 60fc558f7b Test updated with last changes to api. 2017-02-05 19:16:30 +03:00
Timofey Solomko ae61d2ba91 Added appropriate public API for deflate compression. 2017-02-05 19:16:06 +03:00
Timofey Solomko 6e22a29aca crc32 now returns UInt32 value, added ability to chain crc32 calculations. 2017-02-05 13:46:13 +03:00
Timofey Solomko b2c7f64cfe Text fixes. 2017-02-04 15:07:38 +03:00
Timofey Solomko af0281d19f Completed static huffman encoding. 2017-02-04 00:00:15 +03:00
Timofey Solomko 85a24d8baf Modified tests. 2017-02-03 21:55:34 +03:00
Timofey Solomko b57049cbb1 Added huffmanEncode function with first steps in huffman encoding (only literals for now). 2017-02-03 21:55:26 +03:00
Timofey Solomko b61d37e373 Added code function to huffman tree. 2017-02-03 21:54:21 +03:00
Timofey Solomko 58e2c5f3a5 Added function for finishing writing session to b2bwriter. 2017-02-03 21:53:59 +03:00
Timofey Solomko 1b6e913d11 Added new class for writing bits into bytes. 2017-02-03 20:43:39 +03:00
Timofey Solomko 06527bb7f9 Fixed some edge cases. 2017-02-03 20:32:08 +03:00
Timofey Solomko a4610c7aea Added max distance check. 2017-02-03 20:08:40 +03:00
Timofey Solomko 249adf87f3 Fixed distance value. More readable output in test. 2017-02-03 20:06:10 +03:00
Timofey Solomko a5cd5e51fb Redone lengthEncode with the use on new enum (which is CustomStringConvertible). 2017-02-03 19:49:06 +03:00
Timofey Solomko a5601037b6 Final attempt to fix several problems in current implementation of lengthEncode. 2017-02-02 23:45:06 +03:00
Timofey Solomko 642e07614e Small refactor in deflate. 2017-01-31 22:56:33 +03:00
Timofey Solomko f57b1d5682 Added test for lengthEncode and some additional remarks for testing purposes. 2017-01-31 22:14:12 +03:00
Timofey Solomko 3285181c6a Added new function to Deflate which provides length-distance encoding. 2017-01-31 22:13:37 +03:00
Timofey Solomko 76308ecf67 Swiftlinted. 2017-01-30 18:33:52 +03:00
Timofey Solomko 0d42eb582c Another round of refactoring. 2017-01-30 18:28:25 +03:00
Timofey Solomko 8f6fa52031 Added code for processing individual entries. 2017-01-30 18:24:50 +03:00
Timofey Solomko 44526b5a15 More refactoring. 2017-01-30 18:15:43 +03:00
Timofey Solomko e9c4aecae3 Small refactor of zip code. 2017-01-29 15:37:32 +03:00
Timofey Solomko 093324926e Merge branch 'release-2.1.0' into develop 2017-01-29 12:05:40 +03:00
Timofey Solomko fc9fdd053a Merge branch 'release-2.1.0' v2.1.0 2017-01-29 12:04:56 +03:00
Timofey Solomko 20acd58c7c Preparations for 2.1.0. 2017-01-29 12:04:39 +03:00
Timofey Solomko 9879ba9c2c Retracked zip files (merge from origin/release-2.1.0) 2017-01-29 11:52:04 +03:00
Timofey Solomko 4cff5a15bc Added new tests results. 2017-01-29 11:47:38 +03:00
Timofey Solomko 87e784ce5b Updated zip tests with more copyright free data. 2017-01-29 11:45:02 +03:00
Timofey Solomko 69c1d9ce6c Updated jazzy docs. 2017-01-28 21:17:20 +03:00
Timofey Solomko a3ec4b781c Added docs for ZipContainer. 2017-01-28 21:15:21 +03:00
Timofey Solomko 45ea258a24 xz to XZ. 2017-01-28 21:15:10 +03:00
Timofey Solomko 623999ef58 Small docs fixes. 2017-01-28 21:02:56 +03:00
Timofey Solomko 5c8bfdef91 Updated zip tests with more copyright free data. 2017-01-28 20:32:15 +03:00
Timofey Solomko eea1805929 Changed return type. 2017-01-16 23:01:10 +03:00
Timofey Solomko 3f9fdbf998 2.1.0-test2 release. v2.1.0-test2 2017-01-16 22:53:20 +03:00
Timofey Solomko a4b8142edb Removed unused case. 2017-01-16 22:50:04 +03:00
Timofey Solomko 4370a029e3 Added support for data descriptor. 2017-01-16 22:49:31 +03:00
Timofey Solomko aaee5be1ed Fixed test answer. 2017-01-16 22:49:09 +03:00
Timofey Solomko 96ea1de8b4 Added zip test with data descriptor. 2017-01-16 22:36:25 +03:00
Timofey Solomko d3e03b0acd HuffmanTree is no longer part of SWCompression/Common. 2017-01-15 15:02:10 +03:00
Timofey Solomko d32ea991f0 Fixed two warnings. 2017-01-15 14:53:34 +03:00
Timofey Solomko fd60be4b67 Updated docs, changelog. Added new subspec. v2.1.0-test 2017-01-15 14:17:51 +03:00
Timofey Solomko 543f260c79 Disabled reading of zipComment. 2017-01-15 14:08:30 +03:00
Timofey Solomko 9edb0a1c75 United two cycles. 2017-01-15 14:08:19 +03:00