Commit Graph

67 Commits

Author SHA1 Message Date
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
baa3047a0c Check BCA on all Blu-ray discs. 2025-08-19 00:54:17 +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
b75fcf0f41 [Refactor] Convert to switch expressions. 2024-05-01 17:18:37 +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
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
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
0922e86467 Translate Aaru.Core to Spanish (Spain). 2023-10-02 02:19:02 +01: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
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
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
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
ad861f5a74 Fix possible exceptions. 2021-08-17 17:14:48 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
Darkstar
1a6a446520 Detect all unknown non-removable media as HDD 2021-07-28 21:19:24 +02:00
Darkstar
c8fe683e97 Fix ReadCapacity16 block size calculation 2021-07-28 20:32:22 +02:00
aa2dbf3b94 Fix overflow calculations of blocks when device has more than 0x7FFFFFFF blocks. 2021-07-28 17:16:38 +01:00
a4652c517e Decode pre-recorded information from DVD-R(W). 2021-06-23 20:47:14 +01:00
26d1412186 Print DVD-R(W) PFI on media info. 2021-06-23 19:27:56 +01:00
a77fb96a00 Detect when DVD book type is different from drive's firmware profile. 2021-06-23 14:48:22 +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
06910eabce Add detection and media type for Ultra HD Blu-ray. 2021-02-10 17:12:23 +00:00
6e71c17de1 Fix XGD detection. 2021-02-10 17:12:23 +00:00
Rebecca Wallander
89bbbbc712 Add output of disc key and sector CMI info from media info command 2021-01-14 18:42:28 +01:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
afeb830549 Fix misdetecting optical discs as flash drives. 2020-12-29 19:37:16 +00:00
f8754a178b Fix media detection number of blocks for 70Gb iomega REV. 2020-12-29 19:36:53 +00:00
1e4ac8b2fb Fix detection of flash drives that report themselves as CD drives when they're not. 2020-12-03 18:19:05 +00:00
2ec3b0194d Fix detection of version 3 and upper DVD-RW and DVD-RW DL. Fixes #456 2020-11-20 19:29:14 +00:00
73faa18421 Guard against null block descriptors in SCSI modes. Fixes #387. 2020-11-01 22:00:52 +00:00
080ad0ed51 Set ATIP to be a class to ensure it is nulled properly.. Fixes #352 2020-11-01 20:10:35 +00:00
929569103a Fix detection of dual layer DVDs. Fixes #377 2020-11-01 18:02:29 +00:00