Commit Graph

128 Commits

Author SHA1 Message Date
Antoine Cœur f5b2feed1c we do not support MRC 2017-07-24 20:14:06 +08: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
Pavel Kunc 3c06f00fee Convert Swift code in to Swift 3 and change appropriate project
settings.
2016-09-13 09:17:31 +01:00
Sam Singh d1e5f47e29 Extended to allow passing in directory or file to unzip to 2016-09-05 20:40:00 -04:00
Jakey 391c6e75bb if filename contains chinese dir transform Encoding 2016-08-10 14:44:44 +08:00
Daniel Lahyani a0155be07f SSZipArchive: Make sure header files ends with a single \n character.
This is common practice silences a commonly used warning: 'Wnewline-eof'
2016-08-08 14:43:09 +03:00
Joshua Hudson 6d0ac40a80 Rename Common.h to avoid conflicts with other Cocoapod projects 2016-08-03 16:08:42 -07:00
Joshua Hudson 82534a7cba Merge pull request #264 from sibext/PerformanceImprovements
Performance improvements with zip files that have large amounts of files.
2016-07-13 09:02:47 -07:00
Artyom Gladkov 0820787fc6 Add additional public unzipping method to allow skipping of operations on files' attributes.
Operations with files' attribute are performance bottleneck and for some tasks and archives it is overkill.
2016-07-13 14:15:13 +06:00
Artyom Gladkov ae9a5b5fdf Change collection type for 'directoriesModificationDates' from NSMutableSet to NSMutableArray.
The performance of NSMutableSet degradates very rapidly on increasing of archive size (count of files). Especially it becomes when costly to add new files to it.
2016-07-13 12:59:44 +06:00
Artyom Gladkov 40d2eb9b1a Set YES to symlinked files during unzipping. 2016-07-13 10:56:30 +06:00
Joshua Hudson 3050c9a340 Merge pull request #260 from bdunayAGL/master
Nullablilty Annotations for better swift support
2016-07-06 15:23:25 -07:00
Bill Dunay 99d98ac5e8 Added nullablilty annotations to the framework. 2016-07-06 17:44:47 -04:00
Joshua Hudson d1af8a01ea Merge pull request #261 from sibext/RunOutOfSpaceFix
Check for: Run out of space issue
2016-07-06 12:18:12 -07:00
Artyom Gladkov 701400d06f Add errors forwarding on 'run out of space issue' 2016-07-06 18:29:55 +06:00
Dominik Arnhof d93b03eb1a added password check 2016-07-02 18:52:36 +02:00