Commit Graph

939 Commits

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