30797c710b
[ox/std] Add small sz option to SmallMap
2024-05-11 00:53:31 -05:00
e8041121d0
[ox/std] Add missing oxExpect to timeMapStrToUuid
Build / build (push) Successful in 2m32s
2024-05-11 00:26:57 -05:00
d054528e49
[ox/std] Remove empty if from SmallMap
Build / build (push) Has been cancelled
2024-05-11 00:24:37 -05:00
09d840cfd0
[ox/std] Add some functions for comparing HashMap and SmallMap
Build / build (push) Successful in 2m31s
2024-05-10 23:58:35 -05:00
aeb1ef3b12
[ox/std] Cleanup SmallMap, make it easier to make potential changes
2024-05-10 23:58:22 -05:00
b66f61c217
[ox/std] Add hash function for UUID
2024-05-10 23:55:41 -05:00
b089bf460b
[ox/std] Optimize Array compare
2024-05-10 23:54:22 -05:00
cd60c4abaf
[ox/std] Fix bugs in HashMap and SmallMap
Build / build (push) Successful in 2m30s
2024-05-10 22:10:34 -05:00
d1845448c3
[ox/std] Add == and != operators to UUID
2024-05-10 22:10:14 -05:00
17f28d43d1
[ox/clargs] Replace C string with StringView
Build / build (push) Successful in 2m27s
2024-05-10 01:30:54 -05:00
043df533b7
[ox] Cleanup string len handling
...
Build / build (push) Has been cancelled
Remove UTF-8 parsing. It is a rare enough need that it should have a specialized call when needed.
Better to have a more optimal length fetch for typical case.
2024-05-10 01:29:13 -05:00
bec75d2eba
[ox/std] Fix memory leak in Vector
2024-05-09 23:12:36 -05:00
204e5bbff4
[ox/std] Add SmallMap
Build / build (push) Successful in 2m28s
2024-05-08 23:46:12 -05:00
74a8a7d751
[ox/std] Remove incomplete writeF32toa
Build / build (push) Successful in 2m28s
2024-05-08 23:43:12 -05:00
63486c23d4
[ox] Cleanup
2024-05-08 23:35:05 -05:00
47a6a410c4
[ox/std] Update Vector memory map for preloader
Build / build (push) Successful in 2m31s
2024-05-03 23:41:16 -05:00
20ff0f89fe
[ox/std] Rework itoa
2024-05-03 20:31:40 -05:00
4061b8314e
[ox/model] Remove broken global var
Build / build (push) Successful in 2m29s
2024-05-03 00:12:34 -05:00
18bb50626d
[ox/std] Add String::append(StringView), cleanup
Build / build (push) Successful in 2m30s
2024-05-03 00:07:03 -05:00
d2a3cfa72e
[ox/std] Remove append operators from IString
...
This is because the append operators cannot report the failure that is possible with IString
2024-05-02 23:59:19 -05:00
7c4e2a6564
[ox/std] Cleanup IString
2024-05-02 23:33:39 -05:00
7163947efd
[ox/std] Cleanup
2024-05-02 23:14:03 -05:00
fda1280d29
[ox/std] Make substr always take and return a StringView
2024-05-02 22:20:25 -05:00
59aa4ad21a
[cityhash] Cleanup
2024-05-02 22:20:01 -05:00
acd93337d4
[ox/std] Fix Integer assignment operator return
Build / build (push) Successful in 2m27s
2024-04-29 22:54:34 -05:00
cebd3b0a0f
[ox/std] Fix Integer assignment operator return
2024-04-29 22:52:34 -05:00
43e2e2155b
[ox/std] Cleanup
2024-04-29 22:48:22 -05:00
be1f90955b
[ox/std] Make safeDelete constexpr
Build / build (push) Successful in 2m32s
2024-04-29 22:43:27 -05:00
0f2c18d554
[ox/std] Add std::string(_view) variant of MaybeView
Build / build (push) Successful in 2m29s
2024-04-25 23:03:38 -05:00
1b629da8fc
[ox/std] Make Vector::contains always noexcept
Build / build (push) Successful in 2m29s
2024-04-24 21:39:02 -05:00
32e4702dc7
[ox] Improve hasing and MaybeView
...
Build / build (push) Successful in 2m29s
* Add CityHash dep
* Use CityHash for HashMap
* Make MaybeView more versatile
* Cleanup some inappropriate MaybeView uses
2024-04-24 20:59:37 -05:00
a00a0bd2ff
[ox] Rename BString to IString
2024-04-24 00:54:02 -05:00
ea1feb726e
[ox] Remove oxIgnoreError
2024-04-22 23:40:42 -05:00
e9a6a09629
[ox] Run liccor
Build / build (push) Successful in 2m20s
2024-04-21 17:01:48 -05:00
d7f309750e
Merge commit 'c0baf7efca0e4c3a86a018ad2564d9df7b07c133'
Build / build (push) Successful in 2m22s
2024-04-21 13:13:26 -05:00
ebf3a6961e
[ox/std] Add String constructor that takes a StringLiteral
2024-04-21 10:31:26 -05:00
dfd27afd67
[ox/std] Add implicit String constructor for str literals
...
Build / build (push) Successful in 2m20s
Also make String more constexpr friendly
2024-04-18 23:59:47 -05:00
6bfe184261
[ox/std] Remove unnecessary copying from HashMap::expand
Build / build (push) Successful in 2m21s
2024-04-18 23:39:33 -05:00
922323833c
[ox] Cleanup
2024-04-18 23:32:54 -05:00
a20d7fd923
[ox] Cleanup
2024-04-18 19:24:56 -05:00
6808adc8a1
[ox/std] Replace ox::ignore with std::ignore
2024-04-13 00:35:49 -05:00
abc076d657
[ox/std] Cleanup
2024-04-13 00:10:09 -05:00
1b790a34c4
[ox/std] Fix Signed_c and Unsigned_c
2024-04-13 00:07:40 -05:00
7941a514ba
[ox/model] Add constexpr ModelTypeId_v
2024-04-10 00:00:48 -05:00
0c09c5306e
[ox/std] Fix sfmt constexpr problems
2024-04-09 23:47:18 -05:00
3ff91af86b
[ox/std] Sort of fix custom assert
2024-04-09 23:46:54 -05:00
79b42e1df7
[ox/std] Fix some Vector constexpr problems
2024-04-09 23:46:12 -05:00
5eec9085f8
[ox/std] Add nodiscard to some string functions
2024-04-09 22:40:37 -05:00
af7c89564c
[ox/std] Add ox::ignore
2024-04-09 22:40:20 -05:00
2c0e02277c
[ox/std] Add assert to AnyPtr::Wrap::copyTo to ensure sufficiently large buff
Build / build (push) Successful in 2m39s
2024-03-24 02:22:37 -05:00
50f3479d10
[ox/std] Make AnyPtr constexpr
Build / build (push) Successful in 2m38s
2024-03-23 17:05:20 -05:00
3fa247e3d4
[ox/std] Add AnyPtr
2024-03-23 16:52:43 -05:00
b015fe88b7
[ox/std] Make ranges predicates const refs
2024-02-17 11:43:25 -06:00
74fb051ef2
[ox] Remove panicing ModelValue operators
2024-02-11 20:35:19 -06:00
24fda7d589
[ox] Make serialize and allocate Writer_c functions take refs
Build / build (push) Successful in 2m18s
2024-02-11 19:39:29 -06:00
b97d7d9956
[ox/preloader] Remove debug code
Build / build (push) Waiting to run
2024-02-11 17:29:54 -06:00
4e50889b5c
[ox/model,ox/preloader] Add ability to handle inline arrays
Build / build (push) Waiting to run
2024-02-11 17:23:38 -06:00
ee05118478
[ox] Add ability for ModelValue to represent inline arrays, add to preloader
Build / build (push) Failing after 17s
2024-02-04 10:19:30 -06:00
c55994f67d
[ox/std] Add Vector::capacity
2024-02-01 21:06:53 -06:00
e81d28a681
[ox] Fix various preloader problems
2024-02-01 21:06:35 -06:00
0626c2a815
[ox/fs] Add comparison operator for FileAddress
2024-02-01 21:02:46 -06:00
28b1c6dcf4
[ox/preloader] Fix case where alignOf always used NativePlatSpec
Build / build (push) Successful in 2m21s
2024-01-31 23:07:40 -06:00
0d106bde21
[ox/oc] Fix objects to always write when members of arrays
2024-01-30 21:45:58 -06:00
227dd68a4f
[ox/model] Change order of oxModelFieldRename args
2024-01-28 18:03:50 -06:00
09c57545bc
[ox/std] Add Vector::at
Build / build (push) Successful in 2m22s
2024-01-28 16:29:39 -06:00
9948346ce4
[ox/model] Fix clangd false alarm
2024-01-27 23:40:16 -06:00
d1efbb2ffa
[ox] Update copyright for 2024
2024-01-01 12:03:16 -06:00
de9f842640
[ox/std] Add error.hpp include to memory.hpp
Build / build (push) Successful in 2m15s
2023-12-31 22:52:10 -06:00
bd2aeee276
[ox/claw] Improve error clarity when loading ModelObjects
2023-12-30 13:57:51 -06:00
89fab5cc20
[ox/fs] Remove stdc++fs from library list on Linux
Build / build (push) Successful in 2m10s
2023-12-30 01:05:46 -06:00
72dddcaee5
[ox] Fix TypeDescWriter segfault
2023-12-29 18:42:59 -06:00
67543af806
[ox/oc] Remove some unnecessary code
Build / build (push) Successful in 2m3s
2023-12-27 23:50:02 -06:00
6b774ec285
[ox/oc] Fix array writing to write all values
...
Build / build (push) Successful in 2m6s
This is necessary because OC array sizes are determined through the presence of the data.
2023-12-27 23:47:52 -06:00
e941781f21
[ox/std] Cleanup Result::copyTo variants
Build / build (push) Successful in 2m4s
2023-12-25 00:54:59 -06:00
b869f490c3
[ox/std] Add or_value to Optional, Result
Build / build (push) Successful in 2m4s
2023-12-25 00:51:17 -06:00
45ec39f77b
[ox/std] Add Result::orVal
2023-12-23 17:52:20 -06:00
ef6e3af735
[ox/model] Fix infinite recursion caused by have a vector of the same type in ModelValue
2023-12-22 19:44:04 -06:00
80d0df2f46
[ox/fs] Cleanup FileAddress model
2023-12-22 19:40:30 -06:00
9db10ec4a1
[ox/mc] Fix serialization of negative numbers in non-64 bit values
2023-12-22 19:36:42 -06:00
3fa9d132ae
[ox/mc] Fix issue with -1 union index
2023-12-22 04:42:13 -06:00
907ead2948
[ox/std] Fix Optional deref operator, in_place constructor
2023-12-22 04:41:39 -06:00
77c86b9516
[ox/preloader] Add missing typenames
2023-12-20 23:04:34 -06:00
7ba6fb3ac5
[ox/fs] Fix log message
2023-12-19 23:38:29 -06:00
8b3b8d50d6
[ox/claw] Change readClaw to take ref to TypeStore
2023-12-14 23:56:02 -06:00
3a781f6704
[ox/std] Improve r/l-value correctness of Result::to, make unwrap nodiscard
2023-12-14 22:41:05 -06:00
30909f85a3
[ox/std] Fix Result::copyTo
2023-12-14 22:33:03 -06:00
9cc27f5be9
[ox/std] Fix error handling for Result::copyTo
2023-12-14 22:28:16 -06:00
d31938ba4f
[ox] Make Result copyTo and moveTo take refs
2023-12-14 22:26:17 -06:00
e6803af22f
[ox/mc] Fix more Clang issues
2023-12-14 21:35:02 -06:00
c426decd99
[ox/oc] Fix C string writing
2023-12-14 19:28:14 -06:00
496afd66ea
[ox/fs] Fix segfault in FileAddress
2023-12-14 19:27:47 -06:00
960889749d
[ox] Fix some template issue that come up with some versions of Clang, fix empty string read in OC
2023-12-13 22:46:13 -06:00
a4fac4c1d3
[ox/fs] Some cleanup for FileAddress
2023-12-09 15:06:06 -06:00
eed240eacc
[ox/mc] Fix test struct model, fix zeroing out of empty vectors in unions
2023-12-09 11:21:27 -06:00
cc7c7ac9d7
[ox/std] Fix more functions to work with UPter custom deleters
2023-12-09 01:33:33 -06:00
8804819e17
[ox/model] Remove another const_cast
2023-12-09 00:50:14 -06:00
ade6af8698
[ox] Add optional typename to satisfy clangd
2023-12-09 00:49:37 -06:00
cd0958c691
[ox] Cleanup some const_casts
2023-12-09 00:49:03 -06:00
1298051a1a
[ox/std] Give UPter alias the other template parameter of UniquePtr
2023-12-08 22:33:36 -06:00
f169c96e78
[ox/claw] Remove ReadClaw from build
2023-12-07 00:15:08 -06:00
7e19f45c69
[ox/std] Add SpanView::data()
2023-12-05 22:51:18 -06:00
0d606643f5
[ox/mc,ox/oc] Fix write for ox::Array, cleanup
2023-12-04 21:43:22 -06:00
7d9a1676e8
[ox/claw] Test cleanup
2023-12-04 00:26:08 -06:00
b61f81abf0
[ox] Make tests more consistent
2023-12-04 00:22:00 -06:00
5cbf789374
[ox/std] Add lastIndexOf(StringView, char)
2023-12-03 22:14:42 -06:00
8f5173e52a
[ox/std] Add CStringView::CStringView(StringLiteral)
2023-12-03 19:06:37 -06:00
9ab3543b32
[ox/std] Rename Result::get to Result::copyTo
2023-12-03 19:03:42 -06:00
d16bbef282
[ox/std] Remove ox_strcpy
2023-12-03 19:03:08 -06:00
a8db357360
[ox/fs] Cleanup unnecessary constructors in FileAddress
2023-12-03 19:02:36 -06:00
b13eb0ef70
[ox/fs] Make FileAddress constructor take a StringLiteral
2023-12-03 10:17:24 -06:00
9855a0bcf0
[ox/std] Cleanup
2023-12-02 04:02:42 -06:00
611e2fa7cb
[ox/std] Cleanup
2023-12-02 01:13:03 -06:00
95d9aee0cf
[ox/std] Cleanup stdlib/non-stdlib specific build path in logging
2023-12-02 00:26:18 -06:00
3de03bf1fd
[ox] Make String::String(String const&) explicit
2023-12-01 23:39:40 -06:00
72c130d8a9
[ox/std] Fix Result move constructor, add & and && variants of unwrap
2023-12-01 22:50:25 -06:00
1a1c8ae6cc
[ox] Make ox::String::String(const char*) explicit
2023-12-01 22:36:24 -06:00
fc5e63a4d7
[ox/std] Make substr support CStringView, and always return a StringView
2023-11-30 23:15:51 -06:00
68a0dd9660
[ox/std] Give Vector MaybeSV in places where it makes sense
2023-11-30 21:28:11 -06:00
d635a954fa
[ox/std] Add missing file, add more string types
2023-11-30 21:24:05 -06:00
dd16577b50
[ox/fs] Change substr function form
2023-11-30 01:02:29 -06:00
c0aa119155
[ox/fs] Add FileSystem::write variants that take Spans
2023-11-30 01:02:05 -06:00
3c9ce4436a
[ox/fs] Make FileAddress::getPath return a StringView
2023-11-30 01:01:01 -06:00
2a692fc46e
[ox/std] Add Span::data()
2023-11-30 01:00:38 -06:00
15bc41dd35
[ox/std] Fix StringView(BaseStringView const&) constructor
2023-11-29 00:35:34 -06:00
3a62650d62
[ox/std] Make String(StringView) constructor explicit, add StringLiteral
2023-11-28 23:31:11 -06:00
7008ebfb40
[ox/std] Make HashMap use StringView for string lookups
2023-11-28 23:29:10 -06:00
709dc36d0b
[ox/mc] Fix read test
2023-11-27 22:02:38 -06:00
ecc49a63b0
[ox] Change log channel delimiter from :: to .
2023-11-25 20:58:35 -06:00
a84a829769
[ox] Cleanup String/StringView conversions, MallocaPtr
2023-11-23 01:34:16 -06:00
b12097769e
[ox/std] Fix MSVC warnings
2023-11-14 20:23:21 -06:00
e9c5134286
[ox/model] Fix compile error when instantiating ModelHandlerAdaptor for readers
2023-11-14 20:21:02 -06:00
b7a1236bae
[ox/model] Fix MSVC warning
2023-11-14 20:19:25 -06:00
d386bc8c91
[ox/mc] Fix MC read alloca in a loop
2023-11-13 23:42:09 -06:00
3eec0a149d
[ox/mc] Cleanup
2023-11-13 22:59:11 -06:00
8d2c8df014
[ox/mc] Fix an unwanted formatting "correction" from Visual Studio
2023-11-13 21:53:21 -06:00
18ace3ceff
[ox/mc] Fix use of uncaptured var in lambda
2023-11-13 21:50:11 -06:00
597a8c736e
[ox/mc] Fix alloca use in loop
2023-11-12 00:53:25 -06:00
d9b676d1b2
[ox/std] 32 bit system fixes
2023-11-12 00:41:47 -06:00
158115c29f
[ox] Fix most MSVC warnings
2023-11-12 00:31:13 -06:00
77e475980d
[ox/model] Restore assert in modelFieldCount
2023-11-11 23:30:34 -06:00
3fbb2a0086
[ox/logconn] MSVC fixes
2023-11-11 21:57:25 -06:00
ce20282be0
[ox/std] MSVC fix
2023-11-11 21:14:59 -06:00
7ee52db6a1
[ox] MSVC fixes
2023-11-11 20:24:11 -06:00
4ae6fd7c17
[ox/std] Add uint_t
2023-11-05 10:18:39 -06:00
4d09eecb0d
[ox/std] Fix Linux-AArch64 build
2023-10-30 01:20:21 -05:00
66d7627ed8
[ox/claw] Add missing file
2023-10-22 21:16:39 -05:00
ebb8b12c4e
[ox/fs] Add ox::Buffer constructor to FileSystemTemplate
2023-10-22 20:35:57 -05:00
1f78ea1f37
[ox] Add Reader_c and make MetalClawReader use it
2023-10-22 16:42:03 -05:00
ba30caa9b2
[ox/std] Add SpanView
2023-09-30 13:38:19 -05:00
5cdf241321
[ox/preloader] Fix for what appears to be a bug in Apple Clang
2023-09-28 21:01:18 -05:00