Commit Graph

125 Commits

Author SHA1 Message Date
b2dbcc6149 On device, when in Windows, tell .NET Framework to close the handle, to prevent an exception raised when GC collects it. 2018-12-01 19:34:05 +00:00
3a0b9b634f On device prevent closing an already closed handle, as when debugging under Windows this raises an exception. 2018-12-01 19:31:04 +00:00
ade74a57f5 Remove NT device path calculation method as it doesn't work neither is it needed anywhere. 2018-12-01 19:26:30 +00:00
6a2fc9f76b Move DeviceType to CommonTypes. 2018-11-27 00:11:03 +00:00
6f971bca5f Solved bug in device constructor, allows opening some devices in non-administrator mode. 2018-09-01 23:49:36 +01:00
62f7543055 Add method to close devices. 2018-09-01 23:27:14 +01:00
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