Commit Graph

69 Commits

Author SHA1 Message Date
8331fba1e4 [Refactor] Fix indentation issues. 2025-11-24 19:38:40 +00:00
7b487033b5 [Refactor] Invert if to reduce nesting. 2025-11-24 19:21:26 +00:00
824b6b2032 Adjust to new Humanizer API surface. 2025-11-21 12:07:37 +00:00
5531414e76 [Media scan] Use new speed calculation algorithm. 2025-11-20 15:53:06 +00:00
f6477270c5 Invert huge if block in ATA scanning. 2025-11-20 04:06:07 +00:00
e201ebcf9d [Media scan] Change speed calculation algorithm for one more stable and with less spikes. 2025-11-20 03:45:32 +00:00
e4f55d3b3c Allocate SENSE buffer only once. 2025-08-22 19:57:09 +01:00
1a0fbf8fdb Move markup to resources in media scan command. 2025-08-18 14:22:40 +01:00
0147a38007 Colorize SecureDigital medium scan. 2025-08-17 21:39:33 +01:00
f1d814fc78 Colorize ATA medium scan. 2025-08-17 21:33:32 +01:00
28a98bf8f5 Colorize SCSI medium scan. 2025-08-17 21:27:09 +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
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
3d1b0581a5 Use Humanizer to print speeds. 2023-09-26 02:40:11 +01:00
4cbc8da22a Use Humanizer to print bytes. 2023-09-26 01:29:40 +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
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +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
c6f5ece939 Remove redundant assignments. 2021-08-17 14:40:50 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
2b52a5b0a6 Fix speed calculations for very fast devices. Fixes #473 2021-07-28 01:42:52 +01:00
e702578562 Use SCSI reader detection of maximum supporter blocks to read at once when scanning non-CD media. Fixes #516 2021-07-05 01:31:52 +01:00
ec375a61b5 Allow scanning Audio CD on drives that don't allow READ(12) on them. Fixes #432 2021-06-28 19:44:59 +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
9dec4df51e Move delegates to common types. 2020-12-31 19:28:47 +00:00
97cb61eca6 Fix stack corruption when sending multiple MMC/SD commands in Linux. 2020-12-13 20:33:36 +00:00
37385a245f Temporarily disable CMD23+CMD18+CMD12 combination as it is currently corrupting the stack in Linux. 2020-12-13 02:29:02 +00:00
66b56862a0 Fix seeking test in SD/MMC media scan. 2020-12-12 23:33:54 +00:00
c788a4ded5 Implemented reading SD/MMC using buffered OS calls. 2020-12-12 22:48:03 +00:00
04a2626125 Add options to use OS buffered reads when reading MMC/SD. 2020-12-12 21:14:39 +00:00
a026b525a2 Add MMC/SD command to send SET_BLOCK_COUNT, READ_MULTIPLE_BLOCK and STOP_TRANSMISSION in a single call. 2020-12-12 21:03:44 +00:00
d176244665 Reduce seek times to 100 when scanning MMC/SD cards. 2020-12-10 13:57:33 +00:00