Commit Graph

16 Commits

Author SHA1 Message Date
Julius Parishy f900d38036 Symbolic Link support.
Adds support for ZIP files that include files that are symbolic links.
See the note in SSZipArchive.m for more information about that.
Includes a test that will probably only pass if you have GitHub for Mac
installed because that's the program I used as a test to symlink
against.

I created the symbolic link with 'ln -s /Applications/GitHub.app
SymbolicLink/GitHub.app' so I'm not entirely sure how it'll behave for
hard links, but I can't test that right now.
2012-05-09 11:12:04 -04:00
Julius Parishy bfc0904d14 Looking into the symbolic link issue.
http://www.pkware.com/documents/casestudies/APPNOTE.TXT
2012-05-09 08:18:19 -04:00
Sam Soffes c4b61b7092 Improve unzipping progress delegate 2012-05-07 23:09:29 -07:00
Sam Soffes 23426fd0de Fixes for unzipping modification dates and add ARC support
* Add ARC support
* Fixes: One of the bugs is that the file modification dates for files being unzipped were wrong. Apparently the code was taking the MS-DOS date and time and treating it as an NSTimeInterval since Jan 1, 1980. This is not correct and was resulting in modification dates for me in 2014. — Brant Sears
* Fixes: The second bug was that the file modification dates for folders were showing up as the current date/time, but when I unzip the same archive using Apple's implementation of zip, the file modification dates for those folders were set sometime in the past. — Brant Sears
2012-05-07 23:08:49 -07:00
Johannes Ekberg f78aa2c1be added Progress Delegate Support 2012-05-07 23:07:38 -07:00
Johannes Ekberg 13edbb940e Added Delegation Support 2012-05-07 23:06:51 -07:00
Sam Soffes c05ee25f7f Fixes for unzipping modification dates and add ARC support
* Add ARC support
* Fixes: One of the bugs is that the file modification dates for files being unzipped were wrong. Apparently the code was taking the MS-DOS date and time and treating it as an NSTimeInterval since Jan 1, 1980. This is not correct and was resulting in modification dates for me in 2014. — Brant Sears
* Fixes: The second bug was that the file modification dates for folders were showing up as the current date/time, but when I unzip the same archive using Apple's implementation of zip, the file modification dates for those folders were set sometime in the past. — Brant Sears
2012-05-07 22:27:45 -07:00
Sam Soffes 2ad10f1713 Fix warnings 2012-05-07 22:12:09 -07:00
Bernd Ohr dbad12bffb writeData: writing chunks is unnecessary and set file date to now 2011-12-27 17:25:34 +01:00
Sam Soffes 34acd95f17 0.1.2 release 2011-12-26 23:33:44 -05:00
Johnnie Walker 4fa1e0d060 Add support for creating zip files
Basic zip files can be created (or appended to) by supplying the
path to a zip file and either paths to existing files or NSData
objects along with filenames.
2011-12-20 09:24:56 +00:00
Sam Soffes 5c0c39ff46 Added basic tests and changelog 2011-10-03 23:28:54 -07:00
John Engelhart f24f550eb7 More source tidies. Remove actual or potential local variable symbol shadows, plus a few other non-functionality impacting changes. 2011-07-21 21:52:14 -07:00
John Engelhart 02417a4218 Code tidy: fixes the initialization of some variables so that they are completely initialized to known values. 2011-07-21 15:39:03 -07:00
Peter Steinberger 1929676481 fixes warning with llvm 2.1 2011-05-28 01:34:31 +02:00
Sam Soffes 711808a976 Renamed classes 2010-08-19 15:40:34 -05:00