Commit Graph

155 Commits

Author SHA1 Message Date
546d131124 Naming fixes. 2023-10-05 02:31:59 +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
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
0922e86467 Translate Aaru.Core to Spanish (Spain). 2023-10-02 02:19:02 +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
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +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
2f6ef0c498 Remove unreachable code. 2022-11-15 00:17:12 +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
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
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
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
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00: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
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
fbccfb2ca9 Refactor IMediaImage.ReadMediaTag to return error status instead of buffer. 2021-09-18 15:01:31 +01: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
7c384310f0 When pregap changes track start during trimming, ensure it is re-read. 2021-09-06 00:44:37 +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
4fcaeffc85 Merge into pattern. 2021-08-17 18:24:01 +01:00
807c7c5313 Set culture on string comparisons. 2021-08-17 16:58:44 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +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