74 Commits

Author SHA1 Message Date
d29afd403a [Refactor] Use collection expression. 2025-11-24 03:08:01 +00:00
d706fbfc3f Return error if trying to create images with negative or overflow sectors on formats that don't support them. 2025-10-24 02:13:08 +01:00
e2d4ea76b8 Add support for negative and overflow sectors in image creation 2025-10-23 11:21:47 +01:00
e4711df17c Ensure images that do not support resume fail instead of overwriting an existing file. 2025-10-23 03:14:19 +01:00
69738f5f1a Add support for negative sectors to read and write sector calls in images. 2025-10-23 03:07:43 +01:00
ce0e0dff22 Refactor sector writing methods to include SectorStatus parameter and update related logic 2025-10-22 20:25:23 +01:00
0ac2a48fb6 Update ReadSector and ReadSectors methods to include sector status output 2025-10-22 14:28:58 +01:00
39f4ca2998 Replace old bigendian marshaller with new one. 2025-10-21 11:43:05 +01:00
c0c76f183e [UDIF] Use new source generator based big endian marshaller 2025-10-21 10:59:48 +01:00
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
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
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
bc8bf7a2dc Fix possible null assignment to non-nullable entities. 2023-10-04 09:55:17 +01:00
4ad10115ef Disable suggestion of converting IBaseImage.Info into an auto-property, it doesn't work there. 2023-10-04 08:35:43 +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
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
bd3fe7bd4e General code style and feature fixes. 2022-11-15 01:35:15 +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
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
d686e59cb7 Use Array.Empty 2022-03-17 00:02:08 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
c2c83873f4 Add support for XZ compressed UDIF images (ULMO). 2021-11-04 23:51:41 +00:00
a20c75c9c6 Add support for LZFSE compressed UDIF images (ULFO), fixes #124. 2021-11-04 23:30:06 +00:00
9371f33ac8 Use native BZIP2 in UDIF images. 2021-11-04 23:20:46 +00:00
ad89160e3c Use internal, faster, implementation of ADC, instead of external one. 2021-10-17 04:52:28 +01:00
9e5cee4245 Change Apple RLE algorithm for a faster version. 2021-10-17 01:10:23 +01:00
42597b89cf Remove all image thrown exceptions. 2021-09-21 04:55:28 +01:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
a6690aa121 Refactor IMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-20 14:22:22 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +01:00
fbccfb2ca9 Refactor IMediaImage.ReadMediaTag to return error status instead of buffer. 2021-09-18 15:01:31 +01:00
ef2fc1788a Refactor IMediaImage.Open to return error status instead of boolean. 2021-09-16 19:10:39 +01:00