Commit Graph

1243 Commits

Author SHA1 Message Date
gary 6d4855d4ad [ox/std] Add Result::orVal
(synced from 45ec39f77b)
2023-12-23 17:52:20 -06:00
gary 1e4822ee05 [ox/model] Fix infinite recursion caused by have a vector of the same type in ModelValue
(synced from ef6e3af735)
2023-12-22 19:44:04 -06:00
gary 830d6d417c [ox/fs] Cleanup FileAddress model
(synced from 80d0df2f46)
2023-12-22 19:40:30 -06:00
gary b87e112e51 [ox/mc] Fix serialization of negative numbers in non-64 bit values
(synced from 9db10ec4a1)
2023-12-22 19:36:42 -06:00
gary fc7f542550 [ox/mc] Fix issue with -1 union index
(synced from 3fa9d132ae)
2023-12-22 04:42:13 -06:00
gary 466f053676 [ox/std] Fix Optional deref operator, in_place constructor
(synced from 907ead2948)
2023-12-22 04:41:39 -06:00
gary 40212adcff [ox/preloader] Add missing typenames
(synced from 77c86b9516)
2023-12-20 23:04:34 -06:00
gary 8705f7705f [ox/fs] Fix log message
(synced from 7ba6fb3ac5)
2023-12-19 23:38:29 -06:00
gary 81b2c5f0a2 [ox/claw] Change readClaw to take ref to TypeStore
(synced from 8b3b8d50d6)
2023-12-14 23:56:02 -06:00
gary 81fc4abd4f [ox/std] Improve r/l-value correctness of Result::to, make unwrap nodiscard
(synced from 3a781f6704)
2023-12-14 22:41:05 -06:00
gary 1bce898416 [ox/std] Fix Result::copyTo
(synced from 30909f85a3)
2023-12-14 22:33:03 -06:00
gary d389785bb5 [ox/std] Fix error handling for Result::copyTo
(synced from 9cc27f5be9)
2023-12-14 22:28:16 -06:00
gary 0bf8f096c2 [ox] Make Result copyTo and moveTo take refs
(synced from d31938ba4f)
2023-12-14 22:26:17 -06:00
gary 2e87f50c87 [ox/mc] Fix more Clang issues
(synced from e6803af22f)
2023-12-14 21:35:02 -06:00
gary 958dec1c55 [ox/oc] Fix C string writing
(synced from c426decd99)
2023-12-14 19:28:14 -06:00
gary a429702d6f [ox/fs] Fix segfault in FileAddress
(synced from 496afd66ea)
2023-12-14 19:27:47 -06:00
gary af9e7a6b4f [ox] Fix some template issue that come up with some versions of Clang, fix empty string read in OC
(synced from 960889749d)
2023-12-13 22:46:13 -06:00
gary fb0f55a5f4 [ox/fs] Some cleanup for FileAddress
(synced from a4fac4c1d3)
2023-12-09 15:06:06 -06:00
gary f8cc439487 [ox/mc] Fix test struct model, fix zeroing out of empty vectors in unions
(synced from eed240eacc)
2023-12-09 11:21:27 -06:00
gary 917392792c [ox/std] Fix more functions to work with UPter custom deleters
(synced from cc7c7ac9d7)
2023-12-09 01:33:33 -06:00
gary f27ec37161 [ox/model] Remove another const_cast
(synced from 8804819e17)
2023-12-09 00:50:14 -06:00
gary eac0ce666d [ox] Add optional typename to satisfy clangd
(synced from ade6af8698)
2023-12-09 00:49:37 -06:00
gary f9e0be6bdf [ox] Cleanup some const_casts
(synced from cd0958c691)
2023-12-09 00:49:03 -06:00
gary 6124422dfd [ox/std] Give UPter alias the other template parameter of UniquePtr
(synced from 1298051a1a)
2023-12-08 22:33:36 -06:00
gary 10e136bf3a [ox/claw] Remove ReadClaw from build
(synced from f169c96e78)
2023-12-07 00:15:08 -06:00
gary ffc25b943f [ox/std] Add SpanView::data()
(synced from 7e19f45c69)
2023-12-05 22:51:18 -06:00
gary a820846336 [ox/mc,ox/oc] Fix write for ox::Array, cleanup
(synced from 0d606643f5)
2023-12-04 21:43:22 -06:00
gary eef0600873 [ox/claw] Test cleanup
(synced from 7d9a1676e8)
2023-12-04 00:26:08 -06:00
gary 708ad1e484 [ox] Make tests more consistent
(synced from b61f81abf0)
2023-12-04 00:22:00 -06:00
gary 61b0959ce0 [ox/std] Add lastIndexOf(StringView, char)
(synced from 5cbf789374)
2023-12-03 22:14:42 -06:00
gary 80ce8b0a1f [ox/std] Add CStringView::CStringView(StringLiteral)
(synced from 8f5173e52a)
2023-12-03 19:06:37 -06:00
gary 58507857bc [ox/std] Rename Result::get to Result::copyTo
(synced from 9ab3543b32)
2023-12-03 19:03:42 -06:00
gary f1cd21d27b [ox/std] Remove ox_strcpy
(synced from d16bbef282)
2023-12-03 19:03:08 -06:00
gary 324a9865b1 [ox/fs] Cleanup unnecessary constructors in FileAddress
(synced from a8db357360)
2023-12-03 19:02:36 -06:00
gary 91ebb148d3 [ox/fs] Make FileAddress constructor take a StringLiteral
(synced from b13eb0ef70)
2023-12-03 10:17:24 -06:00
gary a6c2910dc3 [ox/std] Cleanup
(synced from 9855a0bcf0)
2023-12-02 04:02:42 -06:00
gary b49960b39c [ox/std] Cleanup
(synced from 611e2fa7cb)
2023-12-02 01:13:03 -06:00
gary a0c8f87b79 [ox/std] Cleanup stdlib/non-stdlib specific build path in logging
(synced from 95d9aee0cf)
2023-12-02 00:26:18 -06:00
gary af1d5926df [ox] Make String::String(String const&) explicit
(synced from 3de03bf1fd)
2023-12-01 23:39:40 -06:00
gary 2542afd2b1 [ox/std] Fix Result move constructor, add & and && variants of unwrap
(synced from 72c130d8a9)
2023-12-01 22:50:25 -06:00
gary 49a8a0f4ba [ox] Make ox::String::String(const char*) explicit
(synced from 1a1c8ae6cc)
2023-12-01 22:36:24 -06:00
gary f3f1dfc9d7 [ox/std] Make substr support CStringView, and always return a StringView
(synced from fc5e63a4d7)
2023-11-30 23:15:51 -06:00
gary 624e2535fa [ox/std] Give Vector MaybeSV in places where it makes sense
(synced from 68a0dd9660)
2023-11-30 21:28:11 -06:00
gary f79fab5e8c [ox/std] Add missing file, add more string types
(synced from d635a954fa)
2023-11-30 21:24:05 -06:00
gary 37e38c6d29 [ox/fs] Change substr function form
(synced from dd16577b50)
2023-11-30 01:02:29 -06:00
gary 7f73e95140 [ox/fs] Add FileSystem::write variants that take Spans
(synced from c0aa119155)
2023-11-30 01:02:05 -06:00
gary b9cda0b2b4 [ox/fs] Make FileAddress::getPath return a StringView
(synced from 3c9ce4436a)
2023-11-30 01:01:01 -06:00
gary 6c71a571b1 [ox/std] Add Span::data()
(synced from 2a692fc46e)
2023-11-30 01:00:38 -06:00
gary d9f56fc7c2 [ox/std] Fix StringView(BaseStringView const&) constructor
(synced from 15bc41dd35)
2023-11-29 00:35:34 -06:00
gary 44681f692a [ox/std] Make String(StringView) constructor explicit, add StringLiteral
(synced from 3a62650d62)
2023-11-28 23:31:11 -06:00