Commit Graph

1164 Commits

Author SHA1 Message Date
gary a9ea6c3d08 [ox] Cleanup, fix GBA build
(synced from 6bd7a84ddd)
2023-08-10 00:26:45 -05:00
gary 2942bf7933 [ox/std] Fix broken invocation of Vector::reserveInsert
(synced from f4ef762952)
2023-08-09 00:31:56 -05:00
gary c1d57c6a26 [ox/std] Fix Linux build
(synced from 987cd34df0)
2023-08-09 00:04:08 -05:00
gary ee16e9e863 [ox/std] Make ox::make handle std::exception to report what()
(synced from da6eb40966)
2023-08-09 00:01:17 -05:00
gary a73e5570a0 [ox] Fix FreeBSD build
(synced from e5a7d8c0a9)
2023-08-08 23:57:09 -05:00
gary fa9c39920d [ox/std] Fix some type implicit conversions in ox_itoa
(synced from f514b33b06)
2023-07-16 13:53:28 -05:00
gary 9da5eff97f [ox/std] Make mgba logging functions compile on all platforms
(synced from ddcb53a535)
2023-07-11 21:58:22 -05:00
gary 6987300038 [ox] Correct tests path
(synced from 280130c3cd)
2023-07-01 16:17:41 -05:00
gary d78c70a5a6 [ox] Make tests search in {build output}/bin dir for tests
(synced from 6166ab15db)
2023-07-01 16:03:19 -05:00
gary 4e03a20843 [ox/logconn] Change some C strings to StringViews, add macro for initializing logger
(synced from 7755168004)
2023-06-26 23:58:10 -05:00
gary 1c1d551cee [ox/std] Change InitTraceMsg::appName from C string to BString<128>
(synced from cf5786a4ed)
2023-06-26 23:57:17 -05:00
gary 46762f3fd6 [ox/std] Add Result::to for passing value to functions
(synced from 741026680a)
2023-06-25 17:21:56 -05:00
gary fba84f9bb5 [ox/std] Make Vector functions also noexcept for pointers
(synced from 822090f309)
2023-06-25 17:21:29 -05:00
gary 87d89f4c60 [ox/std] Make many Vector functions conditionally noexcept
(synced from 7437487340)
2023-06-18 01:39:35 -05:00
gary a843c60570 [ox] Cleanup Vector
(synced from dde51151ff)
2023-06-13 23:51:13 -05:00
gary 9e481c1e36 [ox/std] Fix code duplication
(synced from 20e5b7e617)
2023-06-10 01:15:55 -05:00
gary b156ee3141 [ox/std] Add UUID::toString variant that takes a Writer_c
(synced from bb85e6ab6c)
2023-06-09 22:07:19 -05:00
gary 562393a5dc [ox] Make StringView write function take a Writer_c reference
(synced from b67359ddb0)
2023-06-09 21:14:28 -05:00
gary b9f5f7f827 [ox/mc] Make write's setTypeInfo return Error if unable to allocate field presence buff
(synced from b2103e558e)
2023-06-09 20:53:20 -05:00
gary 6457a4e0e9 [ox] Make model system's setTypeInfo return an Error
(synced from e22743961a)
2023-06-09 20:49:36 -05:00
gary 32bb7e8dda [ox] Make OC and Claw writers take const values
(synced from 5a021043f4)
2023-06-08 21:57:43 -05:00
gary 008da6953c [ox] Remove SerStr
(synced from 23054c9f6f)
2023-06-08 21:34:33 -05:00
gary 244250fb0d [ox] Cleanup serialization writers, make MC and Claw use Writer_c
(synced from 2c8e073172)
2023-06-08 21:18:26 -05:00
gary 6b48694518 [ox/mc] Make writeOC work with const inputs
(synced from 6f5f2c7219)
2023-06-08 01:13:24 -05:00
gary fe55179500 [ox/mc] Make MC Write use Writer_c
(synced from ce4dcdcd18)
2023-06-08 00:56:02 -05:00
gary 57a292abb0 [ox] Fix remaining implicit conversion issues
(synced from 3fdfee33a9)
2023-06-07 00:41:09 -05:00
gary 74db4a5ce5 [ox/fs] Cleanup formatting
(synced from acf04665bc)
2023-06-06 00:29:17 -05:00
gary 0e00e59264 [ox] Fix Xcode build errors
(synced from 7bccfc8a00)
2023-06-06 00:17:51 -05:00
gary d4f20d57ce [ox/fs] Make directAccess functions const
(synced from 8c7f6ffafc)
2023-06-03 22:04:02 -05:00
gary 2dbd3486c4 [ox/std] Make stacktrace code more readable
(synced from 25954d5503)
2023-06-02 20:29:58 -05:00
gary fe6f87cbf3 [ox] Make panic always print message
(synced from 5c8242490e)
2023-06-01 23:48:39 -05:00
gary bc887e263d [ox/std] Cleanup geo types to not depend on ox/model
(synced from 07284ac595)
2023-06-01 23:19:51 -05:00
gary 16c56e1d50 [ox] Put oxReturnError and oxThrowError in brackets
(synced from d598efb5ea)
2023-05-30 20:51:54 -05:00
gary 9283c77be7 [ox] Cleanup
(synced from fa4e3c6329)
2023-05-30 20:50:47 -05:00
gary e6ea8b581e [ox] Add makeCatch function
(synced from 90ef5866dd)
2023-05-30 20:49:57 -05:00
gary 6513d9a2a0 [ox/std] Add geo types
(synced from 4e0ce57594)
2023-05-30 20:43:39 -05:00
gary e1500a9b97 [ox] GCC13 fix
(synced from bd665cfc35)
2023-05-19 21:35:00 -05:00
gary de999002e4 [ox] Fix for a broken new memory safety check in GCC13
(synced from fcf0a9be95)
2023-05-19 21:32:18 -05:00
gary c4f4a9b449 [ox] Get rid of ox subdirectory in lib install path
(synced from 546ce9b253)
2023-04-19 20:45:18 -05:00
gary e77533b50c [ox/std] Cleanup
(synced from 9af8530e24)
2023-04-02 09:42:49 -05:00
gary 1ce9a5bcbf [ox] Switch Mac to use builtin bit_cast
(synced from b8c0bbe03a)
2023-04-01 23:23:36 -05:00
gary 821edaad3c [ox/oc] Fix unnecessary copy
(synced from 19d5641c6e)
2023-03-11 16:57:04 -06:00
gary eb37f39ce3 [ox/preloader] Cleanup NativePlatSpec
(synced from 21131a35a3)
2023-03-11 16:56:44 -06:00
gary cb1f99ec36 [ox/std] Add all_of and any_of range functions, cleanup
(synced from b58431c09a)
2023-03-11 16:46:17 -06:00
gary beaf479126 [ox/std] Add test for non-constexpr version of UUID::isNull()
(synced from 9583b223ca)
2023-03-04 16:12:51 -06:00
gary fc6a2b218d [ox/std] Updated UUID test for changed random num gen
(synced from aab02f25c0)
2023-03-04 02:49:52 -06:00
gary c96ee6ce1d [ox/std] Add UUID::isNull()
(synced from c75ff7881f)
2023-03-03 23:24:38 -06:00
gary 0eafbad943 [ox/std] Shift away 4 lowest bits of random numbers generated in UUID,
as Xoroshiro128+ is apparently weaker for those bits

(synced from 06f6656c85)
2023-03-03 00:57:25 -06:00
gary 4359961bf8 [ox/preloader] Cleanup
(synced from 317e714373)
2023-02-25 22:25:14 -06:00
gary 493fa70392 [ox/std] Fix various issues with Optional copy and move constructors
(synced from 1767821161)
2023-02-19 16:48:35 -06:00