302 Commits

Author SHA1 Message Date
morkt
e0a5e95081 (VFS.PathSepratorChars): made public. 2017-04-10 22:19:16 +04:00
morkt
3b74dae09f (ResourceInstance<T>): lazily initialized wrapper for formats instances. 2017-04-08 18:38:23 +04:00
morkt
f925e093f6 released v1.4.27 2017-04-02 16:05:24 +04:00
morkt
1f45de7d35 (ArcViewStream): restored bufferization.
apparently performance is improved compared to unbuffered mapped file
view reads.
2017-04-02 14:41:25 +04:00
morkt
e604ed6607 (ArcView.GetPointer): changed accessibility. 2017-03-31 13:49:33 +04:00
morkt
3ae37c7a19 (ArcView): use unsafe pointer to access memory directly. 2017-03-31 13:27:51 +04:00
morkt
6e11704808 (ArcView.ArcStream): moved to separate file and renamed to ArcViewStream. 2017-03-30 05:49:02 +04:00
morkt
68aad58569 (ArcView.ArcStream): added bufferization. 2017-03-29 15:15:30 +04:00
morkt
2c7b82535e (BMP): support ancient header format. 2017-03-29 08:51:53 +04:00
morkt
ed048e25f3 (ReadColorMap): added RgbA and BgrA formats. 2017-03-09 10:48:53 +04:00
morkt
3db6d9a732 released v1.4.26 2017-02-26 20:49:41 +04:00
morkt
f49598532d (WaveFormat.SetBPS): calculate AverageBytesPerSecond field. 2017-02-25 02:03:11 +04:00
morkt
89674e9d58 (FileSystemStack): use ExceptionDispatchInfo to re-throw exception. 2017-02-25 02:02:41 +04:00
morkt
526485c720 (GetSerializedSchemeVersion): moved header reading to separate method. 2017-02-15 02:26:31 +04:00
morkt
61cd776ac2 released v1.3.25 2017-02-08 15:11:39 +04:00
morkt
8e48c06aaf (WaveAudio.WriteRiffHeader): new public static method. 2017-01-31 15:34:33 +04:00
morkt
dffa9e1e0f (VFS.InvalidFileNameChars): new public field. 2017-01-27 13:18:58 +04:00
morkt
ec9f615919 (Entry.ChangeType): new public method. 2017-01-25 09:31:20 +04:00
morkt
6b2aed909e (ArcStream.ReadInt24): fixed. 2017-01-19 23:39:15 +04:00
morkt
2b35770189 released v1.3.24 2017-01-18 05:57:16 +04:00
morkt
1013fa059e added some comments. 2017-01-17 18:18:11 +04:00
morkt
13cf289bae (ImageFormat.ReadPalette): new static methods.
Generalized image palette deserializations.
2017-01-14 16:27:11 +04:00
morkt
4151c15cd6 updated nuget packages. 2017-01-05 14:20:02 +04:00
morkt
b3973db7f0 updated year. 2017-01-04 08:17:19 +04:00
morkt
1d7369a2e4 (VFS.IsPathEqualsToFileName): new method. 2016-12-29 16:19:28 +04:00
morkt
99a5023a31 xml doc fix. 2016-12-28 17:59:29 +04:00
morkt
0f6da36925 (ArcView.Frame.AsciiEqual): do pointer arithmetic outside of loop. 2016-12-27 22:48:33 +04:00
morkt
310cb5fd2e (FormatCatalog): simplified AssemblyLocation propery initialization. 2016-12-27 22:47:17 +04:00
morkt
40f250de6b released v1.3.23 2016-12-26 19:58:41 +04:00
morkt
9819218271 (ArcView.Frame.UnsafeCopy): new private method. 2016-12-23 23:17:53 +04:00
morkt
bfca63e48b (PngFormat.SkipBytes): IBinaryStream has CanSeek property. 2016-12-23 00:55:35 +04:00
morkt
1ac0931d62 (OpenImage): dispose input on exception. 2016-12-23 00:54:30 +04:00
morkt
f3e3446c9a (FormatCatalog.FindFormats): new generic method. 2016-12-17 18:51:33 +04:00
morkt
7c989a0150 (WaveAudio.TryOpen): check for "WAVE" signature beforehand. 2016-12-17 18:45:38 +04:00
morkt
bd037316c3 (ViewPointer.Value): check for disposed state. 2016-12-17 18:44:41 +04:00
morkt
428214182d (TifFormat): precaution against ill-formed files. 2016-12-17 06:08:02 +04:00
morkt
82bfbd7398 (TifFormat.Parser): fixed. 2016-12-15 20:05:45 +04:00
morkt
8ffe411583 (BinaryStream): various fixes. 2016-12-15 19:47:40 +04:00
morkt
9a0c6ef5cd (CowArray.IndexOf): fixed. 2016-12-15 19:35:07 +04:00
morkt
4ec723c334 released v1.2.22 2016-12-15 15:13:40 +04:00
morkt
d2034f351d (ArchiveFormat): moved to separate source file. 2016-12-04 15:34:22 +04:00
morkt
e03fedcb5a (Encodings.WithFatalFallback): set fatal fallback for decoder, too. 2016-11-24 13:26:44 +04:00
PeratX
2bfeaf65be lang: improved Chinese translations (#42)
thank you.
2016-11-13 17:39:58 +04:00
morkt
2a076f0e45 released v1.2.21 2016-11-01 06:03:04 +04:00
morkt
94d426d8a9 added constructors that accept ImageMetaData. 2016-10-29 02:03:11 +04:00
morkt
c771b13d4e renamed some ImageDecoder properties and classes. 2016-10-26 15:42:27 +04:00
morkt
d02a9b180a (IImageDecoder): moved to separate file. 2016-10-26 05:08:12 +04:00
morkt
b05c54047d (IImageDecoder): new interface. 2016-10-25 18:18:51 +04:00
morkt
c97985e5d0 supply filename to FileNotFoundException when possible. 2016-10-24 19:57:58 +04:00
morkt
61a1253980 fixed BinaryStreams. 2016-10-22 14:05:53 +04:00
morkt
611f7d712a (BinaryStream): swapped ReadInt8 and ReadUInt8. 2016-10-20 09:03:23 +04:00
morkt
375e162959 (VFS.FullPath): dispose enumerable iterator. 2016-10-17 16:53:55 +04:00
morkt
3e8718d6c3 (ArcStream.ReadHeader): throw exception on EOF. 2016-10-17 16:41:58 +04:00
morkt
6b1f971160 (AudioFormat.FindFormat): merged with Read. 2016-10-17 11:13:40 +04:00
morkt
3a1bae1a19 (BinMemoryStream): made name optional in constructor. 2016-10-16 18:28:10 +04:00
morkt
1d16700780 (BinMemoryStream.ReadBytes): fixed. 2016-10-16 17:40:51 +04:00
morkt
816bb74ddc fixed errors. 2016-10-16 16:50:51 +04:00
morkt
3f7b955141 removed old code. 2016-10-16 16:17:29 +04:00
morkt
f5429a89d0 (OpenBinaryEntry): use BinaryStream.FromStream. 2016-10-16 16:15:37 +04:00
morkt
b197bb77fd (IBinaryStream.Name): added setter. 2016-10-16 16:15:13 +04:00
morkt
f38f1363a4 (ByteArrayExt): methods made generic. 2016-10-16 16:14:27 +04:00
morkt
762396d045 (LittleEndian): methods made generic. 2016-10-16 16:13:57 +04:00
morkt
bb18303eb4 IBinaryStream migration. 2016-10-16 09:22:53 +04:00
morkt
d0c1d5da01 IBinaryStream migration - continued. 2016-10-15 12:21:12 +04:00
morkt
503b734645 migration to IBinaryStream interface. 2016-10-15 09:34:46 +04:00
morkt
a63e9e4d6b (IBinaryStream): new interface for binary streams. 2016-10-12 04:25:40 +04:00
morkt
a648aff032 (FormatCatalog.LookupGame): look for archive name, too. 2016-10-11 00:06:27 +04:00
morkt
f1d66206bc (IResource.CanWrite): new property.
(ArchiveFormat.CanCreate): renamed to CanWrite.
2016-10-11 00:05:22 +04:00
morkt
6a57bfb43d added game title lookup facility. 2016-10-09 10:10:12 +04:00
morkt
a4311a0f2a (Binary.BigEndian): simplified. 2016-10-03 23:23:43 +04:00
morkt
4533787c57 released v1.2.20 2016-09-28 00:12:59 +04:00
morkt
edc677f273 changed DataDirectory property value to "GameData". 2016-09-28 00:07:27 +04:00
morkt
e703f6f675 serialization tweaks. 2016-09-18 05:27:13 +04:00
morkt
7f74a3cf7d moved serialization code to GameRes. 2016-09-17 17:36:39 +04:00
morkt
98d0c47cfb (Adler32): skip checksum update for zero-length arrays. 2016-09-14 20:08:13 +04:00
morkt
6c7ddb3f2a (Binary.GetCString): added convenient overload. 2016-09-13 03:04:37 +04:00
morkt
546b5f986f use non-threadsafe Lazy constructor where appropriate. 2016-09-08 13:16:43 +04:00
morkt
7c5b26933a (FormatCatalog.DataDirectory): new property. 2016-09-07 20:28:23 +04:00
morkt
7f272a6c16 (IResource.GetDefaultExtension): new method. 2016-09-07 20:26:39 +04:00
morkt
07affe292c (BmpFormat.EnableExtensions): new field. 2016-09-07 20:25:26 +04:00
morkt
8c5164a3a5 (ImageData.Read): abort on OperationCanceledException. 2016-08-19 10:45:02 +04:00
morkt
8808b54c88 (BmpFormat.ReadMetaData): some fault-tolerance. 2016-08-18 14:59:17 +04:00
morkt
bb67e21ef4 (BmpFormat.Read): reset file position after extension failure. 2016-08-17 13:08:47 +04:00
morkt
0a606433f4 (ArcFile.TryOpen): some tweaks. 2016-08-13 23:52:59 +04:00
morkt
b3d74fb17c released v1.2.19 2016-08-12 04:42:45 +04:00
morkt
1cf89e33b6 updated READMEs. 2016-08-06 16:23:50 +04:00
morkt
0732a9cf45 introduced extensions infrastructure. 2016-08-02 16:38:42 +04:00
morkt
2ac291b1d8 (ArchiveFormat.CopyEntry): removed unused method. 2016-08-02 05:17:25 +04:00
morkt
0e8a3ea417 updated prerelease config. 2016-07-28 21:22:41 +04:00
morkt
ef2552deec added 'prerelease' configuration. 2016-07-26 07:08:07 +04:00
morkt
5a858cf42d (BMP): refined detection of bitmaps with alpha channel. 2016-07-26 07:05:02 +04:00
morkt
9133adeab9 released v1.2.18 2016-07-07 17:38:02 +04:00
morkt
02efade7ff (ImageFormat.Write): use overloaded BitmapFrame.Create method.
incorrect metadata sometimes causes ArgumentException.
2016-06-18 11:02:33 +04:00
morkt
394a7949dd (ArcFile.TryOpen): don't try same format twice. 2016-06-18 10:10:19 +04:00
morkt
95e7aa7614 released v1.2.17 2016-06-12 01:38:09 +04:00
mireado
066bf1fa13 update korean translation (#29) 2016-06-11 21:37:15 +04:00
morkt
08cd673408 (ArcFile.OpenView): ensure that length supplied to ArcView is always greater than zero. 2016-06-11 06:38:47 +04:00
morkt
9f004452ba (ViewPointer): unsafe wrapper around memory mapped view pointer. 2016-05-30 15:51:37 +04:00
morkt
ca9126907c don't concatenate strings inside lambda expressions. 2016-05-25 03:07:19 +04:00
morkt
0c426d723f released v1.2.16 2016-05-20 04:33:05 +04:00