Commit Graph

1038 Commits

Author SHA1 Message Date
gary ca3513a5b2 [ox/model] Remove unused includes
(synced from 57785ebf99)
2022-08-01 21:49:07 -05:00
gary 87d349b26a [ox/std] Add is_const_v
(synced from 0d9c7867aa)
2022-07-30 18:28:57 -05:00
gary 336a354445 [ox/fs] Change FileAddress default type from Inode to None
(synced from b14e41d057)
2022-07-29 21:37:58 -05:00
gary 7a792644d7 [ox/std] Fix Result::moveTo to not move if error
(synced from f8f5b059ed)
2022-07-24 01:22:40 -05:00
gary 5d00067da7 [ox] Add const char *const* fieldString handlers to OC and MC writers
(synced from 1302d5bf85)
2022-07-21 02:18:56 -05:00
gary 77f87bf949 [ox/fs] Add separate case for write in FileLocation model
(synced from 6b9d9c50c7)
2022-07-21 02:17:11 -05:00
gary ab402ab423 [ox/std] Fix Vector move to not do small vector opt in consteval
(synced from 3a2995a67b)
2022-07-19 21:10:50 -05:00
gary 5bb2204ae7 [ox/model] Fix move constructors and operators in ModelValue system
(synced from 6ddeb29c92)
2022-07-19 21:09:02 -05:00
gary 3f4f657494 [ox/model] Remove _t from integer type descriptors
(synced from e71866b1a2)
2022-07-19 20:49:13 -05:00
gary 2460c840d7 [ox/std] Remove std::iterator
(synced from 63c8503cb6)
2022-07-14 21:37:04 -05:00
gary a4472b8618 [ox] Fix for GCC pedantry around potential null ptrs that will never happen
(synced from 94e3ed217a)
2022-07-13 21:20:11 -05:00
gary 775b4c77f5 [ox/fs] Make some PassThroughFS functions noexcept
(synced from ca9bf786b1)
2022-07-12 00:52:28 -05:00
gary 445678454f [ox/std] Fix VectorAllocator copy constructor to take a const reference
(synced from 82dc1895d5)
2022-07-10 16:01:55 -05:00
gary 8cc674a71e [jsoncpp] Add MSVC check
(synced from 3310dbba51)
2022-07-09 22:05:53 -05:00
gary 0b38f8e197 [ox/model] Change B:* type names to B.*
(synced from 793f635d2c)
2022-07-09 21:30:11 -05:00
gary 0e5a89efa1 [ox/model] Remove ModelObject copyModel and moveModel operations
These operations will require a lot more work to work correctly. This feature might be worth revisiting at some point though.

(synced from 522bb42e8f)
2022-07-09 01:43:21 -05:00
gary 69e38c7835 [ox/model] Remove ModelValue::operator= and add iterators to ModelObject
(synced from 3ca252320f)
2022-07-09 01:02:30 -05:00
gary 1324afd833 [ox/mc] Remove debug line from test
(synced from f8d2b9e1a7)
2022-07-09 00:43:28 -05:00
gary 2fd2945558 [ox/model] Fix Vector support for ModelValue system
(synced from 93e72ae938)
2022-07-07 20:02:26 -05:00
gary 627f5a17c6 [ox/fs] Fix PassthroughFS mkdir for recursive cases
(synced from 7d95dbaa99)
2022-07-04 12:40:57 -05:00
gary 074a7887d1 [ox] Overhaul serialization/model system and add ModelValue/ModelObject/ModelUnion variant system
(synced from ca64f95be3)
2022-07-04 02:39:20 -05:00
gary e7a45191ea [ox/model] Cleanup alreadyExisted checks in DescWriter
(synced from bc391b45fc)
2022-05-29 22:35:36 -05:00
gary ebd2dcd156 [ox] Make model type version mandatory
(synced from c4a1655a8f)
2022-05-29 22:21:05 -05:00
gary 4c3e0b7fe8 [ox/claw] Add readClaw function that uses an existing instance of T
(synced from ee851d7013)
2022-05-29 01:19:25 -05:00
gary c710bd15b1 [ox/model] Add Reflect op type, fix union field type output, bump desc type versions
(synced from 40cc222cd8)
2022-05-29 01:17:10 -05:00
gary e12c62fa6c [ox/oc] Make write omit lists if length is 0
(synced from d5252a45d3)
2022-05-28 20:33:05 -05:00
gary 3273ae14b6 [ox/std] Make Optional run destructor and constexpr friendly
(synced from 885f4a8713)
2022-05-28 19:56:43 -05:00
gary 47573f8e77 [ox] Make TypeStore own all type info
(synced from 9c3a46d144)
2022-05-28 19:55:46 -05:00
gary a8f9c90c04 [ox/std] Add another redundant check to suppress GCC's pedantry
(synced from 440d9c0a46)
2022-05-28 18:58:33 -05:00
gary aeae3fbf5a [ox/std] Add operator std::string and operator const char* to String
(synced from 779b18e410)
2022-05-28 03:19:50 -05:00
gary 4935c9723b [ox/std] Make HashMap::at return a pointer instead of reference
(synced from addc2233e7)
2022-05-28 03:18:10 -05:00
gary 5ec7c85e26 [ox/std] Delete UniquePtr copy operators
(synced from dfd6670dfe)
2022-05-28 02:37:15 -05:00
gary ddf2f8c42a [ox/std] Fix problems in building with GCC 12
(synced from 9417307a8e)
2022-05-25 01:07:48 -05:00
gary 89d09c54da [ox/fs] Fix memory leak in FileAddress move
(synced from c7af7bc54c)
2022-05-24 20:31:30 -05:00
gary ed38ba5247 [ox] Fix compiler warnings
(synced from f2ddd15d63)
2022-05-21 16:17:32 -05:00
gary d207f34f7b [ox/claw] Fix error codes to differ
(synced from 4ee08441b0)
2022-05-19 22:22:31 -05:00
gary 6c10e99aa8 [ox/fs] Fix FileAddress(String) to allocate correct amount of memory
(synced from 71f6364ea3)
2022-05-18 03:27:45 -05:00
gary 77cfddcfb3 [ox/std] Add ox::errCode for extracting error code from Error
(synced from b5210ff897)
2022-04-10 03:04:15 -05:00
gary 729a6cb381 [ox/std] Use std::construct_at in Vector instead placement new
(synced from 9d74eca436)
2022-04-10 03:03:07 -05:00
gary 032c9a4251 [ox/std] Add std::construct_at
(synced from cf7f9b9088)
2022-04-10 03:02:57 -05:00
gary 2deab3fcbb [ox/std] Add Result::Result(const Result<U> other)
(synced from a02d496de5)
2022-03-26 16:53:00 -05:00
gary 6519089bd6 [ox] Cleanup mc and std tests
(synced from 82021b8ee5)
2022-03-24 20:47:25 -05:00
gary 10559aa216 [ox/fs] Add FileAddress::FileAddress(ox::String) and FileAddress::operator==(ox::String)
(synced from 803cd28087)
2022-03-24 20:45:22 -05:00
gary 63a2e7fc7f [ox/std] Add BasicString::beginsWith
(synced from 9161a1a8ef)
2022-03-23 03:08:04 -05:00
gary 59f07df7c9 [ox/std] Remove placement new from Array
(synced from ccfc7d5405)
2022-03-23 03:05:50 -05:00
gary 6a85e76f19 [jsoncpp] Remove install from CMake file
(synced from 0790d8e9c2)
2022-03-20 02:17:00 -05:00
gary a84b98c732 [jsoncpp] Remove bin path CMake settings
(synced from 0a9bc78a8d)
2022-03-17 03:54:18 -05:00
gary 54e34d6a90 [ox/std] Fix MaxValue for signed ints
(synced from b43f5e3b98)
2022-03-17 03:53:46 -05:00
gary c67d39822c [ox/mc] Re-enable test
(synced from 5c783da3fc)
2022-03-16 03:20:24 -05:00
gary 1a4576068e [ox/std] Fix C++20 deprecation issue with Vector::iterator
(synced from 179d311598)
2022-03-16 03:19:45 -05:00