Commit Graph

58 Commits

Author SHA1 Message Date
e4f55d3b3c Allocate SENSE buffer only once. 2025-08-22 19:57:09 +01:00
8e2fdd91a6 Do not allocate a CDB buffer in each command call, use a single preallocated 2025-08-22 15:56:59 +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
Rebecca Wallander
1ab023bbc6 Read Lite-On raw DVD buffer 2025-04-06 22:04:43 +02:00
5863664dbf Update copyright year. 2024-12-19 10:45:18 +00:00
Deterous
d59012cd04 Make Kreon SCSI CDB10 for libata 2024-10-20 01:17:54 +01: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
5aa21b65b8 [SCSI Primary Commands] Workaround some devices not liking oddly sized buffers when calling MODE SENSE (6) / MODE SENSE (10). 2024-04-26 03:19:41 +01:00
Rebecca Wallander
1153a270a9 Add raw DVD reading with HL-DT-ST command (#823) 2023-10-16 20:38:11 +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
546573dd30 [Aaru.Devices] Reformat and cleanup. 2023-10-03 23:12:01 +01:00
741bb5389a [Aaru.Devices] 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
Rebecca Wallander
ebf893e278 Add reader for DiscImageCreator DVD Raw dumps (#817) 2023-08-22 15:27:52 +01:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
119ceea01d Move all localizable strings from Aaru.Devices project to resources. 2022-11-27 18:51:44 +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
a9726d0661 Remove redundant cast. 2022-11-14 01:28:21 +00:00
ad2d0b8a24 Convert into '?:' expression. 2022-11-14 01:27:16 +00:00
c316cef523 Convert if to return statements. 2022-11-13 20:54:06 +00:00
0f94c5fc01 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
2fa340474a Split device construction per OS. 2022-03-26 18:31:04 +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
75edb759e6 General code refactor. 2021-08-17 21:23:10 +01:00
fdff1d74c9 Use Array.Empty<T>. 2021-08-17 18:23:50 +01:00
00ee79bc69 Fix shift operation with left operand 0. 2021-08-17 17:43:49 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
7687507353 Ensure Kreon commands return proper error status. 2021-08-09 03:34:54 +01:00
4784a6c101 Use a bigger buffer for READ TOC command. Fixes #505 2021-07-03 12:37:42 +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
e4dbcdebc3 Enlarge sense buffer to 64 bytes. 2021-03-25 23:23:18 +00:00
41d750cb06 Rename MediaTek F1h command 06h subcommand. 2021-01-17 17:16:44 +00:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
ad2153f06d Return proper sense from SCSI MEDIUM SCAN command. 2020-10-23 01:11:37 +01:00
d59b57c5d5 Fix MEDIUM SCAN SCSI command. 2020-10-18 03:33:01 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
f1fa52716c Fix namespaces. 2020-07-20 15:43:52 +01:00
da452ea834 More XML documentation. 2020-07-20 06:11:31 +01:00
163d2ce8db Add missing XML documentation. 2020-07-20 06:02:34 +01:00
7bd563a05b Add MediaTek's READ CACHE vendor command. 2020-07-09 03:39:58 +01:00
7fb2122c24 Add READ TRACK INFORMATION command from SCSI MMC. 2020-06-16 21:12:33 +01:00