Commit Graph

1088 Commits

Author SHA1 Message Date
395e262e3e [ox/mc] Add writer fieldString function 2022-02-03 00:38:28 -06:00
78942ce21d [ox/std] Add ox::clamp 2022-02-03 00:22:37 -06:00
1aebe93c52 [ox/std] Replace std::cerr with oxErrf 2022-02-02 01:48:04 -06:00
ac9cd26367 [ox/std] Make oxAssert sort of usable in constexpr 2022-02-01 21:20:13 -06:00
180cac5cc6 [ox/std] Add std::is_constant_evaluated() 2022-02-01 20:06:10 -06:00
35433563c6 [nostalgia] Upgrade ImGui version to 1.86 2022-01-30 02:27:26 -06:00
99550b60ee [ox/std] Move most macros to def.hpp in anticipation of C++20 modules 2022-01-28 19:57:19 -06:00
f10373864d [ox/fs] Fix duplication of dir entries on update of file 2022-01-28 19:44:20 -06:00
2be5b0f6bc [ox] Add a new oxfs tool 2022-01-28 02:07:42 -06:00
df782129bb [ox/mc] Fix string support in MC and add support for ox::BasicString 2022-01-27 20:58:33 -06:00
ff76d2f453 [ox/std] Make HashMap::expand move new Pair Vector instead of copy 2022-01-27 01:47:35 -06:00
81f2865fcc [ox/std] Move bit.hpp static_asserts to cpp file 2022-01-26 21:14:32 -06:00
2d429d30a3 [ox/std] Add print of assert condition to assert output 2022-01-26 21:14:11 -06:00
4a9b0e5dc3 [ox/std] Change default small Vector size to 0 2022-01-26 01:43:26 -06:00
fcc4cf3308 [ox/model] Add macros to simplify model definition 2022-01-26 01:36:29 -06:00
f687134943 [ox/fs] Improve const-correctness of FileSystem 2022-01-26 01:27:31 -06:00
9ee6cfbbfd [ox] Run liccor 2022-01-13 02:05:02 -06:00
fe5fe179f2 [ox/sd] Remove ox::move 2021-12-17 21:02:50 -06:00
56b4612487 [buildcore] Fix conan to work in Docker devenv 2021-12-17 20:55:15 -06:00
5ed806f4c0 [ox/std] Make sfmt usable as constexpr 2021-12-11 19:16:29 -06:00
163fcf1785 [ox] Remove std::move calls that suppressed copy elision 2021-12-11 19:16:29 -06:00
37664ede05 [ox/std] Deprecate ox::move 2021-12-11 19:16:29 -06:00
7aead742eb [ox/model] Add requireModelTypeName 2021-12-11 19:16:29 -06:00
596c0718e1 [gbastartup] Fix incorrect bit_cast usages 2021-12-11 19:16:29 -06:00
97bf81ba23 [ox/model] Add string type template parameter to getModelTypeName 2021-12-11 19:16:29 -06:00
2c8f4cec2c [ox/std] Enable small string optimization by default 2021-12-11 19:16:29 -06:00
457b97afba [ox/std] Remove iostream include from vector.hpp 2021-12-11 19:16:29 -06:00
a94051644b [ox/std] Make Vector::erase return iterator item after removed item 2021-12-11 19:16:29 -06:00
1f24912ddd [ox] Correct bad bit_cast uses and improve constexpr-ness 2021-12-11 19:16:29 -06:00
22f08f83c5 [ox/std] Rename Vector alloc and dealloc methods 2021-12-11 19:16:29 -06:00
46fe5c3b8f [ox/std] Add char8_t* constructor to String 2021-12-11 19:16:29 -06:00
15947d2fa9 [ox/std] Make toCString(std::string) constexpr 2021-12-11 19:16:29 -06:00
84da41ffc9 [ox/std] Make BString::operator== const 2021-12-11 19:16:29 -06:00
6bee2d12d7 [ox/std] Add std::allocator 2021-12-11 19:16:29 -06:00
2bcea545f5 [ox/std] Make most of Optional constexpr 2021-12-11 19:16:29 -06:00
9a8bb557a6 [ox/std] Make most of Vector constexpr 2021-12-11 19:16:29 -06:00
263ed4f7e7 [ox/std] Make Vector use std::allocator 2021-12-11 19:16:29 -06:00
380dd1cd76 [ox/std] Set default small string size of 8 bytes 2021-12-11 19:16:29 -06:00
15111078de [buildcore] Upgrade to C++20 and fix conan setup to use project specific profile 2021-12-11 19:16:29 -06:00
f61efbafaf [ox] Fix for C++20 2021-12-11 19:16:29 -06:00
e3a48d0045 [ox/std] Add ox::find(...) and HashMap::erase(K) 2021-12-11 19:16:29 -06:00
a3dd2b59cc [imgui] Make imgui-glfw an object library 2021-12-11 19:16:29 -06:00
708d7382d8 [ox/std] Cleanup stacktrace code 2021-12-11 19:16:29 -06:00
ceb876b6ae [ox/model] Add typenamecatcher.hpp to model.hpp 2021-12-11 19:16:29 -06:00
0133ea30dc [ox/std] Fix UniquePtr reset to work when copying from a UniquePtr to subclass type 2021-12-11 19:16:29 -06:00
31dcd0d280 [ox/std] Add missing pragma once to initializerlist.hpp 2021-12-11 19:16:29 -06:00
a14eb5a0bc [ox/std] Make HashMap use default constructor for T 2021-12-11 19:16:29 -06:00
fa06821d90 [ox/std] Add Optional 2021-12-11 19:16:29 -06:00
51f3c01c4e [ox/claw] Fix CMake generator expression OX_USE_STDLIB switch 2021-12-11 19:16:29 -06:00
9394db44b1 [buildcore] Add type annotations to pybb 2021-12-11 19:16:29 -06:00
5e85f18b60 [ox/claw] Add readClawHeader to public API 2021-12-11 19:16:29 -06:00
5f7bb2e1ae [ox/std] Make oxIgnoreError take const ref 2021-12-11 19:16:29 -06:00
e2b9823ae2 [ox/std] Fix Vector reverse iterators 2021-12-11 19:16:29 -06:00
8a6f08ae73 [ox/std] Update strops nodiscard use to match current style 2021-12-11 19:16:29 -06:00
4bc3da40b4 [ox][std] Fix UniquePtr to use provided deleter 2021-12-11 19:16:29 -06:00
c6f0c58a46 [QDark] Remove QDark 2021-12-11 19:16:29 -06:00
6074cf7cd6 [gbastartup] Fix __init_array_start calls 2021-10-23 14:10:58 -05:00
160ef61520 [ox/std] Add implementation of what() to ox::Exception 2021-10-14 19:21:59 -05:00
853f8c25ea [ox/std] Add begin and end methods to BasicString 2021-10-14 19:21:59 -05:00
38596ac941 [ox/event] Move isError into namepsace detail 2021-08-03 00:21:05 -05:00
8f6897225a [ox/std] Fix ptrdiff_t header location 2021-08-02 21:47:45 -05:00
e7bf3d5413 [ox/event] Fix build error in exception variant of Signal 2021-08-02 21:23:19 -05:00
ad0d5c8caf [ox/event] Add variant of Signal that uses exceptions 2021-08-02 21:23:19 -05:00
b61f7a95ad [ox/std] Specify std::bit_cast in Vector 2021-08-02 21:23:19 -05:00
90b2e7a43c [ox/std] Fix another inappropriate assign with constructor 2021-08-02 21:23:19 -05:00
8480eeba0c [ox/oc] Resize vectors before writing to them 2021-08-02 21:23:19 -05:00
313b35f605 [ox/std] Fix problems with Vector using operator= where constructors should be used 2021-08-02 21:23:19 -05:00
d8a0a5f50d [ox/std] Remove preprocessor condition for Vector(initializer_list) constructor implementation 2021-07-30 20:10:20 -05:00
68f829ff2d [ox/std] Improve Vector::iterator to better conform to std::vector::iterator 2021-07-30 20:10:20 -05:00
6165f63d09 [buildcore] Add test-rerun-verbose target 2021-07-30 20:10:20 -05:00
3e3cfcaf7d [buildcore] Add test-verbose target 2021-07-30 20:10:20 -05:00
77bc18129b [ox/oc] Remove setTypeInfo invocation from OC write 2021-07-29 23:33:09 -05:00
d8a13a0933 [ox/{mc,oc}] Fix problems caused by making methods const 2021-07-29 23:25:45 -05:00
11873bc3ed [ox/std] Add implementation of initializer_list 2021-07-29 23:25:43 -05:00
f53b8e38dc [ox/std] Make fmt version of logError 2021-07-29 23:25:42 -05:00
5d5198bf4c [ox/std] Make logError inline 2021-07-29 23:25:40 -05:00
cc5cc01e70 [ox/model] Make field counting automatic 2021-07-29 23:25:39 -05:00
55f14eb548 [ox/{mc,oc}] Improve noexcept correctness 2021-07-29 23:25:38 -05:00
24ca5623e8 [ox/std] Add initializer_list constructor to Vector 2021-07-29 23:25:38 -05:00
99d342b8b3 [buildcore] Remove duplicate defines and add extra detection for Python 3 2021-07-29 23:25:36 -05:00
5b9e1928d9 [ox/std] Fix oxDefer macro to work outside ox namespace 2021-07-29 23:25:35 -05:00
2e9b7fe871 [ox] Remove need for explicit fields count in model system, add ox::String handler to OC 2021-07-29 23:25:35 -05:00
9418f54ebc [ox/std] Add support for proper std::bit_cast with C++20 enabled 2021-07-29 23:25:35 -05:00
bd0b8e4ee9 [ox/std] Fix copy/move elision in sfmt 2021-07-29 23:25:35 -05:00
7ea0654af6 [ox/std] Add proper forward function 2021-07-23 21:44:11 -05:00
78d444c2e5 [ox/std] Add comparison operators to String 2021-07-23 21:44:10 -05:00
39b1292b91 [ox/std] Add version of OutStream that takes String 2021-07-23 21:44:10 -05:00
0aad2913ea [ox/oc] Fix typo 2021-07-23 21:44:09 -05:00
b6b9837bbf [ox/std] Fix Vector::emplace_back and make_unique to properly forward arguments 2021-07-23 21:44:09 -05:00
2d3602fd05 [ox/event] Cleanup 2021-07-18 16:14:44 -05:00
3a2acae093 [ox/std] Add BasicString::substr(begin, end) 2021-07-18 16:14:44 -05:00
eb39c6aaf0 [ox/std] Add ox::Exception 2021-07-17 12:23:36 -05:00
5c28cef726 [ox/std] Make oxErr not automatically print new line to stderr 2021-07-17 01:26:05 -05:00
950712b85e [ox/event] Add Event package 2021-07-16 20:50:29 -05:00
b27d6671fc [buildcore] Replace gmake < file with pybb cat 2021-07-09 19:29:45 -05:00
fcff38c3fa [buildcore,gbabuildcore] Move GBA specific warning suppression to GBA CMake 2021-07-08 01:57:35 -05:00
51e7120a7c [imgui] Fix non-Apple builds 2021-07-08 01:41:05 -05:00
bae1f05038 [nostalgia] Add scaffolding for ImGui 2021-07-06 21:02:42 -05:00
176ef214f2 [ox/std] Make symbolicate return more flexible data 2021-07-06 20:58:43 -05:00
90ed515842 [ox/std] Cleanup 2021-07-06 20:56:47 -05:00
ff2f13c99f [ox/std] Add defer 2021-07-06 20:56:47 -05:00
fcdede2064 [ox/fs] Cleanup 2021-07-06 20:56:46 -05:00
66a11eae31 [ox/fs] Cleanup 2021-07-06 20:56:46 -05:00
50715ff663 [ox/claw] Cleanup 2021-07-06 20:56:46 -05:00
9638dc52fe [ox/fs] Make write methods take const buffer pointer 2021-07-06 20:56:46 -05:00
992d3a96d7 [ox/std] Fix formatting error 2021-07-06 20:56:46 -05:00
33775f59ff [ox/std] Fix Vector copy constructor not to move items 2021-06-04 23:37:47 -05:00
db3c2602fd [ox/std] Add is_char_v 2021-06-03 02:02:25 -05:00
77ac48740a [ox/std] Make NullStream constructor noexcept 2021-06-03 02:01:58 -05:00
3ba88e2e27 [ox/fs] Make toString(FileType) noexcept 2021-06-03 02:01:14 -05:00
a9b5bfe438 [ox/std] Add BasicString<0> instantiation 2021-06-03 02:00:19 -05:00
5a449cb40b [ox/std] Remove template integer operators from OutStream 2021-05-30 15:57:27 -05:00
77c7a3ab22 [ox/std] Change fmt toCString to take BasicString<sz> instead of String 2021-05-30 15:54:49 -05:00
ae62f89fe8 [ox/std] Make oxThrowError do a move to satisfy clang-tidy 2021-05-29 15:04:19 -05:00
196c7844ea [ox/fs] Cleanup 2021-05-29 15:03:31 -05:00
4f2a03db94 [ox/fs] Cleanup 2021-05-28 22:18:37 -05:00
1df1e3809f [ox/std] Add a form of small string and small vector optimization 2021-05-28 22:18:36 -05:00
56269004d7 [ox/std] Cleanup tests 2021-05-15 01:41:50 -05:00
8ffc2830ae [buildcore] Cleanup 2021-05-13 20:16:12 -05:00
42aa518450 [buildcore] Remove bintray conan repo 2021-05-13 20:16:12 -05:00
c1338d9d87 [ox/oc] Fix ox::String serialization 2021-05-12 21:44:34 -05:00
63f4b96d0f [ox] Cleanup 2021-05-12 21:14:18 -05:00
07415a2607 [ox/std] Add iterator.hpp to install list 2021-05-12 21:12:38 -05:00
98cb3e1670 [ox/model] Replace BString<100> with String as ModelString 2021-05-11 22:10:05 -05:00
7302284095 [ox/std] Make String constructors constexpr 2021-05-11 22:09:26 -05:00
a0c645f25c [ox/fs] Replace some reinterpret_casts with placement-new 2021-05-11 22:08:33 -05:00
cdd1de89f8 [ox/fs] Cleanup, Add error messages for unsupported methods in PassThroughFS 2021-05-11 00:52:47 -05:00
5c66f3e0dc [ox/std] Make toCString(std::string) inline in non-C++20 code 2021-05-11 00:48:11 -05:00
0bcb78d3da [ox/std] Fix Linux build 2021-05-09 22:46:19 -05:00
8dcd350671 [ox/std] Add memmove 2021-05-09 22:43:31 -05:00
eb207b2d6c [ox/std] Add copyright header to iterator.hpp 2021-05-08 22:56:31 -05:00
6845ff38de [ox/fs] Cleanup error handling 2021-05-08 22:40:59 -05:00
15d8e9de5b [ox/std] Add iterator to Vector 2021-05-08 22:03:33 -05:00
9a31e898d0 [ox/std] Add Error return value to {,B}String::append 2021-05-07 16:10:41 -05:00
800e04b3b9 [ox/std] Fix stacktrace shave 2021-05-07 07:01:04 -05:00
0f1fbe40dd [ox/std] Increase trace buffer length 2021-05-07 06:48:17 -05:00
1c509ca20d [ox/std] Improve stacktrace clarity 2021-05-07 06:45:10 -05:00
462f5b580b [ox/std] Add sfmt 2021-05-06 12:39:41 -05:00
fb59d8033b [ox/std] Add append to String and cleanup BString::operator+= 2021-05-06 11:58:27 -05:00
a5bb1eeed0 [ox/std] Add Deleter parameter to UniquePtr 2021-05-06 08:21:54 -04:00
46ea85fa7d [ox] Cleanup unnecessary namespace specifications 2021-05-05 21:19:10 -04:00
72f53b08cb [ox/std] Add size_type and value_type to Vector 2021-05-05 17:00:37 -04:00
25504d87af [ox/fs] Make directAccess return const char* 2021-05-03 22:06:24 -04:00
a415e86ae5 [ox/mc] Cleanup 2021-05-03 21:37:00 -04:00
ed598378ae [ox/oc] Cleanup 2021-05-03 21:16:19 -04:00
af7dbd1aee [ox/claw] Fix writeClawHeader to move return value 2021-05-03 20:59:43 -04:00
8f48042a29 [ox/oc] Fix write to move return value 2021-05-03 20:59:06 -04:00
51ae33aed2 [ox/oc] Replace Vector<char> with Buffer 2021-05-03 20:38:13 -04:00
1da5e60655 [ox/{claw,mc}] Fix write functions to move return values 2021-05-03 20:37:20 -04:00
947b1e7798 [ox/claw] Replace Vector<char> with Buffer 2021-05-03 20:09:08 -04:00
d20a24d10f [ox/std] Switch String from Vector<char> to Buffer 2021-05-03 15:12:19 -04:00
c1418cdd6c [ox/fs] Cleanup 2021-05-03 14:56:00 -04:00
d01ff63527 [ox/{mc,oc}] Cleanup 2021-05-03 14:52:36 -04:00
ceebc05ee9 [ox/std] Add Buffer as Vector<char> alias 2021-05-03 14:42:41 -04:00
937bf3ad91 [ox/fs] Make FileAddress args into const refs 2021-05-03 14:26:02 -04:00
4f2c0b2e30 [ox] Replace uint8_t* with char* as buffer type in MC, OC, and Model 2021-05-03 14:16:23 -04:00
18491dafd9 [ox/oc] Move vector handling over to isVector_v 2021-05-03 13:35:50 -04:00
3a335084c9 [ox/model] Fix modelEquals string and vector handling 2021-05-03 13:31:31 -04:00
eb1a83d907 [ox/model] Add isVector_v 2021-05-03 13:15:33 -04:00
704b94f471 [ox/mc] Switch Vector detection over to isVector_v 2021-05-03 13:13:40 -04:00
e2e62a235a [ox/claw] Cleanup 2021-05-03 11:42:05 -04:00
8f53dda1e2 [ox/fs] Add move methods to FileAddress and fix copy operator to cleanup 2021-05-03 11:39:29 -04:00
84c42f3584 [buildcore] Make debugger vary by platform 2021-04-29 23:35:57 -05:00
cbc0fc983c [ox/fs] Cleanup 2021-04-29 01:14:54 -05:00
bccae1c613 [ox/std] Update TraceMsg model 2021-04-28 22:35:53 -05:00
85f3904115 [ox/std] Improve noexcept correctness and make Error parameters into references 2021-04-25 15:05:39 -05:00
ee6929c7f0 [ox/claw] Cleanup error handling 2021-04-25 15:01:11 -05:00
6c629a9f13 [ox/oc] Cleanup test scaffolding and replace cout with oxOut 2021-04-25 14:49:57 -05:00
356d6a5036 [ox/std] Fix UniquePtr comparison operators to take const references to avoid copying 2021-04-25 02:33:39 -05:00
5e78289cbc [ox/std] Make fmt stringify(std::string) require C++20 and remove QString variant 2021-04-25 02:07:08 -05:00
3ead29a8bb [ox/std] Make oxIgnoreError constexpr 2021-04-24 15:50:02 -05:00
a2e1ac8851 [ox/std] Add std::string and QString support to fmt 2021-04-24 15:48:46 -05:00
75902ba2a3 [ox/std] Add cbit_cast as a stop-gap until I can implment a normal constexpr bit_cast 2021-04-24 15:43:11 -05:00
24f26d822a [ox/model] Add modelops with copy, move, and equals 2021-04-24 15:39:05 -05:00
4518288745 [ox/fs] Add more detail to log messages of PassThroughFS 2021-04-23 03:54:55 -05:00
5e1d4fcd95 [ox/fs] Make FileAddress methods and models constexpr and noexcept 2021-04-23 03:54:25 -05:00
0cf25f3029 [ox/std] Fix HashMap and Vector move operators 2021-04-22 01:17:57 -05:00
85b101884a [ox/std] Remove unnecessary cast 2021-04-22 01:09:42 -05:00
8887daf7e4 [ox/std] Make make_unique not noexcept 2021-04-22 01:08:19 -05:00
9c63f26684 [ox/clargs] Fix overlapping memcpy that asan is being pedantic about 2021-04-21 01:04:07 -05:00
9bd2a5a5ee [ox/fs] Fix broken test that was hidden because of bad asserts 2021-04-21 01:03:09 -05:00
5073681ff9 [ox/oc] Add move constructor for TestStruct 2021-04-21 00:23:27 -05:00
58dbda48c4 [ox] Add Result<T> read{OC,MC,Claw}<T>(...) 2021-04-21 00:06:24 -05:00
4540b410dc [ox/fs] Add Result<Vector<char>> FileSystem::read 2021-04-21 00:05:37 -05:00
4814b4f5cc [ox/fs] Remove unnecessary nodiscards 2021-04-20 23:18:24 -05:00
17165f5394 [ox/oc] Add missing nodiscards 2021-04-20 23:18:05 -05:00
a86bad1719 [ox/std] Cleanup 2021-04-20 23:16:58 -05:00
314ed8d05c [ox/std] Reorder Error fields to allow for better packing 2021-04-20 22:16:29 -05:00
841a7436c1 [ox/oc] Replace std::unique_ptr usage with ox::UniquePtr 2021-04-20 22:10:14 -05:00
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
57ad13fc4a [ox/std] Add an unlikely label to ox{Return,Throw}Error for C++20 builds 2021-02-21 00:32:07 -06:00
f272555a25 [ox/std] Add OS detection 2021-02-03 19:23:55 -06:00
546f083346 [ox] Run liccor 2021-01-21 23:35:13 -06:00
5f63e39c27 [ox] Update liccor file 2021-01-21 00:48:30 -06:00
d58570d76b [ox/fs] Fix C++20 compatibility issues 2021-01-21 00:34:08 -06:00
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