Commit Graph

1179 Commits

Author SHA1 Message Date
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
gary cadfa817a2 [ox/std] Add uint_t
(synced from 4ae6fd7c17)
2023-11-05 10:18:39 -06:00
gary ea370bd470 [ox/std] Fix Linux-AArch64 build
(synced from 4d09eecb0d)
2023-10-30 01:20:21 -05:00
gary 3c8f651c95 [ox/claw] Add missing file
(synced from 66d7627ed8)
2023-10-22 21:16:39 -05:00
gary 4d6951bbeb [ox/fs] Add ox::Buffer constructor to FileSystemTemplate
(synced from ebb8b12c4e)
2023-10-22 20:35:57 -05:00
gary 5a94931d38 [ox] Add Reader_c and make MetalClawReader use it
(synced from 1f78ea1f37)
2023-10-22 16:42:03 -05:00
gary 3569bca3a4 [ox/std] Add SpanView
(synced from ba30caa9b2)
2023-09-30 13:38:19 -05:00
gary fb61f81b67 [ox/preloader] Fix for what appears to be a bug in Apple Clang
(synced from 5cdf241321)
2023-09-28 21:01:18 -05:00
gary c3c70a7108 [ox/std] Add Span type
(synced from 206b2825c8)
2023-09-16 18:32:06 -05:00
gary 6c766779da [ox/std] Make assert functions take StringViews instead of C strings
(synced from b6f86551e9)
2023-09-02 01:11:40 -05:00
gary c9828b0bef [ox/std] Fix Vector for MSVC
(synced from 1a7e551025)
2023-08-30 21:01:20 -05:00
gary 35cc812d1f [ox] Tell CMake that Ox is C++ only
(synced from cc0da5dd6a)
2023-08-26 22:39:33 -05:00
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