Commit Graph

1328 Commits

Author SHA1 Message Date
gary 0c92672a2b [ox/std] Add IntegerRange_c
(synced from 08f958fbac)
2024-05-22 23:14:06 -05:00
gary 796a703863 [ox/std] Fix Vector insert functions
(synced from a651d45a2f)
2024-05-22 23:13:52 -05:00
gary 8b95bd6e6a [ox/std] Fix some Windows warnings
(synced from f6a0ae2027)
2024-05-22 00:26:56 -05:00
gary 1ae51fa4e2 [ox/std] Make MallocaPtr call destructor
(synced from 87416e13ee)
2024-05-20 02:46:19 -05:00
gary 80d5f87de4 [ox/std] Make Point and Size members int32_t
(synced from 047b43968e)
2024-05-20 02:06:27 -05:00
gary 8048b601a3 [ox/std] Add SmallMap::pairs(), SmallMap model
(synced from 123c41254f)
2024-05-19 22:15:13 -05:00
gary a9ead7b0b6 [ox/std] Add operator-> to SpanIterator
(synced from 963ec5d3f7)
2024-05-19 22:14:28 -05:00
gary d537305ec6 [glutils] Add size function to FrameBuffer
(synced from 6df77a23ab)
2024-05-19 22:13:57 -05:00
gary 6ae5799866 [ox/std] Add missing typenames
(synced from df412cf8d0)
2024-05-18 13:01:06 -05:00
gary 067545dd22 [ox/std] Remove dedicated keys array from SmallMap
(synced from 7233da75ea)
2024-05-11 01:59:40 -05:00
gary 8e0211fb77 [ox/std] Add small sz option to SmallMap
(synced from 30797c710b)
2024-05-11 00:53:31 -05:00
gary 7213811828 [ox/std] Add missing oxExpect to timeMapStrToUuid
(synced from e8041121d0)
2024-05-11 00:26:57 -05:00
gary e980281861 [ox/std] Remove empty if from SmallMap
(synced from d054528e49)
2024-05-11 00:24:37 -05:00
gary 23de0a9179 [ox/std] Add some functions for comparing HashMap and SmallMap
(synced from 09d840cfd0)
2024-05-10 23:58:35 -05:00
gary ac948e7324 [ox/std] Cleanup SmallMap, make it easier to make potential changes
(synced from aeb1ef3b12)
2024-05-10 23:58:22 -05:00
gary daae50f8b3 [ox/std] Add hash function for UUID
(synced from b66f61c217)
2024-05-10 23:55:41 -05:00
gary 98c4f1b675 [ox/std] Optimize Array compare
(synced from b089bf460b)
2024-05-10 23:54:22 -05:00
gary 67d3aedc44 [ox/std] Fix bugs in HashMap and SmallMap
(synced from cd60c4abaf)
2024-05-10 22:10:34 -05:00
gary 3a4af7c0f7 [ox/std] Add == and != operators to UUID
(synced from d1845448c3)
2024-05-10 22:10:14 -05:00
gary 88538403b0 [ox/clargs] Replace C string with StringView
(synced from 17f28d43d1)
2024-05-10 01:30:54 -05:00
gary 708b79ecf2 [ox] Cleanup string len handling
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.

(synced from 043df533b7)
2024-05-10 01:29:13 -05:00
gary 4116aeeaf0 [ox/std] Fix memory leak in Vector
(synced from bec75d2eba)
2024-05-09 23:12:36 -05:00
gary 6cddc0c3fe [ox/std] Add SmallMap
(synced from 204e5bbff4)
2024-05-08 23:46:12 -05:00
gary 54a6a7df0b [ox/std] Remove incomplete writeF32toa
(synced from 74a8a7d751)
2024-05-08 23:43:12 -05:00
gary 0db4a1a345 [ox] Cleanup
(synced from 63486c23d4)
2024-05-08 23:35:05 -05:00
gary 5a9ffa2818 [ox/std] Update Vector memory map for preloader
(synced from 47a6a410c4)
2024-05-03 23:41:16 -05:00
gary 425c4a1126 [ox/std] Rework itoa
(synced from 20ff0f89fe)
2024-05-03 20:31:40 -05:00
gary 45bb349204 [ox/model] Remove broken global var
(synced from 4061b8314e)
2024-05-03 00:12:34 -05:00
gary 285b72d864 [ox/std] Add String::append(StringView), cleanup
(synced from 18bb50626d)
2024-05-03 00:07:03 -05:00
gary af57f37e72 [ox/std] Remove append operators from IString
This is because the append operators cannot report the failure that is possible with IString

(synced from d2a3cfa72e)
2024-05-02 23:59:19 -05:00
gary cf09bf1e62 [ox/std] Cleanup IString
(synced from 7c4e2a6564)
2024-05-02 23:33:39 -05:00
gary c4aa127709 [ox/std] Cleanup
(synced from 7163947efd)
2024-05-02 23:14:03 -05:00
gary 46f371ae7e [ox/std] Make substr always take and return a StringView
(synced from fda1280d29)
2024-05-02 22:20:25 -05:00
gary ad0e70cd9e [cityhash] Cleanup
(synced from 59aa4ad21a)
2024-05-02 22:20:01 -05:00
gary b3b0dc599c [ox/std] Fix Integer assignment operator return
(synced from acd93337d4)
2024-04-29 22:54:34 -05:00
gary 784c63332c [ox/std] Fix Integer assignment operator return
(synced from cebd3b0a0f)
2024-04-29 22:52:34 -05:00
gary 3c22655950 [ox/std] Cleanup
(synced from 43e2e2155b)
2024-04-29 22:48:22 -05:00
gary 410e512e1b [ox/std] Make safeDelete constexpr
(synced from be1f90955b)
2024-04-29 22:43:27 -05:00
gary 712658e2f3 [ox/std] Add std::string(_view) variant of MaybeView
(synced from 0f2c18d554)
2024-04-25 23:03:38 -05:00
gary 9d4b3ac572 [ox/std] Make Vector::contains always noexcept
(synced from 1b629da8fc)
2024-04-24 21:39:02 -05:00
gary 42a8a51d04 [ox] Improve hasing and MaybeView
* Add CityHash dep
* Use CityHash for HashMap
* Make MaybeView more versatile
* Cleanup some inappropriate MaybeView uses

(synced from 32e4702dc7)
2024-04-24 20:59:37 -05:00
gary 62b049b979 [ox] Rename BString to IString
(synced from a00a0bd2ff)
2024-04-24 00:54:02 -05:00
gary 4314c35dc6 [ox] Remove oxIgnoreError
(synced from ea1feb726e)
2024-04-22 23:40:42 -05:00
gary 60492202e9 [ox] Run liccor
(synced from e9a6a09629)
2024-04-21 17:01:48 -05:00
gary f572b1357d Merge commit 'c0baf7efca0e4c3a86a018ad2564d9df7b07c133'
(synced from d7f309750e)
2024-04-21 13:13:26 -05:00
gary 11acb5e9dd [ox/std] Add String constructor that takes a StringLiteral
(synced from ebf3a6961e)
2024-04-21 10:31:26 -05:00
gary c6a0294b42 [ox/std] Add implicit String constructor for str literals
Also make String more constexpr friendly

(synced from dfd27afd67)
2024-04-18 23:59:47 -05:00
gary f95f907a03 [ox/std] Remove unnecessary copying from HashMap::expand
(synced from 6bfe184261)
2024-04-18 23:39:33 -05:00
gary 396e61ed99 [ox] Cleanup
(synced from 922323833c)
2024-04-18 23:32:54 -05:00
gary cb52640508 [ox] Cleanup
(synced from a20d7fd923)
2024-04-18 19:24:56 -05:00