From 447f56cc591fa2971b2cd3cd8eae3444cddfe9a0 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 24 Mar 2021 15:05:10 +0200 Subject: [PATCH 1/9] Perform xcode project upgrade This includes changing compatibility with xcode from 9.3 to 10.0, though it shouldn't have notable impact since the oldest Swift version that we support comes from xcode 10. --- SWCompression.xcodeproj/project.pbxproj | 8 ++++--- .../xcschemes/SWCompression.xcscheme | 24 ++++++++----------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index bd38906a..00c4b3d8 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ @@ -934,7 +934,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1240; ORGANIZATIONNAME = "Timofey Solomko"; TargetAttributes = { 06BE1AC71DB410F100EE0F59 = { @@ -948,7 +948,7 @@ }; }; buildConfigurationList = 06BE1AC21DB410F100EE0F59 /* Build configuration list for PBXProject "SWCompression" */; - compatibilityVersion = "Xcode 9.3"; + compatibilityVersion = "Xcode 10.0"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( @@ -1244,6 +1244,7 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -1303,6 +1304,7 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; diff --git a/SWCompression.xcodeproj/xcshareddata/xcschemes/SWCompression.xcscheme b/SWCompression.xcodeproj/xcshareddata/xcschemes/SWCompression.xcscheme index 0f4b19d0..0987e3ca 100644 --- a/SWCompression.xcodeproj/xcshareddata/xcschemes/SWCompression.xcscheme +++ b/SWCompression.xcodeproj/xcshareddata/xcschemes/SWCompression.xcscheme @@ -1,6 +1,6 @@ + + + + - - - - - - - - Date: Wed, 24 Mar 2021 15:07:21 +0200 Subject: [PATCH 2/9] Add compatibility with BBD built using carthage and xcf frameworks This includes adding new framework search paths and updating shell script that copies BBD framework file into xctest bundle. However, this produces (harmless) warning about certain framework search paths not being found. --- SWCompression.xcodeproj/project.pbxproj | 72 +++++++++++++++++++------ 1 file changed, 57 insertions(+), 15 deletions(-) diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index 00c4b3d8..2da7a6bd 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -1090,7 +1090,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; - shellScript = "if [[ ${SDK_NAME} == iphone* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n cp -a ${PROJECT_DIR}/Carthage/Build/iOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\nelif [[ ${SDK_NAME} == appletv* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n cp -a ${PROJECT_DIR}/Carthage/Build/tvOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\nelif [[ ${SDK_NAME} == watch* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n cp -a ${PROJECT_DIR}/Carthage/Build/watchOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\nelif [[ ${SDK_NAME} == macos* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/\n fi\n cp -a ${PROJECT_DIR}/Carthage/Build/Mac/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/\nfi\n\nxattr -rc ${BUILT_PRODUCTS_DIR}\n"; + shellScript = "if [[ ${SDK_NAME} == iphone* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n if [[ -d ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ ]]; then\n if [[ ${SDK_NAME} == iphonesimulator* ]]; then\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ios-*-simulator/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ios-arm64_armv7/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/iOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\nelif [[ ${SDK_NAME} == appletv* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n if [[ -d ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ ]]; then\n if [[ ${SDK_NAME} == appletvsimulator* ]]; then\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/tvos-*-simulator/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/tvos-arm64/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/tvOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\nelif [[ ${SDK_NAME} == watch* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n if [[ -d ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ ]]; then\n if [[ ${SDK_NAME} == watchossimulator* ]]; then\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/watchos-*-simulator/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/watchos-arm64_32_armv7k/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/watchOS/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Frameworks/\n fi\nelif [[ ${SDK_NAME} == macos* ]]; then\n if [[ ! -d ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/ ]]; then\n mkdir -p ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/\n fi\n if [[ -d ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/ ]]; then\n cp -a ${PROJECT_DIR}/Carthage/Build/BitByteData.xcframework/macos-*/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/\n else\n cp -a ${PROJECT_DIR}/Carthage/Build/Mac/BitByteData.framework ${BUILT_PRODUCTS_DIR}/TestSWCompression.xctest/Contents/Frameworks/\n fi\nfi\n\nxattr -rc ${BUILT_PRODUCTS_DIR}\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -1254,13 +1254,34 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = "\"$(SRCROOT)/Carthage/Build/iOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = "\"$(SRCROOT)/Carthage/Build/iOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = "\"$(SRCROOT)/Carthage/Build/Mac\""; - "FRAMEWORK_SEARCH_PATHS[sdk=watchos*]" = "\"$(SRCROOT)/Carthage/Build/watchOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=watchsimulator*]" = "\"$(SRCROOT)/Carthage/Build/watchOS\""; + "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = ( + "\"$(SRCROOT)/Carthage/Build/tvOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/tvos-arm64\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/tvOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/tvos-arm64_x86_64-simulator\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"$(SRCROOT)/Carthage/Build/iOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/ios-arm64_armv7\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/iOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/ios-arm64_i386_x86_64-simulator\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = ( + "\"$(SRCROOT)/Carthage/Build/Mac\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/macos-arm64_x86_64\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=watchos*]" = ( + "\"$(SRCROOT)/Carthage/Build/watchOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/watchos-arm64_32_armv7k\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=watchsimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/watchOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/watchos-arm64_i386_x86_64-simulator\"", + ); GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -1313,13 +1334,34 @@ CURRENT_PROJECT_VERSION = 74; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; - "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = "\"$(SRCROOT)/Carthage/Build/tvOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = "\"$(SRCROOT)/Carthage/Build/iOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = "\"$(SRCROOT)/Carthage/Build/iOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = "\"$(SRCROOT)/Carthage/Build/Mac\""; - "FRAMEWORK_SEARCH_PATHS[sdk=watchos*]" = "\"$(SRCROOT)/Carthage/Build/watchOS\""; - "FRAMEWORK_SEARCH_PATHS[sdk=watchsimulator*]" = "\"$(SRCROOT)/Carthage/Build/watchOS\""; + "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = ( + "\"$(SRCROOT)/Carthage/Build/tvOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/tvos-arm64\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/tvOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/tvos-arm64_x86_64-simulator\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = ( + "\"$(SRCROOT)/Carthage/Build/iOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/ios-arm64_armv7\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/iOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/ios-arm64_i386_x86_64-simulator\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=macosx*]" = ( + "\"$(SRCROOT)/Carthage/Build/Mac\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/macos-arm64_x86_64\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=watchos*]" = ( + "\"$(SRCROOT)/Carthage/Build/watchOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/watchos-arm64_32_armv7k\"", + ); + "FRAMEWORK_SEARCH_PATHS[sdk=watchsimulator*]" = ( + "\"$(SRCROOT)/Carthage/Build/watchOS\"", + "\"$(SRCROOT)/Carthage/Build/BitByteData.xcframework/watchos-arm64_i386_x86_64-simulator\"", + ); GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; From e592b78e8842dab653fc0fee5f095a632735c609 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 24 Mar 2021 15:14:35 +0200 Subject: [PATCH 3/9] Add a new stage to CI which tests installing with carthage xcf method --- .travis.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 70ec0b36..9dc56375 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,7 @@ jobs: script: - ./utils.py ci script-macos - stage: test + # TODO: Remove this stage when the non-xcf installation method with Carthage is no longer supported. language: swift os: osx osx_image: xcode12 # Swift 5.3 @@ -58,8 +59,6 @@ jobs: install: - ./utils.py ci install-macos before_script: - # - ./utils.py prepare-workspace macos - # TODO: Remove lines below when Carthage gets a workaround for problems with Xcode 12 - xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX) - trap 'rm -f "$xcconfig"' INT TERM HUP EXIT - echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200 = arm64 arm64e armv7 armv7s armv6 armv8' >> $xcconfig @@ -74,6 +73,28 @@ jobs: - cd - script: - ./utils.py ci script-macos + - stage: test + language: swift + os: osx + osx_image: xcode12.4 # Swift 5.3.2 + env: + - HOMEBREW_NO_INSTALL_CLEANUP=1 + before_install: + - brew update + install: + - ./utils.py ci install-macos + before_script: + # TODO: Move this line into ./utils.py prepare-workspace macos when the old Swift versions and non-xcf installation + # method with Carthage are no longer supported. + - carthage bootstrap --use-xcframeworks --no-use-binaries + - git submodule update --init --recursive + - cp -f Tests/Test Files/gitattributes-copy Tests/Test Files/.gitattributes + - cd Tests/Test Files/ + - git lfs pull + - git lfs checkout + - cd - + script: + - ./utils.py ci script-macos - stage: test language: generic os: linux From 57bdebaafdaba96ad99d2167dfd336460e78a194 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 24 Mar 2021 17:26:00 +0200 Subject: [PATCH 4/9] CI deployment changes: don't upload carthage archive (since it doesn't work with XCF), use xcode 12 for deployment, and simplify config overall --- .travis.yml | 23 ++++------------------- utils.py | 13 ++----------- 2 files changed, 6 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9dc56375..52dfc2ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -146,10 +146,11 @@ jobs: script: - ./utils.py ci script-linux - stage: deploy - if: tag IS present + # Don't deploy if it is a test release. + if: (tag IS present) AND (tag =~ /^\d+\.\d+\.\d+$/) language: generic os: osx - osx_image: xcode11.4 + osx_image: xcode12 env: - HOMEBREW_NO_INSTALL_CLEANUP=1 env: @@ -157,31 +158,15 @@ jobs: addons: homebrew: packages: - - carthage - sourcekitten update: true install: - gem install -N jazzy - gem update -N cocoapods before_deploy: - - > - if ! [ "$BEFORE_DEPLOY_RUN" ]; then - export BEFORE_DEPLOY_RUN=1; - ./utils.py prepare-workspace macos -T - ./utils.py ci before-deploy; - fi + - ./utils.py ci before-deploy deploy: - - provider: releases - skip_cleanup: true - api_key: $GITHUB_TOKEN - file: "SWCompression.framework.zip" - on: - tags: true - provider: pages skip_cleanup: true github_token: $GITHUB_TOKEN local_dir: docs - on: - tags: true - # Don't upload documentation if it is a test release. - condition: $(git describe) != *"test"* diff --git a/utils.py b/utils.py index 173012ac..479ce233 100755 --- a/utils.py +++ b/utils.py @@ -9,17 +9,8 @@ def _sprun(cmd, *args, **kwargs): subprocess.run(cmd, check=True, *args, **kwargs) def _ci_before_deploy(): - print("=> Removing bcsymbolmap files for dependencies.") - platforms = ["Mac", "watchOS", "tvOS", "iOS"] - for platform in platforms: - _sprun(["rm", "-f", "Carthage/Build/{0}/*.bcsymbolmap".format(platform)]) - print("=> Removing checkouts for dependencies.") - _sprun(["rm", "-rf", "Carthage/Checkouts"]) - print("=> Preparing deployment files.") - _sprun(["carthage", "build", "--no-skip-current"]) - _sprun(["carthage", "archive", "SWCompression"]) docs_json_file = open("docs.json", "w") - _sprun(["sourcekitten", "doc", "--spm-module", "SWCompression"], stdout=docs_json_file) + _sprun(["sourcekitten", "doc", "--spm", "--module-name", "SWCompression"], stdout=docs_json_file) docs_json_file.close() _sprun(["jazzy"]) @@ -71,7 +62,7 @@ def action_cw(args): def _pw_macos(): print("=> Downloading dependency (BitByteData) using Carthage") - _sprun(["carthage", "bootstrap"]) + _sprun(["carthage", "bootstrap", "--no-use-binaries"]) def action_pw(args): if args.os == "macos": From d85062cf87eb83018d628a5a84951ca341114f32 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 24 Mar 2021 18:25:20 +0200 Subject: [PATCH 5/9] Fix CI issues with cp command when using xcode 12+ --- .travis.yml | 8 ++++---- utils.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52dfc2ff..3857c621 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,8 +66,8 @@ jobs: - export XCODE_XCCONFIG_FILE="$xcconfig" - carthage bootstrap - git submodule update --init --recursive - - cp -f Tests/Test Files/gitattributes-copy Tests/Test Files/.gitattributes - - cd Tests/Test Files/ + - cp "Tests/Test Files/gitattributes-copy" "Tests/Test Files/.gitattributes" + - cd "Tests/Test Files/" - git lfs pull - git lfs checkout - cd - @@ -88,8 +88,8 @@ jobs: # method with Carthage are no longer supported. - carthage bootstrap --use-xcframeworks --no-use-binaries - git submodule update --init --recursive - - cp -f Tests/Test Files/gitattributes-copy Tests/Test Files/.gitattributes - - cd Tests/Test Files/ + - cp "Tests/Test Files/gitattributes-copy" "Tests/Test Files/.gitattributes" + - cd "Tests/Test Files/" - git lfs pull - git lfs checkout - cd - diff --git a/utils.py b/utils.py index 479ce233..e69b1c27 100755 --- a/utils.py +++ b/utils.py @@ -74,7 +74,7 @@ def action_pw(args): if not args.no_test_files: print("=> Downloading files used for testing") _sprun(["git", "submodule", "update", "--init", "--recursive"]) - _sprun(["cp", "-f", "Tests/Test Files/gitattributes-copy", "Tests/Test Files/.gitattributes"]) + _sprun(["cp", "Tests/Test Files/gitattributes-copy", "Tests/Test Files/.gitattributes"]) _sprun(["git", "lfs", "pull"], cwd="Tests/Test Files/") _sprun(["git", "lfs", "checkout"], cwd="Tests/Test Files/") From a34fd062610379d3b010e2749eee622880ac822e Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Wed, 24 Mar 2021 21:07:32 +0200 Subject: [PATCH 6/9] Use latest patch versions of swift in linux ci --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3857c621..ce7ad876 100644 --- a/.travis.yml +++ b/.travis.yml @@ -100,7 +100,7 @@ jobs: os: linux dist: xenial env: - - SWIFT_VERSION=4.2 + - SWIFT_VERSION=4.2.3 install: - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" script: @@ -110,7 +110,7 @@ jobs: os: linux dist: xenial env: - - SWIFT_VERSION=5.0 + - SWIFT_VERSION=5.0.3 install: - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" script: @@ -120,7 +120,7 @@ jobs: os: linux dist: xenial env: - - SWIFT_VERSION=5.1 + - SWIFT_VERSION=5.1.5 install: - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" script: @@ -130,7 +130,7 @@ jobs: os: linux dist: xenial env: - - SWIFT_VERSION=5.2 + - SWIFT_VERSION=5.2.5 install: - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" script: @@ -140,7 +140,7 @@ jobs: os: linux dist: xenial env: - - SWIFT_VERSION=5.3 + - SWIFT_VERSION=5.3.3 install: - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)" script: From ed060c5c92886806f593ac2a56090b200a18d63a Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Fri, 26 Mar 2021 13:31:42 +0200 Subject: [PATCH 7/9] Add new carthage instructions to README --- README.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f115dafd..e7e589cc 100644 --- a/README.md +++ b/README.md @@ -104,17 +104,25 @@ BZip2 and LZMA/LZMA2 support). ### Carthage -__Important:__ Only Swift 5.x is supported when installing BitByteData via Carthage. +__Important:__ Only Swift 5.x is supported when installing SWCompression via Carthage. Add to your Cartfile `github "tsolomko/SWCompression" ~> 4.5`. -Then run `carthage update`. +Then: -Finally, drag and drop `SWCompression.framework` from the `Carthage/Build` directory into the "Embedded Binaries" section -on your targets' "General" tab in Xcode. +1. If you use Xcode 12 or later you should run `carthage update --use-xcframeworks --no-use-binaries`. After that drag +and drop both `SWCompression.xcframework` and `BitByteData.xcframework` files from from the `Carthage/Build/` directory +into the "Frameworks, Libraries, and Embedded Content" section of your target's "General" tab in Xcode. -SWCompression uses [BitByteData](https://github.com/tsolomko/BitByteData) framework, so Carthage will also download it, -and you should put the `BitByteData.framework` file into the "Embedded Binaries" as well. +2. If you use Xcode 11 or earlier you should run `carthage update --no-use-binaries`. After that drag and drop both +`SWCompression.framework` and `BitByteData.framework` files from from the `Carthage/Build//` directory into the +"Embedded Binaries" section of your target's "General" tab in Xcode. + +For Xcode 12 or later you can currently also use the +[xconfig workaround](https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md). + +Please also note that support for non-xcframework method of installing SWCompression is likely to be dropped in the +future major update. ## Usage @@ -186,6 +194,13 @@ If you want to run tests on your computer, you need to do an additional step aft The argument of this function is an operating system that you're using. This command will download files used in tests, and on macOS it will also try to download BitByteData dependency, which requires having Carthage installed. +Currently, the Carthage part of this procedure may fail when using Xcode 12 or later. In that case you should manually +run `carthage update --use-xcframeworks --no-use-binaries` or use +[xconfig workaround](https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md). Please also +note that when on working on SWCompression in Xcode when building the project you may see ld warnings about a directory +not being found. These are expected and harmless. Finally, you should keep in mind that support for non-xcframework method +of installing dependencies is likely to be dropped in the future major update. + Test files are stored in a [separate repository](https://github.com/tsolomko/SWCompression-Test-Files), using Git LFS. There are two reasons for this complicated setup. Firstly, some of these files can be quite big, and it would be unfortunate if the users of SWCompression had to download them every time during the installation. Secondly, Swift From 1fca632c2d06c3ff871685cfd186a8522ae91b47 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Fri, 26 Mar 2021 13:41:54 +0200 Subject: [PATCH 8/9] Update copyright year to 2021 --- .jazzy.yaml | 4 ++-- LICENSE | 2 +- SWCompression.xcodeproj/SWCompression.plist | 2 +- Sources/7-Zip/7zCoder+Equatable.swift | 2 +- Sources/7-Zip/7zCoder.swift | 2 +- Sources/7-Zip/7zCoderInfo.swift | 2 +- Sources/7-Zip/7zContainer.swift | 2 +- Sources/7-Zip/7zEntry.swift | 2 +- Sources/7-Zip/7zEntryInfo.swift | 2 +- Sources/7-Zip/7zError.swift | 2 +- Sources/7-Zip/7zFileInfo.swift | 2 +- Sources/7-Zip/7zFolder.swift | 2 +- Sources/7-Zip/7zHeader.swift | 2 +- Sources/7-Zip/7zPackInfo.swift | 2 +- Sources/7-Zip/7zProperty.swift | 2 +- Sources/7-Zip/7zStreamInfo.swift | 2 +- Sources/7-Zip/7zSubstreamInfo.swift | 2 +- Sources/7-Zip/CompressionMethod+7z.swift | 2 +- Sources/7-Zip/MsbBitReader+7z.swift | 2 +- Sources/BZip2/BZip2+BlockSize.swift | 2 +- Sources/BZip2/BZip2+Compress.swift | 2 +- Sources/BZip2/BZip2+Lengths.swift | 2 +- Sources/BZip2/BZip2.swift | 2 +- Sources/BZip2/BZip2Error.swift | 2 +- Sources/BZip2/BurrowsWheeler.swift | 2 +- Sources/BZip2/SuffixArray.swift | 2 +- Sources/Common/Archive.swift | 2 +- Sources/Common/CheckSums.swift | 2 +- Sources/Common/CodingTree/Code.swift | 2 +- Sources/Common/CodingTree/CodeLength.swift | 2 +- Sources/Common/CodingTree/DecodingTree.swift | 2 +- Sources/Common/CodingTree/EncodingTree.swift | 2 +- Sources/Common/CompressionAlgorithm.swift | 2 +- Sources/Common/CompressionMethod.swift | 2 +- Sources/Common/Container/Container.swift | 2 +- Sources/Common/Container/ContainerEntry.swift | 2 +- Sources/Common/Container/ContainerEntryInfo.swift | 2 +- Sources/Common/Container/ContainerEntryType.swift | 2 +- Sources/Common/Container/DosAttributes.swift | 2 +- Sources/Common/Container/Permissions.swift | 2 +- Sources/Common/DecompressionAlgorithm.swift | 2 +- Sources/Common/DeltaFilter.swift | 2 +- Sources/Common/Extensions.swift | 2 +- Sources/Common/FileSystemType.swift | 2 +- Sources/Deflate/Deflate+Compress.swift | 2 +- Sources/Deflate/Deflate+Constants.swift | 2 +- Sources/Deflate/Deflate+Lengths.swift | 2 +- Sources/Deflate/Deflate.swift | 2 +- Sources/Deflate/DeflateError.swift | 2 +- Sources/GZip/FileSystemType+Gzip.swift | 2 +- Sources/GZip/GzipArchive.swift | 2 +- Sources/GZip/GzipError.swift | 2 +- Sources/GZip/GzipHeader.swift | 2 +- Sources/LZMA/LZMA.swift | 2 +- Sources/LZMA/LZMABitTreeDecoder.swift | 2 +- Sources/LZMA/LZMAConstants.swift | 2 +- Sources/LZMA/LZMADecoder.swift | 2 +- Sources/LZMA/LZMAError.swift | 2 +- Sources/LZMA/LZMALenDecoder.swift | 2 +- Sources/LZMA/LZMAProperties.swift | 2 +- Sources/LZMA/LZMARangeDecoder.swift | 2 +- Sources/LZMA2/LZMA2.swift | 2 +- Sources/LZMA2/LZMA2Decoder.swift | 2 +- Sources/LZMA2/LZMA2Error.swift | 2 +- Sources/TAR/ByteReader+Tar.swift | 2 +- Sources/TAR/ContainerEntryType+Tar.swift | 2 +- Sources/TAR/TarContainer.swift | 2 +- Sources/TAR/TarCreateError.swift | 2 +- Sources/TAR/TarEntry.swift | 2 +- Sources/TAR/TarEntryInfo.swift | 2 +- Sources/TAR/TarEntryInfoProvider.swift | 2 +- Sources/TAR/TarError.swift | 2 +- Sources/TAR/TarExtendedHeader.swift | 2 +- Sources/XZ/ByteReader+XZ.swift | 2 +- Sources/XZ/Sha256.swift | 2 +- Sources/XZ/XZArchive.swift | 2 +- Sources/XZ/XZBlock.swift | 2 +- Sources/XZ/XZError.swift | 2 +- Sources/XZ/XZStreamHeader.swift | 2 +- Sources/ZIP/BuiltinExtraFields.swift | 2 +- Sources/ZIP/ByteReader+Zip.swift | 2 +- Sources/ZIP/CompressionMethod+Zip.swift | 2 +- Sources/ZIP/FileSystemType+Zip.swift | 2 +- Sources/ZIP/ZipCentralDirectoryEntry.swift | 2 +- Sources/ZIP/ZipContainer.swift | 2 +- Sources/ZIP/ZipEndOfCentralDirectory.swift | 2 +- Sources/ZIP/ZipEntry.swift | 2 +- Sources/ZIP/ZipEntryInfo.swift | 2 +- Sources/ZIP/ZipEntryInfoHelper.swift | 2 +- Sources/ZIP/ZipError.swift | 2 +- Sources/ZIP/ZipExtraField.swift | 2 +- Sources/ZIP/ZipLocalHeader.swift | 2 +- Sources/Zlib/ZlibArchive.swift | 2 +- Sources/Zlib/ZlibError.swift | 2 +- Sources/Zlib/ZlibHeader.swift | 2 +- Sources/swcomp/Archives/BZip2Command.swift | 2 +- Sources/swcomp/Archives/GZipCommand.swift | 2 +- Sources/swcomp/Archives/LZMACommand.swift | 2 +- Sources/swcomp/Archives/XZCommand.swift | 2 +- Sources/swcomp/Benchmarks/BenchmarkCommand.swift | 2 +- Sources/swcomp/Benchmarks/BenchmarkGroup.swift | 2 +- Sources/swcomp/Benchmarks/CompBz2.swift | 2 +- Sources/swcomp/Benchmarks/CompDeflate.swift | 2 +- Sources/swcomp/Benchmarks/Info7z.swift | 2 +- Sources/swcomp/Benchmarks/InfoTar.swift | 2 +- Sources/swcomp/Benchmarks/InfoZip.swift | 2 +- Sources/swcomp/Benchmarks/UnBz2.swift | 2 +- Sources/swcomp/Benchmarks/UnGzip.swift | 2 +- Sources/swcomp/Benchmarks/UnXz.swift | 2 +- Sources/swcomp/Containers/7ZipCommand.swift | 2 +- Sources/swcomp/Containers/CommonFunctions.swift | 2 +- Sources/swcomp/Containers/ContainerCommand.swift | 2 +- Sources/swcomp/Containers/TarCommand.swift | 2 +- Sources/swcomp/Containers/ZipCommand.swift | 2 +- Sources/swcomp/Extensions/BlockSize+Keyable.swift | 2 +- .../CompressionMethod+CustomStringConvertible.swift | 2 +- .../ContainerEntryInfo+CustomStringConvertible.swift | 2 +- .../Extensions/FileSystemType+CustomStringConvertible.swift | 2 +- .../Extensions/GzipHeader+CustomStringConvertible.swift | 2 +- Sources/swcomp/main.swift | 2 +- Tests/BZip2CompressionTests.swift | 2 +- Tests/BZip2Tests.swift | 2 +- Tests/Constants.swift | 2 +- Tests/DeflateCompressionTests.swift | 2 +- Tests/GzipTests.swift | 2 +- Tests/LzmaTests.swift | 2 +- Tests/SevenZipTests.swift | 2 +- Tests/Sha256Tests.swift | 2 +- Tests/TarCreateTests.swift | 2 +- Tests/TarTests.swift | 2 +- Tests/TestZipExtraField.swift | 2 +- Tests/XzTests.swift | 2 +- Tests/ZipTests.swift | 2 +- Tests/ZlibTests.swift | 2 +- 134 files changed, 135 insertions(+), 135 deletions(-) diff --git a/.jazzy.yaml b/.jazzy.yaml index 6fa59613..8f55ce3e 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,10 +1,10 @@ -# Run: sourcekitten doc --spm-module SWCompression > docs.json +# Run: sourcekitten doc --spm --module-name SWCompression > docs.json sourcekitten_sourcefile: docs.json clean: true author: Timofey Solomko module: SWCompression module_version: 4.5.7 -copyright: '© 2020 Timofey Solomko' +copyright: '© 2021 Timofey Solomko' readme: README.md github_url: https://github.com/tsolomko/SWCompression github_file_prefix: https://github.com/tsolomko/SWCompression/tree/4.5.7 diff --git a/LICENSE b/LICENSE index 536dba60..005f75c9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Timofey Solomko +Copyright (c) 2021 Timofey Solomko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/SWCompression.xcodeproj/SWCompression.plist b/SWCompression.xcodeproj/SWCompression.plist index 46a41309..7c77252a 100644 --- a/SWCompression.xcodeproj/SWCompression.plist +++ b/SWCompression.xcodeproj/SWCompression.plist @@ -19,6 +19,6 @@ CFBundleVersion 74 NSHumanReadableCopyright - Copyright © 2020 Timofey Solomko. All rights reserved. + Copyright © 2021 Timofey Solomko. All rights reserved. diff --git a/Sources/7-Zip/7zCoder+Equatable.swift b/Sources/7-Zip/7zCoder+Equatable.swift index c3e0aee5..40d5b20f 100644 --- a/Sources/7-Zip/7zCoder+Equatable.swift +++ b/Sources/7-Zip/7zCoder+Equatable.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zCoder.swift b/Sources/7-Zip/7zCoder.swift index 063c79c7..42d5f011 100644 --- a/Sources/7-Zip/7zCoder.swift +++ b/Sources/7-Zip/7zCoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zCoderInfo.swift b/Sources/7-Zip/7zCoderInfo.swift index 66e7af7d..1e7757f1 100644 --- a/Sources/7-Zip/7zCoderInfo.swift +++ b/Sources/7-Zip/7zCoderInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zContainer.swift b/Sources/7-Zip/7zContainer.swift index 0033022b..3b564250 100644 --- a/Sources/7-Zip/7zContainer.swift +++ b/Sources/7-Zip/7zContainer.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zEntry.swift b/Sources/7-Zip/7zEntry.swift index 1548086a..672f96e9 100644 --- a/Sources/7-Zip/7zEntry.swift +++ b/Sources/7-Zip/7zEntry.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zEntryInfo.swift b/Sources/7-Zip/7zEntryInfo.swift index 91a02274..63da9a0d 100644 --- a/Sources/7-Zip/7zEntryInfo.swift +++ b/Sources/7-Zip/7zEntryInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zError.swift b/Sources/7-Zip/7zError.swift index e73426ac..4868d656 100644 --- a/Sources/7-Zip/7zError.swift +++ b/Sources/7-Zip/7zError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zFileInfo.swift b/Sources/7-Zip/7zFileInfo.swift index 61b1da80..5dc2b7d5 100644 --- a/Sources/7-Zip/7zFileInfo.swift +++ b/Sources/7-Zip/7zFileInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zFolder.swift b/Sources/7-Zip/7zFolder.swift index 61d5396a..e3c6140d 100644 --- a/Sources/7-Zip/7zFolder.swift +++ b/Sources/7-Zip/7zFolder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zHeader.swift b/Sources/7-Zip/7zHeader.swift index abbe9751..7be81d17 100644 --- a/Sources/7-Zip/7zHeader.swift +++ b/Sources/7-Zip/7zHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zPackInfo.swift b/Sources/7-Zip/7zPackInfo.swift index c076272b..b4af78d3 100644 --- a/Sources/7-Zip/7zPackInfo.swift +++ b/Sources/7-Zip/7zPackInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zProperty.swift b/Sources/7-Zip/7zProperty.swift index a2a64203..b719c96f 100644 --- a/Sources/7-Zip/7zProperty.swift +++ b/Sources/7-Zip/7zProperty.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zStreamInfo.swift b/Sources/7-Zip/7zStreamInfo.swift index bc37a035..022ba096 100644 --- a/Sources/7-Zip/7zStreamInfo.swift +++ b/Sources/7-Zip/7zStreamInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/7zSubstreamInfo.swift b/Sources/7-Zip/7zSubstreamInfo.swift index 3d5ed598..da691d3b 100644 --- a/Sources/7-Zip/7zSubstreamInfo.swift +++ b/Sources/7-Zip/7zSubstreamInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/CompressionMethod+7z.swift b/Sources/7-Zip/CompressionMethod+7z.swift index a4aeea96..65ce4b9e 100644 --- a/Sources/7-Zip/CompressionMethod+7z.swift +++ b/Sources/7-Zip/CompressionMethod+7z.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/7-Zip/MsbBitReader+7z.swift b/Sources/7-Zip/MsbBitReader+7z.swift index e4b18798..141df1ee 100644 --- a/Sources/7-Zip/MsbBitReader+7z.swift +++ b/Sources/7-Zip/MsbBitReader+7z.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BZip2+BlockSize.swift b/Sources/BZip2/BZip2+BlockSize.swift index aca076eb..de5debc9 100644 --- a/Sources/BZip2/BZip2+BlockSize.swift +++ b/Sources/BZip2/BZip2+BlockSize.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BZip2+Compress.swift b/Sources/BZip2/BZip2+Compress.swift index c7a7a72d..6222bd9a 100644 --- a/Sources/BZip2/BZip2+Compress.swift +++ b/Sources/BZip2/BZip2+Compress.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BZip2+Lengths.swift b/Sources/BZip2/BZip2+Lengths.swift index aabf655e..a6c00037 100644 --- a/Sources/BZip2/BZip2+Lengths.swift +++ b/Sources/BZip2/BZip2+Lengths.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BZip2.swift b/Sources/BZip2/BZip2.swift index aed1442f..07c01588 100644 --- a/Sources/BZip2/BZip2.swift +++ b/Sources/BZip2/BZip2.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BZip2Error.swift b/Sources/BZip2/BZip2Error.swift index 849782c2..9b41537d 100644 --- a/Sources/BZip2/BZip2Error.swift +++ b/Sources/BZip2/BZip2Error.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/BurrowsWheeler.swift b/Sources/BZip2/BurrowsWheeler.swift index ae46a2ee..d08b64ca 100644 --- a/Sources/BZip2/BurrowsWheeler.swift +++ b/Sources/BZip2/BurrowsWheeler.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/BZip2/SuffixArray.swift b/Sources/BZip2/SuffixArray.swift index 13a8c471..6c208d61 100644 --- a/Sources/BZip2/SuffixArray.swift +++ b/Sources/BZip2/SuffixArray.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Archive.swift b/Sources/Common/Archive.swift index b9e68111..604026d0 100644 --- a/Sources/Common/Archive.swift +++ b/Sources/Common/Archive.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CheckSums.swift b/Sources/Common/CheckSums.swift index da9fd8ef..0c926afa 100644 --- a/Sources/Common/CheckSums.swift +++ b/Sources/Common/CheckSums.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CodingTree/Code.swift b/Sources/Common/CodingTree/Code.swift index 8dc4aa87..5f4f1d57 100644 --- a/Sources/Common/CodingTree/Code.swift +++ b/Sources/Common/CodingTree/Code.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CodingTree/CodeLength.swift b/Sources/Common/CodingTree/CodeLength.swift index e1f7d952..17a94c9a 100644 --- a/Sources/Common/CodingTree/CodeLength.swift +++ b/Sources/Common/CodingTree/CodeLength.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CodingTree/DecodingTree.swift b/Sources/Common/CodingTree/DecodingTree.swift index 5af7a020..f6a7d092 100644 --- a/Sources/Common/CodingTree/DecodingTree.swift +++ b/Sources/Common/CodingTree/DecodingTree.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CodingTree/EncodingTree.swift b/Sources/Common/CodingTree/EncodingTree.swift index fbfe8602..a0fc7f8f 100644 --- a/Sources/Common/CodingTree/EncodingTree.swift +++ b/Sources/Common/CodingTree/EncodingTree.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CompressionAlgorithm.swift b/Sources/Common/CompressionAlgorithm.swift index 746fc965..7b439e49 100644 --- a/Sources/Common/CompressionAlgorithm.swift +++ b/Sources/Common/CompressionAlgorithm.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/CompressionMethod.swift b/Sources/Common/CompressionMethod.swift index 602b1604..6b497e27 100644 --- a/Sources/Common/CompressionMethod.swift +++ b/Sources/Common/CompressionMethod.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/Container.swift b/Sources/Common/Container/Container.swift index 938687dc..23c54216 100644 --- a/Sources/Common/Container/Container.swift +++ b/Sources/Common/Container/Container.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/ContainerEntry.swift b/Sources/Common/Container/ContainerEntry.swift index 1e115e99..50fc60c8 100644 --- a/Sources/Common/Container/ContainerEntry.swift +++ b/Sources/Common/Container/ContainerEntry.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/ContainerEntryInfo.swift b/Sources/Common/Container/ContainerEntryInfo.swift index 87265e40..11d24dd6 100644 --- a/Sources/Common/Container/ContainerEntryInfo.swift +++ b/Sources/Common/Container/ContainerEntryInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/ContainerEntryType.swift b/Sources/Common/Container/ContainerEntryType.swift index 2e9035c1..e885f2d4 100644 --- a/Sources/Common/Container/ContainerEntryType.swift +++ b/Sources/Common/Container/ContainerEntryType.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/DosAttributes.swift b/Sources/Common/Container/DosAttributes.swift index 06d8b5d9..8d5780ca 100644 --- a/Sources/Common/Container/DosAttributes.swift +++ b/Sources/Common/Container/DosAttributes.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Container/Permissions.swift b/Sources/Common/Container/Permissions.swift index 462e0419..2248df6b 100644 --- a/Sources/Common/Container/Permissions.swift +++ b/Sources/Common/Container/Permissions.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/DecompressionAlgorithm.swift b/Sources/Common/DecompressionAlgorithm.swift index 9c235171..79d9b994 100644 --- a/Sources/Common/DecompressionAlgorithm.swift +++ b/Sources/Common/DecompressionAlgorithm.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/DeltaFilter.swift b/Sources/Common/DeltaFilter.swift index 96ef47d6..87538663 100644 --- a/Sources/Common/DeltaFilter.swift +++ b/Sources/Common/DeltaFilter.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/Extensions.swift b/Sources/Common/Extensions.swift index c5e8dbbc..cf0fcd2c 100644 --- a/Sources/Common/Extensions.swift +++ b/Sources/Common/Extensions.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Common/FileSystemType.swift b/Sources/Common/FileSystemType.swift index 2898843e..b829605b 100644 --- a/Sources/Common/FileSystemType.swift +++ b/Sources/Common/FileSystemType.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Deflate/Deflate+Compress.swift b/Sources/Deflate/Deflate+Compress.swift index a231b731..97283927 100644 --- a/Sources/Deflate/Deflate+Compress.swift +++ b/Sources/Deflate/Deflate+Compress.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Deflate/Deflate+Constants.swift b/Sources/Deflate/Deflate+Constants.swift index 067fbf5e..7b1da0de 100644 --- a/Sources/Deflate/Deflate+Constants.swift +++ b/Sources/Deflate/Deflate+Constants.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Deflate/Deflate+Lengths.swift b/Sources/Deflate/Deflate+Lengths.swift index 6ee430e2..fdabf5f2 100644 --- a/Sources/Deflate/Deflate+Lengths.swift +++ b/Sources/Deflate/Deflate+Lengths.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Deflate/Deflate.swift b/Sources/Deflate/Deflate.swift index 10212b5a..250d5b52 100644 --- a/Sources/Deflate/Deflate.swift +++ b/Sources/Deflate/Deflate.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Deflate/DeflateError.swift b/Sources/Deflate/DeflateError.swift index 600e4e09..39d34a5c 100644 --- a/Sources/Deflate/DeflateError.swift +++ b/Sources/Deflate/DeflateError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/GZip/FileSystemType+Gzip.swift b/Sources/GZip/FileSystemType+Gzip.swift index 0032f9a2..8b37a53d 100644 --- a/Sources/GZip/FileSystemType+Gzip.swift +++ b/Sources/GZip/FileSystemType+Gzip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/GZip/GzipArchive.swift b/Sources/GZip/GzipArchive.swift index 648e1f35..81a80b4c 100644 --- a/Sources/GZip/GzipArchive.swift +++ b/Sources/GZip/GzipArchive.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/GZip/GzipError.swift b/Sources/GZip/GzipError.swift index 02964d2d..65b9e75b 100644 --- a/Sources/GZip/GzipError.swift +++ b/Sources/GZip/GzipError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/GZip/GzipHeader.swift b/Sources/GZip/GzipHeader.swift index afce8f26..b90ca47d 100644 --- a/Sources/GZip/GzipHeader.swift +++ b/Sources/GZip/GzipHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMA.swift b/Sources/LZMA/LZMA.swift index 09d5f5cd..a2b8ffe6 100644 --- a/Sources/LZMA/LZMA.swift +++ b/Sources/LZMA/LZMA.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMABitTreeDecoder.swift b/Sources/LZMA/LZMABitTreeDecoder.swift index 3a032b0a..8b760e07 100644 --- a/Sources/LZMA/LZMABitTreeDecoder.swift +++ b/Sources/LZMA/LZMABitTreeDecoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMAConstants.swift b/Sources/LZMA/LZMAConstants.swift index 28e52625..41a192a8 100644 --- a/Sources/LZMA/LZMAConstants.swift +++ b/Sources/LZMA/LZMAConstants.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMADecoder.swift b/Sources/LZMA/LZMADecoder.swift index 3facb609..ca549847 100644 --- a/Sources/LZMA/LZMADecoder.swift +++ b/Sources/LZMA/LZMADecoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMAError.swift b/Sources/LZMA/LZMAError.swift index c8ad4628..fd305bff 100644 --- a/Sources/LZMA/LZMAError.swift +++ b/Sources/LZMA/LZMAError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMALenDecoder.swift b/Sources/LZMA/LZMALenDecoder.swift index e4895a2d..5d020f1b 100644 --- a/Sources/LZMA/LZMALenDecoder.swift +++ b/Sources/LZMA/LZMALenDecoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMAProperties.swift b/Sources/LZMA/LZMAProperties.swift index 41880e42..4d52418c 100644 --- a/Sources/LZMA/LZMAProperties.swift +++ b/Sources/LZMA/LZMAProperties.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA/LZMARangeDecoder.swift b/Sources/LZMA/LZMARangeDecoder.swift index aa2b4778..645c9c7f 100644 --- a/Sources/LZMA/LZMARangeDecoder.swift +++ b/Sources/LZMA/LZMARangeDecoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA2/LZMA2.swift b/Sources/LZMA2/LZMA2.swift index f481e089..614c93da 100644 --- a/Sources/LZMA2/LZMA2.swift +++ b/Sources/LZMA2/LZMA2.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA2/LZMA2Decoder.swift b/Sources/LZMA2/LZMA2Decoder.swift index 592ee85a..3fa8aa73 100644 --- a/Sources/LZMA2/LZMA2Decoder.swift +++ b/Sources/LZMA2/LZMA2Decoder.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/LZMA2/LZMA2Error.swift b/Sources/LZMA2/LZMA2Error.swift index cb86e8f2..b4c43f65 100644 --- a/Sources/LZMA2/LZMA2Error.swift +++ b/Sources/LZMA2/LZMA2Error.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/ByteReader+Tar.swift b/Sources/TAR/ByteReader+Tar.swift index d737cb72..2cf29c7c 100644 --- a/Sources/TAR/ByteReader+Tar.swift +++ b/Sources/TAR/ByteReader+Tar.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/ContainerEntryType+Tar.swift b/Sources/TAR/ContainerEntryType+Tar.swift index 6278876d..de9f6fc8 100644 --- a/Sources/TAR/ContainerEntryType+Tar.swift +++ b/Sources/TAR/ContainerEntryType+Tar.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarContainer.swift b/Sources/TAR/TarContainer.swift index 6fc376b2..ad3329f3 100644 --- a/Sources/TAR/TarContainer.swift +++ b/Sources/TAR/TarContainer.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarCreateError.swift b/Sources/TAR/TarCreateError.swift index c9bc9c95..61312585 100644 --- a/Sources/TAR/TarCreateError.swift +++ b/Sources/TAR/TarCreateError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarEntry.swift b/Sources/TAR/TarEntry.swift index 73218ab0..20918f01 100644 --- a/Sources/TAR/TarEntry.swift +++ b/Sources/TAR/TarEntry.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarEntryInfo.swift b/Sources/TAR/TarEntryInfo.swift index 535e042c..6cb7f742 100644 --- a/Sources/TAR/TarEntryInfo.swift +++ b/Sources/TAR/TarEntryInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarEntryInfoProvider.swift b/Sources/TAR/TarEntryInfoProvider.swift index 7fa3b2e6..cac4bffd 100644 --- a/Sources/TAR/TarEntryInfoProvider.swift +++ b/Sources/TAR/TarEntryInfoProvider.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarError.swift b/Sources/TAR/TarError.swift index c1f8c5f2..4dcbbff2 100644 --- a/Sources/TAR/TarError.swift +++ b/Sources/TAR/TarError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/TAR/TarExtendedHeader.swift b/Sources/TAR/TarExtendedHeader.swift index db02ccf5..d7f23922 100644 --- a/Sources/TAR/TarExtendedHeader.swift +++ b/Sources/TAR/TarExtendedHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/ByteReader+XZ.swift b/Sources/XZ/ByteReader+XZ.swift index 3b3e88f1..493c6405 100644 --- a/Sources/XZ/ByteReader+XZ.swift +++ b/Sources/XZ/ByteReader+XZ.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/Sha256.swift b/Sources/XZ/Sha256.swift index 2bab306f..7ea7b481 100644 --- a/Sources/XZ/Sha256.swift +++ b/Sources/XZ/Sha256.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/XZArchive.swift b/Sources/XZ/XZArchive.swift index d53a544a..2bb54ac3 100644 --- a/Sources/XZ/XZArchive.swift +++ b/Sources/XZ/XZArchive.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/XZBlock.swift b/Sources/XZ/XZBlock.swift index d13a5a3f..b0e56229 100644 --- a/Sources/XZ/XZBlock.swift +++ b/Sources/XZ/XZBlock.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/XZError.swift b/Sources/XZ/XZError.swift index c5c22121..30d3fc93 100644 --- a/Sources/XZ/XZError.swift +++ b/Sources/XZ/XZError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/XZ/XZStreamHeader.swift b/Sources/XZ/XZStreamHeader.swift index 9428484e..3c44cfc1 100644 --- a/Sources/XZ/XZStreamHeader.swift +++ b/Sources/XZ/XZStreamHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/BuiltinExtraFields.swift b/Sources/ZIP/BuiltinExtraFields.swift index 03eb3f3d..dceb808d 100644 --- a/Sources/ZIP/BuiltinExtraFields.swift +++ b/Sources/ZIP/BuiltinExtraFields.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ByteReader+Zip.swift b/Sources/ZIP/ByteReader+Zip.swift index e2fc61ef..95faf57e 100644 --- a/Sources/ZIP/ByteReader+Zip.swift +++ b/Sources/ZIP/ByteReader+Zip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/CompressionMethod+Zip.swift b/Sources/ZIP/CompressionMethod+Zip.swift index ec19833c..207d576b 100644 --- a/Sources/ZIP/CompressionMethod+Zip.swift +++ b/Sources/ZIP/CompressionMethod+Zip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/FileSystemType+Zip.swift b/Sources/ZIP/FileSystemType+Zip.swift index a5509834..1a9fd77d 100644 --- a/Sources/ZIP/FileSystemType+Zip.swift +++ b/Sources/ZIP/FileSystemType+Zip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipCentralDirectoryEntry.swift b/Sources/ZIP/ZipCentralDirectoryEntry.swift index ede94cf9..9f92ddfb 100644 --- a/Sources/ZIP/ZipCentralDirectoryEntry.swift +++ b/Sources/ZIP/ZipCentralDirectoryEntry.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipContainer.swift b/Sources/ZIP/ZipContainer.swift index 6b638a2e..9e5d35cf 100644 --- a/Sources/ZIP/ZipContainer.swift +++ b/Sources/ZIP/ZipContainer.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipEndOfCentralDirectory.swift b/Sources/ZIP/ZipEndOfCentralDirectory.swift index bd049e46..9bd6c61c 100644 --- a/Sources/ZIP/ZipEndOfCentralDirectory.swift +++ b/Sources/ZIP/ZipEndOfCentralDirectory.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipEntry.swift b/Sources/ZIP/ZipEntry.swift index 2e139e07..19ac5a82 100644 --- a/Sources/ZIP/ZipEntry.swift +++ b/Sources/ZIP/ZipEntry.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipEntryInfo.swift b/Sources/ZIP/ZipEntryInfo.swift index 27fe4aa8..e6fa493c 100644 --- a/Sources/ZIP/ZipEntryInfo.swift +++ b/Sources/ZIP/ZipEntryInfo.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipEntryInfoHelper.swift b/Sources/ZIP/ZipEntryInfoHelper.swift index 176a8eff..a7b02e2a 100644 --- a/Sources/ZIP/ZipEntryInfoHelper.swift +++ b/Sources/ZIP/ZipEntryInfoHelper.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipError.swift b/Sources/ZIP/ZipError.swift index 59535904..8886a475 100644 --- a/Sources/ZIP/ZipError.swift +++ b/Sources/ZIP/ZipError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipExtraField.swift b/Sources/ZIP/ZipExtraField.swift index 4ea8d2c3..cdad8808 100644 --- a/Sources/ZIP/ZipExtraField.swift +++ b/Sources/ZIP/ZipExtraField.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/ZIP/ZipLocalHeader.swift b/Sources/ZIP/ZipLocalHeader.swift index ce1c444c..327a3f96 100644 --- a/Sources/ZIP/ZipLocalHeader.swift +++ b/Sources/ZIP/ZipLocalHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Zlib/ZlibArchive.swift b/Sources/Zlib/ZlibArchive.swift index e7d5084a..7dc10724 100644 --- a/Sources/Zlib/ZlibArchive.swift +++ b/Sources/Zlib/ZlibArchive.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Zlib/ZlibError.swift b/Sources/Zlib/ZlibError.swift index 15afea51..edac17bd 100644 --- a/Sources/Zlib/ZlibError.swift +++ b/Sources/Zlib/ZlibError.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/Zlib/ZlibHeader.swift b/Sources/Zlib/ZlibHeader.swift index 54f3f87f..931d13c2 100644 --- a/Sources/Zlib/ZlibHeader.swift +++ b/Sources/Zlib/ZlibHeader.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Archives/BZip2Command.swift b/Sources/swcomp/Archives/BZip2Command.swift index 6dafd247..fb6b627c 100644 --- a/Sources/swcomp/Archives/BZip2Command.swift +++ b/Sources/swcomp/Archives/BZip2Command.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Archives/GZipCommand.swift b/Sources/swcomp/Archives/GZipCommand.swift index be7d3b12..73dee549 100644 --- a/Sources/swcomp/Archives/GZipCommand.swift +++ b/Sources/swcomp/Archives/GZipCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Archives/LZMACommand.swift b/Sources/swcomp/Archives/LZMACommand.swift index bf360d1b..835c536b 100644 --- a/Sources/swcomp/Archives/LZMACommand.swift +++ b/Sources/swcomp/Archives/LZMACommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Archives/XZCommand.swift b/Sources/swcomp/Archives/XZCommand.swift index 34636f2f..97075da5 100644 --- a/Sources/swcomp/Archives/XZCommand.swift +++ b/Sources/swcomp/Archives/XZCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/BenchmarkCommand.swift b/Sources/swcomp/Benchmarks/BenchmarkCommand.swift index 591c291a..c731780c 100644 --- a/Sources/swcomp/Benchmarks/BenchmarkCommand.swift +++ b/Sources/swcomp/Benchmarks/BenchmarkCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/BenchmarkGroup.swift b/Sources/swcomp/Benchmarks/BenchmarkGroup.swift index 26e625b3..9ab7a25b 100644 --- a/Sources/swcomp/Benchmarks/BenchmarkGroup.swift +++ b/Sources/swcomp/Benchmarks/BenchmarkGroup.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/CompBz2.swift b/Sources/swcomp/Benchmarks/CompBz2.swift index 05d1652c..a1b06f61 100644 --- a/Sources/swcomp/Benchmarks/CompBz2.swift +++ b/Sources/swcomp/Benchmarks/CompBz2.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/CompDeflate.swift b/Sources/swcomp/Benchmarks/CompDeflate.swift index df6c4bc3..addfaf82 100644 --- a/Sources/swcomp/Benchmarks/CompDeflate.swift +++ b/Sources/swcomp/Benchmarks/CompDeflate.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/Info7z.swift b/Sources/swcomp/Benchmarks/Info7z.swift index 7f3dff80..943294e4 100644 --- a/Sources/swcomp/Benchmarks/Info7z.swift +++ b/Sources/swcomp/Benchmarks/Info7z.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/InfoTar.swift b/Sources/swcomp/Benchmarks/InfoTar.swift index 671082f0..55bf3aab 100644 --- a/Sources/swcomp/Benchmarks/InfoTar.swift +++ b/Sources/swcomp/Benchmarks/InfoTar.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/InfoZip.swift b/Sources/swcomp/Benchmarks/InfoZip.swift index a295ea47..a44aeae9 100644 --- a/Sources/swcomp/Benchmarks/InfoZip.swift +++ b/Sources/swcomp/Benchmarks/InfoZip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/UnBz2.swift b/Sources/swcomp/Benchmarks/UnBz2.swift index 721e8d9d..b6c279e3 100644 --- a/Sources/swcomp/Benchmarks/UnBz2.swift +++ b/Sources/swcomp/Benchmarks/UnBz2.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/UnGzip.swift b/Sources/swcomp/Benchmarks/UnGzip.swift index fc8f1c26..690a0037 100644 --- a/Sources/swcomp/Benchmarks/UnGzip.swift +++ b/Sources/swcomp/Benchmarks/UnGzip.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Benchmarks/UnXz.swift b/Sources/swcomp/Benchmarks/UnXz.swift index eb24ec85..f0cb7a2c 100644 --- a/Sources/swcomp/Benchmarks/UnXz.swift +++ b/Sources/swcomp/Benchmarks/UnXz.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Containers/7ZipCommand.swift b/Sources/swcomp/Containers/7ZipCommand.swift index 56e20a02..e321c48b 100644 --- a/Sources/swcomp/Containers/7ZipCommand.swift +++ b/Sources/swcomp/Containers/7ZipCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Containers/CommonFunctions.swift b/Sources/swcomp/Containers/CommonFunctions.swift index 1c0ea211..fb0ae8de 100644 --- a/Sources/swcomp/Containers/CommonFunctions.swift +++ b/Sources/swcomp/Containers/CommonFunctions.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Containers/ContainerCommand.swift b/Sources/swcomp/Containers/ContainerCommand.swift index 76cda15f..32459532 100644 --- a/Sources/swcomp/Containers/ContainerCommand.swift +++ b/Sources/swcomp/Containers/ContainerCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Containers/TarCommand.swift b/Sources/swcomp/Containers/TarCommand.swift index df03f19b..24c0579c 100644 --- a/Sources/swcomp/Containers/TarCommand.swift +++ b/Sources/swcomp/Containers/TarCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Containers/ZipCommand.swift b/Sources/swcomp/Containers/ZipCommand.swift index 95ea0491..164aaa89 100644 --- a/Sources/swcomp/Containers/ZipCommand.swift +++ b/Sources/swcomp/Containers/ZipCommand.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Extensions/BlockSize+Keyable.swift b/Sources/swcomp/Extensions/BlockSize+Keyable.swift index 3917084d..1a4a51fa 100644 --- a/Sources/swcomp/Extensions/BlockSize+Keyable.swift +++ b/Sources/swcomp/Extensions/BlockSize+Keyable.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Extensions/CompressionMethod+CustomStringConvertible.swift b/Sources/swcomp/Extensions/CompressionMethod+CustomStringConvertible.swift index 62617f43..16b978ab 100644 --- a/Sources/swcomp/Extensions/CompressionMethod+CustomStringConvertible.swift +++ b/Sources/swcomp/Extensions/CompressionMethod+CustomStringConvertible.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Extensions/ContainerEntryInfo+CustomStringConvertible.swift b/Sources/swcomp/Extensions/ContainerEntryInfo+CustomStringConvertible.swift index 6dc152cd..cd6db6a6 100644 --- a/Sources/swcomp/Extensions/ContainerEntryInfo+CustomStringConvertible.swift +++ b/Sources/swcomp/Extensions/ContainerEntryInfo+CustomStringConvertible.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Extensions/FileSystemType+CustomStringConvertible.swift b/Sources/swcomp/Extensions/FileSystemType+CustomStringConvertible.swift index 4aee5724..595a58a8 100644 --- a/Sources/swcomp/Extensions/FileSystemType+CustomStringConvertible.swift +++ b/Sources/swcomp/Extensions/FileSystemType+CustomStringConvertible.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift b/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift index 013776f3..c797639b 100644 --- a/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift +++ b/Sources/swcomp/Extensions/GzipHeader+CustomStringConvertible.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift index e6bcf370..9c608eaf 100644 --- a/Sources/swcomp/main.swift +++ b/Sources/swcomp/main.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/BZip2CompressionTests.swift b/Tests/BZip2CompressionTests.swift index c14f3c43..2f8add59 100644 --- a/Tests/BZip2CompressionTests.swift +++ b/Tests/BZip2CompressionTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/BZip2Tests.swift b/Tests/BZip2Tests.swift index 3107c973..a93f6fe3 100644 --- a/Tests/BZip2Tests.swift +++ b/Tests/BZip2Tests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/Constants.swift b/Tests/Constants.swift index 7aade238..de03d332 100644 --- a/Tests/Constants.swift +++ b/Tests/Constants.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/DeflateCompressionTests.swift b/Tests/DeflateCompressionTests.swift index 312cf4f7..6711eee2 100644 --- a/Tests/DeflateCompressionTests.swift +++ b/Tests/DeflateCompressionTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/GzipTests.swift b/Tests/GzipTests.swift index 8f662df5..3c350d74 100644 --- a/Tests/GzipTests.swift +++ b/Tests/GzipTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/LzmaTests.swift b/Tests/LzmaTests.swift index 1081a273..580b5bf9 100644 --- a/Tests/LzmaTests.swift +++ b/Tests/LzmaTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/SevenZipTests.swift b/Tests/SevenZipTests.swift index affbe2c2..d01c8cc0 100644 --- a/Tests/SevenZipTests.swift +++ b/Tests/SevenZipTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/Sha256Tests.swift b/Tests/Sha256Tests.swift index 6d3340f2..166552a4 100644 --- a/Tests/Sha256Tests.swift +++ b/Tests/Sha256Tests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/TarCreateTests.swift b/Tests/TarCreateTests.swift index 210524eb..4c85bab9 100644 --- a/Tests/TarCreateTests.swift +++ b/Tests/TarCreateTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/TarTests.swift b/Tests/TarTests.swift index 17ccce19..a5db96e2 100644 --- a/Tests/TarTests.swift +++ b/Tests/TarTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/TestZipExtraField.swift b/Tests/TestZipExtraField.swift index febda585..38db51df 100644 --- a/Tests/TestZipExtraField.swift +++ b/Tests/TestZipExtraField.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/XzTests.swift b/Tests/XzTests.swift index af7a1de9..40f8c880 100644 --- a/Tests/XzTests.swift +++ b/Tests/XzTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/ZipTests.swift b/Tests/ZipTests.swift index 69fd3ec6..77aa05b9 100644 --- a/Tests/ZipTests.swift +++ b/Tests/ZipTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information diff --git a/Tests/ZlibTests.swift b/Tests/ZlibTests.swift index 5040f746..d90369b3 100644 --- a/Tests/ZlibTests.swift +++ b/Tests/ZlibTests.swift @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Timofey Solomko +// Copyright (c) 2021 Timofey Solomko // Licensed under MIT License // // See LICENSE for license information From 4445b0f561bf846c08dc0677722ebceeedfb1c2e Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Fri, 26 Mar 2021 13:37:00 +0200 Subject: [PATCH 9/9] Prepare for 4.5.8 release --- .jazzy.yaml | 2 +- CHANGELOG.md | 4 ++++ SWCompression.podspec | 2 +- SWCompression.xcodeproj/SWCompression.plist | 4 ++-- SWCompression.xcodeproj/TestSWCompression.plist | 4 ++-- SWCompression.xcodeproj/project.pbxproj | 8 ++++---- Sources/swcomp/main.swift | 2 +- 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.jazzy.yaml b/.jazzy.yaml index 8f55ce3e..90e1a3cb 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -3,7 +3,7 @@ sourcekitten_sourcefile: docs.json clean: true author: Timofey Solomko module: SWCompression -module_version: 4.5.7 +module_version: 4.5.8 copyright: '© 2021 Timofey Solomko' readme: README.md github_url: https://github.com/tsolomko/SWCompression diff --git a/CHANGELOG.md b/CHANGELOG.md index 269a0fd7..e4767c8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 4.5.8 + +- Fixed incompatibility with Carthage `--use-xcframeworks` method of installation. + ## 4.5.7 - Fixed a crash when trying to open a very small file as a 7-Zip container, a BZip2 "archive", a GZip archive (both when diff --git a/SWCompression.podspec b/SWCompression.podspec index 7333c861..ac193438 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SWCompression" - s.version = "4.5.7" + s.version = "4.5.8" 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 7c77252a..38b0f04e 100644 --- a/SWCompression.xcodeproj/SWCompression.plist +++ b/SWCompression.xcodeproj/SWCompression.plist @@ -15,9 +15,9 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 4.5.7 + 4.5.8 CFBundleVersion - 74 + 75 NSHumanReadableCopyright Copyright © 2021 Timofey Solomko. All rights reserved. diff --git a/SWCompression.xcodeproj/TestSWCompression.plist b/SWCompression.xcodeproj/TestSWCompression.plist index a8ecec80..00e0c5d4 100644 --- a/SWCompression.xcodeproj/TestSWCompression.plist +++ b/SWCompression.xcodeproj/TestSWCompression.plist @@ -15,8 +15,8 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 4.5.7 + 4.5.8 CFBundleVersion - 74 + 75 diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index 2da7a6bd..249fea7d 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -1250,7 +1250,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 74; + CURRENT_PROJECT_VERSION = 75; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -1331,7 +1331,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CURRENT_PROJECT_VERSION = 74; + CURRENT_PROJECT_VERSION = 75; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; "FRAMEWORK_SEARCH_PATHS[sdk=appletvos*]" = ( @@ -1392,7 +1392,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 74; + DYLIB_CURRENT_VERSION = 75; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; @@ -1419,7 +1419,7 @@ APPLICATION_EXTENSION_API_ONLY = YES; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 74; + DYLIB_CURRENT_VERSION = 75; DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = SWCompression.xcodeproj/SWCompression.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; diff --git a/Sources/swcomp/main.swift b/Sources/swcomp/main.swift index 9c608eaf..5b4e3383 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.5.7", +let cli = CLI(name: "swcomp", version: "4.5.8", description: """ swcomp - small command-line client for SWCompression framework. Serves as an example of SWCompression usage.