diff --git a/.jazzy.yaml b/.jazzy.yaml
index 91353ed9..39f893e6 100644
--- a/.jazzy.yaml
+++ b/.jazzy.yaml
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
clean: true
author: Timofey Solomko
module: SWCompression
-module_version: 4.1.0-test.1
+module_version: 4.1.0-test.2
copyright: '© 2018 Timofey Solomko'
readme: README.md
github_url: https://github.com/tsolomko/SWCompression
-github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.1.0-test.1
+github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.1.0-test.2
theme: fullwidth
custom_categories:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32b08180..50d7ce77 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,21 @@
## 4.1.0
+### Test 2
+
+- Performance improvements:
+ - Preallocate byte arrays when input size is known.
+ - Inverse Burrows-Wheeler transform without sorting.
+ - Store ntfs reference date as a static constant.
+- "Fixed" a problem when some BZip2 archives created by SWCompression could not be opened by original BZip2 implementation.
+- Modification time stored in ZIP's "native" field is now calculated relative to current system's calendar and time zone.
+- swcomp additions:
+ - Added options (`-1`...`-9`) to specify block size for BZip2 compression.
+ - Added option (`-i`, `--info`) to print GZip's header.
+ - Added commands (`comp-deflate`, `comp-bz2`) for performance testing of Deflate and BZip2 compression.
+ - Corrected descriptions of extract options of container commands.
+ - Now sets permissions for extracted files only if they are greater than 0.
+
### Test 1
Some internal classes were extracted and published as a separate project, [BitByteData](https://github.com/tsolomko/BitByteData).
diff --git a/SWCompression.podspec b/SWCompression.podspec
index 27f67859..fedf56cc 100644
--- a/SWCompression.podspec
+++ b/SWCompression.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "SWCompression"
- s.version = "4.1.0-test.1"
+ s.version = "4.1.0-test.2"
s.summary = "A framework with functions for working with compression, archives and containers."
s.description = "A framework with (de)compression algorithms and functions for processing various archives and containers."
diff --git a/SWCompression.xcodeproj/SWCompression.plist b/SWCompression.xcodeproj/SWCompression.plist
index f1c1b41c..6cad3d80 100644
--- a/SWCompression.xcodeproj/SWCompression.plist
+++ b/SWCompression.xcodeproj/SWCompression.plist
@@ -15,9 +15,9 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 4.1.0-test.1
+ 4.1.0-test.2
CFBundleVersion
- 51
+ 52
NSHumanReadableCopyright
Copyright © 2018 Timofey Solomko. All rights reserved.
diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist
index 32fa9407..bb11a1a6 100644
--- a/SWCompression.xcodeproj/TestSWCompression.plist
+++ b/SWCompression.xcodeproj/TestSWCompression.plist
@@ -15,8 +15,8 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 4.1.0-test.1
+ 4.1.0-test.2
CFBundleVersion
- 51
+ 52
diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj
index 2df8f635..39970f11 100644
--- a/SWCompression.xcodeproj/project.pbxproj
+++ b/SWCompression.xcodeproj/project.pbxproj
@@ -1140,7 +1140,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CURRENT_PROJECT_VERSION = 51;
+ CURRENT_PROJECT_VERSION = 52;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@@ -1183,7 +1183,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CURRENT_PROJECT_VERSION = 51;
+ CURRENT_PROJECT_VERSION = 52;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
@@ -1210,7 +1210,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 51;
+ DYLIB_CURRENT_VERSION = 52;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
@@ -1239,7 +1239,7 @@
APPLICATION_EXTENSION_API_ONLY = YES;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 51;
+ DYLIB_CURRENT_VERSION = 52;
DYLIB_INSTALL_NAME_BASE = "@rpath";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
"FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\"";
diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift
index 81de5127..6a1ca679 100644
--- a/Sources/swcomp/main.swift
+++ b/Sources/swcomp/main.swift
@@ -7,7 +7,7 @@ import Foundation
import SWCompression
import SwiftCLI
-let cli = CLI(name: "swcomp", version: "4.1.0-test.1",
+let cli = CLI(name: "swcomp", version: "4.1.0-test.2",
description: """
swcomp - small command-line client for SWCompression framework.
Serves as an example of SWCompression usage.