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 |
|
Adam Hathcock
|
4eda2043df
|
Moved ExtractTo to common logic
|
2013-12-23 11:42:08 +00:00 |
|
Adam Hathcock
|
84ed6bc7f0
|
More Can* implemented
|
2013-12-19 11:05:39 +00:00 |
|
Adam Hathcock
|
3ab38fbfc2
|
If the requested amount of bytes was not read, assume end of stream
|
2013-11-24 09:40:38 +00:00 |
|
Adam Hathcock
|
21aa57945d
|
Fix for byte counting
|
2013-11-23 11:10:07 +00:00 |
|
Adam Hathcock
|
61c97faf6c
|
Remove needless sync stream.
|
2013-08-11 09:45:46 +01:00 |
|
Adam Hathcock
|
d78677186b
|
Refactor crypto out of MarkingBinaryReader into RarCrypto specific class. Remove functionality from portable build to make it work.
|
2013-07-16 16:53:00 +01:00 |
|
Hamdanil Rasyid
|
1ab89ba59c
|
Cleanup
|
2013-07-16 00:04:54 +08:00 |
|
Hamdanil Rasyid
|
3370fadbd1
|
Refactor all cryptography codes to RarRijndael
|
2013-07-15 23:43:26 +08:00 |
|
Hamdanil Rasyid
|
a73c831647
|
Refactor initialization codes into one class
|
2013-07-15 23:29:24 +08:00 |
|
Hamdanil Rasyid
|
37c4665630
|
Make password a parameter
|
2013-07-15 00:35:35 +08:00 |
|
Hamdanil Rasyid
|
34190f6576
|
Code tidyness
|
2013-07-14 19:09:33 +08:00 |
|
Hamdanil Rasyid
|
bb2dcce57a
|
Remove comments from reference code
|
2013-07-13 21:49:04 +08:00 |
|
Hamdanil Rasyid
|
c0b630c795
|
Decrypt rar - first attempt, test still fails
|
2013-07-13 20:12:35 +08:00 |
|
Adam Hathcock
|
0ab103e1b1
|
Made streams Dispose resilient
Made streams resilient to dispose being called multiple times. Removed
unused stream.
|
2013-05-28 19:29:54 +01:00 |
|
Adam Hathcock
|
0a69c584b4
|
Removed Silverlight project and renamed WP7 project to Portable
|
2013-04-28 12:45:44 +01:00 |
|
Adam Hathcock
|
fcf86b738e
|
Resharper code cleanup
|
2013-04-28 12:32:55 +01:00 |
|
Adam Hathcock
|
e1b5156ea1
|
Performance change from https://github.com/simmotech/sharpcompress
|
2013-04-28 10:08:33 +01:00 |
|
Adam Hathcock
|
7ce4b7d076
|
Initial commit
|
2013-04-07 10:58:58 +01:00 |
|