Commit Graph

679 Commits

Author SHA1 Message Date
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