Commit Graph

977 Commits

Author SHA1 Message Date
gary c4d4183d0c [ox/std] Add is_move_constructible
(synced from 187edcd1d3)
2022-02-26 22:53:50 -06:00
gary 5e9634ac47 [ox/model] Cleanup template style
(synced from 329ecb3266)
2022-02-26 22:47:19 -06:00
gary 5f65efad8c [ox/std] Change Result(type&&) to use forward
(synced from 13ba8430c7)
2022-02-26 10:05:11 -06:00
gary d0ec87590c [ox/std] Fix Vector copy assign not to assign to uninitialized memory
(synced from 8d0bf40037)
2022-02-26 03:02:16 -06:00
gary 4eb9153d80 [ox/std] Add ox::join(del, strList)
(synced from 21883a046e)
2022-02-23 23:41:31 -06:00
gary c8a605af06 [ox/std] Add String::operator+=(std::size_t)
(synced from 7c6df56414)
2022-02-23 23:40:48 -06:00
gary 0166392612 [ox/std] Make ResizedInt use static_cast to get better error messages
(synced from 642b2b04b7)
2022-02-23 23:40:02 -06:00
gary 4356a27f03 [ox/std] Make ~Vector constexpr
(synced from 69b3245ba3)
2022-02-23 23:36:28 -06:00
gary 9b42320502 [ox/std] Cleanup BasicString
(synced from eea466750c)
2022-02-21 02:12:12 -06:00
gary e1ecf921c7 [ox] Replace delete invocations with safeDelete
(synced from 8a93e44aba)
2022-02-21 02:10:26 -06:00
gary 8237b25f10 [ox/std] Add safeDelete functions
(synced from 812e4b4c96)
2022-02-21 02:07:53 -06:00
gary 50fc2973d9 [ox/std] Add safeDelete functions
(synced from af97a834c0)
2022-02-21 02:00:11 -06:00
gary 240c28fbd7 [ox/std] Fix BasicString(const char*) for Linux
(synced from 5faafad54c)
2022-02-20 21:15:30 -06:00
gary 02e0a2d79f [ox/std] Fix infinite recursing in BasicString(const char*)
(synced from 64c74cb9c1)
2022-02-20 15:02:36 -06:00
gary eb4aaaed9f [ox/std] Fix Vector::expandCap to deallocate the correct amount of memory
(synced from 4e2d7ea9dd)
2022-02-19 16:42:21 -06:00
gary d994ba17b5 [ox/claw] Set default write format to MetalClaw
(synced from 5b7dacd51f)
2022-02-19 01:44:27 -06:00
gary 9d28f92072 [ox/std] Add const char *toStr(const ox::Error&)
(synced from 53939a28c6)
2022-02-19 01:43:29 -06:00
gary ef7c459af1 [ox/std] Fix hardware detection for GCC on ARM64
(synced from dc2a5039f8)
2022-02-19 01:34:43 -06:00
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