Commit Graph

205 Commits

Author SHA1 Message Date
87caffe50e Pass string interpolation. 2023-10-04 08:16:27 +01:00
62fbb024f7 Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison. 2023-10-04 08:14:07 +01:00
bd35ccc4f4 Fix format string placeholders mismatch. 2023-10-04 07:50:34 +01:00
4ff79c804a Invert 'if' statement to reduce nesting. 2023-10-04 07:39:31 +01:00
7a608e0061 [Aaru.Filesystems] Reformat and cleanup. 2023-10-03 23:22:08 +01:00
829e95d6cb Disable JetBrains spell checking in Spanish (Spain) resource files. 2023-10-03 21:14:07 +01:00
296b34f1eb Remove redundant type declaration bodies. 2023-10-03 18:54:28 +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
76af2b8ed8 Translate Aaru.UI to Spanish (Spain). 2023-10-03 12:59:47 +01:00
4057262e49 Translate Aaru.Filesystems to Spanish (Spain). 2023-10-01 04:00:02 +01:00
750ae890e7 Use UTF-8 string literals whenever possible. 2023-09-29 18:27:43 +01:00
98821a0798 Update to .NET 8.0 RC1. 2023-09-24 21:49:01 +01:00
3b8aac5143 Bump version to v6.0.0-alpha9. 2022-12-23 17:38:04 +00: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
0fc479a529 [Macintosh filesystem] Fix calculation of file sizes. 2022-12-19 10:57:37 +00:00
66509e4e2f [Apple DOS filesystem] Fix file sizes. 2022-12-19 10:45:07 +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
4fb11eec25 Fix wrong case in variable. 2022-12-18 05:51:40 +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
4b75b226f2 Ensure that Resharper does not remove the partial modifier from JSON contexts. 2022-12-16 20:27:55 +00:00
75981404d8 [CP/M filesystem] Move definitions to json. 2022-12-16 19:18:31 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
5fb23f1024 Move plugin registers to source generator. 2022-12-14 20:56:25 +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
a450f0ca32 [FAT] Fix that first 2 FAT entries are not considered part of the allocation ones, allocating two more. 2022-12-08 14:15:24 +00:00
da68f27b3a [FAT] Return current clusters when a file overflows the FAT. 2022-12-08 14:14:47 +00:00
c5d5c0b09a Fix reporting FAT16 as FAT12. 2022-12-07 21:54:33 +00:00
5744119b9c Reorganize filesystems. 2022-12-07 13:07:31 +00:00
4be18eb09c Enable default compile items. 2022-12-06 22:14:09 +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
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
2b40eab0d2 Use object initializer. 2022-11-14 01:23:52 +00:00
6a4dea75ea Use range indexers. 2022-11-14 01:15:06 +00:00
073b7c183d Convert chain of conditional expressions into switch expressions. 2022-11-14 01:06:15 +00:00
d64c48dc6d Invert 'if' statements to reduce nesting. 2022-11-13 21:14:18 +00:00
c316cef523 Convert if to return statements. 2022-11-13 20:54:06 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +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