Commit Graph
162 Commits
Author SHA1 Message Date
Timofey Solomko 44f33bf02a Make bit reader and writer functions' parameters concrete classes
Previously, it was almost always protocols, which in some cases didn't make sense.
2018-01-07 22:27:36 +03:00
Timofey Solomko b9440aac9f Rework inverse BWT by removing sorting stage
This change has a significant impact on performance in a good way.
2018-01-07 15:16:18 +03:00
Timofey Solomko 1dbc64a615 Remove switch from BZip2.BlockSize.headerByte 2018-01-07 15:12:59 +03:00
Timofey Solomko ed01cd142f Fix build warnings about deprecated settings 2018-01-03 23:42:33 +03:00
Timofey Solomko e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +03:00
Timofey Solomko c8d92e56d3 Replace BitReader and ByteReader with BitByteData's implementations 2018-01-03 19:22:15 +03:00
Timofey Solomko bb39c4016c Replace SWCompression.BitWriter with BitByteData's one 2018-01-03 19:22:15 +03:00
Timofey Solomko 9d709568e1 Rework integration with BitByteData framework provided through Carthage
SWCompression is now linked against appropriate platform-version of framework using linker flags and framework search path; added custom shell script phase to TestSWCompression target, which copies appropriate platform-version of framework into test bundle (its presence is necessary to make it run).
2018-01-03 19:22:15 +03:00
Timofey Solomko a80d981b0f Add linking to BitByteData framework provided through Carthage 2018-01-03 19:22:14 +03:00
Timofey Solomko 20ab480737 Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
2018-01-03 19:22:14 +03:00
Timofey Solomko 3751e25c4f Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
2018-01-03 19:22:13 +03:00
Timofey Solomko 6b0dd666ce Several modifications to xcode projects
Organization name set to "Timofey Solomko"; reset some settings to its default values; remove separate test project and workspace by merging them into main project; move plist files inside xcode project; use project-wide settings as much as possible; set project version 50 (total amount of releases on github) and CFBundleShortVersion to 4.0.1; versions in xcode project are now managed by agvtool: project version is increased by 1 whenever there is a new release, CFBundleShortVersion will continue to be semantically versioned; remove some unused settings; remove header file and empty build phases.
2018-01-03 19:21:14 +03:00
Timofey Solomko 1293f799ae Multiple updates to Xcode projects/workspace
Use recommended settings for TestSWCompression; move SWCompression above TestSWCompression in workspace; remove internal workspace from SWCompression; remove platform-specific schemes and targets from SWCompression; enable support for all Darwin platforms in one target/scheme; set deployment targets as minimal as possible; set correct rpath for TestSWCompression; remove unwanted files from TestSWCompression; reorder files in TestSWCompression; add correct test action to SWCompression scheme; remove code-signing.
2017-12-24 14:53:47 +03:00
Timofey Solomko a0968060f3 Remove SWCompressionTests 2017-12-21 19:27:25 +03:00
Timofey Solomko 4cb3adb875 Update SWCompression project compatibility 2017-12-21 19:16:57 +03:00
Timofey Solomko 817114c98e Rename DeflateTests into DeflateCompressionTests 2017-11-27 21:35:32 +03:00
Timofey Solomko ea8a78045e Rearrange tests in xcode project so they show in the order they are executed 2017-11-22 00:06:17 +03:00
Timofey Solomko e98b42bf7a Move zlib test files into subdirectory 2017-11-19 18:48:17 +03:00
Timofey Solomko a603afc0ee Rename some zip tests for consistency 2017-11-19 18:46:57 +03:00
Timofey Solomko 1164d8eafb Extract new DWP zip string extension into a separate file and rename remaning file 2017-11-11 13:05:12 +03:00
Timofey Solomko 7881730243 Disable xcode code coverage 2017-11-10 21:52:33 +03:00
Timofey Solomko 8349eb9e4f Add extension to CompressionMethod with init from 7zip's coder id 2017-11-09 19:32:26 +03:00
Timofey Solomko c67a7e0f01 Add new XZBlock struct 2017-10-31 19:57:52 +03:00
Timofey Solomko b006cb9718 Add XZStreamHeader struct 2017-10-31 19:51:42 +03:00
Timofey Solomko 534ede1c00 Move LZMA2 related files into a separate group and folder 2017-10-29 12:55:34 +03:00
Timofey Solomko c445e09c92 Rename LZMATempDecoder into LZMADecoder 2017-10-29 12:54:35 +03:00
Timofey Solomko aac304b5b6 Extract LZMA constants into separate file and remove old LZMA decoder 2017-10-29 12:53:17 +03:00
Timofey Solomko 7057475e59 Add LZMA2 decoder 2017-10-29 12:35:17 +03:00
Timofey Solomko 722805a35d Add temporary version of LZMA1 only decoder 2017-10-29 12:03:29 +03:00
Timofey Solomko 15f954cd46 Use new compression method enum in ZIP 2017-10-28 17:45:01 +03:00
Timofey Solomko d7072e732b Use new FileSystemType enum for new fileSystemType property in ZIP 2017-10-28 17:07:57 +03:00
Timofey Solomko d5cb73f54c Remove UnixType in favor of ContainerEntryType 2017-10-21 12:13:00 +03:00
Timofey Solomko d0fe2ac9dd Add "big container" test for TAR 2017-10-14 23:48:09 +03:00
Timofey Solomko 47a5924109 Add TarExtendedHeader struct 2017-10-12 19:33:44 +03:00
Timofey Solomko c4258965ec Remove Protocols subfolders 2017-10-12 19:05:59 +03:00
Timofey Solomko 19b5380e01 Add ContainerEntryType extension: intializer from tar's fileTypeIndicator 2017-10-11 14:00:39 +03:00
Timofey Solomko 188b39372a Extract protocols into separate files 2017-10-11 13:10:38 +03:00
Timofey Solomko 2370dffbdb Extract Container related protocols into separate file and rename folder 2017-10-11 13:00:03 +03:00
Timofey Solomko 20840aae41 Extract some types from 7-zip into separate files 2017-10-11 12:56:49 +03:00
Timofey Solomko 0a2003380d Add ZipEntryInfo class 2017-10-10 16:24:38 +03:00
Timofey Solomko 4e6f5f368a Extract XZ related DataWithPointer extension into separate file 2017-10-08 22:10:14 +03:00
Timofey Solomko 66cf5ee116 Extract 7z related BitReader extension into separate file 2017-10-08 22:07:52 +03:00
Timofey Solomko b99b062534 Add TarEntryInfo class 2017-10-08 20:32:51 +03:00
Timofey Solomko 4a9fbc4ff5 Extract tar specific extensions into separate files 2017-10-08 20:32:39 +03:00
Timofey Solomko 542f650433 Move some source files up in xcode project closer to container files 2017-10-08 19:52:03 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00
Timofey Solomko 098f97b0c8 Perform automatic migration to swift 4 2017-10-04 22:45:44 +03:00
Timofey Solomko 41a6c9bae3 Various refactors and fixes for swiftlint 2017-10-02 23:11:38 +03:00
Timofey Solomko aa8df11302 Add block size changing support for bzip2 compression 2017-10-02 00:16:41 +03:00
Timofey Solomko 58cb43959f Extract deflate constants into separate file as an extension 2017-10-01 15:02:58 +03:00