Commit Graph

509 Commits

Author SHA1 Message Date
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
5448b77ea8 [GIT shenanigans] Fix wrongly removed line in last commit. 2024-04-30 03:26:07 +01:00
0d140fac3a [SCSI MODE] Fix handling of corrupt/invalid MODE SENSE (6) block descriptors. Fixes #842 2024-04-30 03:23:28 +01:00
eaf4a3a449 [Core.Graphics] Fix spiral maximum sector count for DDCD parameters from a real DDCD-R disc. 2024-04-30 00:53:46 +01:00
97827d9bfe [Dumping] [CompactDisc] When trimming or retrying using scrambled mode, fix offset and check validity of data sectors because drive can report no error but return errored data. Fixes #390 2024-04-28 20:28:48 +01:00
99adb55c9e [Dumping] [CompactDisc] Check sector validity when reading scrambled using Plextor drives. 2024-04-28 20:24:17 +01:00
4acc1beaf4 [UI] Fix speed values humanization. 2024-04-26 03:18:47 +01:00
b48545b0b4 [UI] Fix speed calculation. 2024-04-26 03:16:36 +01:00
Rebecca Wallander
d081edc179 Check title keys resume for null when not a DVD Video (#827) 2023-12-19 13:47:50 +00:00
05c4dbb457 [Core] Continue identifying filesystems if one of them throws an exception, and ask user to fill a report about it.
ROADMAP: Exceptions should automatically be sent to us in the future, if the user so agrees to.
2023-12-01 18:36:30 +00:00
Rebecca Wallander
cdf95bc776 [Dump] Fix wrongly removed title keys (#825) 2023-11-11 22:27:31 +00:00
Rebecca Wallander
1153a270a9 Add raw DVD reading with HL-DT-ST command (#823) 2023-10-16 20:38:11 +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
3111d3e06f [Archive Information] Escape archive information text. 2023-10-07 16:39:31 +01:00
e6dfefcd4c [Aaru.Core] Implement showing archive information. 2023-10-06 15:37:20 +01:00
59183ebd9d [Aaru.Core] Implement archive format detection. 2023-10-06 15:33:00 +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
509f77036d [Plugin system] Move media images to dependency injection. 2023-10-05 23:57:19 +01:00
bc7e02b24c [Plugin system] Move filesystems to dependency injection. 2023-10-05 16:39:06 +01:00
e00af2a93f [Plugin system] Move partitions to dependency injection. 2023-10-05 16:11:12 +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
a50d892f2a Move most of PluginBase logic into Aaru.Commontypes. 2023-10-05 13:47:59 +01:00
7df41de4af [Plugin system] Move checksums to dependency injection. 2023-10-05 13:04:57 +01:00
65910360b6 Use string.EndsWith(string, StringComparison. 2023-10-05 02:53:07 +01:00
6a86aea198 Add missing XML comments. 2023-10-05 02:46:32 +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
71a00378b4 [Retrode] Fix when no GB(C/A) cartridge has been found either. 2023-10-05 01:56:40 +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
bfb860219f Merge into patterns. 2023-10-04 09:38:17 +01:00
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
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