Commit Graph

138 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 fab301b90f Merge pull request #400 from ZipArchive/__MACOSX
ignoring __MACOSX/
2017-10-10 20:09:20 -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 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 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 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 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 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 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 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 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
Robert Cain 790b2c1454 Fixes Analyze: Local variable conflicts
with outer success variable
2017-08-24 17:45:08 +01:00
Ibrahim Sha'ath 6781d97343 Guard against the receipt of empty paths 2017-08-01 16:08:00 -07:00
Ibrahim Sha'ath 2a248f6b55 Add missing nullability specifier 2017-08-01 16:07:22 -07:00
Joshua Hudson e0a74bddd4 fix crash if device is out of space instead of returning error. Thanks @markonikolvski #361 2017-08-01 10:17:37 -07:00
Joshua Hudson 804e9e5a6f Merge pull request #355 from Jnis/patch-2
Unzipping when no space; Stop unzipping when failed;
2017-07-24 16:03:45 -07:00
Antoine Cœur c8a6eedf78 removed comment 2017-07-24 20:19:49 +08:00
Antoine Cœur f5b2feed1c we do not support MRC 2017-07-24 20:14:06 +08:00
Jnis 0516ff2f90 Unzipping when no space; Stop unzipping when failed; 2017-07-24 10:07:37 +04:00
Joshua Hudson 66ab1372d8 Remove warnings from the 2.0 release 2017-07-19 12:33:46 -07:00
Joshua Hudson 6fc5255676 Merge pull request #345 from june20com/master
Added support for overwriting existing symlinks
2017-07-17 09:04:50 -07:00
Joshua Hudson 75530e03e7 Merge pull request #348 from ZipArchive/Coeur-permissions
adding read+write permissions
2017-07-17 08:31:44 -07:00
Antoine Cœur d1d501d1d9 adding read+write permissions
This would grant read+write to all uncompressed files. An alternative way to implement it would be to make it an option.
2017-07-12 13:17:07 +08:00
Joshua Hudson eb4b6d1974 Merge branch 'master' into 2.0 2017-06-27 17:46:09 -07:00
Paulo Fierro 1ff099811e Added support for overwriting existing symlinks
Also added errors if these operations fail.
2017-06-22 12:57:32 -05:00
Antoine Cœur f13ff57501 latest minizip 2017-06-22 12:06:35 +08:00
Antoine Cœur db911cf076 same FailedOpen error code is used for other files too 2017-06-22 03:28:37 +08:00