Commit Graph

732 Commits

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