Commit Graph

121 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
5863664dbf Update copyright year. 2024-12-19 10:45:18 +00:00
6f66e0f13b [Core] Use FirstOrDefaultAsync when saving statistics. 2024-05-11 02:53:54 +01:00
debb7b9f0e Fix some minor problems detected by the analyzers. 2024-05-06 04:34:43 +01:00
6a3ef12e25 [Core] Change statistics update to be async. 2024-05-02 01:45:22 +01:00
81de9bc02e [GUI] Replace file dialogs with file pickers. 2024-05-02 00:50:34 +01:00
feb9ea589f [Refactor] Fix some code warnings. 2024-05-01 23:52:03 +01:00
b75fcf0f41 [Refactor] Convert to switch expressions. 2024-05-01 17:18:37 +01:00
b34179ebfe [Refactor] Remove redundant braces and apply brace style. 2024-05-01 04:51:19 +01: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
9572abf86d [Plugin system] Move byte addressable media images to dependency injection. 2023-10-06 00:46:36 +01:00
508b78719d [Plugin system] Move writable media images to dependency injection. 2023-10-06 00:40:44 +01:00
bc7e02b24c [Plugin system] Move filesystems to dependency injection. 2023-10-05 16:39:06 +01:00
24d1702838 [Plugin system] Move filters to dependency injection. 2023-10-05 16:00:59 +01:00
b27d0c1f03 [Plugin system] Initialize plugin base in tests. 2023-10-05 16:00:38 +01:00
e693238a7c [Plugin system] Initialize plugin base on application load. 2023-10-05 15:26:44 +01:00
a50d892f2a Move most of PluginBase logic into Aaru.Commontypes. 2023-10-05 13:47:59 +01:00
064f149107 Inline out variable declarations. 2023-10-05 02:53:20 +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
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
6ffde343ce [Aaru.Gui] Reformat and cleanup. 2023-10-03 23:27:57 +01:00
7fb3a87b24 [Aaru.Helpers] 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
09a5c00891 Use a more precise mechanism to measure elapsed times in operations. 2023-09-26 20:16:24 +01:00
8786474169 Fix byte speed rates not being properly "humanized". 2023-09-26 10:51:43 +01:00
25c5cbaae5 Use humanizer to show seconds. 2023-09-26 03:39:10 +01:00
3d1b0581a5 Use Humanizer to print speeds. 2023-09-26 02:40:11 +01:00
06edf51ebc Fix MessageBox invocation in GUI. 2023-09-26 01:29:07 +01:00
9abb0368ee Update Avalonia to 11.0.4. 2023-09-25 22:58:48 +01: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
d59cbb56e1 Use Type for writable media image plugin list. 2022-12-17 19:50:32 +00:00
0c1bf310f9 Use Type for filesystem plugin list. 2022-12-17 14:56:37 +00:00
21fdb296c2 Use source generator for resume JSON serializing. 2022-12-16 18:01:21 +00:00
b9f9572c8b Ensure metadata enums get serialized as strings. 2022-12-16 18:00:46 +00:00
30144d1ac0 Use Aaru Metadata instead of CICM Metadata and convert to it if found. 2022-12-16 03:05:50 +00:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
a0ac747fef Use JSON for resume file instead of XML. 2022-12-15 03:09:41 +00:00
14ab866e4a Add an interface for classes able to draw media status, like the spiral. 2022-12-05 19:43:48 +00:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
938b40f774 Move all localizable strings from Aaru.Core project to resources. 2022-11-23 16:06:46 +00:00
81195f8630 Move all localizable strings from Aaru.Gui project to resources. 2022-11-19 21:10:41 +00:00