53 Commits

Author SHA1 Message Date
Timofey Solomko 1b6e913d11 Added new class for writing bits into bytes. 2017-02-03 20:43:39 +03:00
Timofey Solomko 87e784ce5b Updated zip tests with more copyright free data. 2017-01-29 11:45:02 +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 68ca615812 Added zip64 test. 2017-01-15 13:06:15 +03:00
Timofey Solomko a9915e3285 Added test file for zip tests. 2017-01-14 19:47:33 +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 5d88998579 Added a couple of tests to test Gzip and Zlib code completely. 2016-12-24 20:53:22 +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 53a80f8a79 Splitted code from LZMA into several files and added new class LZMADecoder. 2016-12-23 17:43:40 +03:00
Timofey Solomko eb78ca6af2 Added lzma2. 2016-12-22 23:52:18 +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 b0a728afff Removed answers for test9,10,11 because they are all the same as test8. 2016-12-18 12:29:03 +03:00
Timofey Solomko 97e8dc27d3 Added several additional tests (same file but different settings). 2016-12-17 20:18:56 +03:00
Timofey Solomko 87e6fd3104 Renamed lzma test to ‘test8’ and added answer for it. 2016-12-16 00:35:23 +03:00
Timofey Solomko 06e0ab364b Added a couple of auxiliary classes. 2016-12-15 19:22:17 +03:00
Timofey Solomko 34742c5bc3 First steps in LZMA (also added some basic test). 2016-12-15 17:45:38 +03:00
Timofey Solomko f55ce6b669 Updated project settings and removed singing for ios target. 2016-12-14 20:27:21 +03:00
Timofey Solomko b9fb8079b9 Removed HuffmanLength. 2016-12-08 08:26:14 +03:00
Timofey Solomko 875a015043 HuffmanTable renamed to HuffmanTree. Its properties are now private. 2016-12-04 19:49:53 +03:00
Timofey Solomko 3d82fb83b1 Removed «performance_test» and updated copyright. 2016-11-22 22:46:04 +03:00
Timofey Solomko 71f69012a1 Reorganized tests so deflate algorithm is now tested only one time. 2016-11-21 19:31:28 +03:00
Timofey Solomko 4ef2bc24a2 Fixed problems with watchOS scheme (missing files). 2016-11-20 18:06:35 +03:00
Timofey Solomko def0ce590c Moved common swift files so swift package manager won’t complain. 2016-11-20 17:56:09 +03:00
Timofey Solomko 3d5d0b68f0 Added test with random generated data. 2016-11-19 18:26:37 +03:00
Timofey Solomko 58d49afc35 Reorganized project structure. 2016-11-19 15:21:44 +03:00
Timofey Solomko a87763dc64 Enabled code coverage. 2016-11-16 20:11:53 +03:00
Timofey Solomko 924756697c Test2 and test3 are now less copyright-y. Added test6 with big file with zeros. 2016-11-15 22:21:44 +03:00
Timofey Solomko fe1b17a253 Added tests for bzip2. 2016-11-14 22:02:06 +03:00
Timofey Solomko ffeaf1c7c3 Reorganized tests and added missing tests for zlib/gz. 2016-11-14 21:56:33 +03:00
Timofey Solomko 90d08f7ec0 Reorganized test files. 2016-11-14 08:36:02 +03:00
Timofey Solomko e889850e77 Initial progress on bzip2 support. 2016-11-12 19:16:39 +03:00
Timofey Solomko 8bccf79dfb Removed unused symbols. 2016-11-05 12:06:52 +03:00
Timofey Solomko b64c3d81fe Added new class for getting bits from data in efficient way. And performance tests for it. 2016-11-04 23:11:42 +03:00
Timofey Solomko 5905332f72 Setup travis to upload releases. 2016-11-02 18:34:24 +03:00
Timofey Solomko 5178b6245b Added performance test with "relatively big" file (though the file itself is gitignored). 2016-11-01 23:51:26 +03:00
Timofey Solomko f2e46103b2 Fixed another problem with 'overflowing' shift. 2016-10-31 00:32:10 +03:00
Timofey Solomko a6ec0ea4b9 Added more complicated zlib test. 2016-10-31 00:00:21 +03:00
Timofey Solomko 7ff96d2543 Added support for other platforms. 2016-10-30 20:07:04 +03:00
Timofey Solomko 20e08d7cb4 Added shared scheme. 2016-10-30 19:34:44 +03:00
Timofey Solomko df2399ff07 Added documentation comments. 2016-10-30 16:29:42 +03:00
Timofey Solomko 3ff567a5da Added 'helloworld' test for zlib. 2016-10-30 14:44:17 +03:00
Timofey Solomko 875bd2f7fa Added ZlibArchive. 2016-10-30 14:26:50 +03:00
Timofey Solomko 9c4592bba1 Gzip related code moved into separate file; added two protocols; extended serviceInfo structure. 2016-10-29 22:27:11 +03:00
Timofey Solomko 6ee0eae306 Added tests with empty file. 2016-10-29 21:17:09 +03:00
Timofey Solomko 0d01ef604a Added second test and renamed first one. 2016-10-28 20:00:45 +03:00
Timofey Solomko bca59021a5 Added extensions, findNextSymbol; HuffmanLength moved to a separate file. 2016-10-26 21:03:19 +03:00
Timofey Solomko 15dbb1fb60 Data type actually has built-in subscripts, so home-made subscripts were replaced by them. 2016-10-25 23:25:35 +03:00
Timofey Solomko ed5cf0ebe1 Moved UInt8 and Data extensions to a combined file. Added function to "combine" two bytes into one. 2016-10-24 20:23:26 +03:00