Andreas Linde
e422866c97
Fix clang analyzer warning appearing in line 1534
...
Removing the clang analyzer silencer in these lines fixed another clang analyzer warning that appeared in line 1534.
In addition these lines do not cause a static analyzer warning in latest Xcode any longer.
Tested with Xcode 5.0.2
2014-01-17 12:47:36 +01:00
Landon Fuller
653caaa9b2
Replace symlink heuristic with a well-defined test.
...
As per the PKWARE ZIP File Format Specification (6.3.2), this
patch tests the file 'version made by' field for the UNIX (3)
constant, and then interprets the external file attributes accordingly,
assuming an st_mode field in the high 16 bits.
2014-01-16 11:53:45 -05:00
Sam Soffes
d3c40f0e95
Happy New Year 🎉
2014-01-01 11:00:26 -08:00
Sam Soffes
ebc0b248ef
Merge pull request #86 from dennda/master
...
Issue #85 : Keep relative symbolic links relative.
2013-11-08 11:52:25 -08:00
Christopher Denter
f89c159b2a
Issue #85 : Add test for relative symlink preservation patch.
...
This test adds a fixture RelativeSymlinks.zip with the following
structure:
RelativeSymbolicLink
├── symlinkedFile
├── symlinkedFolder
└── symlinks
├── fileSymlink -> ../symlinkedFile
└── folderSymlink -> ../symlinkedFolder
The test checks if both `fileSymlink` and `folderSymlink` still point to
the respective files in the parent directory after the fixture has been
unzipped.
2013-11-08 20:34:17 +01:00
Christopher Denter
a5de5b6bef
Issue #85 : Keep relative symbolic links relative.
...
Before, the library resolved symbolic links that are relative
into absolute paths, using the current working directory of the process
that's doing the unzipping, which to me seems pretty wrong.
This was due to using -[NSURL fileURLWithPath:], which transforms
relative URLs to absolute URLs automatically.
I don't see much of a reason to use NSFileManager here, so I made that
use symlink() directly. Alternatively, one could also use -[NSURL
URLWithString:].
This keeps relative symlinks relative after unzipping.
2013-11-08 19:04:42 +01:00
Sam Soffes
bf95dc2fd4
Fix
2013-09-11 08:56:12 -07:00
Sam Soffes
c2b33b42d0
There we go
2013-09-11 08:43:46 -07:00
Sam Soffes
b91252282e
Simplify project structure
2013-09-10 00:03:11 -07:00
Sam Soffes
1fefbc022f
Add shares scheme
2013-09-09 23:50:07 -07:00
Sam Soffes
273fc1b36e
Fix minizip path
2013-09-09 09:04:04 -07:00
Sam Soffes
164ae9bfd3
Move minizip up
2013-09-09 09:00:52 -07:00
Sam Soffes
6ca6e0c28f
Version 0.3.0
2013-09-07 08:52:49 -07:00
Sam Soffes
07cfb62107
Update readme
2013-09-07 08:38:55 -07:00
Sam Soffes
364be2ed4f
Restructure project and move to XCTest
2013-09-07 08:33:47 -07:00
Sam Soffes
524ca1abae
Add missing fclose
. Thanks @aceisScope!
2013-09-07 08:22:56 -07:00
David Robles
d30b543f34
forgot to end pod spec.
2013-08-20 11:52:03 -07:00
David Robles
ce6cbe1193
Update out of date pod spec.
2013-08-20 10:57:34 -07:00
aceisScope
4cd142a39c
fix bug of "fclose"; add test for zipping a large amount of files in sequence
2013-08-05 12:42:47 +08:00
Sam Soffes
c81002605b
Version 0.2.5
2013-07-16 10:20:46 -04:00
Sam Soffes
5227bb251b
Merge pull request #68 from marcelofabri/master
...
Fixing compilation error (missing ";")
2013-07-12 15:34:05 -07:00
Marcelo Fabri
3bb7fe8d26
Adding missing ";".
...
Fixes syntax error.
2013-07-12 19:31:18 -03:00
Sam Soffes
21c3694d0c
Merge pull request #67 from ChristopherRogers/master
...
NSCalendar caching
2013-07-12 08:27:07 -07:00
Rogers, Christopher
84c8171151
Caching Gregorian NSCalendar for performance.
...
This was taking about 30% of the time unzipping on an iPhone 5.
2013-07-12 17:28:18 +09:00
Sam Soffes
f9136dd744
Merge pull request #65 from nibroc/master
...
Added check to ensure permissions are not explicitly set if they do not exist in the zip
2013-07-10 17:50:20 -07:00
Sam Soffes
d7ac059a8a
Version 0.2.4
2013-07-03 08:58:01 -07:00
Corbin Hughes
adfc3cae92
Added a check to make sure 0 permissions are not set
2013-07-01 04:55:42 -05:00
Joshua Garnham
9d322d173f
Added tests for compressing and uncompressing files with permissions
2013-06-26 12:16:29 +01:00
Joshua Garnham
c91865d01b
Adds support for maintaining file permissions when compressing and decompressing
2013-06-25 17:11:08 +01:00
frytaz
548b3acbba
Fix for file creation date + tests
2013-06-25 13:45:30 +02:00
Rob Mickle
45b93c037d
close loose file handle in writeFileAtPath
2013-06-24 15:39:17 -06:00
djskinner
7627a1b4fc
wrapped main loop in @autorelease pool
...
Massively reduces the memory overhead whilst unzipping
2013-06-17 15:33:44 +02:00
Sam Soffes
481ddf2096
Merge pull request #53 from randomsequence/master
...
Fix NSFileManager leak when building without ARC
2013-05-03 06:15:24 -07:00
Johnnie Walker
b078433f2e
Fix warning with -Widiomatic-parentheses enabled
2013-05-01 12:38:44 +01:00
Johnnie Walker
ceae6ae819
Fix warning with -Wmissing-braces enabled
2013-05-01 12:36:32 +01:00
Johnnie Walker
d7c7955cdc
Fix NSFileManager leak when building without ARC
2013-05-01 12:03:48 +01:00
Sam Soffes
ffbacdb288
Merge pull request #51 from carlj/master
...
Notice file date when save file
2013-04-23 02:03:25 -07:00
Carl Jahn
4ac78e3121
fixed bug: writeFileAtPath now notice the file date
2013-04-19 15:05:54 +02:00
Basit Ali
362b011990
Add writeFileAtPath:withFileName: in SSZipArchive.h so that it can be called.
2013-04-15 17:29:01 +05:00
Cpu86
92f1142056
Folder and subfolder zip functionality
...
Added functionality to zip folder and maintains subfolder tree
2013-03-30 19:50:50 +01:00
Sam Soffes
b4fa2e4739
Merge pull request #44 from iggycoder/master
...
zipping folders
2013-03-09 09:40:39 -08:00
Ingmar
7aea62f0dd
- add folder zipping functionality
...
- fixed zipping test case [testZipping] (zipped an empty archive)
2013-03-09 05:36:20 -08:00
Sam Soffes
798a317bdc
Merge pull request #40 from Keithbsmiley/master
...
Podspec fix
2013-03-03 10:55:22 -08:00
Sam Soffes
ec5de8e02b
Merge pull request #43 from levigroker/master
...
#define added to the .h which allows conditional compilation for third parties wishing to conditionally add functionality based on the presence of SSZipArchive.
2013-03-03 10:53:15 -08:00
Levi Brown
a15c76e057
Fixed podspec.
...
Signed-off-by: Levi Brown <levi@grokers.net>
2013-03-01 17:17:35 -07:00
Levi Brown
f7266f6b4d
Adding #define of SSZipArchive header inclusion to allow for conditional compilation of libraries which can add functionality conditionally, if SSZipArchive is present.
...
Signed-off-by: Levi Brown <levi@grokers.net>
2013-03-01 14:40:28 -07:00
Sam Soffes
d6f5b1c7a3
Update readme
2013-02-25 16:09:47 -08:00
Sam Soffes
2f05d42988
Add Travis CI
2013-02-25 06:46:56 -05:00
Sam Soffes
d630ae5f5e
Merge pull request #41 from xenosoz/master
...
This fixes a small typo.
2013-02-24 16:11:58 -08:00
Xenosoz Hwang
04605b7967
Fix bad loop end condition for unzip.
2013-02-24 10:40:21 -08:00