a8e1197ad0
[ox] Cleanup
2018-05-03 01:33:47 -05:00
576a05a038
[ox/std] Fix non-stdlib version of ox_malloca
2018-05-03 01:32:46 -05:00
87f4964df5
[ox/std] Add some notable missing comments
2018-05-03 01:21:59 -05:00
3a70c0972b
[ox/std] Remove ox_freea
2018-05-03 01:17:06 -05:00
ecbeabff48
[ox/std] Add MallocaPtr
2018-05-03 01:12:36 -05:00
85a98222d4
[ox/fs] Cleanup
2018-05-02 22:36:44 -05:00
a13b369792
[ox/buffer] Add copy constructor to NodeBuffer
2018-05-02 21:12:18 -05:00
6236214be6
[ox/buffer] Add to to Ptr
2018-05-02 21:11:00 -05:00
ad956ffd70
[ox/fs] Fix DirectoryEntry base size
2018-05-02 21:09:31 -05:00
06013211d4
[ox/fs] Fix FileStoreItem::data bounds
2018-05-02 19:45:45 -05:00
a8f185ea57
[ox/std] Fix malloca allocation size
2018-05-01 19:09:34 -05:00
ae31e7f929
[ox/std] Add alloca and malloca
2018-05-01 00:43:25 -05:00
ae484e22c7
[ox/std] Change stddef to use cstddef if using stdlib
2018-04-30 21:08:00 -05:00
f64bcce564
[ox/std] Make rotateLeft a template so it can operate on any size int
2018-04-30 21:05:21 -05:00
4e3c98bcb5
[ox/std] Add missing includes to CMake install
2018-04-28 12:10:53 -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
aeee05be89
[ox/std] Add const to BString's const-able methods
2018-04-14 14:15:04 -05:00
fc3ec47330
[ox] Move NodeBuffer and Ptr to ptrarith package
2018-04-14 11:01:42 -05:00
b2245cc3b2
[ox] Change make purge to delete root build directory
2018-04-14 00:08:35 -05:00
ec40d80e6d
[ox] Remove permanent build directory
2018-04-13 23:52:02 -05:00
6db4a31916
[ox/std] Make types use cstdint if OX_USE_STDLIB is enabled
2018-04-13 07:41:03 -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
ad62d4c012
[ox/std] Conform size_t to standard
2018-04-12 19:23:12 -05:00
57a9221fb3
[ox/std] Remove bigEndianAdapt
2018-04-12 07:43:58 -05:00
b6f27416c0
[ox/fs] Fix invalid test invocations
2018-04-12 00:26:33 -05:00
9541287d4a
[ox/fs] Fix a read/write issue in new FileStore
2018-04-12 00:03:02 -05:00
8094e0fe4d
[ox/std] Make strops constexpr functions and use static_assert for tests
2018-04-10 22:35:39 -05:00
585d79a219
Make ASAN a distinct build type from Debug
2018-03-17 23:44:02 -05:00
4c23a2d761
Change buildinfo namespace to defines
...
Defines better reflects that these are from the defines given for the
current file's compile options, not the options used when building the
Ox libraries being linked against.
2018-03-16 20:29:19 -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
2afef8a741
Make ox::LittleEndian methods constexpr
2018-03-15 18:10:52 -05:00
9d70927ad4
Fix to pass FileStore::readWrite test for new FileStore
2018-03-15 01:03:16 -05:00
db7eb9a397
Add __buildinfo package to ox
2018-03-15 00:38:23 -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
ccf308d022
Fix issues with int to string conversion in ox string operations
2018-03-14 00:20:04 -05:00
13a394e07f
Cleanup main CMakeLists.txt to better match CMake conventions
2018-03-13 20:26:12 -05:00
127c6525f7
Add missing check to ItemPtr and instantiate FileStore32 in FS library
2018-03-13 01:55:25 -05:00
9447967f12
Fully instantiate old FileStore and FileSystem
2018-03-12 20:12:23 -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
4d86f0e3d9
Replace C casts with static and reinterpret casts in MC
2018-03-10 01:11:38 -06:00
086b406748
Remove some unnecessary operators from ox::LittleEndian
2018-03-09 21:48:16 -06:00
493060955b
Cleanup build files
2018-03-09 21:46:17 -06:00
a2cf756f4a
Add missing checks to oxfstool
2018-03-09 21:44:41 -06:00
16e0fddaca
Remove second copy of mc/optype.hpp
2018-03-08 20:48:00 -06:00
4d6eb5752e
Fix nodebuffer.hpp install name
2018-03-08 00:42:08 -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
c5bf8591e3
Remove assert implementation on non-stdlib builds, as the asserts use stdlib
2018-03-05 23:14:49 -06:00
957b94a48d
Add asserts.hpp to std.hpp
2018-03-05 23:08:10 -06:00
cfc95b2dd1
Add asserts to ox::fs::Ptr
2018-03-05 23:07:40 -06:00
b616d9c0f2
Add ox_assert to ox/std
2018-03-05 23:07:04 -06:00
85c747ad1a
Add missing consts to methods in ox::LittleEndian
2018-03-05 20:39:36 -06:00
e1305a240e
Start on new FileStore and add test
2018-03-05 20:28:07 -06:00
cd38c961a3
Add missing operators to LittleEndian type
2018-02-19 21:05:00 -06:00
21e72a0513
Add contiguous linked list type for the new file store
2018-02-18 01:03:14 -06:00
193492c518
Add ox::LittleEndian template
2018-02-17 02:13:19 -06:00
7f3cda0ab3
Add ioOp for TraceMsg and cleanup MetalClaw
2018-02-15 22:22:55 -06:00
7e31eda638
Add static_assert size checks to types.hpp
2018-02-13 19:44:14 -06:00
d5b0bb69df
Start fleshing out tracing library
2018-02-13 19:13:31 -06:00
7856d4e0bf
Fix (u)intmax_t to work on Mac
2018-02-09 00:36:06 -06:00
e7a396655c
Rename Log package to Trace
2018-02-03 14:26:47 -06:00
fc9726b3ec
Rename bstring to BString for consistency
2018-02-02 01:30:56 -06:00
d72f11cbdb
Run liccor
2018-02-02 01:25:33 -06:00
3edc8be1aa
Remove debug code from FileStore
2018-02-02 01:21:54 -06:00
637c9f24c2
Breakup file system code into smaller files
2018-02-02 01:15:15 -06:00
3600d88987
Add some overflow checks to FS
2018-01-29 21:57:08 -06:00
04e5af6fe6
Run liccor
2018-01-29 21:55:58 -06:00
e45db79a77
Cleanup ox::Vector organization
2017-12-24 01:45:50 -06:00
ebdd31315d
Fix Vector::resize to delete old array
2017-12-23 20:35:10 -06:00
48de8f2561
Fix ox::Vector::~Vector to use delete[] instead of delete
2017-12-23 20:28:15 -06:00
1d65ca210f
Rename larray to vector
2017-12-23 20:25:24 -06:00
61de47fd00
Add larray class to ox/std
2017-12-23 17:25:21 -06:00
3d77d6425e
Merge commit '12371c21d206cb07a5db91fc81d55cd740bd12f0'
2017-12-22 00:32:18 -06:00
12371c21d2
Squashed 'deps/ox/' changes from c63e0c1..bf5c4e2
...
bf5c4e2 Add missing optype.hpp file
fdcc303 Removed unused CMake file
4e1f304 Fix version mismatch when loading FileSystems
565c56e Increment FileStore version for inode ID size change
64543b7 Bump FileStore32's InodeId type to uint16_t
fe062cf Add methods for getting array and string length of Metal Claw fields
8deae14 Add general ioOp that will call ioOpRead or ioOpWrite
009cf99 Add OpType for Metal Claw operators
1cf6164 Remove array globals from OxStd, as they were causing section overlaps on GBA
3ffba29 Add op(const char*, (u)int8_t) methods to MetalClaw
489736d Add an optional sizeOut parameter to Metal Claw write
443a62c Fix ArrayLength type case in Metal Claw writer
a46fc8b Add MetalClaw to OxConfig.cmake
git-subtree-dir: deps/ox
git-subtree-split: bf5c4e2c4712b83befff7da25147902408146dd7
2017-12-22 00:31:12 -06:00
539aa1e7eb
Remove array globals from OxStd, as they were causing section overlaps
...
on GBA
2017-11-09 20:14:25 -06:00
5d5e48e1e9
Removed unused CMake file
2017-10-17 23:52:15 -05:00
d76dea463c
Fix version mismatch when loading FileSystems
2017-10-17 22:09:28 -05:00
0bc0340c20
Increment FileStore version for inode ID size change
2017-10-17 20:51:04 -05:00
5922b72326
Bump FileStore32's InodeId type to uint16_t
2017-10-16 21:53:03 -05:00
2554f8b3e1
Add methods for getting array and string length of Metal Claw fields
2017-10-15 09:04:00 -05:00
2ed10afef7
Add general ioOp that will call ioOpRead or ioOpWrite
2017-10-15 01:40:20 -05:00
70896b8761
Add OpType for Metal Claw operators
2017-10-15 00:55:25 -05:00
5f0c1a1c41
Merge commit '8559ab53ccc74e63924b4a9a31bc91ee1dafefa9' as 'deps/ox'
2017-10-11 19:20:46 -05:00
f0efe2f9e0
Remove ox subtree
2017-10-11 19:17:48 -05:00
71116f4be9
Merge commit '2d1b146abfdf05e8aebdc11738c84d2592b5c3dd'
2017-09-09 22:58:57 -05:00
d8a3cd5dfb
Add operator< for DirectoryListing
2017-07-28 01:44:18 -05:00
afe2148a17
Fix mkdir not to overwrite an existing dir
2017-07-02 00:42:48 -05:00
b63b9ffef2
Merge commit 'feb7e4c18450cf6f0b428ffbc1892fd805aa2a7e'
2017-07-01 02:31:26 -05:00
ca7a1624b5
Fix delete/new[] mismatch
2017-07-01 01:31:09 -05:00
6aab7bf2f2
Fix m_store delete to use delete[]
2017-05-20 03:57:17 -05:00
9d28d20858
Change auto expand to own buff attribute in OxFS
2017-05-19 20:14:51 -05:00
fea0a2e1c3
Make auto expand loop if necessary
2017-05-19 16:37:07 -05:00
8e17515b27
Fix auto expand condition
2017-05-19 16:36:03 -05:00
e195c10d6d
Add auto expand to OxFS
2017-05-19 16:31:29 -05:00
ee3b15d885
Switch from .liccor to .liccor.yml
2017-05-17 17:29:28 -05:00
9a920c5a99
Add missing error reporting to file system ls
2017-05-13 23:19:17 -05:00
cafc6b7422
Remove unnecessary ls from FileSystemTemplate
2017-05-13 23:14:21 -05:00
12d3513a50
Fix readDirectory use the right type of directory
2017-05-12 16:26:59 -05:00
00810e9341
Add default constructor for DirectoryListing
2017-05-12 02:34:11 -05:00
89a6196b04
Merge commit 'f92c8ab577b28e108464f9b04eaa529fe0add452'
2017-05-12 00:26:58 -05:00
c971969a73
Fix FS read by type to read byte by byte
2017-05-09 11:48:58 -05:00
bb5939a663
Merge commit 'b1e548b96a0a7fbe37ca269ca56fc97444acb2f1' as 'deps/ox'
2017-05-09 01:06:23 -05:00
8778ce8764
Remove existing ox subtree
2017-05-09 00:59:37 -05:00
325259da28
Remove unnecessary memset from FileStore
2017-05-08 00:05:19 -05:00
c4da8394d2
Make file system type read byte by byte
...
The GBA (and other platforms?) seems to have possible alignment issues
with reading from ROM when it's not byte by byte.
2017-05-07 21:26:22 -05:00
56fb5595f9
Pull in Ox as git subtree
2017-05-06 12:09:42 -05:00