Commit Graph

119 Commits

Author SHA1 Message Date
91569c4636 Move all interfaces, extents, interop and metadata to DiscImageChef.CommonTypes. 2018-06-25 19:08:26 +01:00
88da8fc019 Code cleanup. 2018-06-22 08:08:51 +01:00
414262f574 Add several out of bounds and null protections against rogue MMC firmwares. 2018-06-19 21:35:23 +01:00
94d51f5411 On Linux try to open in read/write and exclusive mode, if not retry in readonly. 2018-04-02 23:09:18 +01:00
5226b8493f Workaround some Blu-ray drives not reporting correct size on READ DISC STRUCTURE. 2018-03-26 17:40:25 +01:00
4818765c5d Add support for dumping ISRC and MCN. 2018-02-04 22:43:37 +00:00
9dff1f8a54 🐛Fix sending READ LONG commands to ATA devices, thanks to supporting SET FEATURES command. 2018-01-21 21:56:09 +00:00
536888507f REFACTOR: Final cleanup of DiscImageChef.Devices. 2017-12-23 20:04:36 +00:00
e87e058a11 REFACTOR: All refactor in DiscImageChef.Devices. 2017-12-22 03:13:43 +00:00
49144eeb01 REFACTOR: All refactor in DiscImageChef.Decoders. 2017-12-22 02:04:18 +00:00
4e6e8f340a REFACTOR: Use string interpolation expression. 2017-12-21 17:58:51 +00:00
9a404acef4 REFACTOR: Expression is always 'true' or always 'false'. 2017-12-21 17:34:47 +00:00
02ffa86b6c REFACTOR: Parameter has no matching param tag in the XML comment. 2017-12-21 16:42:20 +00:00
7553983bd8 REFACTOR: Removed unneeded pragmas. 2017-12-21 16:14:29 +00:00
bcbda18e4d REFACTOR: Removed unneeded value sets. 2017-12-21 16:07:20 +00:00
dcd053b20d REFACTOR: Remove unneeded code. 2017-12-21 14:30:44 +00:00
422f80805a Corrected missing setters. 2017-12-21 07:36:30 +00:00
e1d0544c3c REFACTOR: Convert variables to auto setters. 2017-12-21 07:19:46 +00:00
5592f147ac REFACTOR: Loop can be converted into LINQ-expression. 2017-12-21 07:08:26 +00:00
4d886dae25 REFACTOR: Invert 'if' statement to reduce nesting. 2017-12-21 06:06:19 +00:00
9cd1869d1d REFACTOR: Convert 'if' statement to 'switch' statement. 2017-12-21 04:43:29 +00:00
ff5540ff5d REFACTOR: Removed else statements. 2017-12-21 02:57:32 +00:00
bce69c9161 REFACTOR: Use preferred braces style. 2017-12-21 00:44:33 +00:00
e9443388ee REFACTOR: Use preferred braces style. 2017-12-20 23:07:46 +00:00
Michael D
b030712b38 Fix unsigned vs. signed problem 2017-12-20 18:51:03 +01:00
b0936d51c5 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +00:00
a4650c61aa REFACTOR: Fixed MOST name inconsistencies. 2017-12-20 17:15:37 +00:00
e6f6ace80b REFACTOR: Reformat code. 2017-12-19 20:33:05 +00:00
77edc7c91c REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
1a39168f19 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
8c6d05eed3 FEATURE FREEZE: Removed TODO lines already implemented. 2017-12-19 01:13:31 +00:00
c30a547b17 Corrected incorrect handling of ATA READ LONG, READ TOC/PMA/ATIP and PIONEER READ CD-DA MSF commands. 2017-12-18 17:53:46 +00:00
8f988c6e8b FreeBSD triple panics on parallel ATA devices. 2017-12-11 19:29:19 +00:00
e2888eaf27 Added support for sending SCSI commands in FreeBSD. Not working because CAM is leaving the buffer untouched. 2017-12-10 21:00:20 +00:00
c7d187b298 Added support for list-devices on FreeBSD. 2017-12-08 03:19:28 +00:00
4cd0ec53e9 Added support for SecureDigital / MultiMediaCard on Windows. 2017-12-06 23:05:59 +00:00
d660ec93d1 Added code to retrieve USB binary descriptors for Windows. 2017-12-06 20:38:10 +00:00
be52156170 Added code to retrieve USB IDs and strings for Windows. 2017-12-06 19:30:03 +00:00
df076b5e0f Added code to retrieve NT device path (will be needed later). 2017-12-06 13:46:35 +00:00
bc72ff1642 Starting with Linux 4.8 the SD/MMC OCR is shown also in /sys, so cache
it if present.
2017-09-29 13:05:50 +00:00
a82071a3e3 Solved reading multiple MMC/SD commands at a time. 2017-09-29 13:01:16 +00:00
08cb387c75 Use cached CID register to fill device variables. 2017-09-28 19:48:44 +00:00
4f69f31e4c If present, use cached CID, CSD and CSR registers instead of sending
the command to the device.
2017-09-28 19:25:24 +00:00
cc6627ccbe For MMC/SD, on Linux, cache the kernel provided CID, CSD and SCR
registers from /sys.
2017-09-28 19:14:50 +00:00
c5acf2082e Corrected some command values. 2017-09-28 18:24:16 +00:00
b399bfaea2 Under Linux do not send SCSI INQUIRY if device path name doesn's
correspond to a SCSI node.
2017-09-28 17:54:07 +00:00
b21c6f2c63 Manually mark manufacturer as "ATA" on Windows so it becomes treated like that. 2017-09-10 18:15:44 +01:00
0f24a8f6d6 Added tests for Archive Corp. vendor commands. 2017-09-08 20:34:14 +01:00
849a6f2847 Added tests for S.M.A.R.T. commands. 2017-09-08 18:20:14 +01:00
9ea7b076af Added tests for Media Card Pass Through commands. 2017-09-08 18:00:01 +01:00