Commit Graph

917 Commits

Author SHA1 Message Date
gary 7ca1e73f14 [ox/model] Add string type template parameter to getModelTypeName
(synced from 97bf81ba23)
2021-12-11 19:16:29 -06:00
gary 30c9d58653 [ox/std] Enable small string optimization by default
(synced from 2c8f4cec2c)
2021-12-11 19:16:29 -06:00
gary 702f1f8715 [ox/std] Remove iostream include from vector.hpp
(synced from 457b97afba)
2021-12-11 19:16:29 -06:00
gary 37207f14a5 [ox/std] Make Vector::erase return iterator item after removed item
(synced from a94051644b)
2021-12-11 19:16:29 -06:00
gary 74c62a1780 [ox] Correct bad bit_cast uses and improve constexpr-ness
(synced from 1f24912ddd)
2021-12-11 19:16:29 -06:00
gary 8706eab62a [ox/std] Rename Vector alloc and dealloc methods
(synced from 22f08f83c5)
2021-12-11 19:16:29 -06:00
gary 57118570ea [ox/std] Add char8_t* constructor to String
(synced from 46fe5c3b8f)
2021-12-11 19:16:29 -06:00
gary 0d62e02ae8 [ox/std] Make toCString(std::string) constexpr
(synced from 15947d2fa9)
2021-12-11 19:16:29 -06:00
gary 6f236d3e55 [ox/std] Make BString::operator== const
(synced from 84da41ffc9)
2021-12-11 19:16:29 -06:00
gary d548538b04 [ox/std] Add std::allocator
(synced from 6bee2d12d7)
2021-12-11 19:16:29 -06:00
gary 6cb74d0bb9 [ox/std] Make most of Optional constexpr
(synced from 2bcea545f5)
2021-12-11 19:16:29 -06:00
gary 317fd81701 [ox/std] Make most of Vector constexpr
(synced from 9a8bb557a6)
2021-12-11 19:16:29 -06:00
gary dab6dc0e8a [ox/std] Make Vector use std::allocator
(synced from 263ed4f7e7)
2021-12-11 19:16:29 -06:00
gary 8ddf8bbd9f [ox/std] Set default small string size of 8 bytes
(synced from 380dd1cd76)
2021-12-11 19:16:29 -06:00
gary d44b19923d [ox] Fix for C++20
(synced from f61efbafaf)
2021-12-11 19:16:29 -06:00
gary ebc94c9ea8 [ox/std] Add ox::find(...) and HashMap::erase(K)
(synced from e3a48d0045)
2021-12-11 19:16:29 -06:00
gary dab312da33 [ox/std] Cleanup stacktrace code
(synced from 708d7382d8)
2021-12-11 19:16:29 -06:00
gary b61b4c3239 [ox/model] Add typenamecatcher.hpp to model.hpp
(synced from ceb876b6ae)
2021-12-11 19:16:29 -06:00
gary e75ef05594 [ox/std] Fix UniquePtr reset to work when copying from a UniquePtr to subclass type
(synced from 0133ea30dc)
2021-12-11 19:16:29 -06:00
gary dd6e7f5978 [ox/std] Add missing pragma once to initializerlist.hpp
(synced from 31dcd0d280)
2021-12-11 19:16:29 -06:00
gary 77b2a17cd3 [ox/std] Make HashMap use default constructor for T
(synced from a14eb5a0bc)
2021-12-11 19:16:29 -06:00
gary 48eb2bbc04 [ox/std] Add Optional
(synced from fa06821d90)
2021-12-11 19:16:29 -06:00
gary e46d1e6dd2 [ox/claw] Fix CMake generator expression OX_USE_STDLIB switch
(synced from 51f3c01c4e)
2021-12-11 19:16:29 -06:00
gary 2e3f87c339 [ox/claw] Add readClawHeader to public API
(synced from 5e85f18b60)
2021-12-11 19:16:29 -06:00
gary 3ed451d909 [ox/std] Make oxIgnoreError take const ref
(synced from 5f7bb2e1ae)
2021-12-11 19:16:29 -06:00
gary c21d105f49 [ox/std] Fix Vector reverse iterators
(synced from e2b9823ae2)
2021-12-11 19:16:29 -06:00
gary 1b6e682dd0 [ox/std] Update strops nodiscard use to match current style
(synced from 8a6f08ae73)
2021-12-11 19:16:29 -06:00
gary a4f224b05b [ox][std] Fix UniquePtr to use provided deleter
(synced from 4bc3da40b4)
2021-12-11 19:16:29 -06:00
gary 260b06c4d2 [ox/std] Add implementation of what() to ox::Exception
(synced from 160ef61520)
2021-10-14 19:21:59 -05:00
gary c09115d9ff [ox/std] Add begin and end methods to BasicString
(synced from 853f8c25ea)
2021-10-14 19:21:59 -05:00
gary b0fc46b2b1 [ox/event] Move isError into namepsace detail
(synced from 38596ac941)
2021-08-03 00:21:05 -05:00
gary 7462f46fdf [ox/std] Fix ptrdiff_t header location
(synced from 8f6897225a)
2021-08-02 21:47:45 -05:00
gary f5fa23aa0c [ox/event] Fix build error in exception variant of Signal
(synced from e7bf3d5413)
2021-08-02 21:23:19 -05:00
gary 853dfa695f [ox/event] Add variant of Signal that uses exceptions
(synced from ad0d5c8caf)
2021-08-02 21:23:19 -05:00
gary 3825dddeb5 [ox/std] Specify std::bit_cast in Vector
(synced from b61f7a95ad)
2021-08-02 21:23:19 -05:00
gary bb8d7ff983 [ox/std] Fix another inappropriate assign with constructor
(synced from 90b2e7a43c)
2021-08-02 21:23:19 -05:00
gary 9d1f84f378 [ox/oc] Resize vectors before writing to them
(synced from 8480eeba0c)
2021-08-02 21:23:19 -05:00
gary cf5bc8cd0b [ox/std] Fix problems with Vector using operator= where constructors should be used
(synced from 313b35f605)
2021-08-02 21:23:19 -05:00
gary 59da5557af [ox/std] Remove preprocessor condition for Vector(initializer_list) constructor implementation
(synced from d8a0a5f50d)
2021-07-30 20:10:20 -05:00
gary 57fa761252 [ox/std] Improve Vector::iterator to better conform to std::vector::iterator
(synced from 68f829ff2d)
2021-07-30 20:10:20 -05:00
gary 943789845d [ox/oc] Remove setTypeInfo invocation from OC write
(synced from 77bc18129b)
2021-07-29 23:33:09 -05:00
gary 5b6a66d03a [ox/{mc,oc}] Fix problems caused by making methods const
(synced from d8a13a0933)
2021-07-29 23:25:45 -05:00
gary 0040c56b6f [ox/std] Add implementation of initializer_list
(synced from 11873bc3ed)
2021-07-29 23:25:43 -05:00
gary 5fde1666c2 [ox/std] Make fmt version of logError
(synced from f53b8e38dc)
2021-07-29 23:25:42 -05:00
gary 6f47a8b054 [ox/std] Make logError inline
(synced from 5d5198bf4c)
2021-07-29 23:25:40 -05:00
gary 010efa87e2 [ox/model] Make field counting automatic
(synced from cc5cc01e70)
2021-07-29 23:25:39 -05:00
gary e1cbe18cdf [ox/{mc,oc}] Improve noexcept correctness
(synced from 55f14eb548)
2021-07-29 23:25:38 -05:00
gary d1cbeacf1f [ox/std] Add initializer_list constructor to Vector
(synced from 24ca5623e8)
2021-07-29 23:25:38 -05:00
gary 61874e2055 [ox/std] Fix oxDefer macro to work outside ox namespace
(synced from 5b9e1928d9)
2021-07-29 23:25:35 -05:00
gary 31403cd379 [ox] Remove need for explicit fields count in model system, add ox::String handler to OC
(synced from 2e9b7fe871)
2021-07-29 23:25:35 -05:00