Commit Graph

51 Commits

Author SHA1 Message Date
553cde0d0c [ox/fs] Replace uint8_t with char for buffers 2020-02-11 21:42:09 -06:00
8c576ef9c5 [ox] Replace __attribute__((packed)) with OX_PACKED 2019-12-19 23:38:17 -06:00
deaa293c67 [ox/fs] Fix problems with creating and reading directories 2019-11-03 16:44:57 -06:00
7f5f74e2a6 [ox/fs] Fix various file system bugs 2019-10-31 00:07:39 -05:00
f4b336dd77 [ox] Make Error use a strong int 2019-07-28 00:15:10 -05:00
deaa1f13f5 [ox/fs] Add missing nodiscards on ox::Error returns 2019-07-25 19:53:14 -05:00
2d2cd2bbb6 [ox/fs] Add Error return to FileStore compact 2019-07-20 18:46:52 -05:00
8fa5488d77 [ox/fs] Fix FileStoreTemplate::compact to skip first item and correctly find parent 2019-07-19 20:14:09 -05:00
0efe94db45 [ox/fs] Fix extraneous alloc and update rootInode in compact 2019-07-17 20:43:14 -05:00
6571129686 [ox/fs] Add resize compactor 2019-06-22 17:23:24 -05:00
74fe0c55cc [ox/fs] Enforce error checking of FS function calls 2019-06-22 02:07:20 -05:00
04929302d7 [ox/fs] Rename confusing parameters in FileStoreTemplate::read 2019-06-22 00:40:23 -05:00
3938cb0282 [ox/fs] Cleanup FileStoreTemplate::read 2019-06-21 23:30:06 -05:00
096509c2be [ox] Fix GCC errors 2019-06-06 18:50:06 -05:00
22da505869 [ox/fs] Remove bad debug code from FileStore::unplaceItem 2019-03-17 23:18:54 -05:00
fa3f7801d2 [ox/fs] Remove inode on decLinks if links is 0 2019-03-17 23:16:41 -05:00
7cfe9aad8e [ox/fs] Properly implement FileStore unplaceItem and move ! to correct canWrite 2019-03-17 23:14:17 -05:00
7a2033da60 [ox/fs] Fix unnecessary FileStore compacting 2019-03-17 22:37:42 -05:00
0c570438e4 [ox/fs] Remove C99 designated initializer usage 2019-03-04 19:42:48 -06:00
55119253da [ox/fs] Make format method static 2018-12-29 22:29:03 -06:00
1770c8a1e2 [ox/fs] Remove abstract FileStore class 2018-09-01 23:52:43 -05:00
40f8af85a8 [ox/fs] Fill out new FileSystem method stubs 2018-08-18 23:41:31 -05:00
324e28e5f2 [ox/fs] Update FileStore interface 2018-07-30 21:35:36 -05:00
71af674eef [ox/fs] Fix inode generation check to check for outside the reserved range 2018-07-30 21:05:36 -05:00
a6b9de9a59 [ox] Fix OxFS 2 Directory test 2018-06-06 23:30:57 -05:00
ea7cf59ec7 [ox] Add file:line error tracing 2018-05-31 22:45:57 -05:00
85a98222d4 [ox/fs] Cleanup 2018-05-02 22:36:44 -05:00
06013211d4 [ox/fs] Fix FileStoreItem::data bounds 2018-05-02 19:45:45 -05:00
24fbb8ba86 [ox/fs] Add new FileStore write 2018-04-28 12:01:33 -05:00
59cc34b4e8 [ox/fs] Add new Directory type 2018-04-23 22:51:49 -05:00
fc3ec47330 [ox] Move NodeBuffer and Ptr to ptrarith package 2018-04-14 11:01:42 -05:00
3ebc4e92eb [ox/fs] Add const subPtr methods to ox::fs::Ptr 2018-04-12 19:41:12 -05:00
b8c54eba0c [ox/std] Remove ::size_t 2018-04-12 19:35:16 -05:00
9541287d4a [ox/fs] Fix a read/write issue in new FileStore 2018-04-12 00:03:02 -05:00
e19e70e065 Add read by type to new FileStore 2018-03-15 21:39:07 -05:00
8378af7564 Fix FileStoreData to properly zero out on init 2018-03-15 21:01:26 -05:00
381c739e46 Add missing read to new FileStore 2018-03-15 19:32:40 -05:00
9d70927ad4 Fix to pass FileStore::readWrite test for new FileStore 2018-03-15 01:03:16 -05:00
b16d781826 Add missing trace message for NodeBuffer::malloc failure case 2018-03-14 00:52:47 -05:00
080ca9df86 Fix new FileStore to correctly initialize the first item 2018-03-14 00:39:08 -05:00
127c6525f7 Add missing check to ItemPtr and instantiate FileStore32 in FS library 2018-03-13 01:55:25 -05:00
2ce09ff08a Make new FileStore remove old inode on write 2018-03-11 08:58:14 -05:00
efe8bf3e46 Add write to new FileStore 2018-03-10 23:31:44 -06:00
af4ab51df4 Add minimum offset checking to FS Ptr 2018-03-08 00:41:46 -06:00
b77a41abd2 Add NodeBuffer init to FileStore format 2018-03-08 00:24:02 -06:00
2e29f48810 Make FS linked list Item a template parameter 2018-03-07 22:40:38 -06:00
3e63b2f816 Add missing validity checks to file store 2018-03-07 00:15:42 -06:00
3151b5508e Flesh out new file store's alloc 2018-03-06 23:07:39 -06:00
cfc95b2dd1 Add asserts to ox::fs::Ptr 2018-03-05 23:07:40 -06:00
e1305a240e Start on new FileStore and add test 2018-03-05 20:28:07 -06:00