Commit Graph

293 Commits

Author SHA1 Message Date
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
bfb860219f Merge into patterns. 2023-10-04 09:38:17 +01:00
62fbb024f7 Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison. 2023-10-04 08:14:07 +01:00
af659f3fcb [Aaru.Core] Reformat and cleanup. 2023-10-03 22:57:50 +01:00
874c7d92ff [Aaru.Core] 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
1703b3b6a1 Moved device report debug module names to constant strings. 2023-10-03 16:18:16 +01:00
0922e86467 Translate Aaru.Core to Spanish (Spain). 2023-10-02 02:19:02 +01:00
750ae890e7 Use UTF-8 string literals whenever possible. 2023-09-29 18:27:43 +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
4cbc8da22a Use Humanizer to print bytes. 2023-09-26 01:29:40 +01:00
Rebecca Wallander
ebf893e278 Add reader for DiscImageCreator DVD Raw dumps (#817) 2023-08-22 15:27:52 +01:00
Rebecca Wallander
e7ede15234 Decrypt CSS images on conversion 2023-07-30 22:26:11 +02:00
42b9caaaa0 Merge Dimensions classes. 2022-12-17 20:59:12 +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
157a04b9ca Remove deprecated old XML Device Report code. 2022-12-15 01:47:12 +00:00
b69dad87b2 [CompactDisc dumping] Correct offset fixing when trimming or re-reading errored audio sectors. Fixes #792 2022-12-14 02:24:02 +00:00
612d5c9cdd Do not allow dumping or converting to image formats that do not properly support hidden tracks when there is a hidden track in the media. 2022-12-06 12:27:35 +00:00
43fcd10fd4 Paint MHDD log to PNG. 2022-12-05 22:03:12 +00:00
c4b7e4f81d Fix file header. 2022-12-05 21:48:12 +00:00
27a5165871 Implement IMediaGraph in Spiral. 2022-12-05 20:11:59 +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
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
47965f0584 Inline temporary variable. 2022-11-15 00:20:20 +00:00
2f6ef0c498 Remove unreachable code. 2022-11-15 00:17:12 +00:00
5a1a7ad39a Use string interpolation. 2022-11-14 01:50:39 +00:00
040b4eab4e More pattern matching. 2022-11-14 01:49:18 +00:00
e0508f096c Inline 'out' variable declaration. 2022-11-14 01:10:11 +00:00
15b36ff898 Use LINQ's MinBy and MaxBy. 2022-11-14 01:04:32 +00:00
d64c48dc6d Invert 'if' statements to reduce nesting. 2022-11-13 21:14:18 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
0f94c5fc01 Convert local variable or field into constant. 2022-11-13 20:08:10 +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
8d551c2d2a Remove spurious calls in device report. 2022-10-27 11:00:44 +01:00
a37e0f3e7e Add workaround for device report the AccessTek/Optorite DD0203 drive. 2022-10-27 10:59:41 +01:00
333d1e4310 Handle dumping CD-i discs with audio tracks and a hidden data track 1. Fixes #703 2022-04-18 15:37:36 +01:00
ec141cc251 Handle run-out sectors in CD-R(W) discs. Fixes #620 2022-04-14 13:11:48 +01:00
f9f97c02c5 Mark newly discovered pregap sectors for retry. Fixes incorrect data on some track type changes. 2022-04-09 20:27:05 +01:00