Commit Graph

142 Commits

Author SHA1 Message Date
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
Antoine Cœur dc8bf3558c latest minishared 2017-08-29 13:24:50 +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
Joshua Hudson 6eafde0cfb Merge pull request #357 from Coeur/ARC
we do not support MRC
2017-07-24 16:02:52 -07:00
Antoine Cœur 42c8c9e8c9 Merge branch 'patch-3' into patch-2
* patch-3:
  Added filed to write file error
2017-07-24 20:25:13 +08: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
Antoine Cœur c84f6e84e2 Fix compatibility with 7-zip/WinRAR (regression in SSZipArchive 2.0.0) 2017-07-24 19:40:49 +08:00
Jnis a0a649e28b Added filed to write file error 2017-07-24 10:16:54 +04: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
Joshua Hudson 3b06542c05 Merge pull request #344 from Coeur/SSZipArchiveErrorCode
same FailedOpen error code is used for other files too
2017-06-27 07:55:51 -07:00
Antoine Cœur 3098eefc9d keeping aes as subdirectory of minizip for correct include path 2017-06-25 23:06:17 +08: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
Riley Avron 6316aa0dcb Replace comma with semicolon
I believe this comma should be a semicolon, since this looks like a full statement, and there's no reason to want the comma operator here as far as I can see.
2017-06-12 13:38:05 -07:00
Joshua Hudson 92f3cac49f Fix Xcode 8.3 warnings 2017-04-12 09:52:48 -07:00
Joshua Hudson 98eeb1a862 Merge pull request #328 from MaddTheSane/fileSysRep
Use -fileSystemRepresentation for file names
2017-03-28 10:35:48 -07:00
Joshua Hudson 18703ddb15 Merge pull request #322 from Gucky/master
Public constants for error domain and error codes
2017-03-28 10:35:31 -07:00
Joshua Hudson fc6123aae5 Merge pull request #318 from Coeur/errorForCompletionHandler
giving an NSError to completionHandler on failure
2017-03-28 10:34:37 -07:00
C.W. Betts 6614014ecc Fix duplicate symbols of SSZipArchiveErrorDomain. 2017-03-28 09:14:39 -06:00
C.W. Betts ea2f4fc321 Use -fileSystemRepresentation for file names. 2017-03-28 09:04:05 -06:00
Wolfgang Muhsal e451317de6 Public constants for error domain and error codes 2017-03-15 10:57:46 +01:00
Antoine Cœur 05789bd171 giving an NSError to completionHandler on failure; always calling completionHandler 2017-02-24 14:04:41 +08:00
Antoine Cœur 451fadc9be more consistent code format 2017-02-24 13:32:28 +08:00
Antoine Cœur 23db0c4b7d Xcode warning: if directoryCreated is false, we can’t call writeToFile:atomically:encoding:error: 2017-01-28 22:47:43 +08:00
David Evans 84a96fc298 Added ability to retrieve zip creation progress.
Fixed a issue that was caused in the previous PR regarding this feature.
2017-01-23 19:45:35 +00:00
Joshua Hudson d7751a54f5 Revert "Added support for getting zip file creation progress." 2017-01-23 11:05:24 -08:00
Joshua Hudson 58cd06b7d8 Merge pull request #307 from Davidde94/master
Added support for getting zip file creation progress.
2017-01-23 11:00:41 -08:00
Joshua Hudson 4fcec5bf76 Merge pull request #299 from polac24/master
Define NSError as nullable argument of completionHandler
2017-01-23 10:57:06 -08:00
David Evans 97cd6424fd Added changes left out in last commit.
Users can now provide a callback to retrieve real-time statistics on
the progress of zipping files.
2017-01-21 18:29:28 +00:00
David Evans 0c98af7f9e Added support for retrieving zip progress information.
No additional information required.
2017-01-21 01:05:45 +00:00
Bartosz Polaczyk a13812407b Define NSError as nullable argument of completionHandler
In order to expose it as Error? in Swift3 rather than Error
2016-11-09 10:55:14 +01:00
Felix Ritter df48275b02 Added bad password detection for AES from minizip master 2016-11-05 15:19:45 +01:00
Felix Ritter 46ebe69295 Ensure we are not creating stale file entries in unzipFileAtPath 2016-11-05 15:16:16 +01:00
Felix Ritter c08241ef19 added isPasswordValidForArchiveAtPath method 2016-11-05 15:14:30 +01:00
Joshua Hudson ab77a21ffc Revert "Extended to allow passing in directory or file to unzip to" 2016-09-27 20:38:52 -07:00
Joshua Hudson f4c0147086 Merge pull request #285 from priya87/master
Bug fix: feof() creates infinite loop.
2016-09-14 10:34:28 -07:00
priya TIROUNARAYANANE 650c6fb0ab Bug fix: feof() creates infinite loop. 2016-09-14 10:05:00 +02:00
Joshua Hudson df34c1b896 Merge pull request #281 from simerjots/dev-fileoption
Extended to allow passing in directory or file to unzip to
2016-09-13 10:43:41 -07:00