38 Commits
Author SHA1 Message Date
Timofey Solomko ea9aaccfb9 Update copyright year to 2026 2026-01-31 15:30:24 +08: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 79295db930 Update copyright year to 2022 2022-01-08 15:02:59 +03:00
Timofey Solomko e83f23effa Update copyright year to 2021 2021-01-11 11:20:57 +02:00
Timofey Solomko deab72a831 Merge branch 'hotfix-4.5.7' into develop 2020-10-16 15:57:08 +03:00
Timofey Solomko 3670bba2d1 [7-Zip] Fix a crash when opening a very small file
Such files (smaller than 32 bytes) definitely don't have a SignatureHeader and in this case SevenZipError.wrongSignature should be properly thrown.
2020-10-15 23:35:25 +03:00
Timofey Solomko a844b34436 Update copyright year to 2020 2020-03-20 09:43:42 +03:00
Timofey Solomko f6949a8f66 Replace the usage of the deprecated Data(bytes:) initializer 2020-03-20 09:40:48 +03:00
Timofey Solomko 31ec1f1553 Update copyright year to 2020 2020-01-01 19:06:33 +03:00
Timofey Solomko 75b21ae107 Replace usage of ByteReader with LittleEndianByteReader 2019-05-01 19:34:30 +03:00
Timofey Solomko db82490ed8 Replace the usage of the deprecated Data(bytes:) initializer 2019-05-01 19:30:48 +03:00
Timofey Solomko ce47019097 Update copyright year to 2019 2019-01-02 23:15:43 +03:00
Timofey Solomko 1c5ca3bbe5 Swiflinted before 4.4.0 2018-08-07 21:18:39 +03:00
Timofey Solomko d5c8600137 Use more new BBD functions 2018-04-10 22:37:20 +03:00
Timofey Solomko 05852b179b Use new int(fromBytes:) function 2018-04-10 22:37:16 +03:00
Timofey Solomko 895643b69e [7-Zip] Reduce code nesting in container 2018-03-18 00:57:27 +03:00
Timofey Solomko 309a07ed15 [docs] Slightly simplify notes about entries order of container functions 2018-03-17 15:37:41 +03:00
Timofey Solomko 2e3867afde [7-Zip] Some code and comments improvements to open and info functions 2018-03-17 15:34:12 +03:00
Timofey Solomko 42fdac0a79 [7-Zip] info(container:) no longer crash when SubstreamInfo doesn't have enough sizes or digests
In this cases it now sets them to nil, which is consistent with behavior of open(container:) function.
2018-03-17 15:32:07 +03:00
Timofey Solomko b301045d4a [7-Zip] Fix skipping entries in open(container:) when there is no SubstreamInfo
It was always intended to set data of entry to nil in this case, but for some reason it was never properly implemented.
2018-03-17 15:30:19 +03:00
Timofey Solomko abcc985da8 Accept 7z minor version from 1 to 4 2018-03-08 12:35:16 +03:00
Timofey Solomko e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +03:00
Timofey Solomko e986561487 Replace Int() conversions with toInt() functions 2018-01-03 19:22:15 +03:00
Timofey Solomko c8d92e56d3 Replace BitReader and ByteReader with BitByteData's implementations 2018-01-03 19:22:15 +03:00
Timofey Solomko 20ab480737 Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
2018-01-03 19:22:14 +03:00
Timofey Solomko dcf18c73d6 Rename ByteReader.isAtTheEnd to isFinished 2018-01-03 19:22:13 +03:00
Timofey Solomko b9eeb1bc7c Rename ByteReader.index to offset 2018-01-03 19:22:13 +03:00
Timofey Solomko 3751e25c4f Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
2018-01-03 19:22:13 +03:00
Timofey Solomko 556e42e179 Add and update documentation 2017-11-14 20:37:20 +03:00
Timofey Solomko f2b03d3e42 Restore conformance to Container protocol of SevenZipContainer
Somehow I forgot to this...
2017-10-28 17:58:09 +03:00
Timofey Solomko e92c5a609c Add CompressionMethod enum for common usage 2017-10-28 17:41:40 +03:00
Timofey Solomko 0d3369a4e5 Rename some variables for consistency 2017-10-21 13:51:20 +03:00
Timofey Solomko b6be23eb6d Slightly update docs comments 2017-10-11 13:47:23 +03:00
Timofey Solomko 66cf5ee116 Extract 7z related BitReader extension into separate file 2017-10-08 22:07:52 +03:00
Timofey Solomko e36c22f707 Fix some inconsistencies with size and data in SevenZip in different cases (dir, empty file, anti file) 2017-10-08 20:18:33 +03:00
Timofey Solomko bf763e53c0 Remove Container protocols conformance and make open(container:) methods return fixed types 2017-10-08 19:49:57 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00