Commit Graph

81 Commits

Author SHA1 Message Date
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
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
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
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
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
Joshua Hudson
0746d77e2d spelling fix 2016-05-31 11:25:15 -07:00
Joshua Hudson
41c3e8251f Moved method to private section. 2016-05-11 21:51:06 -07:00
Bogo Giertler
c17e76ceb8 Create the .DS_Store files in temp directory for read-only contexts 2016-05-11 16:39:08 +01:00
Joshua Hudson
8c51a6838f Fix #239 2016-03-23 16:54:24 -07:00
Joshua Hudson
e6fb3f79fd Tests were trying to cast unsigned long long to NSInt and causing tests to fail reporting progress 2016-01-27 09:00:58 -08:00
Nick Jensen
7c60734bcc error properly when crc check fails 2015-12-15 15:16:02 +01:00
Alex Kalinichenko
744822d595 Add guards for the malloc calls in SSZipArchive.m file. 2015-11-26 10:47:55 -05:00
Joshua Hudson
644dedb048 Manually merged in AES support. #207, #199. Original PRs had errors. 2015-11-24 10:31:51 -08:00
Joshua Hudson
c466f6bd99 Revert "support aes,compatible old way for zip" 2015-11-16 10:46:30 -08:00
Joshua Hudson
964eb630e6 Merge pull request #199 from SLboat/master
support aes,compatible old way for zip
2015-11-16 10:41:18 -08:00
Joshua Hudson
812be0abb2 Merge pull request #188 from ANNotunzdY/master
comment typo
2015-11-16 10:40:28 -08:00
Sen
c2bd1bd51b AES FIX 2015-10-29 10:14:32 +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
Joshua Hudson
1bb8a98d51 Add's back change from #189
To merge in a bunch of greate changes I had to revert #189. Now that those are in I can roll that change back in.
2015-10-24 15:40:46 -07: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
Takayoshi Sato
1d737eb7a4 comment typo 2015-10-08 15:29:34 +09:00
Douglas Bumby
3a07e9888d Move project around 2015-07-12 12:06:13 +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
Patrick Dinger
9761f045b2 Fix calendar deprecation warning on OSX 10.10 2015-04-08 14:44:43 +02:00
Douglas Bumby
35b181504c Merging in #138 2015-04-06 23:52:50 -04:00
Douglas Bumby
8be53bee68 Fix 2015-04-06 23:51:08 -04:00
Douglas Bumby
cc714460f9 Fix for #52 2015-04-06 23:43:15 -04:00