Commit Graph

959 Commits

Author SHA1 Message Date
gary 2e8638e9f1 [ox/std] Make Vector::back constexpr
(synced from f9c3c17592)
2022-02-19 01:34:20 -06:00
gary 589d6f0f14 [ox/std] Replace some OX_USE_STDLIBs with __has_include
(synced from c1fc3d48b2)
2022-02-17 21:26:16 -06:00
gary 889bbb53eb [ox] Make model TypeVersion mandatory so Claw can do version checking
(synced from 21d12fee94)
2022-02-17 04:09:44 -06:00
gary 45e5b02879 [ox/claw] Fix typo in error msg
(synced from 3389656ecf)
2022-02-17 03:31:20 -06:00
gary 94e1e960f4 [ox/claw] Fix Claw read to check for type/version compatibility
(synced from 0c6e47e0b3)
2022-02-17 02:50:14 -06:00
gary a57ef6ff8e [ox/std] Remove use of emplace_back from ox::Array constructor
(synced from 1d17b3df82)
2022-02-17 01:52:12 -06:00
gary 6e796c68be [ox/std] Cleanup oxDebug static_asserts
(synced from 8927f0e9c8)
2022-02-16 20:13:31 -06:00
gary b6987e6970 [ox/std] Change initial Vector size to small vector size
(synced from 0e4bebcc3d)
2022-02-16 02:28:00 -06:00
gary 9587262399 [ox/std] Add operator+(...) to BString
(synced from 627fb387e6)
2022-02-16 01:57:03 -06:00
gary 05ecf84c1c [ox/model] Add oxModelFieldRename macro
(synced from 18f02ae25e)
2022-02-13 13:37:48 -06:00
gary 7b2e627c9e [ox/std] Move ox::defines::OS to ox::OS
(synced from 610dc2ceca)
2022-02-12 14:22:28 -06:00
gary c740900691 [ox/model] Make model friend macro constexpr and noexcept
(synced from 5ea36836bd)
2022-02-10 02:06:13 -06:00
gary 3e9543ee77 [ox/fs] Cleanup unnecessary reinterpret_casts
(synced from 959f75d2db)
2022-02-10 02:02:44 -06:00
gary 3d7a251a6b [ox/std] Add min and max tests
(synced from 0d368b3c02)
2022-02-10 02:00:59 -06:00
gary b4ed9dd2b8 [ox/std] Remove unnecessary functions from ox::Array
(synced from f5c7c26340)
2022-02-08 02:11:59 -06:00
gary 9aa1dd741f [ox/std] Silently suppress small Vector in constexpr
(synced from 50eb01115d)
2022-02-05 01:33:08 -06:00
gary 714f302fc3 [ox/std] Add missing iterator functions to String and Vector
(synced from 4e0cd1444d)
2022-02-04 22:48:49 -06:00
gary f5abe8296e [ox/std] Make release version of oxAssert constexpr
(synced from 60aa172d98)
2022-02-04 22:45:22 -06:00
gary 1e72c0ae8d [ox/std] Add array.hpp to install list
(synced from 40ce78c684)
2022-02-03 22:21:37 -06:00
gary a2674a12f0 [ox/std] Add ox::Array
(synced from 27f5523e70)
2022-02-03 21:45:45 -06:00
gary 5263d0f48e [ox/std] Remove unnecessary include
(synced from d4e903b593)
2022-02-03 00:40:14 -06:00
gary cce73e369e [ox/mc] Add writer fieldString function
(synced from 395e262e3e)
2022-02-03 00:38:28 -06:00
gary cfdb3ede98 [ox/std] Add ox::clamp
(synced from 78942ce21d)
2022-02-03 00:22:37 -06:00
gary c991811cd8 [ox/std] Replace std::cerr with oxErrf
(synced from 1aebe93c52)
2022-02-02 01:48:04 -06:00
gary 554836ef31 [ox/std] Make oxAssert sort of usable in constexpr
(synced from ac9cd26367)
2022-02-01 21:20:13 -06:00
gary 9e68e90758 [ox/std] Add std::is_constant_evaluated()
(synced from 180cac5cc6)
2022-02-01 20:06:10 -06:00
gary 7f78eeb281 [ox/std] Move most macros to def.hpp in anticipation of C++20 modules
(synced from 99550b60ee)
2022-01-28 19:57:19 -06:00
gary b862844849 [ox/fs] Fix duplication of dir entries on update of file
(synced from f10373864d)
2022-01-28 19:44:20 -06:00
gary 05e311bc5a [ox] Add a new oxfs tool
(synced from 2be5b0f6bc)
2022-01-28 02:07:42 -06:00
gary c84fff99af [ox/mc] Fix string support in MC and add support for ox::BasicString
(synced from df782129bb)
2022-01-27 20:58:33 -06:00
gary 991caf6031 [ox/std] Make HashMap::expand move new Pair Vector instead of copy
(synced from ff76d2f453)
2022-01-27 01:47:35 -06:00
gary f2ed8648b5 [ox/std] Move bit.hpp static_asserts to cpp file
(synced from 81f2865fcc)
2022-01-26 21:14:32 -06:00
gary 43e08eb826 [ox/std] Add print of assert condition to assert output
(synced from 2d429d30a3)
2022-01-26 21:14:11 -06:00
gary ce94a8eeb5 [ox/std] Change default small Vector size to 0
(synced from 4a9b0e5dc3)
2022-01-26 01:43:26 -06:00
gary faecc99ee7 [ox/model] Add macros to simplify model definition
(synced from fcc4cf3308)
2022-01-26 01:36:29 -06:00
gary f7012167dd [ox/fs] Improve const-correctness of FileSystem
(synced from f687134943)
2022-01-26 01:27:31 -06:00
gary c2a7473b36 [ox] Run liccor
(synced from 9ee6cfbbfd)
2022-01-13 02:05:02 -06:00
gary 3a4d47cf04 [ox/sd] Remove ox::move
(synced from fe5fe179f2)
2021-12-17 21:02:50 -06:00
gary db56f918a9 [ox/std] Make sfmt usable as constexpr
(synced from 5ed806f4c0)
2021-12-11 19:16:29 -06:00
gary 21bc8cc67d [ox] Remove std::move calls that suppressed copy elision
(synced from 163fcf1785)
2021-12-11 19:16:29 -06:00
gary 421dd02b31 [ox/std] Deprecate ox::move
(synced from 37664ede05)
2021-12-11 19:16:29 -06:00
gary 48ff004c24 [ox/model] Add requireModelTypeName
(synced from 7aead742eb)
2021-12-11 19:16:29 -06:00
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