Skip to content

Commit

Permalink
Preparation for 3.0.0-test2.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolomko committed May 21, 2017
1 parent 7e6757f commit c14a36c
Show file tree
Hide file tree
Showing 81 changed files with 8,052 additions and 1,823 deletions.
4 changes: 2 additions & 2 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ clean: true
exclude: Tests/
author: Timofey Solomko
module: SWCompression
module_version: 2.4.2
module_version: 3.0.0-test2
copyright: '© 2017 Timofey Solomko'
readme: README.md
github_url: https://github.com/tsolomko/SWCompression
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v2.4.2
github_file_prefix: https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2
theme: fullwidth
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Changelog
v3.0.0
----------------
#### test2
- Added support for TAR containers.
- Various standards are supported (pre-POSIX, POSIX-1988, pax).
- Added subspec for TAR features.
- Added Container protocol.
- Reworked ZipContainer to conform to new protocol.
- All Errors cases renamed to conform Swift naming convetions (lowerCamelCase).
- Removed LZMAOutWindow.
- Test results combined into single document.
- Reduced tests sizes.
- Included 2.4.1 and 2.4.2 changes.

#### test1
- BZip2 decompression now checks CRC32.
- GZipHeader.modificationTime is now Optional.
Expand Down
7 changes: 6 additions & 1 deletion SWCompression.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SWCompression"
s.version = "3.0.0-test1"
s.version = "3.0.0-test2"
s.summary = "Framework with implementations in Swift of different (de)compression algorithms"

s.description = <<-DESC
Expand Down Expand Up @@ -74,4 +74,9 @@ Pod::Spec.new do |s|
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BUILD' }
end

s.subspec 'TAR' do |sp|
sp.dependency 'SWCompression/Common'
sp.source_files = 'Sources/TarContainer.swift'
end

end
145 changes: 130 additions & 15 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<a class="header-link" href="index.html">
SWCompression Docs
</a>
(100% documented)
(75% documented)
</p>

<p class="header-col--secondary">
Expand Down Expand Up @@ -67,12 +67,24 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/LZMA2.html">LZMA2</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/TarContainer.html">TarContainer</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/TarEntry.html">TarEntry</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/TarEntry/EntryType.html">– EntryType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/XZArchive.html">XZArchive</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/ZipContainer.html">ZipContainer</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/ZipEntry.html">ZipEntry</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Classes/ZlibArchive.html">ZlibArchive</a>
</li>
Expand All @@ -96,6 +108,9 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/LZMAError.html">LZMAError</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/TarError.html">TarError</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Enums/XZError.html">XZError</a>
</li>
Expand All @@ -113,6 +128,12 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Protocols/Archive.html">Archive</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Protocols/Container.html">Container</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Protocols/ContainerEntry.html">ContainerEntry</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Protocols/DecompressionAlgorithm.html">DecompressionAlgorithm</a>
</li>
Expand All @@ -130,9 +151,6 @@
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/GzipHeader/FileSystemType.html">– FileSystemType</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/ZipEntry.html">ZipEntry</a>
</li>
<li class="nav-group-task">
<a class="nav-group-task-link" href="Structs/ZlibHeader.html">ZlibHeader</a>
</li>
Expand Down Expand Up @@ -186,7 +204,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/LZMA2.swift#L38-L106">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/LZMA2.swift#L38-L85">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -221,7 +239,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/GzipArchive.swift#L182-L268">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/GzipArchive.swift#L180-L266">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -230,6 +248,37 @@ <h4>Declaration</h4>
</div>
<div class="task-group">
<ul class="item-container">
<li class="item">
<div>
<code>
<a name="/s:C13SWCompression8ZipEntry"></a>
<a name="//apple_ref/swift/Class/ZipEntry" class="dashAnchor"></a>
<a class="token" href="#/s:C13SWCompression8ZipEntry">ZipEntry</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Represents either a file or directory entry inside ZIP archive.</p>

<a href="Classes/ZipEntry.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ZipEntry</span><span class="p">:</span> <span class="kt"><a href="Protocols/ContainerEntry.html">ContainerEntry</a></span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/ZipContainer.swift#L55-L176">Show on GitHub</a>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
Expand All @@ -243,20 +292,20 @@ <h4>Declaration</h4>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Provides function to open ZIP archives (containers).</p>
<p>Provides function which opens ZIP archives (containers).</p>

<a href="Classes/ZipContainer.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ZipContainer</span></code></pre>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">ZipContainer</span><span class="p">:</span> <span class="kt"><a href="Protocols/Container.html">Container</a></span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/ZipContainer.swift#L77-L236">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/ZipContainer.swift#L179-L234">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -291,7 +340,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/LZMA.swift#L44-L90">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/LZMA.swift#L44-L91">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -326,7 +375,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/ZlibArchive.swift#L125-L189">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/ZlibArchive.swift#L125-L189">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -361,7 +410,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/Deflate.swift#L32-L518">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/Deflate.swift#L32-L518">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -396,7 +445,73 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/BZip2.swift#L47-L277">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/BZip2.swift#L53-L290">Show on GitHub</a>
</div>
</section>
</div>
</li>
</ul>
</div>
<div class="task-group">
<ul class="item-container">
<li class="item">
<div>
<code>
<a name="/s:C13SWCompression8TarEntry"></a>
<a name="//apple_ref/swift/Class/TarEntry" class="dashAnchor"></a>
<a class="token" href="#/s:C13SWCompression8TarEntry">TarEntry</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Represents either a file or directory entry inside TAR archive.</p>

<a href="Classes/TarEntry.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">TarEntry</span><span class="p">:</span> <span class="kt"><a href="Protocols/ContainerEntry.html">ContainerEntry</a></span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/TarContainer.swift#L26-L288">Show on GitHub</a>
</div>
</section>
</div>
</li>
<li class="item">
<div>
<code>
<a name="/s:C13SWCompression12TarContainer"></a>
<a name="//apple_ref/swift/Class/TarContainer" class="dashAnchor"></a>
<a class="token" href="#/s:C13SWCompression12TarContainer">TarContainer</a>
</code>
</div>
<div class="height-container">
<div class="pointer-container"></div>
<section class="section">
<div class="pointer"></div>
<div class="abstract">
<p>Provides function which opens TAR archives (containers).</p>

<a href="Classes/TarContainer.html" class="slightly-smaller">See more</a>
</div>
<div class="declaration">
<h4>Declaration</h4>
<div class="language">
<p class="aside-title">Swift</p>
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">TarContainer</span><span class="p">:</span> <span class="kt"><a href="Protocols/Container.html">Container</a></span></code></pre>

</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/TarContainer.swift#L291-L325">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -431,7 +546,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/tsolomko/SWCompression/tree/v2.4.0/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
<a href="https://github.com/tsolomko/SWCompression/tree/v3.0.0-test2/Sources/XZArchive.swift#L58-L346">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -445,7 +560,7 @@ <h4>Declaration</h4>
</div>
<section class="footer">
<p>© 2017 Timofey Solomko</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.0</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.2</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</body>
</div>
Expand Down
Loading

0 comments on commit c14a36c

Please sign in to comment.