Commit Graph

96 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
e18f912e96 Fix ambiguity 2025-08-14 15:51:32 +01:00
7dcb22ba94 [ISO9660] Remove leftover line from fix in b7dabe6 that introduces another bug. 2025-01-04 14:49:55 +00:00
66cb455b99 [ISO9660] Fixed performance issue caused by reading the whole data previous to the asked offset. 2025-01-04 02:59:11 +00:00
b7dabe699a [ISO9660] Do not declare the presence of MODE 2 sub-headers based on long sector content, but on tag presence on media image. 2024-12-31 06:06:29 +00: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
29343d4129 Fix naming. 2023-10-05 01:52:48 +01:00
9618e2c549 Annotate or remove unused elements. 2023-10-05 01:05:23 +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
2a6e052a62 Simplify IDictionary accesses. 2023-10-04 09:48:31 +01:00
62fbb024f7 Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison. 2023-10-04 08:14:07 +01:00
7a608e0061 [Aaru.Filesystems] Reformat and cleanup. 2023-10-03 23:22:08 +01:00
4ef3252b24 [Aaru.Filesystems] 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:19 +01:00
3becc0833c Replace ReadDir method with one that uses IDirNode. 2022-12-21 20:03:24 +00:00
5ae8c92a32 Add CloseDir method to IReadOnlyFilesystem. 2022-12-21 19:24:06 +00:00
c75a32a5c8 Add OpenDir method to IReadOnlyFilesystem. 2022-12-21 19:10:51 +00:00
6fb4f8a38c Remove MapBlock method from IReadOnlyFilesystem 2022-12-19 11:23:45 +00:00
b4b2868c22 Replace Read method with ReadFile method that uses the file node in IFileSystem. 2022-12-19 11:03:51 +00:00
0f1876ef64 Add Seek method to IReadOnlyFilesystem. 2022-12-19 00:38:54 +00:00
7e0dc0a251 Add OpenFile and CloseFile methods to IReadOnlyFilesystem. 2022-12-19 00:26:55 +00:00
24069676e2 Make Encoding a private field only for IReadOnlyFilesystem implementors. 2022-12-17 23:18:02 +00:00
dc26b85c2f Move filesystem metadata to GetInformation method for information only plugins. 2022-12-17 22:41:56 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
a8ea7bcdfc [ISO9660 filesystem] Fix returning proper filesystem type on GetInformation(). 2022-12-11 22:19:38 +00:00
37c2827e66 [ISO9660] Do not try to interpret an 0-length Continuation Area. Workarounds #770 until a better fix can be done. 2022-12-09 09:53:03 +00:00
5744119b9c Reorganize filesystems. 2022-12-07 13:07:31 +00:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
c67c6dcc8f Move all localizable strings from Aaru.Filesystems project to resources. 2022-11-28 03:02:03 +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
2b40eab0d2 Use object initializer. 2022-11-14 01:23:52 +00:00
6a4dea75ea Use range indexers. 2022-11-14 01:15:06 +00:00
d64c48dc6d Invert 'if' statements to reduce nesting. 2022-11-13 21:14:18 +00:00
c68760ec49 Fix inconsistent naming. 2022-11-13 20:38:15 +00:00
6586721321 Join local variable declaration and assignment. 2022-11-13 20:27:32 +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
98d7ac3349 Move declaration closer to usage. 2022-11-13 19:16:14 +00:00
bc362e5d4a Fix typos and add new words to dictionary. 2022-11-13 19:09:18 +00:00
82f2fd6396 In ISO9660 filesystem pass thru error reading extents. Fixes #652 2022-05-21 18:52:42 +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
5f14f0e79c Fix unused variables. 2022-03-16 00:31:33 +00:00