Commit Graph

92 Commits

Author SHA1 Message Date
7b487033b5 [Refactor] Invert if to reduce nesting. 2025-11-24 19:21:26 +00:00
c4af5bf241 [Refactor] Call AddRange instead of Add. 2025-11-24 19:00:58 +00:00
04c45e69fa [Refactor] Use static lambdas in LINQ queries for improved performance 2025-11-24 03:00:06 +00:00
70f005f61f [Dumping] Add paranoia mode to check integrity of sectors before writing them to the image. 2025-11-23 13:05:43 +00:00
824b6b2032 Adjust to new Humanizer API surface. 2025-11-21 12:07:37 +00:00
8b83f9cbbb [Dump] Use new speed calculation algorithm. 2025-11-20 18:57:39 +00:00
69738f5f1a Add support for negative sectors to read and write sector calls in images. 2025-10-23 03:07:43 +01:00
ce0e0dff22 Refactor sector writing methods to include SectorStatus parameter and update related logic 2025-10-22 20:25:23 +01:00
e4f55d3b3c Allocate SENSE buffer only once. 2025-08-22 19:57:09 +01:00
05906c8818 Remove separate dump log, use central log facility. 2025-08-19 15:17:19 +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
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
99adb55c9e [Dumping] [CompactDisc] Check sector validity when reading scrambled using Plextor drives. 2024-04-28 20:24:17 +01:00
b48545b0b4 [UI] Fix speed calculation. 2024-04-26 03:16:36 +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
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
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
3d1b0581a5 Use Humanizer to print speeds. 2023-09-26 02:40:11 +01:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
43fcd10fd4 Paint MHDD log to PNG. 2022-12-05 22:03: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
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +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
f9f97c02c5 Mark newly discovered pregap sectors for retry. Fixes incorrect data on some track type changes. 2022-04-09 20:27:05 +01:00
1c6fb91964 Workaround when some drive's firmware return a track type change error too soon. Fixes #711 2022-04-09 16:46:57 +01:00
ff65da6c48 Use merge pattern. 2022-03-16 11:47:00 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
4de10d0c34 Clarify interface usage. 2021-12-28 03:20:51 +00:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
9dc57c2bd8 Remove deprecated FreeBSD code. 2021-09-14 20:44:06 +01:00
44b0a10895 Restore speed reduction on audio reading disabled by previous commit. 2021-09-05 19:10:05 +01:00
b174c3f524 Fix reading first audio sectors in track type change as garbage on drives that can read scrambled data. 2021-09-05 19:09:22 +01:00
82934f0c3d Do not try to read as audio data sectors with medium error. 2021-09-05 06:48:10 +01:00
5ccb874882 Fix infinite loop when dumping multisession disc. 2021-09-05 05:36:05 +01:00
1af36c75bd Try to reduce workaround some firmware bug in some audio CDs with hidden audio for #605. 2021-08-03 21:14:59 +01:00
2b52a5b0a6 Fix speed calculations for very fast devices. Fixes #473 2021-07-28 01:42:52 +01:00
eda85862cd Decode fixed or descriptor SCSI sense in a single pass, use whichever was returned by drive. 2021-03-26 00:37:54 +00:00