Commit Graph

744 Commits

Author SHA1 Message Date
4276135e65 [ox/clargs] Add default argument option for ClArgs::getString 2020-12-21 23:35:09 -06:00
9c8dc09996 [ox/std] Fix ox::assertFunc<bool> for GBA 2020-12-15 23:54:32 -06:00
f35b6f0026 [ox] Set CMP0110 to NEW, this which allows spaces in test names 2020-11-21 23:24:09 -06:00
04c660765e [ox/std] Make placement new function constexpr 2020-11-21 23:23:47 -06:00
a5e518ec7a [ox/std] Make Vector::size() nodiscard 2020-11-21 23:21:11 -06:00
40f3c4ecb5 [ox] Fix MSVC build 2020-11-07 17:59:17 -06:00
985b2b57ba [ox/std] Replace reinterpret_cast with bit_cast in Vector 2020-10-20 19:34:55 -05:00
84dfb17f7f [ox/std] Remove inappropriate noexcepts and call destructors on erase and resize 2020-10-20 19:22:30 -05:00
81a78bf95e [ox/std] Fix Error to build in Clang 2020-10-20 19:11:06 -05:00
79acffcc29 [ox/std] Add memsetElements 2020-10-19 19:43:20 -05:00
b6c82c42f0 [ox/std] Replace ox::_error with ox::Error constructor 2020-10-16 20:07:07 -05:00
fe40b2e144 [ox] Cleanup unnecessary ox:: 2020-10-16 19:56:13 -05:00
6b720042d0 [ox] Rename ValErr to Result 2020-10-16 19:43:10 -05:00
0b3b54b3fd [ox] Remove remaining nodiscards from Error functions 2020-10-16 00:07:43 -05:00
75814a2896 [ox] Remove now superfluous [[nodiscards]] from ox::Error functions 2020-10-15 23:55:20 -05:00
b1d94782db [ox/std] Add Error's m_i to copy operator and constructor 2020-10-12 21:00:01 -05:00
a725369311 [ox] Make Error its own type, not dependent on Integer and make nodiscard 2020-10-11 19:04:00 -05:00
5cd7f0cecf [QDark] Make an Object library 2020-09-05 19:29:41 -05:00
26cbb6dc9c Merge commit 'a743ad9496701894406c0d7ded6a44fcecd4219e' as 'deps/QDark' 2020-09-05 19:26:53 -05:00
0b0fd151c8 [ox] Switch to vcpkg 2020-08-05 20:17:30 -05:00
579b328212 [ox/std] Cleanup 2020-07-28 19:11:10 -05:00
834ca2893b [ox/std] Fix oxPanic errCode parameter name 2020-07-14 22:13:54 -05:00
c6ff015f79 [ox/std] Add memset to memops.h 2020-07-14 22:13:09 -05:00
b32734d727 [gbastartup] Cleanup 2020-07-12 19:38:00 -05:00
7b7a8d75b4 [ox/std] Add OX_ALIGN8 2020-07-11 23:40:16 -05:00
740e0286d0 [ox/std] Add OX_ALIGN4 2020-07-11 22:24:37 -05:00
dbf532df1c [ox/mc] Replace an alloca call with malloca to prevent stack overflow 2020-06-20 03:54:16 -05:00
a9ec635160 [ox/std] Make String comparison operators const correct 2020-06-20 03:49:38 -05:00
257e857116 [ox/std] Add move operator to String 2020-06-20 02:58:32 -05:00
0035faa416 [ox/std] Make Vector::push_back use copy constructor instead of copy assign 2020-06-20 02:58:20 -05:00
5c34c26080 [ox/mc] Fix string allocation size 2020-06-20 02:55:25 -05:00
b6f8c9e242 [ox] Add HashMap<String, T> to serializaton handlers 2020-06-19 07:34:04 -05:00
9576f78abf [ox/model] Fix TypeDescWriter NameCatcher to have opType of WriteDefinition 2020-06-17 06:44:31 -05:00
7b07edd9e4 [ox/std] Rename is_signed to is_signed_v 2020-06-17 06:36:26 -05:00
a5b01bb0d7 [ox/fs] Cleanup 2020-06-17 01:53:35 -05:00
1c5fed05bf [ox/std] Make ox_strncmp a template 2020-06-17 01:52:28 -05:00
17762b40b7 [ox/oc] Fix write to ignore null objects passed in 2020-06-16 04:41:43 -05:00
4f4ec089fd [ox/model] Fix model descriptor writing to handle Vector, etc. 2020-06-16 04:40:43 -05:00
f58c658be1 [ox/fs] Make PassthroughFS mkdir pass mkdir -p on existing directory 2020-06-16 04:39:15 -05:00
e92e980fde [ox/std] Change toError(ox::ValErr<T>) to toError(const ox::ValErr<T>&) 2020-06-16 00:45:24 -05:00
71b6c72c46 [ox/model] Add opType method to TypeDescWriter 2020-06-16 00:23:03 -05:00
112c2c4212 [ox/fs] Change Claw type IDs to domain based namespaces 2020-06-15 23:16:34 -05:00
20f4d50ad6 [ox/std] Add missing includes to CMake install and std.hpp 2020-06-15 04:54:52 -05:00
880e6e49d6 [nostalgia/fs] Fix Directory to write back out as a Directory 2020-06-15 01:34:48 -05:00
4a221e52db [ox/claw] Add strip header function 2020-06-15 01:34:22 -05:00
c178a2273b [ox/std] Fix macOS build 2020-06-05 19:47:29 -05:00
4d806021d0 [ox/claw] Fix TypeInfoCatcher to fit model handler API 2020-05-29 20:24:09 -05:00
98a0c42040 [nostalgia/core/gba][ox/std] Move heap manager from NostalgiaCore to OxStd 2020-05-29 19:44:10 -05:00
2dad1688b5 [ox] Fix GBA build 2020-05-17 04:20:43 -05:00
b1a0fcbc57 [ox/claw] Add missing write.cpp 2020-05-16 22:47:51 -05:00
faaddd1234 [ox/claw] Fix TypeVersion writing 2020-05-16 22:35:54 -05:00
819959745d [ox] Fix Mac build and fix MC to increment field counter on empty string 2020-05-08 21:32:56 -05:00
f91874182e [ox/model] Add preloadable attribute to type descriptor 2020-05-08 01:32:36 -05:00
e2952ec8c1 [ox/claw] Add Claw 2020-05-06 20:38:39 -05:00
3ff4a59373 [ox/fs] Make FileAddress model use builtin union support 2020-04-16 23:34:08 -05:00
5265a94a80 [ox/oc] Add support for allocating for strings 2020-04-16 23:28:52 -05:00
b3fa531aa0 [ox/model] Add support to SerStr for allocating string 2020-04-16 22:44:50 -05:00
8753d39b66 [ox/std] Fix OxError for release builds and fix ox::Error assignment operator 2020-04-16 22:19:27 -05:00
ed0bf268ba [ox/fs] Add model definition for FileAddress 2020-04-15 21:02:35 -05:00
d0f5819072 [ox/oc] Add union support 2020-04-13 23:36:27 -05:00
d2e7528dae [ox/mc] Fix int reads not to clear out unions 2020-04-13 02:37:08 -05:00
1d07890668 [ox] Add support for unions to model and mc 2020-04-13 02:28:38 -05:00
5d95b188d8 [ox/model] Harmonize make the interface for walking over models 2020-04-09 22:57:03 -05:00
a4000f6497 [ox/std] Fix assert for !OX_USE_STDLIB 2020-04-08 23:30:14 -05:00
d2ec3b8350 [ox/fs] Remove explicit linking of C++ standard file system library 2020-04-07 22:04:23 -05:00
19422ced3e [ox/std] Add move constructor and set null terminator for String 2020-04-07 22:03:19 -05:00
540e67fcd8 [ox/std] Add support for messages in ox::Error 2020-04-07 22:02:07 -05:00
89854a584a [ox/oc] Add OrganicClaw 2020-04-07 22:00:14 -05:00
8b74920270 [ox/std] Fix implicit sign conversion 2020-04-05 19:48:47 -05:00
c99b60186d [ox/std] Fix Vector::expandCap not to delete old array an not new one 2020-03-31 21:42:47 -05:00
680881003c [ox/mc] Fix false positive buffer overflow check when string is last item in MC buffer 2020-03-31 20:40:29 -05:00
d7b5f51fdc [ox/mc] Prevent reading array length of absent array 2020-03-30 23:59:01 -05:00
4011773374 [ox/std] Add insert method to Vector 2020-03-29 13:32:17 -05:00
aa1b5fa4cf [ox/std] Add missing declaration for String::String(const String&) 2020-03-19 01:56:44 -05:00
4273e72e74 [ox/std] Add copy constructor to String 2020-03-16 00:12:09 -05:00
e0a2676d54 [ox/std] Add String::operator=(const String&) 2020-03-15 14:31:43 -05:00
1313b562bd [ox] Remove bstring.hpp include from string.hpp 2020-03-15 14:29:18 -05:00
f7bdd5042d [ox/std] Add String::operator+ methods 2020-03-15 02:17:11 -05:00
412b187c4f [ox/std] Add bstring.hpp to install 2020-03-15 01:20:28 -05:00
38acb5dfc3 [nostalgia/std] Add String as alternative to BString, which uses heap allocations 2020-03-14 16:33:08 -05:00
4571a95a06 [ox] Fix OxConfig to include Model library 2020-02-16 14:08:28 -06:00
da3c9107db [ox/std] Fix type in hardware detection 2020-02-16 02:03:28 -06:00
74e6a4cbff [ox/std] Fix oxPanic parameter order 2020-02-16 01:43:54 -06:00
36b6542bf3 [ox/std] Fix hardware detection to work in MSVC 2020-02-15 12:24:43 -06:00
c2b4595c33 [ox/std] Make unrecognized hardware trigger compile error 2020-02-12 22:13:34 -06:00
c5f0825edb [ox/mc] Fix signed/unsigned comparison in field bitmap 2020-02-12 22:04:35 -06:00
517551348a [ox/fs] Fix GCC/Clang incompatibility 2020-02-12 22:04:35 -06:00
4cbf1b9a9a [ox] Get building in MSVC 2020-02-12 22:04:35 -06:00
a66f1499a4 [nostalgia/core/gba] Move cstartup.cpp back to gbastartup 2020-02-12 01:56:43 -06:00
9d4d3cd331 [nostalgia/core/gba] Move cstartup.cpp to NostalgiaCore-GBA 2020-02-11 21:45:48 -06:00
553cde0d0c [ox/fs] Replace uint8_t with char for buffers 2020-02-11 21:42:09 -06:00
ea14ccac3a [ox/std] Leave panic unimplemented when C++ stdlib is absent 2020-02-11 21:10:36 -06:00
e59499b127 [ox/std] Fix oxIgnoreError to not completely ignore the statement it encompases 2020-02-11 00:07:37 -06:00
e927c51b61 [ox/fs] Give FileSystem ability to cleanup FS buffer 2020-02-01 00:11:59 -06:00
dd008c3a08 [ox/std] Remove constexpr from ox::bit_cast 2020-01-31 23:53:55 -06:00
878c944ebf [ox/std] Add bit_cast 2020-01-31 19:43:23 -06:00
d9b363330b [ox/std] Rename bitops.hpp to bit.hpp to mirror the new bit in C++20 2020-01-31 19:06:26 -06:00
c9f91c16c2 [ox/fs] Add exception handling to PassthroughFS for fstream usage 2020-01-25 15:18:08 -06:00
52026ba1a3 [ox/fs] Add oxPanic and remove ErrorInfo 2020-01-25 00:04:47 -06:00
c214f3334a [ox] Remove gdblogger 2020-01-24 23:33:57 -06:00
02c8fb1880 [ox] Remove .gdbinit 2020-01-24 23:27:28 -06:00
8037bc9535 [ox/fs] Remove unnecessary PassthroughFS fstream close 2020-01-24 22:48:05 -06:00
f59ad72ca2 [gbastartup] Make c_start return main(...) 2020-01-12 21:18:21 -06:00
03fc6280c9 [gbastartup] Add main parameters for GBA build 2020-01-12 20:45:20 -06:00
84ee494834 [ox/fs] Make PassthroughFS presence define more export freindly 2020-01-12 20:43:39 -06:00
3afaa0fc85 [ox/fs] Cleanup 2019-12-31 20:08:50 -06:00
4b832dd3d7 [ox/fs] Change PassThroughFS to use fstream instead of C file IO for compatibility reasons 2019-12-22 00:30:08 -06:00
9187bcf62b [ox/std] Fix __has_include logic 2019-12-19 23:43:33 -06:00
8c576ef9c5 [ox] Replace __attribute__((packed)) with OX_PACKED 2019-12-19 23:38:17 -06:00
1d600186cd [ox/fs] Cleanup, Fix FileLocation to make copy of non-const strings 2019-11-26 23:18:38 -06:00
147a37ac6e [ox/std] Cleanup 2019-11-26 23:18:19 -06:00
5dc74e6fd7 [ox/std] Fix constexpr-ness of ox_memset 2019-11-09 01:24:15 -06:00
2f45cbe6d9 [gbastartup] Cleanup 2019-11-09 00:36:26 -06:00
e470a1da09 [ox/std] Add ox_inhibit_loop_to_libcall for memset and memcpy 2019-11-09 00:06:05 -06:00
ddb158e433 [ox/fs] Fix Directory allocating too much space 2019-11-07 00:34:07 -06:00
d033335350 [ox/ptrarith] Make NodeBuffer clear all memory before using it 2019-11-07 00:33:34 -06:00
3cc6ca215e [ox/fs] Fix Directory to allocate enough space for new entry 2019-11-04 18:30:17 -06:00
0d0ebc8437 [deps] Add GbaStartup library from devkitPro as dependency 2019-11-03 23:25:25 -06:00
deaa293c67 [ox/fs] Fix problems with creating and reading directories 2019-11-03 16:44:57 -06:00
c30ef720c4 [ox/ptrarith] Fix Ptr type's derefernce operator 2019-11-03 16:44:22 -06:00
693e7324ed [ox/mc] Fix buffer overrun issues 2019-11-03 16:42:42 -06:00
7699ae2294 [ox/fs] Remove bad TODO 2019-11-01 18:01:09 -05:00
0825c9869a [ox/mc] Add support for individual element readers for arrays 2019-11-01 01:28:29 -05:00
9da47f75c0 [ox/fs] Add support for direct access to FS memory 2019-11-01 01:28:04 -05:00
3a0b41d2cc [ox/fs] Remove debug line 2019-10-31 00:16:09 -05:00
7f5f74e2a6 [ox/fs] Fix various file system bugs 2019-10-31 00:07:39 -05:00
fc337922ac [ox/std] Add missing null terminator to ox_strncpy 2019-10-31 00:06:11 -05:00
4f81c47734 [ox] Fix GBA compile errors 2019-10-28 00:40:56 -05:00
79a1a6f896 [ox/fs] Add modelWrite to FileAddress and add copy constructor and assignment 2019-10-27 16:22:37 -05:00
656039e011 [ox/std] Replace Error with a multi-field struct 2019-10-27 16:21:41 -05:00
4ca4c31539 [ox/mc] Fix read to resize Vectors before writing to them 2019-10-25 21:48:43 -05:00
fbdb48a1ee [ox/fs] Add modelWrite handler to FileAddress 2019-10-22 18:54:19 -05:00
54ac86fce7 [ox/fs] Add FileAddress support to FileSystem 2019-10-12 11:56:49 -05:00
ce7c416fb7 [ox/fs] Remove Boost FS usage 2019-10-09 18:59:52 -05:00
3c45558dfc [ox/std] Add bitwise not to strong int 2019-08-01 23:20:17 -05:00
6138d0a37e [ox] Fix GCC warnings 2019-07-31 00:06:47 -05:00
c27cc56e31 [ox] Make ValErr::operator T() explicit 2019-07-30 19:00:01 -05:00
2b536ff053 [ox/model] Fix storng int Error errors 2019-07-29 22:58:06 -05:00
ff4adaebf1 [ox/mc] Fix FieldPresenceIndicator to return correct value when overflow occurs 2019-07-29 22:55:17 -05:00
142387aa04 [ox/std] Improve ability to create unique int types, regardless of underlying type 2019-07-28 00:57:50 -05:00
f4b336dd77 [ox] Make Error use a strong int 2019-07-28 00:15:10 -05:00
3c86aae616 [ox/std] Fix several problems that arose when trying to use strong ints 2019-07-27 23:56:49 -05:00
6485a780a7 [ox/std] Add strongly typed integer wrapper 2019-07-26 21:32:42 -05:00
c87e92da71 [ox/ptrarith] Add nodiscard to Error return of NodeBuffer::compact 2019-07-25 20:05:00 -05:00
deaa1f13f5 [ox/fs] Add missing nodiscards on ox::Error returns 2019-07-25 19:53:14 -05:00
d53430abbc [ox/std] Give AllocAlias separate size option 2019-07-24 07:58:52 -05:00
2d2cd2bbb6 [ox/fs] Add Error return to FileStore compact 2019-07-20 18:46:52 -05:00
22378d0a9f [ox/std] Fix alignment of Vector elements 2019-07-19 22:11:01 -05:00
32d7c7b9e2 [ox/std] Fix syntax error in std::is_union_v 2019-07-19 22:10:32 -05:00
8fa5488d77 [ox/fs] Fix FileStoreTemplate::compact to skip first item and correctly find parent 2019-07-19 20:14:09 -05:00
31b75d1e50 [ox/ptrarith] Fix NodeBuffer::compact to iterate over items when item already in correct location 2019-07-19 19:53:50 -05:00
d55089b582 [ox/ptrarith] Fix NodeBuffer::compact to correclty update dest.prev 2019-07-18 20:31:51 -05:00
cb8f26046a [ox/fs] Cleanup Directory test 2019-07-17 21:36:03 -05:00
969af651d3 [ox/fs] Add error return to resize 2019-07-17 21:35:07 -05:00
fb4a768415 [ox/fs] Add better error handling to Directory 2019-07-17 21:31:12 -05:00
25c629f570 [ox/ptrarith] Expand tests 2019-07-17 21:25:33 -05:00
ea2bf8998b [ox/clargs] Link with OxStd 2019-07-17 21:17:10 -05:00
0efe94db45 [ox/fs] Fix extraneous alloc and update rootInode in compact 2019-07-17 20:43:14 -05:00
dc03e01cf8 [ox/ptrarith] Fix NodeBuffer::malloc to correctly update the old last's prev 2019-07-17 20:12:28 -05:00
ffce1dc4df [ox/std] Fix warning about unused private variable 2019-07-16 18:36:45 -05:00
02d92449f9 [ox/std] Add is_union_v and is_class_v 2019-07-15 18:15:14 -05:00
0b218f57c2 [ox/std] Fix Vector copy assignment to allocate as char* 2019-07-15 18:10:00 -05:00
16a09d6814 [ox/std] Make Vector only call constructor and destructor on valid items 2019-07-12 22:48:10 -05:00
806eaa229a [ox/std] Add log message for asserts 2019-07-08 23:18:54 -05:00
7b034be393 [ox/ptrarith] Add asserts to Ptr::operator T* 2019-07-08 23:13:30 -05:00
d4212abe3b [ox/fs] Fix PassthroughFS to pull in defines from header before check 2019-07-07 22:08:39 -05:00
ee9cdbe1e7 [ox/fs] Fix issues with PassthroughFS Boost port 2019-07-06 01:49:28 -05:00
845373e049 [ox/fs] Make macOS builds use Boost FileSystem 2019-07-06 00:09:42 -05:00
6493a5e10e [ox/ptrarith] Disable ptrarith tests when OX_RUN_TESTS is not set 2019-06-29 23:52:43 -05:00
41d6c7188c [ox] Remove -Wshadow, too pedantic 2019-06-28 23:56:17 -05:00
959807c08b [ox/model] Fix name shadowing 2019-06-26 23:47:10 -05:00
8730c6380c [ox] Add -Wshadow warning 2019-06-26 21:54:41 -05:00
472249cd6d [ox] Ensure all gdblogger messages always end with a new line 2019-06-26 20:45:48 -05:00
0c7f8c8b5e [ox/nodebuffer] Fix bounds checking in Ptr generation 2019-06-25 08:19:59 -05:00
3adf0df9c7 [ox/ptrarith] Fix NodeBuffer to properly handle removing only node 2019-06-25 00:39:49 -05:00
6571129686 [ox/fs] Add resize compactor 2019-06-22 17:23:24 -05:00
baff558ff2 [ox/fs] Enforce error handling in Directory 2019-06-22 11:52:55 -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
db04367579 [ox/fs] Cleanup hard-to-read code 2019-06-20 23:24:36 -05:00
c87eed730e [ox/fs] Fix Ox FS tests to run again 2019-06-20 23:24:03 -05:00
7b6b53b7d3 [ox/fs] Remove unused parents parameter from Director::write 2019-06-20 22:55:26 -05:00
a204aa8c48 [ox/fs] Move large test allocations to heap 2019-06-20 21:41:32 -05:00
8e82ba2f2e [ox/fs] Fix mkdir -p 2019-06-20 20:42:25 -05:00
ad85c59107 [ox] Fix CMake inconsistency that broke PC builds 2019-06-19 23:32:59 -05:00
5705fd3d00 [ox/std] Add OX_USE_STDLIB as exported definition on OxStd 2019-06-19 23:32:18 -05:00
6ace1e641c [ox/std] Add units.hpp to std.hpp and CMake install 2019-06-16 22:43:19 -05:00
5ceb0e5f83 [ox/std] Add memory unit consts (KB, MB, GB, TB) 2019-06-16 22:08:10 -05:00
5834201fbb [ox/std] Add ValErr support to oxReturnError 2019-06-16 19:00:47 -05:00
98d045827e [ox/std] Fix placement new declaration to use stdlib declaration if available 2019-06-16 01:04:57 -05:00
14a40bdcd6 [ox/std] Remove usage of stdlib from substitutes... 2019-06-16 00:53:21 -05:00
47ce0408d5 [ox/std] Add substitutes file with missing __cxa_pure_virtual handler 2019-06-15 23:24:58 -05:00
de210c5c7e [ox/fs] Cleanup 2019-06-15 12:16:11 -05:00
36d8aeabd3 [ox] Fix incorrect setting of build config when passed in from another CMakeLists.txt 2019-06-15 09:44:04 -05:00
30ff7be0e4 [ox] Make code only compile as PIC if a bare metal build 2019-06-15 02:39:46 -05:00
238bc58f66 [ox/std] Fix several issues found compiling on FreeBSD 2019-06-14 19:36:46 -05:00
2b60c04f1a [ox/std] Add gcc library as dependency when building with GCC 2019-06-14 18:19:43 -05:00
1bf3809b47 [ox] Merge branch 'master' of github.com:gtalent/nostalgia 2019-06-14 18:13:50 -05:00
22c9e4bdb2 [ox] Remove OC reference 2019-06-14 07:53:00 -05:00
11029c93c8 [ox/std] Add missing ARM7TDMI functions, some are just stubs for now 2019-06-14 07:50:38 -05:00
096509c2be [ox] Fix GCC errors 2019-06-06 18:50:06 -05:00
05c0eb2f78 [ox/fs] Add base path access to PassthroughFS 2019-03-30 17:13:56 -05:00
5dbe160633 [ox/std] Uglify OxError parameter name to prevent name conflicts 2019-03-30 17:13:03 -05:00
2830eb76b6 [ox] Fix setup_build script for GBA 2019-03-18 22:33:09 -05:00
f191ade18b [ox/mc] Make VLI encode/decode constexpr 2019-03-18 19:26:58 -05:00
b33cd06031 [ox] Get building with devkitARM again 2019-03-18 00:19:04 -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
245eba8d5b [ox/fs] Switch some FS test asserts to check for ox::Error instead of 0 2019-03-17 22:39:59 -05:00
07112682c6 [ox/ptrarith] Fix compact not to cycle back to start 2019-03-17 22:39:20 -05:00
7a2033da60 [ox/fs] Fix unnecessary FileStore compacting 2019-03-17 22:37:42 -05:00
c9d816503d [ox/std] Fix string number/char* append 2019-03-17 17:57:17 -05:00
52b9316858 [ox/std] Replace int with ox::Error where appropriate 2019-03-17 14:13:49 -05:00
d139eb9729 [ox/std] Move std::size_t delcaration to beginning of std/types.hpp 2019-03-17 13:21:04 -05:00
bbd1d187b2 [ox/model] Rename ioOp and op to model and field 2019-03-17 13:18:46 -05:00
bf6469b4a3 [ox] Rename Serialization package to Model 2019-03-17 13:04:18 -05:00
cf7ba595aa [ox/std] Cleanup 2019-03-17 03:05:00 -05:00
e0605edb6e [ox/mc] Use VLI encoding for integers 2019-03-17 03:04:39 -05:00
817e3fcef1 [ox/mc] Add bytes read to decodeInteger and fix overreading 2019-03-17 01:11:12 -05:00
df44abc316 [ox/mc] Add VLI decode 2019-03-17 00:04:00 -05:00
341dbf14ae [ox/mc] Fix VLI encoding not to chop off ends of >24 bit integers 2019-03-16 23:54:53 -05:00
1780657789 [ox/std] Add Siged and Unsiged templates 2019-03-16 15:50:37 -05:00
585ff0a1fe [ox/std] Add raw to byteswap type 2019-03-16 14:51:09 -05:00
9f805f761d [ox/std] Add noexcept to bitops functions 2019-03-16 14:50:32 -05:00
10b3757558 [ox/std] Add is_signed 2019-03-16 14:49:16 -05:00
e4aab88831 [ox/mc] Fix VLI encoding to handle negatives 2019-03-16 14:41:43 -05:00
a9b7b00011 [ox/ser] Fix to use Error instead of int 2019-03-16 14:39:50 -05:00
80dd6282f5 [ox/std] Add integer size templates 2019-03-16 14:28:11 -05:00
17fc48aa26 [ox/mc] Finish encoding for variable length integers 2019-03-15 01:30:38 -05:00
e31f51648c [ox/ser] Cleanup 2019-03-13 17:53:33 -05:00
538fcdb43c [ox/ser] Rename McStr to SerStr 2019-03-08 21:26:21 -06:00
4330c015a5 [ox/ser] Fix byte lengths of integer types 2019-03-08 00:21:33 -06:00
e45122184e [ox/mc] Rename FieldPresenceMask to FieldPresenceIndicator 2019-03-07 23:00:59 -06:00
f218ec44af [ox] Split generalizable portion MC into ser package 2019-03-07 21:47:46 -06:00
fa1cf8bb73 [ox] Prefix build setup targets with configure- 2019-03-07 18:04:57 -06:00
7ff3b59801 [ox] Change make target to all 2019-03-07 18:02:05 -06:00
cd91f6b60a [ox/mc] Add basic walking of data by data descriptor 2019-03-07 06:05:08 -06:00
8b7db3d544 [ox/fs] Remove designated initializer usage 2019-03-04 23:13:55 -06:00
c1fa5dc287 [ox/std] Remove mc usage from std 2019-03-04 22:39:38 -06:00
9f78e2320f [ox/std] Remove implicit signed/unsigned conversions 2019-03-04 21:22:35 -06:00
40dac704d0 [ox/mc] Replace int errors with Error 2019-03-04 21:16:30 -06:00
d51acfd033 [ox/std] Make ox_strlen return std::size 2019-03-04 20:15:53 -06:00
e10594b006 [ox] Enable new compiler warnings 2019-03-04 19:56:57 -06:00
0c570438e4 [ox/fs] Remove C99 designated initializer usage 2019-03-04 19:42:48 -06:00
9844416a4e [ox/std] Remove C-style casts 2019-03-04 19:42:22 -06:00
564ca7511c [ox/std] Add pop_back to Vector 2019-03-02 22:10:12 -06:00
21f5a34b75 [ox/mc] Fix build issues encountered when using MetalClawDefWriter 2019-02-28 23:12:20 -06:00
652b603ec6 [ox/fs] Fix FS to use stdc++fs when building with GNU 2019-02-28 23:10:50 -06:00
dc3fe3c18e [ox/std] Add maybe_unused to assert check in test to allow release builds 2019-02-25 21:50:52 -06:00
6ddd44828b [ox/std] Add != to BString 2019-02-25 21:46:54 -06:00
0ea44e5ead [ox/mc] Remove walk.cpp from CMake 2019-02-25 20:48:51 -06:00
def449607c [ox/mc] Add Walker 2019-02-24 23:57:31 -06:00
3facd25794 [ox] Remove redundant null check before delete 2019-02-24 23:52:14 -06:00
d3f78982e6 [ox/std] Remove incorrect noexcepts from HashMap 2019-02-24 23:49:14 -06:00
805244f796 [ox/std] Add nodiscard to bitops, byteswap, and strops 2019-02-24 09:36:04 -06:00
5a1d1c0a2f [ox] Move buildinfo and trace packages into std 2019-02-23 23:15:09 -06:00
57aa0d556c [ox] Remove VS Code directory 2019-02-23 11:52:44 -06:00
6b66127691 [ox/std] Add missing constexprs to BString methods 2019-02-14 05:15:53 +00:00
1c64096c38 [ox/mc] Add McStr to wrap C style strings to distinguish them from arrays 2019-02-13 02:42:33 +00:00
c7e9a95a3f [ox/mc] Fix DefWriter to properly detect when to write Types 2019-02-12 06:20:05 +00:00
c8f39af001 [ox/mc] Add Vector handler to Reader and Writer 2019-02-12 05:02:40 +00:00
5c51e17156 [ox/mc] Add Vector handler to DefWriter, add static_assert tests 2019-02-12 03:58:14 +00:00
1c6e40220b [ox/mc] Fix MetalClawDefWriter OpType 2019-02-11 06:51:01 +00:00
75aeedb7b5 [ox/mc] Add def writer 2019-02-11 05:59:33 +00:00
96c56e2589 [ox/std] Make BString constexpr 2019-02-10 07:52:22 +00:00
52536fcb97 [ox/std] Remove unused include from assert.hpp 2019-02-09 07:43:58 +00:00
1a2733f5ce [ox/mc] Fix MC test's incorrect reporting of number of fields 2019-02-09 07:39:55 +00:00
a0290c315a [ox/std] Add missing pragma once to HashMap header 2019-02-09 04:29:32 +00:00
9ca27361dc [ox/std] Add expand to HashMap 2019-02-03 01:13:35 -06:00
87e6b8d19f [ox/std] Add HashMap 2019-02-02 21:06:42 -06:00
e5c5c0da43 [ox] Add gdblogger 2019-01-15 22:32:54 -06:00
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