Commit Graph

190 Commits

Author SHA1 Message Date
Jean-Baptiste 150f9a276e Support for splitting archive 2017-11-21 18:13:05 +01:00
Antoine Cœur 82af68a7d5 raising exception if malloc is null 2017-10-30 10:05:37 +08:00
Antoine Cœur 924b9240d3 fix memory leak 2017-10-23 17:27:08 +08:00
Antoine Cœur 6128b6faf3 Merge pull request #403 from ZipArchive/unzCountEntries
workaround incomplete unzip when above 65535 entries
2017-10-11 12:05:39 -05:00
Antoine Cœur 8e3a03d78b Merge pull request #402 from ZipArchive/IncorrectHeaders
hotfix for unzipping (fix #391)
2017-10-11 12:03:05 -05:00
Antoine Cœur 5b9e60e4ea Use arc4random_buf instead of "/dev/urandom" 2017-10-12 00:59:06 +08:00
Antoine Cœur 91e8bff0a7 workaround incorrect file count 2017-10-12 00:07:14 +08:00
Antoine Cœur 4ae03a2145 proper fix for compatibility with incorrect headers 2017-10-11 23:41:35 +08:00
Antoine Cœur fab301b90f Merge pull request #400 from ZipArchive/__MACOSX
ignoring __MACOSX/
2017-10-10 20:09:20 -05:00
Antoine Cœur e5962afc05 Merge pull request #398 from ZipArchive/nestedZip
support nested zip by calling fclose first
2017-10-10 20:09:08 -05:00
Antoine Cœur 01d1d9e770 ignoring __MACOSX/
currentFileNumber needs to be incremented even if we `continue`
2017-10-10 19:14:41 +08:00
Antoine Cœur 1fd7fa9c29 support nested zip by calling fclose first 2017-10-10 16:43:46 +08:00
Antoine Cœur 45d2faf540 removing inconsistent swift dependency for carthage frameworks 2017-10-10 15:07:35 +08:00
Antoine Cœur a9eb253d90 optional nestedZipLevel 2017-10-08 13:30:55 +08:00
Antoine Cœur 181bdc693e optional AES and custom compressionLevel 2017-10-08 13:28:00 +08:00
Antoine Cœur df25a4a43e avoiding creating an extra file to zip an empty folder 2017-10-08 02:39:39 +08:00
Antoine Cœur b8a68d1a08 Merge pull request #391 from ZipArchive/incorrect_headers
compatibility with incorrect headers
2017-10-07 11:51:57 -05:00
Antoine Cœur ed887bd062 Merge pull request #390 from ZipArchive/empty_zip
compatibility with empty zip files
2017-10-07 11:51:46 -05:00
Antoine Cœur 7ce0c7cc66 factoring zipInfo:setAttributesOfItemAtPath: 2017-10-07 21:39:52 +08:00
Antoine Cœur 7143ecdc66 compatibility with incorrect headers 2017-10-07 13:53:48 +08:00
Antoine Cœur 2ab252766d compatibility with empty zip files 2017-10-07 13:01:07 +08:00
Antoine Cœur 27cf1ec538 fix tvOS deployment target for tests 2017-10-07 01:06:01 +08:00
Antoine Cœur 5a7f52bf50 updated minizip 2017-10-06 01:37:58 +08:00
Antoine Cœur 0634a08c75 moving filenameStringWithCString to its own method 2017-10-04 22:53:37 +08:00
Antoine Cœur 1011c5ec05 moving fileIsSymbolicLink to its own function 2017-10-04 22:10:52 +08:00
Antoine Cœur b7097ae6bb report error for negative readBytes (invalid password) 2017-10-04 20:21:07 +08:00
Antoine Cœur b660cccd24 removing zipArchiveDidUnzipArchiveFile:entryPath:destPath: from SSZipArchiveDelegate as never implemented 2017-10-03 23:42:15 +08:00
Antoine Cœur 2821ab5d3e handling potential errors in zipOpenNewFileInZip 2017-10-02 02:59:21 +08:00
Antoine Cœur f6fd858c20 Xcode 7 compatibility 2017-09-30 13:43:23 +08:00
Antoine Cœur 6ec780b26a macOS 10.8+ is needed 2017-09-30 13:22:44 +08:00
Antoine Cœur 67f1711fe0 Merge pull request #385 from ZipArchive/encoding_autodetection
supporting encoding detection
2017-09-29 12:43:52 -05:00
Antoine Cœur 6f0bb4e9b4 fix #315 by removing the size_filename test.
latest minizip.
2017-09-30 01:42:17 +08:00
Antoine Cœur 5c10b9bed2 hexa is more readable than base64 for debugging unknown encodings 2017-09-29 19:06:16 +08:00
Antoine Cœur eed7d2368d removing iOS 7 compatibility 2017-09-29 02:43:27 +08:00
Antoine Cœur b75031acd0 supporting encoding detection 2017-09-29 02:29:04 +08:00
Antoine Cœur 5db5451166 fix regression from previous commit 2017-09-19 11:40:25 +08:00
Antoine Cœur b9ce3814d4 latest minizip 2017-09-18 20:33:11 +08:00
Antoine Cœur d94e717193 updated copyright 2017-09-18 11:08:13 +08:00
Antoine Cœur 25fb5cdf58 fix zipInfo:setDate: when currentCalendar was not gregorian 2017-09-17 19:51:47 +08:00
Antoine Cœur 961d471d39 readability and simplifications 2017-09-17 00:55:52 +08:00
Antoine Cœur c8a93311b5 unicode passwords 2017-09-16 18:01:56 +08:00
Antoine Cœur f9df6800d6 modernizing objectiveC 2017-09-14 00:31:27 +08:00
Antoine Cœur dd86a28b22 SSZipArchive works on Xcode 7-9 and above, iOS 8-11 and above. 2017-09-13 15:54:43 +08:00
Antoine Cœur 465f6210c4 fix compilation on Xcode 7.x 2017-09-13 00:47:45 +08:00
Antoine Cœur fa3fe1dfd8 correctly reporting errors for createZipFileAtPath 2017-09-12 21:15:13 +08:00
Antoine Cœur f3030e34ab returning write errors and preventing multiple calls to close by setting _zip to nil 2017-09-10 03:07:15 +08:00
Antoine Cœur 44329ab1a1 avoiding calling the completionHandler twice 2017-09-10 02:49:18 +08:00
Antoine Cœur bdbe304da3 applying some suggestions from AppCode 2017-09-09 23:05:11 +08:00
Antoine Cœur 75dad5ea8d adding a tvos 9.0 target for Carthage 2017-09-09 14:01:27 +08:00
Antoine Cœur a48f5d140a fix unpacking empty files and folders 2017-09-09 13:27:10 +08:00