Commit Graph

160 Commits

Author SHA1 Message Date
f2caa8c40f General code refactor and reformat. 2018-12-31 13:17:27 +00:00
6b12cd1a8e Update copyright year. 2018-12-29 17:34:38 +00:00
a0e1952310 Correct file headers. 2018-12-29 15:26:00 +00:00
427209dc41 Fix SCSI-ATA-Translation EVPD page. 2018-12-25 14:43:14 +00:00
93baf690cd Fix SCSI INQUIRY decoding when length doesn't take in account first bytes. 2018-12-24 04:15:49 +00:00
91f48b54a8 Fix overflows in ATA and SCSI encoders. 2018-12-23 23:51:40 +00:00
3440242478 Add encoder for SCSI MODE PAGE 2Ah. 2018-12-23 21:36:55 +00:00
4a8ffa21a4 Add encoder for SCSI INQUIRY. 2018-12-23 21:36:42 +00:00
ad5c633180 Use device report version 2 for the database. 2018-11-26 23:16:54 +00:00
88da8fc019 Code cleanup. 2018-06-22 08:08:51 +01:00
ec8b309670 General refactor. 2018-06-20 22:22:21 +01:00
414262f574 Add several out of bounds and null protections against rogue MMC firmwares. 2018-06-19 21:35:23 +01:00
ec1f95151b Correct pretty printing several parameters in MODE headers. 2018-06-15 20:30:04 +01:00
e5c92090a1 REFACTOR: Final cleanup of DiscImageChef.Decoders. 2017-12-23 18:31:38 +00:00
3d38e01fdc DOCUMENTATION: DateTime handlers. 2017-12-23 03:59:48 +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
a895700757 REFACTOR: Replace if statement with null-propagating code. 2017-12-21 17:45:39 +00:00
9a404acef4 REFACTOR: Expression is always 'true' or always 'false'. 2017-12-21 17:34:47 +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
35ce7db892 REFACTOR: Unnecessary whitespace removal. 2017-12-21 07:36:47 +00:00
28eed382f2 Corrected minor bug in decoding SCSI MODE PAGE 00h. 2017-12-21 07:23:50 +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
f0d2e7dac9 REFACTOR: Removed reduntant commas. 2017-12-21 02:52:12 +00:00
7261e5ed8e REFACTOR: Use preferred braces style. 2017-12-21 02:39:53 +00:00
92ee61ecae REFACTOR: Separate SCSI MODE decoders. 2017-12-21 02:03:21 +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
b0936d51c5 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +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
6654632a9b Corrected typos in report code that could lead to a partially incorrect device report. 2017-12-18 17:53:04 +00:00
10054f1de2 Corrected typo on SCSI peripheral device types. 2017-12-15 01:14:28 +00:00
c7d187b298 Added support for list-devices on FreeBSD. 2017-12-08 03:19:28 +00:00
7d782fe3da Check that some drives report an incorrect number of write descriptors
in mode page 2Ah.
2017-09-11 06:02:32 +01:00
b382683e3b Check for overflow with incorrectly cut mode pages. 2017-09-06 21:12:44 +01:00
88dd85a52c Check to prevent overflow on cut MMC FEATURES decoding. 2017-09-06 20:48:08 +01:00
2161bb9dd6 Check MMC features length before copying array. 2017-08-22 03:56:58 +01:00
c23f6be668 Added prettyfing of MODE 0Bh.
Added support for MODE 1Ch smaller than what SPC2 says.
2017-06-06 18:17:37 +01:00
3b8d9cd78a Corrected when EVPD is smaller than length field. 2017-06-03 01:11:51 +01:00
5f5bda6d28 Typo. 2017-06-03 01:11:25 +01:00
b4787d5a29 Corrected modes 02h ahd 04h that are smaller than expected. 2017-06-03 01:11:16 +01:00
7f12b88790 Detect Kreon firmware. 2017-05-23 18:07:25 +01:00
869b49d711 Updated copyright string. 2017-05-19 20:28:49 +01:00
d23e4417ef Corrected typo. Cleaned code. 2016-10-16 07:29:19 +01:00