catester
a8c055b990
Added IWritableArchive interface
...
So that when working with ArchiveFactory, you can cast the opened
archive to IWritableArchive for accessing AddEntry, RemoveEntry and
SaveTo methods without having to know what type of archive is opened
underhood. Also moved extension methods from AbstractWritableArchive to
this new interface. Also added GZipArchive to ArchiveFactory.Create as
it is one of the 3 writable archive types (zip, tar, gzip), not sure why
it was omitted.
2015-03-13 22:38:33 +02:00
Adam Hathcock
e6e88dbde0
Merge pull request #28 from Strachu/tar_fix
...
Fixed bugs related to handling of .tar archives with long names
2014-12-16 14:37:09 +00:00
Strachu
8fcb0cb7a2
Fixed bug causing entries of non-ustar archive being after one with very long name to be discarded
2014-12-16 11:11:02 +01:00
Strachu
ca2778b658
Changed the order of detecting whether the archive is in .rar format.
...
Its very slow with big archives and shouldn't be done when we got archive in format which can be detected fast.
2014-12-15 20:57:54 +01:00
Adam Hathcock
d1a64021e1
Check for entry stream null.
2014-04-30 11:26:54 +01:00
Adam Hathcock
49d6f1f633
Enumerate FILES not DIRECTORIES
2014-04-15 09:41:16 +01:00
Adam Hathcock
505f435f5d
Renamed LinqBridge to .NET 2.0 target.
...
Cleaned up some cross-versioning code.
2014-04-15 09:36:05 +01:00
Bastian Eicher
8c3d260d7c
Added .NET 2.0 version (with LinqBridge)
2014-03-18 14:45:48 +01:00
Adam Hathcock
0fd00efada
Fixed other projects
2014-02-01 10:36:22 +00:00
Adam Hathcock
c64a96398d
RarArchives now have password support
2014-02-01 09:01:15 +00:00
Adam Hathcock
2100d49cef
Little more clean up
2013-12-23 12:29:41 +00:00
Adam Hathcock
66ffc82d41
Entries don't have FilePaths, they have keys
2013-12-23 12:20:06 +00:00
Adam Hathcock
e58ec599f0
Cleaning up some FileInfo non-usage and fixing tests.
2013-12-23 12:15:57 +00:00
Adam Hathcock
4eda2043df
Moved ExtractTo to common logic
2013-12-23 11:42:08 +00:00
Adam Hathcock
afd65a7505
Removed unimplemented Close
2013-12-23 11:12:07 +00:00
Adam Hathcock
97bc1865dc
When using writable entries, reset stream on entry stream access.
2013-12-21 17:37:54 +00:00
Adam Hathcock
865afbfbf0
Throw exception when adding duplicate entry
2013-12-21 17:29:36 +00:00
Adam Hathcock
c59e6a8c99
AddEntry should return the added entry.
2013-12-21 17:14:41 +00:00
Adam Hathcock
be9111630e
Fix for some type management problems
2013-12-21 09:34:40 +00:00
Adam Hathcock
d46de85ca2
Allow multiple saves of an archive. New entry streams must be seekable and resetable.
2013-12-20 15:50:29 +00:00
Adam Hathcock
c1562c5829
new entry streams must be readable and seekable
2013-12-20 15:33:20 +00:00
Adam Hathcock
cc3848aea5
Remove write check as I never actually write to any of the read streams
2013-12-20 15:00:17 +00:00
Adam Hathcock
46fc663e90
Fixed issue where adding a new entry then removing it wouldn't actually remove it.
2013-12-20 12:28:17 +00:00
Adam Hathcock
fe8c6aec5f
Ensure adding always disposes
2013-12-15 11:16:48 +00:00
Adam Hathcock
692bebf658
Better message for supported types
...
Changed exception message in Reader/Archive Factory to list the
supported types.
2013-05-28 19:34:41 +01:00
Adam Hathcock
483f2e564a
Fixing ArchiveFactory.Open IsRarFile: https://sharpcompress.codeplex.com/workitem/35
2013-05-07 14:31:30 +01:00
Adam Hathcock
455f93f294
Windows Store version compiles
2013-04-28 13:01:29 +01:00
Adam Hathcock
257e85d8bf
Removed 3.5 project. Added WinRT project
2013-04-28 12:41:29 +01:00
Adam Hathcock
fcf86b738e
Resharper code cleanup
2013-04-28 12:32:55 +01:00
Adam Hathcock
2be7b49eb7
Added accessor for 7zip is anti
2013-04-28 11:27:40 +01:00
Adam Hathcock
8340d1edd6
Port from HG
2013-04-28 11:25:37 +01:00
Adam Hathcock
ab9155dfc5
zip/gzip skipping now doesn't involve decompression https://github.com/simmotech/sharpcompress
2013-04-28 11:07:13 +01:00
Adam Hathcock
7ce4b7d076
Initial commit
2013-04-07 10:58:58 +01:00