Commit Graph

30 Commits

Author SHA1 Message Date
morkt
82b1fc0603 (ArcFile.OverwriteNotify): new event.
preliminary support for extracted file overwrite notification.
2014-09-12 16:04:18 +04:00
morkt
ae559f34a6 (ArchiveFormat.CopyEntry): new virtual method.
the idea is to allow implementations to give extracted file a name
different from the one it stored within archive.
2014-09-12 16:03:30 +04:00
morkt
58018d3c67 (ArcStream): added constructors from ArcView.Frame 2014-09-12 15:58:18 +04:00
morkt
58f8b4845d incremented version number. 2014-09-08 11:54:39 +04:00
morkt
ad1b51b24c use Enumerable.Empty() to return empty list. 2014-08-25 15:05:30 +04:00
morkt
b0f621e8ab CopyOverlapped function defined in GameRes.Utitlity now.
CopyOverlapped copies ranges within array the same way standard C
function memcpy does (that is, ignoring potential region overlapping).
2014-08-25 15:04:26 +04:00
morkt
8a53d74d5e use invariant case conversion methods. 2014-08-22 10:13:37 +04:00
morkt
83e4414ffc (ArcStream): added CreateStream method with single argument. 2014-08-16 10:37:25 +04:00
morkt
26526a97bb added ICheckSum interface and CheckedStream class.
Crc32 and Adler32 classes now implement ICheckSum interface.
2014-08-16 04:23:12 +04:00
morkt
1b46da45a6 refactoring.
(ArchiveFormat): added Query<ResourceOptions> protected method for
convenient invocation of  parameters requests.
(FormatCatalog): changed misguiding method name 'LookupTag' to
'LookupExtension'.
2014-08-02 10:01:06 +04:00
morkt
16efe95597 (FormatCatalog.ReadString): removed misplaced big-endian treatment. 2014-08-02 09:04:31 +04:00
morkt
959dec52f2 changed target framework version to v4.5 2014-08-01 20:14:08 +04:00
morkt
7a6c5d8054 (MappedViewExtension.GetPointer): use supplied offset argument. 2014-08-01 20:11:32 +04:00
morkt
3ba8c6d237 disable PDB generation in release build. 2014-08-01 19:49:00 +04:00
morkt
f15676d0a1 (TryOpen): use lazy evaluation for filename extension check. 2014-07-29 15:30:23 +04:00
morkt
64f38255ee (TryOpen): check formats that match filename extension first. 2014-07-29 14:17:41 +04:00
morkt
6330309552 (Encodings.WithFatalFallback): turned into Encoding extension method. 2014-07-29 11:48:43 +04:00
morkt
8bc92d0dea ArchiveFormat refactored.
(Extract): method is no longer virtual.
(CreateFile): added check for malicious and malformed filenames.
(ParametersRequestEventArgs): removed InputWidget property.
2014-07-29 07:01:36 +04:00
morkt
32f3dd134f (Encodings): added WithFatalFallback static method. 2014-07-29 06:54:46 +04:00
morkt
9922955323 added license clause and third-party copyright notices. 2014-07-28 00:50:18 +04:00
morkt
1c33e4c9d5 refactored ResourceOptions handling. 2014-07-27 07:39:58 +04:00
morkt
08b8e8a46b added callback into archive creation method. 2014-07-27 03:37:51 +04:00
morkt
2446927e83 (Adler32): use "unsafe" implementation. added appropriate methods. 2014-07-26 23:20:08 +04:00
morkt
4cf46ed91c (ArchiveFormat): added CanCreate virtual property. 2014-07-26 23:18:50 +04:00
morkt
c0fa230abb (ArcView): MemoryMappedFile should not dispose underlying file stream itself. 2014-07-26 23:17:55 +04:00
morkt
46c05b25de ImageFormat.Read method made static. 2014-07-25 08:56:32 +04:00
morkt
3a7d2111be implemented archive creation frontend. 2014-07-25 07:05:55 +04:00
morkt
53d0267eca (LittleEndian): added 64-bit integer readers. 2014-07-25 00:52:24 +04:00
morkt
0a1f14e051 added preliminary archive creation support. 2014-07-24 05:43:20 +04:00
Poddav
e208029dd3 Initial commit. 2014-07-21 23:26:28 +04:00