Commit Graph

809 Commits

Author SHA1 Message Date
gary 5fd4273143 [ox/claw] Fix writeClawHeader to move return value
(synced from af7dbd1aee)
2021-05-03 20:59:43 -04:00
gary c8fe5c427a [ox/oc] Fix write to move return value
(synced from 8f48042a29)
2021-05-03 20:59:06 -04:00
gary 43ae39b5ce [ox/oc] Replace Vector<char> with Buffer
(synced from 51ae33aed2)
2021-05-03 20:38:13 -04:00
gary 2d00613868 [ox/{claw,mc}] Fix write functions to move return values
(synced from 1da5e60655)
2021-05-03 20:37:20 -04:00
gary b0aa4138fc [ox/claw] Replace Vector<char> with Buffer
(synced from 947b1e7798)
2021-05-03 20:09:08 -04:00
gary 9d04d656c2 [ox/std] Switch String from Vector<char> to Buffer
(synced from d20a24d10f)
2021-05-03 15:12:19 -04:00
gary a1f49f7ab5 [ox/fs] Cleanup
(synced from c1418cdd6c)
2021-05-03 14:56:00 -04:00
gary 566a5abca2 [ox/{mc,oc}] Cleanup
(synced from d01ff63527)
2021-05-03 14:52:36 -04:00
gary d585a545ab [ox/std] Add Buffer as Vector<char> alias
(synced from ceebc05ee9)
2021-05-03 14:42:41 -04:00
gary abc8d18826 [ox/fs] Make FileAddress args into const refs
(synced from 937bf3ad91)
2021-05-03 14:26:02 -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 5284ae8c1b [ox/oc] Move vector handling over to isVector_v
(synced from 18491dafd9)
2021-05-03 13:35:50 -04:00
gary 293456ce10 [ox/model] Fix modelEquals string and vector handling
(synced from 3a335084c9)
2021-05-03 13:31:31 -04:00
gary 2e833bbdc9 [ox/model] Add isVector_v
(synced from eb1a83d907)
2021-05-03 13:15:33 -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 6fd38aae3c [ox/claw] Cleanup
(synced from e2e62a235a)
2021-05-03 11:42:05 -04:00
gary d38d655f05 [ox/fs] Add move methods to FileAddress and fix copy operator to cleanup
(synced from 8f53dda1e2)
2021-05-03 11:39:29 -04:00
gary 7314270bc8 [ox/fs] Cleanup
(synced from cbc0fc983c)
2021-04-29 01:14:54 -05:00
gary c6af99bfa0 [ox/std] Update TraceMsg model
(synced from bccae1c613)
2021-04-28 22:35:53 -05:00
gary b5bdca9683 [ox/std] Improve noexcept correctness and make Error parameters into references
(synced from 85f3904115)
2021-04-25 15:05:39 -05:00
gary b8e2ddfa64 [ox/claw] Cleanup error handling
(synced from ee6929c7f0)
2021-04-25 15:01:11 -05:00
gary 900083271b [ox/oc] Cleanup test scaffolding and replace cout with oxOut
(synced from 6c629a9f13)
2021-04-25 14:49:57 -05:00
gary d758ff2edb [ox/std] Fix UniquePtr comparison operators to take const references to avoid copying
(synced from 356d6a5036)
2021-04-25 02:33:39 -05:00
gary 8b3f0cf15f [ox/std] Make fmt stringify(std::string) require C++20 and remove QString variant
(synced from 5e78289cbc)
2021-04-25 02:07:08 -05:00
gary ebd492d94e [ox/std] Make oxIgnoreError constexpr
(synced from 3ead29a8bb)
2021-04-24 15:50:02 -05:00
gary 7989607bc3 [ox/std] Add std::string and QString support to fmt
(synced from a2e1ac8851)
2021-04-24 15:48:46 -05:00
gary f68181bcc3 [ox/std] Add cbit_cast as a stop-gap until I can implment a normal constexpr bit_cast
(synced from 75902ba2a3)
2021-04-24 15:43:11 -05:00
gary 3d2ab93b91 [ox/model] Add modelops with copy, move, and equals
(synced from 24f26d822a)
2021-04-24 15:39:05 -05:00
gary 4ea317f966 [ox/fs] Add more detail to log messages of PassThroughFS
(synced from 4518288745)
2021-04-23 03:54:55 -05:00
gary fe9d924ffb [ox/fs] Make FileAddress methods and models constexpr and noexcept
(synced from 5e1d4fcd95)
2021-04-23 03:54:25 -05:00
gary 75c8e284e1 [ox/std] Fix HashMap and Vector move operators
(synced from 0cf25f3029)
2021-04-22 01:17:57 -05:00
gary 9b8f665196 [ox/std] Remove unnecessary cast
(synced from 85b101884a)
2021-04-22 01:09:42 -05:00
gary 8033334dd3 [ox/std] Make make_unique not noexcept
(synced from 8887daf7e4)
2021-04-22 01:08:19 -05:00
gary df8b4e4796 [ox/clargs] Fix overlapping memcpy that asan is being pedantic about
(synced from 9c63f26684)
2021-04-21 01:04:07 -05:00
gary 10aab24dd1 [ox/fs] Fix broken test that was hidden because of bad asserts
(synced from 9bd2a5a5ee)
2021-04-21 01:03:09 -05:00
gary 9615f10814 [ox/oc] Add move constructor for TestStruct
(synced from 5073681ff9)
2021-04-21 00:23:27 -05:00
gary 78c8d6ffe5 [ox] Add Result<T> read{OC,MC,Claw}<T>(...)
(synced from 58dbda48c4)
2021-04-21 00:06:24 -05:00
gary dbfad870b3 [ox/fs] Add Result<Vector<char>> FileSystem::read
(synced from 4540b410dc)
2021-04-21 00:05:37 -05:00
gary cc94a61655 [ox/fs] Remove unnecessary nodiscards
(synced from 4814b4f5cc)
2021-04-20 23:18:24 -05:00
gary 1ab08c442a [ox/oc] Add missing nodiscards
(synced from 17165f5394)
2021-04-20 23:18:05 -05:00
gary 1b676ecac7 [ox/std] Cleanup
(synced from a86bad1719)
2021-04-20 23:16:58 -05:00
gary dde2c00a73 [ox/std] Reorder Error fields to allow for better packing
(synced from 314ed8d05c)
2021-04-20 22:16:29 -05:00
gary 112042d868 [ox/oc] Replace std::unique_ptr usage with ox::UniquePtr
(synced from 841a7436c1)
2021-04-20 22:10:14 -05:00
gary 97b53189f8 [ox/std] Add UniquePtr
(synced from 2b579c58bb)
2021-04-20 22:09:52 -05:00
gary 2ad4545de7 [ox/std] Remove unnecessary template parameters from assert functions
(synced from a16b56325d)
2021-04-20 22:08:57 -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 24f6639c27 [ox/fs] Fix FileSystemTemplate::directAccess
(synced from c587bf0997)
2021-04-18 16:06:52 -05:00
gary cf7f8e84ea [ox/model] Improve const correctness of SerStr and UnionView
(synced from 659830fcdf)
2021-04-18 15:07:51 -05:00
gary 0591caa4b9 [ox/std] Add const version of Result::get
(synced from 16298d8672)
2021-04-18 15:05:48 -05:00
gary eadc3504ff [ox/mc] Correct parameter naming
(synced from 72cec8e459)
2021-04-18 15:05:00 -05:00