Adam Hathcock
b2b6934499
Merge pull request #101 from twirpx/master
...
Non-compilable statements + zip archive handling
2015-11-19 16:46:26 +00:00
twirpx
0f12a073af
Eliminated "throw - catch all" logic in ZipArchive
2015-11-19 21:08:55 +05:00
twirpx
18bd810228
Fixed non-compilable statements
2015-11-19 21:07:52 +05:00
twirpx
13bbb202c7
Changed MAX_ITERATIONS_FOR_DIRECTORY_HEADER to deal with archives that have larger comments
2015-11-19 21:06:56 +05:00
Roy van Kaathoven
6e0f4ecbc9
Add password when opening RarReader
2015-10-27 18:52:06 +01:00
Adam Hathcock
9a638e7aa5
Merge pull request #97 from Icenium/natanasova/add-explicit-compressioninfo
...
Add explicit compressioninfo when writing file to zip
2015-10-01 09:33:26 -07:00
Adam Hathcock
7a11dc4385
Merge pull request #96 from Icenium/natanasova/fix-extract-options-as-flag
...
Use enum as flag correctly
2015-10-01 09:30:46 -07:00
Nadya Atanasova
66816ce390
Add explicit compressioninfo when writing file to zip
2015-10-01 17:15:37 +03:00
Nadya Atanasova
5d8bd7b69b
Use enum as flag correctly
...
Check PreserveFileTime when file times are initialized.
2015-10-01 17:02:58 +03:00
Adam Hathcock
0132c85ec7
Merge pull request #83 from haykpetros/issue_80
...
Added additional check to make sure that data is properly copied to a…
2015-08-30 09:46:38 +01:00
Adam Hathcock
e5d10e3dba
Use only dotnet
2015-08-22 21:36:05 +01:00
Adam Hathcock
0ba87b6c62
Trying to get netcore45 in
2015-08-06 15:42:31 +01:00
Adam Hathcock
da47306f04
Use bouncy Sha256Digest
2015-08-06 14:51:36 +01:00
Adam Hathcock
1930126a59
Add Sha256Digest and Update other classes
2015-08-06 14:46:36 +01:00
Adam Hathcock
baf9f391f1
Setup bouncy castle crypto for dnx core
2015-08-06 14:46:07 +01:00
Adam Hathcock
979703dd1f
ignore lock file
2015-08-06 14:25:54 +01:00
Adam Hathcock
ab9e8063dc
remove lock file
2015-08-06 14:24:00 +01:00
Adam Hathcock
68c09d7221
Making a pass at DNX
2015-08-05 14:21:34 +01:00
haykpetros
9bf5df72a6
Added additional check to make sure that data is properly copied to array regardless fo computer/CPU platform (little-endian or big-endian). In case of big-endian platform intermediate array will be reversed prior to copying to destination array.
2015-08-05 05:27:30 -07:00
Adam Hathcock
91fc241358
Merge pull request #82 from haykpetros/issue_79
...
Issue 79
2015-08-04 15:05:37 +01:00
haykpetros
35a8b444b8
I feel there is no need to use unsafe version, so conditional compilation has been removed and only safe version kept.
2015-08-04 03:47:09 -07:00
haykpetros
2e928e86fd
Removed unused method.
2015-08-04 03:24:59 -07:00
Adam Hathcock
6648f33c4e
Merge pull request #81 from haykpetros/issue_78
...
Move closing parentheses to where they should be, so build does not b…
2015-08-04 10:05:17 +01:00
haykpetros
2a70ec8100
Move closing parentheses to where they should be, so build does not break for non-DEBUG configurations.
2015-08-03 13:11:13 -07:00
Adam Hathcock
05e0d591a5
Merge pull request #72 from hodm/master
...
Extract Options And Total Sizes
2015-07-27 10:07:22 +01:00
Adam Hathcock
1d30a1b51d
Update README
2015-07-27 10:03:39 +01:00
Adam Hathcock
315c138c05
Removing .NET 2.0 support and LinqBridge dies a firey death
0.11.1
2015-07-27 09:48:36 +01:00
hodm
b0c514d87c
Extract Options And Total Sizes
...
Fixed TotalSize For 7z
added TotalUncompressSize Tested for 7z
this enables to show progress for the entire archive
Added 2 Extract Options: PreserveFileTime And PreserveAttributes.
Put All the Log Command under DEBUG Condition.
2015-07-26 23:36:28 +03:00
Adam Hathcock
8e5cb77af2
Merge pull request #69 from pnewman8/master
...
Skip entry stream on dispose
2015-07-20 16:27:55 +01:00
Paul Newman
8faebc78d0
Cancel moved from EntryStream to Reader
...
Relates to previous commit. Following discussion with Adam, moved the Cancel() to the reader.
Example:
while (reader.MoveToNextEntry())
{
using (var data = new StreamReader(reader.OpenEntryStream()))
{
try
{
DoSomething(data.ReadLine());
}
catch
{
reader.Cancel();
throw;
}
}
}
2015-07-15 18:13:46 +01:00
Paul Newman
afff386622
Skip entry stream on dispose
...
Until now the caller had to completely consume each entry stream, or call SkipEntry(), before disposing the stream. If not, exception was thrown: "EntryStream has not been fully consumed". Hugely inconvenient; a user-thrown exception inside a "using (EntryStream)" block would be discarded.
Now automatically skips the entry on dispose.
Added method EntryStream.Cancel(). Call this if entry stream is unfinished, and no further entries are required. Helps with efficiency, as it avoids reading data that is not needed.
2015-07-15 13:44:20 +01:00
Adam Hathcock
9eb43156e8
Update license URL
2015-06-12 12:06:21 +01:00
Adam Hathcock
5dd9994d34
Update for 0.11
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
Adam Hathcock
33c83e3893
Merge pull request #63 from mrgleba/master
...
ZipWriter: use ArchiveEncoding.Default
2015-06-11 09:30:05 +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
Adam Hathcock
8df6243807
Merge pull request #59 from KOLANICH/ZipFileEntry-LoadExtra-ArrayOverflowFix
...
Zip file entry load extra array overflow fix
2015-05-22 08:52:04 +01:00
Adam Hathcock
8bf5c99386
Merge pull request #56 from KOLANICH/test-path-fix
...
Improved testability
2015-05-22 08:51:44 +01: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
Adam Hathcock
dae13c782f
Merge pull request #55 from benshoof/rar_protect_header
...
Added read support for RARs with Protect Headers
2015-05-08 13:58:05 +01: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
Adam Hathcock
94f4d35663
Merge pull request #53 from benshoof/master
...
Fixed .NET2 Release build
2015-05-05 09:19:51 +01: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
Adam Hathcock
312b53398c
Merge pull request #52 from sander2/tar-long-name-support
...
Tar long name support
2015-04-09 13:39:21 +01:00
Sander Bosma
26ddc09c6a
add unit test for writing tar archives containing long filenames
2015-04-07 21:43:45 +02:00