Commit Graph

75 Commits

Author SHA1 Message Date
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
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
6c58083c64 Change method of reading subchannels in Plextor drives, fixes #395 2020-11-06 00:26:23 +00:00
f92f122443 Change how pregap starting with 0 is calculated dumping vs converting. Fixes #375 2020-11-04 23:55:24 +00:00
49dda86cd8 Ensure only unique bad blocks are saved in resume file. Fixes #381 2020-11-03 01:40:10 +00:00
c104a51d5a Add support for dumping CDs to images that only support cooked user data. Fixes #378 2020-10-23 04:01:55 +01:00
db03ca31f9 Disable FUA to fix reading from old SCSI disks. 2020-10-17 02:15:15 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
163d2ce8db Add missing XML documentation. 2020-07-20 06:02:34 +01:00
b0f01f53f0 Handle discs that have pregap ending in LBA 1 instead of ending in LBA 0. 2020-07-18 20:43:37 +01:00
64689fafaa Fix infinite loop on some CD track mode changes while dumping. 2020-07-18 13:59:22 +01:00
533a94bdc9 Fix infinite loop when Lead-Out cannot be crossed. 2020-07-14 14:24:44 +01:00
f1244d543c Move subchannel generation and fixing to a separate class. 2020-07-14 01:06:23 +01:00
720bb1df6e Save error log on dump. 2020-07-13 18:54:41 +01:00
b3e5ada998 Add option to skip hole between data and audio in CD-i Ready discs. Fixes #295 2020-06-17 01:59:09 +01:00
1f52389048 Optimize speed when reading subchannels. 2020-06-14 18:42:33 +01:00
78ee88a799 Fix infinite loop failing to cross leadout dumping CDs. 2020-06-14 15:13:50 +01:00
87dc8029b5 Allow to retry bad subchannel sectors. 2020-06-13 19:15:27 +01:00