Commit Graph

90 Commits

Author SHA1 Message Date
c120f2e5bb Enhance exception logging by adding contextual messages for better debugging 2025-08-17 06:42:43 +01:00
50061ca7d5 Rename Aaru.Console to Aaru.Logging 2025-08-17 06:11:22 +01:00
7b0ccf4876 Simplify naming of AaruConsole methods. 2025-08-17 06:06:51 +01:00
02ec8a05d8 Rename Aaru.Console project to Aaru.Logging. 2025-08-17 05:50:25 +01:00
5863664dbf Update copyright year. 2024-12-19 10:45:18 +00:00
feb9ea589f [Refactor] Fix some code warnings. 2024-05-01 23:52:03 +01:00
c58d4a4d41 [Refactor] Merge into logical patterns. 2024-05-01 17:46:53 +01:00
b75fcf0f41 [Refactor] Convert to switch expressions. 2024-05-01 17:18:37 +01:00
b34179ebfe [Refactor] Remove redundant braces and apply brace style. 2024-05-01 04:51:19 +01:00
134ce7041e [Refactor] Use collection expressions. 2024-05-01 04:43:37 +01:00
f7ca79b09e Update copyright year. 2024-05-01 04:17:32 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
48aa25b3ea [AaruFormat] Fix repeated switch case. 2023-11-05 02:17:13 +00:00
Rebecca Wallander
1153a270a9 Add raw DVD reading with HL-DT-ST command (#823) 2023-10-16 20:38:11 +01:00
aa39281033 [Console] Use Spectre.Console to show exceptions in the CLI.
GUI still uses `ConsoleWindow`.
2023-10-08 04:10:43 +01:00
55353809f7 Rename Aaru.DiscImages namespace to Aaru.Images. 2023-10-06 01:16:28 +01:00
7363a5d9c5 Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
2023-10-04 17:36:20 +01:00
2cfad87955 [Aaru.Images] Reformat and cleanup. 2023-10-03 23:34:59 +01:00
828c1e3da0 [Aaru.Images] Introduced constants for module names
Introduces constant fields for respective debug module names, replacing the hardcoded ones.
This is done to standardize the naming convention, reduce redundancy and potentially avoid any typos or name mismatches across the project.
This change makes the code more maintainable and easier to update in case module names need to be changed.
2023-10-03 18:50:20 +01:00
486c15e276 Translate Aaru.Images to Spanish (Spain). 2023-10-01 19:15:05 +01:00
09a5c00891 Use a more precise mechanism to measure elapsed times in operations. 2023-09-26 20:16:24 +01:00
98821a0798 Update to .NET 8.0 RC1. 2023-09-24 21:49:01 +01:00
Rebecca Wallander
ebf893e278 Add reader for DiscImageCreator DVD Raw dumps (#817) 2023-08-22 15:27:52 +01:00
b9f9572c8b Ensure metadata enums get serialized as strings. 2022-12-16 18:00:46 +00:00
df33cc260b [AaruFormat] Read and write Aaru Metadata JSON to image. 2022-12-16 02:37:17 +00:00
4390b73d4d [AaruFormat] Convert CICM Metadata to Aaru Metadata on open. 2022-12-16 02:22:35 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
179f6e3459 Move all localizable strings from Aaru.Images project to resources. 2022-11-29 02:10:37 +00:00
2f9b7fe0a1 General code cleanup and style refactor. 2022-11-15 15:58:48 +00:00
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