Commit Graph

599 Commits

Author SHA1 Message Date
2b579c58bb [ox/std] Add UniquePtr 2021-04-20 22:09:52 -05:00
a16b56325d [ox/std] Remove unnecessary template parameters from assert functions 2021-04-20 22:08:57 -05:00
161780cb91 [ox] General cleanup and updating to newer coding standards 2021-04-20 01:55:40 -05:00
c587bf0997 [ox/fs] Fix FileSystemTemplate::directAccess 2021-04-18 16:06:52 -05:00
659830fcdf [ox/model] Improve const correctness of SerStr and UnionView 2021-04-18 15:07:51 -05:00
16298d8672 [ox/std] Add const version of Result::get 2021-04-18 15:05:48 -05:00
72cec8e459 [ox/mc] Correct parameter naming 2021-04-18 15:05:00 -05:00
858ba9fe8d [ox/fs] Rename Result<const char*> FileSystem::read to directAccess 2021-04-18 15:03:45 -05:00
9d74c5b464 [ox/fs/ptrarith] Make everything in ptrarith noexcept 2021-04-18 14:33:06 -05:00
28dc5552d4 [ox/fs] Add FileSystem::ls(const String&) 2021-04-17 17:35:21 -05:00
9822a6ec47 [ox/mc] Cleanup field presence indicator code 2021-04-17 16:59:16 -05:00
69fb4acd24 [ox/std] Cleanup 2021-04-17 16:40:19 -05:00
39dc09e3d3 [ox/std] Add move operators to HashMap and cleanup noexcept correctness 2021-04-17 16:38:44 -05:00
394d13df9b [ox/mc] Make read take const buffers 2021-04-17 16:37:58 -05:00
772cc7d954 [ox/fs] Add new version of ls and make direct read return const 2021-04-17 16:36:39 -05:00
8f7504c1c8 [ox/std] Add String::endsWith 2021-04-17 16:35:14 -05:00
49fb4d0f0b [ox/oc] Remove redundant move in readOC 2021-04-17 14:06:15 -05:00
af9991c008 [ox/std] Make HashMap::at return Result<T&> instead of Result<T*> 2021-04-17 13:56:52 -05:00
c46ec57431 [ox/std] Make Vector erase methods return Errors 2021-04-17 12:44:27 -05:00
a22823e3b4 [ox] Cleanup some old style error handling 2021-04-17 11:33:33 -05:00
09383401e5 [ox/std] Make Vector::{front,back} return Result 2021-04-17 11:29:21 -05:00
6610b501b3 [ox/std] Add is_pointer and is_pointer_v 2021-04-17 10:56:24 -05:00
cd1db371eb [ox/std] Fix oxOut and oxErr to explicitly use OutStream over TraceStream 2021-04-17 01:02:36 -05:00
96f79757cf [ox/fs] Remove noexcept from ls and add it to FileSystemTemplate constructors and destructor 2021-04-17 00:51:05 -05:00
b7d24c998e [ox/fs] Cleanup PassThroughFS detection logic 2021-04-16 21:57:34 -05:00
0f99f7eb91 [ox/fs] Make all FileSystem methods noexcept 2021-04-16 21:52:16 -05:00
86a38c7197 [ox/std] Add support for explicity printing to stdout and stderr 2021-04-16 21:18:31 -05:00
db49361f8a [ox/std] Add support for appending single chars 2021-04-16 20:00:04 -05:00
e2d74de9c3 [ox/fs] Cleanup error handling 2021-04-16 19:55:25 -05:00
6a566ed35e [ox/std] Cleanup more unnecessary copies and add new variants of oxRequire 2021-04-16 19:53:02 -05:00
90d9a0a8b0 [ox/claw] Make read take a const char* instead of char* 2021-04-16 19:31:08 -05:00
caca376028 [ox/std] Add operator== to Vector 2021-04-15 23:34:56 -05:00
2dde9473d5 [ox/std] Remove redundant copies from Result constructors 2021-04-11 01:24:20 -05:00
b93d86be8e [gbabuildcore] Move GBA cmake files to gbabuildcore 2021-04-03 02:40:57 -05:00
6265c6dc3b [ox/std] Add compile definitions to TraceHook lib 2021-04-03 02:40:01 -05:00
61fb5207ea [ox/clargs] Make accessors noexcept 2021-04-01 21:59:04 -05:00
bcc4b5f816 [ox/std] Add oxRequireT for throwing instead of returning Errors 2021-04-01 21:58:03 -05:00
86f0e1ca08 [ox/std] Fix non-const HashMap::at 2021-04-01 21:57:26 -05:00
7bbd7bfdb5 [ox/std] Make HashMap::at return type consistent between const/non-const 2021-04-01 02:41:12 -05:00
291027e41e [ox/std] Replace HashMap::operator[] const with HashMap::at const 2021-04-01 02:32:50 -05:00
749e3155b5 [ox/clargs] Make arg reading methods const 2021-04-01 01:43:18 -05:00
b486a4962e [ox/std] Add const accessor to HashMap 2021-04-01 01:42:38 -05:00
35d7a4d828 [QDark] Make portable between Qt5 and Qt6 2021-03-30 21:25:41 -05:00
8d62aca8a7 [QDark] Upgrade to Qt6 2021-03-30 20:36:54 -05:00
c7cb2176ee [buildcore] Make conan properly use own profile 2021-03-28 00:41:34 -05:00
2ab6ef201e [buildcore] Switch to conan 2021-03-28 00:24:50 -05:00
6656320359 [ox] Switch back to conan 2021-03-28 00:15:15 -05:00
f22f7507a9 [ox/std] Fix OX_ARCH_ARM64 detection 2021-03-28 00:06:14 -05:00
2c09de230c [buildcore] Remove whole --target option from cmake --build command (for CMake 3.20) 2021-03-27 23:17:03 -05:00
77fbb95479 [buildcore] Make pybb cmake_build check to see if build directory exists 2021-03-27 22:56:13 -05:00
46d4e11e89 [nostalgia,buildcore] Move a lot of generic CMake stuff to BuildCore 2021-03-26 22:05:31 -05:00
b825e88d29 [ox/fs] Cleanup tests 2021-03-24 01:39:07 -05:00
b3dff0a184 [ox/claw] Cleanup tests 2021-03-24 01:29:35 -05:00
29a4bb920a [ox/std] Cleanup tests 2021-03-24 01:29:01 -05:00
9c08ab458a [ox/fs] Cleanup tests 2021-03-24 01:20:27 -05:00
85e7374446 [ox] Add package name to test output 2021-03-24 00:46:03 -05:00
40f2537c05 [ox] Move ptrarith into fs 2021-03-24 00:44:11 -05:00
fb7b582348 [ox/std] Add moveTo method to Result 2021-03-20 15:32:13 -05:00
351ae69f6f [ox/std] Add oxInfo log event type 2021-03-19 20:52:44 -05:00
3ca9db5e8a [ox/std] Add oxError and oxErrorf 2021-03-18 01:26:05 -05:00
e6d271295f [ox/std] Add oxRequire 2021-03-16 21:15:05 -05:00
763955a9bb [gbastartup] Cleanup, make an object lib, and make dependency public 2021-03-15 22:03:35 -05:00
84705e304f [ox] Make OX_NODEBUG a normal variable set in main CMakeLists.txt 2021-03-12 01:39:02 -06:00
582cbf2041 [ox/std] Make oxDebug trigger build failure if OX_NODEBUG is set to ON 2021-03-12 01:30:42 -06:00
75a2b8f489 [ox/std] Add option to give oxTrace a msg arg 2021-03-11 21:23:59 -06:00
523e0f8f71 [buildcore] Make Xcode builds not marked as current active build 2021-03-11 21:22:48 -06:00
2f95c0aecc [ox/std] Addressing CLion suggestions 2021-03-11 21:19:55 -06:00
07c5ed07ef [ox/std] Make use ##__VA_ARGS__ only non OX_USE_STDLIB builds, which are GCC builds 2021-03-11 20:04:34 -06:00
84a9a9d2fd [ox/std] Fix Mac build 2021-03-11 18:46:48 -06:00
cb6066f81e [ox/std] Add oxDebug and oxDebugf, which are oxTrace aliases for debug channel 2021-03-11 00:35:10 -06:00
2ebce7713d [ox] Cleanup some messy trace points 2021-03-10 20:17:45 -06:00
55a4f2451e [ox/std] Add oxTracef 2021-03-10 20:14:31 -06:00
ef6673067b [ox/std] Make Error constructor explicit 2021-03-10 20:14:15 -06:00
01f29c5258 [ox/std] Fix itoa to handle unsigned ints without conversion warnings 2021-03-09 19:36:04 -06:00
e583cade27 [ox/std] Add ResizedInt to get the same sign int with a different size 2021-03-09 19:35:02 -06:00
662c2e11de [ox/std] Add init hook to tracing system 2021-03-08 20:10:46 -06:00
51387eea3a [buildcore] Add license 2021-03-05 21:48:10 -06:00
bcb8c108b2 [ox/std] Add option for building trace hook in shared library 2021-03-05 21:45:37 -06:00
c5773202b5 [ox/std] Make ox_atoi return an ox::Result 2021-03-03 00:30:16 -06:00
2e8d0a421c [ox/std] Cleanup 2021-03-02 23:45:42 -06:00
d7c1d2a6ab [ox/mc] Cleanup 2021-03-02 23:39:44 -06:00
dde4fb017e [ox/claw] Make Claw build in GBA builds, only without OC 2021-03-02 23:38:43 -06:00
5d5917566f [ox/clargs] Make OxClArgs pull in OxStd 2021-03-02 21:47:02 -06:00
f5f8593638 [ox/clargs] Make clargs build in bare metal builds 2021-03-02 21:41:45 -06:00
cb0645860a [buildcore] Add copyright headers and license 2021-03-02 21:35:42 -06:00
e52ac1f78c [nostalgia][buildcore] Put vcpkg pkgs in variable 2021-03-02 21:32:00 -06:00
ca4b9f7bdc [buildcore] Make pybb executable 2021-03-02 21:20:02 -06:00
896702a66b [nostalgia][buildcore] Move setup-bulid and pybb to buildcore 2021-03-02 21:16:07 -06:00
d4e3af1464 [ox/std] Cleanup OS constexpr/define order in defines 2021-03-02 21:05:07 -06:00
36de17bc2d [nostalgia][buildcore] Remove Nostalgia specific args from setup-build.py 2021-03-02 21:02:16 -06:00
eca8641bec [ox/clargs] Remove std::map and std::string as dependencies 2021-03-02 20:35:14 -06:00
8cd5ff66be [nostalgia][buildcore] Break much of Makefile out into new buildcore to make it reusable 2021-03-02 19:44:10 -06:00
7b6fad8062 [ox/std] Fix Darwin OS detection 2021-02-28 14:31:32 -06:00
70168286ab [ox] Address CLion warnings 2021-02-27 02:38:18 -06:00
9a92dadff7 [ox/std] Remove implicit type conversion from ox_itoa 2021-02-22 22:23:10 -06:00
4e70b459f6 [ox/model] Removes some unnecessary type conversions 2021-02-22 22:21:57 -06:00
034cb97a42 [ox/mc] Removes some unnecessary type conversions 2021-02-22 22:21:07 -06:00
60714d3009 [ox/oc] Cleanup ON check to work as a boolean check 2021-02-22 22:19:16 -06:00
a5194fd972 [ox/claw] Make CMake dependencies PUBLIC 2021-02-22 22:18:13 -06:00
a2aa9c8f82 [ox] Fix OX_USE_STDLIB check to work correctly on Windows 2021-02-22 22:01:16 -06:00