791c076b51
[ox/fs] Strip leading slashes in PassThroughFS paths
2019-01-15 22:01:30 -06:00
ec6326001d
[ox/std] Fix ox_malloca to work outside ox namespace
2019-01-15 17:39:33 -06:00
59ee1ada56
[ox/fs] Add PassthroughFS
2019-01-11 19:39:20 -06:00
55119253da
[ox/fs] Make format method static
2018-12-29 22:29:03 -06:00
713aa7380f
[ox/fs] Remove old file system code
2018-10-29 22:56:01 -05:00
fdc227cb72
[ox/fs] Fix log channel
2018-10-21 15:29:33 -05:00
77c88515b2
[ox] Make cmake directory structure more consistent with project
2018-10-21 07:21:25 -05:00
f21cb465e6
[ox] Add gdblogger integration
2018-10-21 07:20:49 -05:00
4b70330710
[ox/fs] Fix Directory::mkdir
2018-10-21 07:19:40 -05:00
0ba964a475
[ox/std] Make asserts generate stack traces
2018-09-02 21:11:39 -05:00
72b9437ef5
[ox/fs] Add extra checks to FileSystem test
2018-09-02 10:20:01 -05:00
1770c8a1e2
[ox/fs] Remove abstract FileStore class
2018-09-01 23:52:43 -05:00
6648d941c9
[ox/trace] Add delimiter setter to trace handlers
2018-09-01 21:52:26 -05:00
cbfd9566d1
[ox/fs] Fix FileSystemTemplate::write to create Directory path index
2018-09-01 16:28:36 -05:00
0c6a557878
[ox/fs] Make Directory type a type parameter in FileSystemTemplate
2018-09-01 15:52:59 -05:00
6a82e96db7
[ox] Add vscode files
2018-09-01 15:11:37 -05:00
e4e8f141b6
[ox/fs] Fix -p write
2018-09-01 01:56:20 -05:00
9472043d80
[ox/fs] Remove completely pointless uses of ox_malloca
2018-09-01 01:17:12 -05:00
e918f2e60e
[ox/std] Cleanup MallocaPtr on heap determination
2018-09-01 00:37:53 -05:00
32e2878fb1
[ox/std] Fix errCode extraction incorrect bit shift
2018-08-19 00:06:37 -05:00
338199be12
[ox/std] Further constexpr OxError
2018-08-19 00:02:13 -05:00
f12de38211
[ox/std] Fix oxReturnError to not re-originate the Error
2018-08-18 23:57:59 -05:00
a1b8de0cb0
[ox/fs] Add recursive check on directory remove
2018-08-18 23:49:29 -05:00
40f8af85a8
[ox/fs] Fill out new FileSystem method stubs
2018-08-18 23:41:31 -05:00
3d3ea32357
[ox/fs] Remove erroneous error case
2018-07-31 21:59:58 -05:00
2e19e297d9
[ox/trace] Add environment variable to enable logging
2018-07-30 22:12:20 -05:00
324e28e5f2
[ox/fs] Update FileStore interface
2018-07-30 21:35:36 -05:00
c8ff73b56e
[ox/fs] Add template instantiations for FileSystemTemplate
2018-07-30 21:34:40 -05:00
61f77767bf
[ox/fs] Add more logging to mkdir test
2018-07-30 21:32:36 -05:00
d97247ffe0
[ox/fs] Fix initial root dir inode
2018-07-30 21:28:16 -05:00
b3bac826f1
[ox/fs] Add missing error and recursion termination checking to Directory::mkdir
2018-07-30 21:12:42 -05:00
71af674eef
[ox/fs] Fix inode generation check to check for outside the reserved range
2018-07-30 21:05:36 -05:00
00339ee4fd
[ox/fs] Fix PathIterator::valid to check iterator against max size
2018-07-30 21:01:07 -05:00
de2e1bd1d6
[ox/std] Fix onMask's default bits value to use the number of bits instead of bytes
2018-07-08 01:40:53 -05:00
7b9c7ddde4
[ox/std] Change how alloca determines which implementation to use
2018-07-07 14:37:57 -05:00
d28f727742
[ox/std] Add oxReturnError
2018-07-07 14:37:31 -05:00
87b580a72a
[ox/std] Add MaxValue constexpr template
2018-07-07 14:36:27 -05:00
86b36b48a3
[ox/trace] Cleanup oxLogError's output
2018-07-07 14:34:36 -05:00
35df47eaf8
[ox/buffer] Add new log messages to NodeBuffer
2018-07-07 14:33:16 -05:00
c35f7abc5b
[ox/fs] Add fullPath method to PathIterator
2018-07-07 14:27:17 -05:00
e1494f4ed0
[ox/trace] Fix error logging to not log chars as ints
2018-07-06 22:51:19 -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
956415a6a2
[ox/std] Fix MallocaPtr's move constructor to null out other's m_val
2018-05-31 22:38:36 -05:00
8e7fb4394b
[ox/std] Fix packed errors
2018-05-28 20:07:23 -05:00
0da80081f3
[ox/std] Add optional file/line information to ox::Error
2018-05-26 10:20:06 -05:00
2b6ffa3c3f
[ox/std] Make assert prints more noticable
2018-05-17 23:26:34 -05:00
a0e336712f
[ox/trace] Add column structure to stdout trace messages
2018-05-17 23:12:19 -05:00
0b86f437f0
[ox/std] Make MallocaPtr::operator= delete the old value
2018-05-11 18:27:39 -05:00
99b77e868d
[ox/buffer] Remove and and or keywords
2018-05-06 09:53:06 -05:00
610f6f4246
[ox] Fix to build with MinGW
2018-05-05 02:34:55 -05:00
1e82dacd6d
[ox/std] Fix new.hpp to correctly look for includes under MinGW
2018-05-04 01:15:37 -05:00
423f575386
[ox/fs] Cleanup
2018-05-04 00:21:50 -05:00
6eec25e4c0
[ox/std] Add ox_strncpy and ox_strnlen
2018-05-04 00:16:24 -05:00
1c16ef2601
[ox/std] Remove copy constructor and operator from MallocaPtr
2018-05-03 23:27:15 -05:00
78a819b360
[ox/trace] Remove use of ::size_t
2018-05-03 01:41:47 -05:00
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