Adam Hathcock
5dd9994d34
Update for 0.11
2015-06-12 12:03:03 +01:00
Adam Hathcock
f18771904e
Made unsigned csproj for testing. Sign the main DLL again.
2015-06-12 11:59:31 +01:00
Adam Hathcock
ff1cdbfff2
Fix portable tests
2015-06-12 11:53:37 +01:00
Adam Hathcock
332d71d40d
UTF8 is the default encoding for all platforms
2015-06-12 11:37:42 +01:00
Adam Hathcock
d9c31dace8
Fixing lingering build issues
2015-06-12 11:31:04 +01:00
mrgleba
c7fc5f8819
ZipWriter: use ArchiveEncoding.Default
...
ShaprCompress is used internally in Mono to implement
System.IO.Compression, which allows the user to specify path encoding.
The change allows for specifying the encoding via
ArchiveEncoding.Default.
2015-06-11 08:36:33 +02:00
KOLANICH
83eae05e0c
Fixed oveflow Zip/Headers/ZipFileEntry.cs
2015-05-22 00:07:32 +03:00
KOLANICH
7c70a7aafd
Improved testability
...
1) disabled requirement of signature
2) added runtime discovery of folder with archives
3) disabled signing of test assembly
2015-05-22 00:00:59 +03:00
benshoof
ae1e37cde6
Added read support for RARs with Protect Headers
...
Some RARs with recovery records contain Protect Headers, I've added
support for parsing them so that RARs containing them can be read,
instead of an invalid-header exception being thrown. Parsing logic taken
from unrar reference source.
2015-05-07 18:20:05 -08:00
benshoof
5144104fef
Fixed .NET2 Release build
...
The .NET2 project only built in Debug configuration due to not including
the compilation symbol NET2 in the Release configuration.
2015-05-02 20:40:34 -08:00
Adam Hathcock
f87e6672f2
Merge pull request #51 from sander2/fix-tar.bz2-compression
...
Fixed bug where tar.bz2 compression did not work
2015-04-09 13:39:38 +01:00
Sander Bosma
3113500229
don't write trailing zero in WriteOctalBytes
...
this fixes a bug where the trailing zero of the CRC overwrote the entrytype
2015-04-07 21:43:45 +02:00
Sander Bosma
ef72829f1c
Fixed bug where tar.bz2 compression did not work
2015-04-06 17:09:55 +02:00
Sander Bosma
088644240a
Tar: Support for writing long filenames (>100 chars) using longlink
2015-04-06 14:38:57 +02:00
Adam Hathcock
065ed29600
Merge pull request #47 from norvegec/master
...
fixed: .NET2 project is not compiling
2015-03-16 11:02:46 +00:00
catester
5d6a83578c
Made the assembly CLSCompliant.
...
Added attribute [assembly: CLSCompliant(true)] and changed type of
public Crc properties from uint to long to satisfy CLS compliance.
2015-03-16 12:29:21 +02:00
Norvegec
492f64053b
fixed: .NET2 project is not compiling
2015-03-15 02:10:06 +03:00
catester
988fe5eac0
Replaced NotImplementedException for streams
...
This commit is more correct, it covers all stream types now.
2015-03-14 14:45:04 +02:00
catester
c48a47c9b2
Revert "Revert "Replaced NotImplementedException for streams""
...
This reverts commit abed9eb2c9 .
2015-03-14 14:22:55 +02:00
catester
abed9eb2c9
Revert "Replaced NotImplementedException for streams"
...
This reverts commit 391663ac67 .
2015-03-14 13:31:02 +02:00
catester
391663ac67
Replaced NotImplementedException for streams
...
Especially for streams, it is more appropriate to throw
NotSupportedException instead of NotImplementedException. Usually
consumers of streams expect NotSupportedException to handle errors.
There are other places that also use NotImplementedException but I
didn't examine them for now. I only modified stream classes in
SharpCompress.IO. For reference about this best practise, please see
these articles:
http://blogs.msdn.com/b/brada/archive/2004/07/29/201354.aspx
http://blogs.msdn.com/b/jaredpar/archive/2008/12/12/notimplementedexception-vs-notsupportedexception.aspx
2015-03-14 12:46:34 +02:00
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
e52c183f1a
Merge pull request #40 from Strachu/master
...
Inconsistent time format
2015-01-14 14:25:57 +00:00
Strachu
62f198b532
All archive types now consistently return times as local time.
2015-01-14 14:23:59 +01:00
Hamdanil Rasyid
9770cfec9b
Fix typo
2015-01-11 17:06:02 -08:00
Adam Hathcock
e05f30308c
Merge pull request #30 from larvata/fix-zip-ansi-filename
...
Fix ansi filename decoded as gibberish in zip file
2014-12-24 17:10:30 +00:00
Adam Hathcock
6958347849
Merge pull request #32 from larvata/fix-extractAllEntires
...
Add EntryExtractionEvent for stream reader
2014-12-24 17:10:08 +00:00
larvata
0c36ff6082
Fix ansi filename decoded as gibberish in zip file
2014-12-24 13:58:29 +08:00
larvata
f78e839365
implement info-zip unicode path extra field
...
Winrar won't set 'general purpose bit flag' for unicode filename storage
but use 'extra field:Info-ZIP Unicode Path Extra Field' instead.
2014-12-24 13:51:31 +08:00
larvata
7e3f04e669
add entryExtractionEvent for stream
2014-12-22 16:34:47 +08:00
Adam Hathcock
2d237bfbca
Merge pull request #29 from arition/password_fix
...
Fix error when password is not in English
2014-12-18 23:41:35 +00: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
arition
e558a78354
Fix error when password is not in English
2014-12-16 19:47:13 +08:00
Adam Hathcock
c2df06a746
Merge pull request #27 from Strachu/rar_reorder
...
Changed the order of detecting whether the archive is in .rar format.
2014-12-16 10:51:47 +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
2e533f9fb5
Fixed handling of ustar tar files with long names.
2014-12-15 21:13:57 +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
Strachu
3147ee0f14
Exposed modification time for .7z archives
2014-12-15 20:26:26 +01:00
Adam Hathcock
6e05a20136
Support file sizes larger than int.MaxValue
2014-10-24 09:39:59 +01:00
Adam Hathcock
d36ae445e2
Don't dispose!
2014-07-01 19:33:59 +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
71e86cd7e4
Added explicit checks for multi-volume encrypted archives to throw an error
2014-02-01 10:29:01 +00:00
Adam Hathcock
c64a96398d
RarArchives now have password support
2014-02-01 09:01:15 +00:00
Adam Hathcock
efa9805fe4
Fixing Windows Store project to be Windows 8.1 with newest files
2014-02-01 07:57:50 +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