Commit Graph

458 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
55353809f7 Rename Aaru.DiscImages namespace to Aaru.Images. 2023-10-06 01:16:28 +01:00
9572abf86d [Plugin system] Move byte addressable media images to dependency injection. 2023-10-06 00:46:36 +01:00
696f3ffa9a [Plugin system] Move read-only filesystems to dependency injection. 2023-10-05 16:55:03 +01:00
b27d0c1f03 [Plugin system] Initialize plugin base in tests. 2023-10-05 16:00:38 +01:00
a50d892f2a Move most of PluginBase logic into Aaru.Commontypes. 2023-10-05 13:47:59 +01:00
546d131124 Naming fixes. 2023-10-05 02:31:59 +01:00
2c955cfc49 [Aaru.Core] Improve null safety
Several files in the Aaru.Core project have been updated to improve null safety. The modification of these files specifically handled null occurrences. Nullable value types are now correctly handled and default values are set to be used where nulls were previously unhandled. This will help prevent null reference exceptions and improve the overall stability of the code.
2023-10-05 02:30:38 +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
8b9d4408ea Join declarations and assignments. 2023-10-04 08:44:14 +01:00
490d4a48c9 Convert part of loop body into LINQ expression. 2023-10-04 08:44:03 +01:00
ac79d1e94e Convert into primary constructor. 2023-10-04 08:30:03 +01:00
4ff79c804a Invert 'if' statement to reduce nesting. 2023-10-04 07:39:31 +01:00
1f36ef2424 [Aaru.Tests] Reformat and cleanup. 2023-10-03 23:44:33 +01:00
829e95d6cb Disable JetBrains spell checking in Spanish (Spain) resource files. 2023-10-03 21:14:07 +01:00
a4be8f1180 Translate Aaru.Tests to Spanish (Spain). 2023-10-03 14:17:40 +01:00
750ae890e7 Use UTF-8 string literals whenever possible. 2023-09-29 18:27:43 +01:00
500970b7a4 Update FluentAssertions to 6.12.0. 2023-09-25 22:58:22 +01:00
f270f3dbfb Update Microsoft.NET.Test.Sdk to 17.7.2. 2023-09-25 22:20:48 +01:00
e398b4c772 Update NUnit3TestAdapter to 4.5.0. 2023-09-25 22:18:16 +01:00
98821a0798 Update to .NET 8.0 RC1. 2023-09-24 21:49:01 +01:00
3becc0833c Replace ReadDir method with one that uses IDirNode. 2022-12-21 20:03:24 +00:00
27a8366ecb [Unit tests] Close contents JSON after serializing it in block media image tests. 2022-12-19 11:04:12 +00:00
b4b2868c22 Replace Read method with ReadFile method that uses the file node in IFileSystem. 2022-12-19 11:03:51 +00:00
dc26b85c2f Move filesystem metadata to GetInformation method for information only plugins. 2022-12-17 22:41:56 +00:00
7a2b37496b Make PluginBase a singleton. 2022-12-17 20:50:17 +00:00
0c1bf310f9 Use Type for filesystem plugin list. 2022-12-17 14:56:37 +00:00
e58960d339 Update nuget packages. 2022-12-16 18:41:29 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
fa96da5b29 Replace NewtonSoft.Json for System.Text.Json. 2022-12-15 02:06:39 +00:00
c8e468b194 [Unit test] Remove pregap also when checking for filesystems in track 0. 2022-12-15 01:47:56 +00:00
5fb23f1024 Move plugin registers to source generator. 2022-12-14 20:56:25 +00:00
8b1d4a77ec [Unit tests] Fix expected values for Atari partitions. Fixes #788 2022-12-13 13:57:14 +00:00
3d21319936 [Unit tests] Fix expected values for Acorn partitions. 2022-12-12 15:41:09 +00:00
528b3d51c0 [Unit tests] Fix expected values for TeleDisk images. 2022-12-12 13:14:56 +00:00
23b0742522 [Unit tests] Fix expected values for Ray Arachelian's DIM. Fixes #785 2022-12-12 13:04:42 +00:00
75b219c71f Some code styling. 2022-12-11 22:20:23 +00:00
7b614ff940 [UnitTests] Fix track flags comparison in writable optical media image test. Fixes #790 2022-12-11 22:17:39 +00:00
7ae396a4ab [Unit tests] Fix expected values for AaruFormat V1. 2022-12-11 22:09:02 +00:00
10d9720d7e [UnitTest] Process partially read extended attributes as they seem to appear in some real images. 2022-12-11 15:50:50 +00:00
f2c494f198 [UnitTests] Update expected parameter for Toast images. 2022-12-11 15:50:13 +00:00
bb738951fc [UnitTest] Fix expected media type for Alcohol images produced by UltraISO. 2022-12-11 12:32:57 +00:00
08178d3fd2 [UnitTest] When checking file timestamps if they differ 1 hour from the stored one consider them as equal, as some tests environments seem to have a 1 hour difference between local and UTC. 2022-12-11 12:26:28 +00:00
4af1769b64 [UnitTest] Fix expected media type in CDRWin 10 tests. 2022-12-09 13:35:43 +00:00
935fceb688 [UnitTest] Fix expected parameters for building filesystem contents JSON. 2022-12-09 13:33:32 +00:00
1bdaf241e4 [UnitTest] Include fields when marshalling JSON in filesystem tests. 2022-12-09 13:33:15 +00:00
0253ea97aa [UnitTest] Fix expected media type in Alcohol 120% tests. 2022-12-09 13:32:50 +00:00