Commit Graph

45 Commits

Author SHA1 Message Date
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
ebd29840fe Upgrade to .NET 6. 2021-09-12 22:26:47 +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
39e73b16a0 Fix inconsistent naming. 2021-08-17 16:27:42 +01:00
c6f5ece939 Remove redundant assignments. 2021-08-17 14:40:50 +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
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
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
e8ff4d1c30 Fix reading FAT when it has an odd number of clusters. Fixes #596 2021-06-03 03:30:10 +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
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
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
0c20a24bc0 Fix reading volume name from incorrect FAT implementations that fill with NULs. Fixes #386 2020-10-31 22:14:20 +00:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
6220425ac6 Naming fixes. 2020-07-20 21:11:32 +01:00
f1fa52716c Fix namespaces. 2020-07-20 15:43:52 +01:00
0e7a86880e Fix unused code. 2020-07-20 07:47:12 +01:00
b52642af4e Inherit documentation. 2020-07-20 05:20:18 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
09b2ffcbfb Do not try to read EAs from FAT16 directory entry field when it is a FAT32 volume. Fixes #361 2020-06-14 04:32:47 +01:00
5042b7f1e8 Use index from end expression. 2020-04-22 00:22:40 +01:00
61a838cab6 Fix false positive in FAT identification. 2020-04-18 19:57:38 +01:00
f7e173710e Code restyling. 2020-02-29 18:03:35 +00:00
895143b790 Rename DicConsole to AaruConsole. 2020-02-27 23:49:15 +00:00
67edb977bd Rename comment header. 2020-02-27 12:31:30 +00:00
4ade64cfc9 Rename namespace. 2020-02-27 00:36:40 +00:00
f5b199e483 Renamed project files and folders 2020-02-26 19:10:46 +00:00