Commit Graph

58 Commits

Author SHA1 Message Date
gary c2a7473b36 [ox] Run liccor
(synced from 9ee6cfbbfd)
2022-01-13 02:05:02 -06:00
gary 74c62a1780 [ox] Correct bad bit_cast uses and improve constexpr-ness
(synced from 1f24912ddd)
2021-12-11 19:16:29 -06:00
gary 5b6a66d03a [ox/{mc,oc}] Fix problems caused by making methods const
(synced from d8a13a0933)
2021-07-29 23:25:45 -05:00
gary e1cbe18cdf [ox/{mc,oc}] Improve noexcept correctness
(synced from 55f14eb548)
2021-07-29 23:25:38 -05:00
gary 31403cd379 [ox] Remove need for explicit fields count in model system, add ox::String handler to OC
(synced from 2e9b7fe871)
2021-07-29 23:25:35 -05:00
gary c445f33990 [ox/mc] Cleanup
(synced from a415e86ae5)
2021-05-03 21:37:00 -04:00
gary d4a033c0bf [ox] Replace uint8_t* with char* as buffer type in MC, OC, and Model
(synced from 4f2c0b2e30)
2021-05-03 14:16:23 -04:00
gary 580db9aa2c [ox/mc] Switch Vector detection over to isVector_v
(synced from 704b94f471)
2021-05-03 13:13:40 -04:00
gary 78c8d6ffe5 [ox] Add Result<T> read{OC,MC,Claw}<T>(...)
(synced from 58dbda48c4)
2021-04-21 00:06:24 -05:00
gary 7b0a52c469 [ox] General cleanup and updating to newer coding standards
(synced from 161780cb91)
2021-04-20 01:55:40 -05:00
gary 49e15ea8fe [ox/mc] Cleanup field presence indicator code
(synced from 9822a6ec47)
2021-04-17 16:59:16 -05:00
gary e5126436da [ox/mc] Make read take const buffers
(synced from 394d13df9b)
2021-04-17 16:37:58 -05:00
gary 8a3275750d [ox/std] Make HashMap::at return type consistent between const/non-const
(synced from 7bbd7bfdb5)
2021-04-01 02:41:12 -05:00
gary bcbcfb09bd [ox] Run liccor
(synced from 546f083346)
2021-01-21 23:35:13 -06:00
gary ee77eef168 [ox] Rename ValErr to Result
(synced from 6b720042d0)
2020-10-16 19:43:10 -05:00
gary cb37b6dab2 [ox] Remove now superfluous [[nodiscards]] from ox::Error functions
(synced from 75814a2896)
2020-10-15 23:55:20 -05:00
gary 41d1a39adb [ox] Add HashMap<String, T> to serializaton handlers
(synced from b6f8c9e242)
2020-06-19 07:34:04 -05:00
gary f3dd0f1bba [ox] Fix GBA build
(synced from 2dad1688b5)
2020-05-17 04:20:43 -05:00
gary 2be5b6e89a [ox] Fix Mac build and fix MC to increment field counter on empty string
(synced from 819959745d)
2020-05-08 21:32:56 -05:00
gary 01e12d8b74 [ox/mc] Fix int reads not to clear out unions
(synced from d2e7528dae)
2020-04-13 02:37:08 -05:00
gary 54b577e152 [ox] Add support for unions to model and mc
(synced from 1d07890668)
2020-04-13 02:28:38 -05:00
gary 21df2e78df [ox/model] Harmonize make the interface for walking over models
(synced from 5d95b188d8)
2020-04-09 22:57:03 -05:00
gary afd829a7d7 [ox/mc] Prevent reading array length of absent array
(synced from d7b5f51fdc)
2020-03-30 23:59:01 -05:00
gary c795358777 [ox/mc] Fix buffer overrun issues
(synced from 693e7324ed)
2019-11-03 16:42:42 -06:00
gary 8fc9eec31b [ox/mc] Add support for individual element readers for arrays
(synced from 0825c9869a)
2019-11-01 01:28:29 -05:00
gary 70bb199c70 [ox/mc] Fix read to resize Vectors before writing to them
(synced from 4ca4c31539)
2019-10-25 21:48:43 -05:00
gary 7a496f408b [ox] Make ValErr::operator T() explicit
(synced from c27cc56e31)
2019-07-30 19:00:01 -05:00
gary 6766f8d2a7 [ox] Make Error use a strong int
(synced from f4b336dd77)
2019-07-28 00:15:10 -05:00
gary af5102b714 [ox] Get building with devkitARM again
(synced from b33cd06031)
2019-03-18 00:19:04 -05:00
gary 2a9da95ffb [ox/model] Rename ioOp and op to model and field
(synced from bbd1d187b2)
2019-03-17 13:18:46 -05:00
gary b857fff9d8 [ox] Rename Serialization package to Model
(synced from bf6469b4a3)
2019-03-17 13:04:18 -05:00
gary 179dee515f [ox/mc] Use VLI encoding for integers
(synced from e0605edb6e)
2019-03-17 03:04:39 -05:00
gary 69f2f56278 [ox/mc] Finish encoding for variable length integers
(synced from 17fc48aa26)
2019-03-15 01:30:38 -05:00
gary 617c5be42c [ox/ser] Rename McStr to SerStr
(synced from 538fcdb43c)
2019-03-08 21:26:21 -06:00
gary 740fcbb4d1 [ox/mc] Rename FieldPresenceMask to FieldPresenceIndicator
(synced from e45122184e)
2019-03-07 23:00:59 -06:00
gary b9dc6f2056 [ox] Split generalizable portion MC into ser package
(synced from f218ec44af)
2019-03-07 21:47:46 -06:00
gary c212ebeda7 [ox/mc] Add basic walking of data by data descriptor
(synced from cd91f6b60a)
2019-03-07 06:05:08 -06:00
gary acd04c496c [ox/mc] Add Walker
(synced from def449607c)
2019-02-24 23:57:31 -06:00
gary 14e96f441a [ox] Move buildinfo and trace packages into std
(synced from 5a1d1c0a2f)
2019-02-23 23:15:09 -06:00
gary 375853f710 [ox/mc] Add McStr to wrap C style strings to distinguish them from arrays
(synced from 1c64096c38)
2019-02-13 02:42:33 +00:00
gary f54e19ab9b [ox/mc] Add Vector handler to Reader and Writer
(synced from c8f39af001)
2019-02-12 05:02:40 +00:00
gary 8f2f99c038 [ox/mc] Add def writer
(synced from 75aeedb7b5)
2019-02-11 05:59:33 +00:00
gary e13d0ad95d [ox/std] Remove ::size_t
(synced from b8c54eba0c)
2018-04-12 19:35:16 -05:00
gary 9f9be4ecae [ox/std] Remove bigEndianAdapt
(synced from 57a9221fb3)
2018-04-12 07:43:58 -05:00
gary a6b214da7d Replace C casts with static and reinterpret casts in MC
(synced from 4d86f0e3d9)
2018-03-10 01:11:38 -06:00
gary 3b18fbd3c2 Add ioOp for TraceMsg and cleanup MetalClaw
(synced from 7f3cda0ab3)
2018-02-15 22:22:55 -06:00
gary 95e1c478a3 Rename bstring to BString for consistency
(synced from fc9726b3ec)
2018-02-02 01:30:56 -06:00
gary 6a3ac85620 Run liccor
(synced from 04e5af6fe6)
2018-01-29 21:55:58 -06:00
gary fe062cf4b7 Add methods for getting array and string length of Metal Claw fields 2017-12-22 00:17:24 -06:00
gary 009cf99225 Add OpType for Metal Claw operators 2017-12-22 00:16:44 -06:00