Commit Graph

60 Commits

Author SHA1 Message Date
0eb589d785 Use Stream extension to ensure read operations return the requested number of bytes (unless EOF arrives first). 2022-11-14 09:43:16 +00:00
ad2d0b8a24 Convert into '?:' expression. 2022-11-14 01:27:16 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
98d7ac3349 Move declaration closer to usage. 2022-11-13 19:16:14 +00:00
46d9a65b06 Fix writing uncompressed AaruFormat. 2022-04-09 16:46:09 +01:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
ff65da6c48 Use merge pattern. 2022-03-16 11:47:00 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
477751f0bc Change FLAC parameters in AaruFormat. 2021-11-12 02:09:44 +00:00
a42fac1f0b Change LZMA LC parameter in AaruFormat. 2021-11-12 02:07:28 +00:00
2f7c52731c Decouple AaruFormat compression from LZMA. 2021-11-12 02:05:31 +00:00
0bb89dce45 Do not reallocate the data buffers in AaruFormat. 2021-11-06 21:10:36 +00:00
b85414376a Use a buffer instead of a stream for writing data in AaruFormat. 2021-11-06 20:55:17 +00:00
9329eafcca Update to Aaru.Compression.Native alpha7. 2021-11-06 20:06:10 +00:00
7deeb23309 Use Aaru.Compression.FLAC in AaruFormat. 2021-11-06 17:44:57 +00:00
9503172a3e Use Aaru.Compression.LZMA in AaruFormat. 2021-11-06 02:16:57 +00:00
edcce2895b Do not skip blocks that have CRC as 0, as we do not set them for DDTs and CD Prefix/Suffix. 2021-11-05 01:49:14 +00:00
42597b89cf Remove all image thrown exceptions. 2021-09-21 04:55:28 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +01:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
f757716c2c Convert part of loop into LINQ. 2021-08-17 17:51:01 +01:00
ad861f5a74 Fix possible exceptions. 2021-08-17 17:14:48 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
de061cbb1f Fix AaruFormat images that got a wrong track end beyond a leadout on dumping. Fixes #615 2021-07-04 21:03:27 +01:00
Rebecca Wallander
7154b3cfc6 Actually write the CSS sector tags to image 2021-01-16 11:09:42 +01:00
Rebecca Wallander
7e7c38dbcc Update copyright 2021-01-15 22:20:18 +01:00
Rebecca Wallander
f30bc69c13 Fix bugs in dumping, and reading/writing aaruformat 2021-01-15 11:43:05 +01:00
Rebecca Wallander
61354d359c Add DVD CSS related structures to AaruFormat 2021-01-13 22:22:34 +01:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
1423df1d55 Remove check for track crossing when writing Aaru Format as it is not affected. 2020-11-13 12:29:42 +00:00
15219d38d4 Fix when writing subchannel in Aaru Format that doesn't belong to any track. Fixes #421 2020-11-06 21:50:33 +00:00
710c140fdc Fix resuming subchannel and other CD structures in Aaru Format. Fixes #423 2020-11-06 02:27:06 +00:00
254bb304ea Load more structures when resuming an aaruformat file. 2020-11-05 01:21:04 +00:00
9824224fd8 Enable checkums by default when writing aaruformat. 2020-08-28 02:06:20 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
6220425ac6 Naming fixes. 2020-07-20 21:11:32 +01:00
f1fa52716c Fix namespaces. 2020-07-20 15:43:52 +01:00
0e7a86880e Fix unused code. 2020-07-20 07:47:12 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
ab9ea8f4d6 Fix overwriting flags and isrc in all CD writable image formats. 2020-07-19 21:23:09 +01:00
6f66150b1e Save Compact Disc track indexes in aaruformat. 2020-06-21 02:28:18 +01:00
a04fa26c0b Allow to write multisession DVD/Blu-ray in Aaru Image Format and CDRWin. 2020-06-16 22:29:56 +01:00
d1a970698e Change how ISRC and track flags are read from / written to images, to use track number instead of track start. 2020-06-14 23:45:26 +01:00
2aaeb6d124 Ensure FLAC buffer is correctly finished in AaruFormat. Fixes #309. 2020-04-22 23:11:04 +01:00
b56058a088 Update flake library to latest version. 2020-04-22 17:44:05 +01:00
124f7c8b6d Use new index when saving aaruformat images with more than 65535 blocks. Fixes #326. 2020-04-03 06:49:23 +01:00