Commit Graph

87 Commits

Author SHA1 Message Date
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
d4b1e63e96 Fix naming style. 2022-03-15 01:37:37 +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
eac577ec61 Do not try to decode empty path table in ISO9660/CD-i/HighSierra. Fixes #688 2022-02-18 09:07:00 +00:00
c767704d0f Do not break when an ISO9660/HighSierra/CD-i directory spans several sectors if we only have a partial last sector read. Fixes #708 2022-02-15 18:24:49 +00:00
70f20810c6 Use specified codepage when mounting a Romeo based ISO9660. 2022-02-06 23:15:28 +00: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