30 Commits

Author SHA1 Message Date
Timofey Solomko b2b4e18a58 [swcomp] Remove redundant import statements 2026-02-12 21:44:30 +08:00
Timofey Solomko ea9aaccfb9 Update copyright year to 2026 2026-01-31 15:30:24 +08:00
Timofey Solomko fa4af5803a [TAR] Remove compatibility functions for FileHandle 2024-04-21 17:18:53 +03:00
Timofey Solomko 891848f939 [swcomp] Remove redundant compiler check 2024-04-21 14:05:16 +03:00
Timofey Solomko ed66991cbd Update copyright year to 2024 2024-01-11 16:57:04 +03:00
Timofey Solomko 43132fc39d Update copyright year to 2023 2023-02-07 15:31:45 +02:00
Timofey Solomko 987111c620 [swcomp] Fix build issues on linux and windows due to absence of autoreleasepool 2022-10-12 13:13:59 +03:00
Timofey Solomko 4ccb5e1de8 [docs] Small fixes to the documentation of TarContainer.create(from:force:) 2022-01-22 13:39:40 +03:00
Timofey Solomko 3caacff134 [swcomp] Add FileHandle closeCompat() extension
This is the same one used in tests.
2022-01-09 14:33:22 +03:00
Timofey Solomko 79295db930 Update copyright year to 2022 2022-01-08 15:02:59 +03:00
Timofey Solomko a898c9aabe [swcomp] Use autoreleasepool for tar creating in rw-api version 2022-01-08 14:35:09 +03:00
Timofey Solomko eaa0ae4b9b [swcomp] Add TarEntry.generateEntries function which uses TarWriter 2021-11-21 12:36:16 +03:00
Timofey Solomko 088d63ac03 [swcomp] Add --use-format option to tar command
This option allows to specify which TAR format to use when creating a container.
2021-10-25 20:01:00 +03:00
Timofey Solomko 01c106228b [swcomp] Replace ConvertibleFromString extension for BZip2.BlockSize with an empty conformance
SwiftCLI provides a default implementation for enums with Int raw values.
2021-10-25 20:00:22 +03:00
Timofey Solomko dc93436269 [swcomp] Update to use SwiftCLI's property wrappers
This should fix all deprecation warnings.
2021-10-24 12:47:22 +03:00
Timofey Solomko 322fe5aaa8 [swcomp] Move createEntries function into a separate extension 2021-09-12 19:12:04 +03:00
Timofey Solomko e83f23effa Update copyright year to 2021 2021-01-11 11:20:57 +02:00
Timofey Solomko a984486c62 [swcomp] Don't print zip comment if it's empty 2020-05-18 13:17:17 +03:00
Timofey Solomko 31ec1f1553 Update copyright year to 2020 2020-01-01 19:06:33 +03:00
Timofey Solomko ce47019097 Update copyright year to 2019 2019-01-02 23:15:43 +03:00
Timofey Solomko e9bc3c3e9e [swcomp] Print crc32 in zip-info command 2018-08-12 21:02:55 +03:00
Timofey Solomko 6e0020b0e0 [swcomp] Updates to support SwiftCLI 4.2.0 and higher 2018-04-10 00:17:36 +03:00
Timofey Solomko cb9d181754 [BZip2] Don't create new Huffman trees if maximum amount of trees possible is already reached 2018-03-03 20:30:49 +03:00
Timofey Solomko f2e7c6c4b3 [swcomp] Print addtional properties for all types of entry infos (as well as unknown pax records) 2018-03-03 13:05:50 +03:00
Timofey Solomko f3c568386a [swcomp] Replace nine block size options for BZip2 command with a single one 2018-02-23 17:59:19 +03:00
Timofey Solomko dc8a60b7c0 Swiftlinted 2018-02-17 12:55:31 +03:00
Timofey Solomko b9f325f91b Small text/comments-related changes 2018-02-07 23:59:42 +03:00
Timofey Solomko 4adc62192f [swcomp] Extract most of global printInfo function as an extension to ContainerEntryInfo 2018-01-17 13:13:57 +03:00
Timofey Solomko 344421f49c Exclude SPM's .build directory from swiftlint and swiftlint 2018-01-15 21:49:54 +03:00
Timofey Solomko 714de31f5d [swcomp] Add CustomStringConvertible extensions for several SWCompression's types 2018-01-14 13:11:35 +03:00