Commit Graph

724 Commits

Author SHA1 Message Date
40ce78c684 [ox/std] Add array.hpp to install list 2022-02-03 22:21:37 -06:00
27f5523e70 [ox/std] Add ox::Array 2022-02-03 21:45:45 -06:00
d4e903b593 [ox/std] Remove unnecessary include 2022-02-03 00:40:14 -06:00
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
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
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