Commit Graph

57 Commits

Author SHA1 Message Date
Antoine Cœur b660cccd24 removing zipArchiveDidUnzipArchiveFile:entryPath:destPath: from SSZipArchiveDelegate as never implemented 2017-10-03 23:42:15 +08:00
Antoine Cœur 961d471d39 readability and simplifications 2017-09-17 00:55:52 +08:00
Antoine Cœur f9df6800d6 modernizing objectiveC 2017-09-14 00:31:27 +08:00
Ibrahim Sha'ath 6781d97343 Guard against the receipt of empty paths 2017-08-01 16:08:00 -07:00
Jnis a0a649e28b Added filed to write file error 2017-07-24 10:16:54 +04:00
Antoine Cœur db911cf076 same FailedOpen error code is used for other files too 2017-06-22 03:28:37 +08:00
C.W. Betts 6614014ecc Fix duplicate symbols of SSZipArchiveErrorDomain. 2017-03-28 09:14:39 -06:00
Wolfgang Muhsal e451317de6 Public constants for error domain and error codes 2017-03-15 10:57:46 +01: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 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 c08241ef19 added isPasswordValidForArchiveAtPath method 2016-11-05 15:14:30 +01:00
Joshua Hudson 6d0ac40a80 Rename Common.h to avoid conflicts with other Cocoapod projects 2016-08-03 16:08:42 -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
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
Dominik Arnhof d93b03eb1a added password check 2016-07-02 18:52:36 +02:00
Joshua Hudson 0746d77e2d spelling fix 2016-05-31 11:25:15 -07:00
ClementPadovani 8ba930ef4b Removed getters since they broke everything.
Reverts this commit https://github.com/ZipArchive/ZipArchive/commit/03f70718a22577dd63cc021bbdff37b73969d900 that broke the opening and closing of zip files as mentioned in https://github.com/ZipArchive/ZipArchive/issues/225
2016-02-24 14:54:39 +01:00
Stu bec7858cf8 Fix incorrect method signature in header 2015-12-16 07:44:03 +00:00
lagapollo 098a1ffa62 forgot semi-colon 2015-12-07 09:37:56 +01:00
lagapollo 6abbd98082 update SSZipArchive.h
For a project, I need to write a folder into the zip archive.
The method writeFolderAtPath: withFolderName: is only private and I need it from outside. 

I can't use class method because i'm creating the archive manually, i have multiple folders and multiples files to zip.
2015-12-07 09:36:17 +01:00
Joshua Hudson 644dedb048 Manually merged in AES support. #207, #199. Original PRs had errors. 2015-11-24 10:31:51 -08:00
ClementPadovani 03f70718a2 Added getters.
Updated `BOOL` getters for `open` and `close`.
2015-11-17 15:17:13 +01:00
Joshua Hudson c466f6bd99 Revert "support aes,compatible old way for zip" 2015-11-16 10:46:30 -08:00
Sen c601929993 compatible old way for zip 2015-10-29 06:57:03 +08:00
Sen de2c1fe2f3 support password zip 2015-10-28 20:48:53 +08:00
Sen a523114ea1 update mini zip 1.1 to support aes... 2015-10-28 18:23:17 +08:00
Sean Soper 5a422fc833 Roll back changes made since 0.3.3 which was last known working version, move C libs around to get working in Pods 0.39 space, add Swift example, add Objective-C example, move tests and ensure they pass 2015-10-23 14:15:31 -04:00
Douglas Bumby 3a07e9888d Move project around 2015-07-12 12:06:13 +01:00
Douglas Bumby ded74bc073 Add new project (in the works) 2015-07-11 23:15:40 +01:00
Ahmed Hamdy 8d2b39b5ec Fix testCase and apply modern Objc 2015-06-06 20:43:47 +03:00
David Jennes a9ece3bef7 Add delegate method with extracted file path 2015-04-09 20:07:03 +02:00
Douglas Bumby 95d3d3544a missed a spot 2015-04-06 17:18:40 -04:00
Douglas Bumby 4e3625684d cleanup 2015-04-06 17:18:27 -04:00
Douglas Bumby cc24921107 Copyright year + miscellaneous changes 2015-04-06 17:17:26 -04:00
Douglas Bumby 938749897d MERGE: Add writeFileAtPath:withFileName: in SSZipArchive.h so that it can be called. 2015-04-06 17:05:47 -04:00
Douglas Bumby c881c8528f Merge pull request #121 from rileytestut/master
Added option to keep parent directory when compressing directory contents
2015-04-06 16:53:21 -04:00
Douglas Bumby 4b4cce2666 Merging in some changes 2015-04-06 15:51:07 -04:00
Douglas Bumby ae50a6d40a fix the merges 2015-04-06 15:13:07 -04:00
Douglas Bumby cb037e1010 Merge pull request #113 from iosphere/zipArchiveProgressEvent-type
Report file size as unsigned long long to delegate
2015-04-06 14:59:07 -04:00
Douglas Bumby 801d1198b5 Merge pull request #122 from boherna/master
Adds progress and completion handlers. Support for adding folders and subfolders to ZIP packages.
2015-04-06 14:09:09 -04:00
Douglas Bumby b37ab60ba0 Merge pull request #131 from soffes/zlandau-cancelunzip
Zlandau cancelunzip
2015-04-06 13:44:27 -04:00
Douglas Bumby a90b2a9611 Merge fixes 2015-04-06 13:42:48 -04:00
Douglas Bumby 0c9aaee02b Revert "Add support for archives in folders" 2015-04-06 13:35:21 -04:00
Lars Immisch 9426653711 Add support for archives in folders 2015-03-27 10:53:38 +01:00
Riley Testut 33c7884202 Added option to keep parent directory when compressing directory contents 2014-12-21 18:02:19 -06:00