Commit Graph

1149 Commits

Author SHA1 Message Date
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
gary 92231e87c7 [ox/std] Make HashMap use StringView for string lookups
(synced from 7008ebfb40)
2023-11-28 23:29:10 -06:00
gary f484407c16 [ox/mc] Fix read test
(synced from 709dc36d0b)
2023-11-27 22:02:38 -06:00
gary 65ce482be0 [ox] Change log channel delimiter from :: to .
(synced from ecc49a63b0)
2023-11-25 20:58:35 -06:00
gary 51ba81113b [ox] Cleanup String/StringView conversions, MallocaPtr
(synced from a84a829769)
2023-11-23 01:34:16 -06:00
gary 0ce5b15e66 [ox/std] Fix MSVC warnings
(synced from b12097769e)
2023-11-14 20:23:21 -06:00
gary aa74d0a513 [ox/model] Fix compile error when instantiating ModelHandlerAdaptor for readers
(synced from e9c5134286)
2023-11-14 20:21:02 -06:00
gary b6a8a70f1e [ox/model] Fix MSVC warning
(synced from b7a1236bae)
2023-11-14 20:19:25 -06:00
gary 63c9e331cf [ox/mc] Fix MC read alloca in a loop
(synced from d386bc8c91)
2023-11-13 23:42:09 -06:00
gary 668a8c3c1a [ox/mc] Cleanup
(synced from 3eec0a149d)
2023-11-13 22:59:11 -06:00
gary 8153755cfc [ox/mc] Fix an unwanted formatting "correction" from Visual Studio
(synced from 8d2c8df014)
2023-11-13 21:53:21 -06:00
gary c5507ac0c7 [ox/mc] Fix use of uncaptured var in lambda
(synced from 18ace3ceff)
2023-11-13 21:50:11 -06:00
gary 3a79f2011b [ox/mc] Fix alloca use in loop
(synced from 597a8c736e)
2023-11-12 00:53:25 -06:00
gary 75cfd19041 [ox/std] 32 bit system fixes
(synced from d9b676d1b2)
2023-11-12 00:41:47 -06:00
gary 29e18bb62d [ox] Fix most MSVC warnings
(synced from 158115c29f)
2023-11-12 00:31:13 -06:00
gary c9f96c1920 [ox/model] Restore assert in modelFieldCount
(synced from 77e475980d)
2023-11-11 23:30:34 -06:00
gary 5c8b39b21e [ox/logconn] MSVC fixes
(synced from 3fbb2a0086)
2023-11-11 21:57:25 -06:00
gary cb7429ab2c [ox/std] MSVC fix
(synced from ce20282be0)
2023-11-11 21:14:59 -06:00
gary b391e99037 [ox] MSVC fixes
(synced from 7ee52db6a1)
2023-11-11 20:24:11 -06:00