Commit Graph

115 Commits

Author SHA1 Message Date
42597b89cf Remove all image thrown exceptions. 2021-09-21 04:55:28 +01:00
34df6087ce Refactor IMediaImage.ReadSector(s)Tag to return error status instead of buffer. 2021-09-20 20:52:18 +01:00
a6690aa121 Refactor IMediaImage.ReadSector(s)Long to return error status instead of buffer. 2021-09-20 14:22:22 +01:00
f51d414abd Refactor IMediaImage.ReadSector(s) to return error status instead of buffer. 2021-09-19 21:16:47 +01:00
12a72a45e4 Consolidate error number enumerations. 2021-09-16 04:42:14 +01:00
fc0f03ba5a Upgrade dependencies. 2021-09-12 22:53:19 +01:00
ebd29840fe Upgrade to .NET 6. 2021-09-12 22:26:47 +01:00
d7eb624001 Bump version to 6.0.0-alpha6. 2021-09-12 21:34:23 +01:00
840cdcc331 Fix null reference exception in FAT filesystem. 2021-09-12 19:27:25 +01: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
4005b1d276 Remove unused assignments. 2021-08-17 17:53:18 +01:00
f757716c2c Convert part of loop into LINQ. 2021-08-17 17:51:01 +01:00
770066e53f Remove unused code 2021-08-17 16:58:31 +01:00
39e73b16a0 Fix inconsistent naming. 2021-08-17 16:27:42 +01:00
1f7bcc83f1 More documentation inheritance. 2021-08-17 16:12:30 +01:00
c6f5ece939 Remove redundant assignments. 2021-08-17 14:40:50 +01:00
c1287c00cf Remove redundant parentheses. 2021-08-17 14:27:19 +01:00
6dd5fb5c5c Add missing XML documentation inheritance. 2021-08-17 14:25:12 +01:00
00f605b0ca Add XML comments to public entities. 2021-08-17 13:56:05 +01:00
501fcd69eb Fix null reference exception in FAT filesystem when entry points to a cluster beyond volume. 2021-07-19 13:43:53 +01:00
baeaac8190 Fix mounting a FAT filesystem that does not contain a valid FS_TYPE field and have invalid clusters. 2021-07-19 13:43:22 +01:00
ce353d6884 Guard several filesystems against crashes when identifying on a data buffer smaller than needed. 2021-06-04 18:42:29 +01:00
705f5a6db0 Add support for FAT32 volumes that uses sectors field in BPB. Fixes #580 2021-06-03 23:51:10 +01:00
fcc0211fb6 Fix identifying between FAT12 and FAT16, checking entire FAT validity. Fixes #576 2021-06-03 23:34:17 +01:00
9fe5353394 Fix regression in identifying UDF volumes. 2021-06-03 23:33:40 +01:00
eab05502a4 Fix regression in setting timestamps from FAT filesystems. 2021-06-03 23:33:26 +01:00
b96ffe5e56 Fix clusters calculation in FAT12 and FAT16. 2021-06-03 23:32:36 +01:00
01bb87619f Recognize UDF volumes that expected a 2048bps device but are in a 512bps image. Fixes #582 2021-06-03 13:56:40 +01:00
fe66afa580 Guard against reading beyond partition end when identifying UNICOS filesystem. Fixes #581 2021-06-03 12:52:37 +01:00
7f423077ad Guard against reading beyond partition end when identifying F2FS filesystem. Fixes #578 2021-06-03 12:52:00 +01:00
ba040dd062 Guard AmigaDOS identification against too small partitions. Fixes #595 2021-06-03 12:21:58 +01:00
87607cfa5d Fix handling CP/M filenames that contain a forward slash. Fixes #593 2021-06-03 11:54:19 +01:00
e8ff4d1c30 Fix reading FAT when it has an odd number of clusters. Fixes #596 2021-06-03 03:30:10 +01:00
c4ad5bc695 Exchange access and creation timestamps in FATX. Fixes #592 2021-06-03 01:32:03 +01:00
31d7daa33b Fix mounting CD-i, High Sierra or ISO9660 with an invalid path table. Fixes #495. 2021-06-02 21:40:21 +01:00
4ac273175a Check which FAT is valid (first or second) and use it for FAT12 and FAT16, fixes #584. 2021-06-02 21:16:06 +01:00
5c84513048 Fix reserved FAT entries. 2021-06-02 21:15:33 +01:00
df8f35a70a Add a guard for FAT12 and FAT16 to prevent an exception on invalid FAT chains. 2021-06-02 20:57:27 +01:00
ce99442ed8 In FAT filesystem, 0 means no time stored. Fixes #597 2021-06-02 20:40:29 +01:00
2d72ec3574 Fix interpretation of BPB value used by Atari ST in FAT16 partitions of type BIG GEMDOS. 2021-06-02 20:21:56 +01:00
f2b5a4b64c Force identification of hard disk volumes made by Atari ST with FAT16 filesystems when they're not bootable. 2021-06-02 20:19:54 +01:00
4878d5d3af Handle unallocated, but reserved, directories, in FAT filesystem. 2021-06-02 20:17:25 +01:00
2522db44dc Handle directory entries that contain a forward slash in the filename in FAT filesystem. 2021-06-02 19:25:41 +01:00
a2b4cc2c92 Handle empty directory entries in FAT filesystem. Fixes #598 2021-06-02 19:18:33 +01:00
a39258524c Fix ISO9660, High Sierra and CD-i filesystem when the directories span multiple sectors. Fixes #360 2021-06-02 12:41:44 +01:00
0c55a8ab64 Fix extents not being created for 0 byte files in High Sierra, ISO9660 and CD-i filesystems. 2021-06-02 03:55:04 +01:00
d53ed217d2 Set encoding in FAT filesystem before interpreting the BPB. 2021-06-01 20:36:26 +01:00
bfdaf6d1a4 Do not return EINVAL when reading a 0-byte sized file in FAT filesystem. Fixes #441 2021-06-01 12:59:11 +01:00
3bce412c00 Make members of FileEntryInfo fields until we migrate to .NET 6. 2021-05-31 19:14:37 +01:00