Commit Graph

1061 Commits

Author SHA1 Message Date
gary 055e58bc7e [ox/std] Add mGBA logging
(synced from 3f86932ad8)
2022-12-03 16:48:07 -06:00
gary 1cf82b8908 [ox/preloader] Make Preloader use small string section of strings when able
(synced from 3040e6c90a)
2022-12-03 16:32:56 -06:00
gary 81f20426f8 [ox/preloader] Fix ox::String handling, add start and end alloc functions
(synced from 517ffddf04)
2022-12-03 01:47:04 -06:00
gary 509f6701b8 [ox/preloader] Fix SizeCather::pad
(synced from 5bac497293)
2022-12-03 01:43:45 -06:00
gary 2c97da053b [ox/std] Fix VectorMemMap sizeOf
(synced from 86c33019fe)
2022-12-03 01:42:23 -06:00
gary 60120fe6db [ox/model] Fix sizeOf functions
(synced from a946f8dae1)
2022-12-03 01:32:09 -06:00
gary b5cfb49290 [ox/preloader] Make Preloader::pad protected
(synced from 7c07fc9726)
2022-12-01 02:33:45 -06:00
gary 45db605f8e [ox/preloader] Fix alignment and add preload function
(synced from 5be8ed533e)
2022-12-01 01:59:27 -06:00
gary a91933293b [ox] Make setTypeInfo functions in model handlers consistent
(synced from 593a57a0ce)
2022-12-01 00:09:05 -06:00
gary b496b24bdc [ox/oc] Fix sub-object read not to return early
(synced from 50e2fadcd1)
2022-11-30 22:51:57 -06:00
gary a13368ec4d [ox/preloader] Rename BufferWriter::data() to BufferWriter::buff(), make return type const ref
(synced from ae26838324)
2022-11-30 20:49:52 -06:00
gary 080fad05be [ox/preloader] Remove unused files
(synced from e0381cd98a)
2022-11-30 20:49:13 -06:00
gary c26597a9eb [ox/fs] Cleanup unnecessary c_str()s
(synced from 512522711a)
2022-11-30 20:48:52 -06:00
gary 79f61757e6 [ox/fs] Fix FileAddress paths initialized from StringView to null terminate
(synced from 858a30ee08)
2022-11-30 20:48:09 -06:00
gary 8f66a13868 [ox/claw] Remove temporary assert that was placed for debugging
(synced from 1839b68a4a)
2022-11-30 20:47:28 -06:00
gary 3bbb77c71a [ox/preloader] Remove GbaPlatSpec
(synced from 04c882388e)
2022-11-30 02:26:24 -06:00
gary 17d2ed82c3 [ox] Add StringView, Writer system, Preloader system
(synced from cbb496c59f)
2022-11-30 01:45:11 -06:00
gary 9a1b9bdfd7 [ox/std] Add support for custom allocators in Vector
(synced from c6c18c18d3)
2022-08-16 01:30:12 -05:00
gary c4ecb64dd2 [ox/model] Make TypeStore::getInit always overwrite old value
(synced from bc98c42be6)
2022-08-13 20:42:06 -05:00
gary 5064ec2995 [ox/mc] Fix decoding of int64s
(synced from 84d54ba340)
2022-08-13 20:30:48 -05:00
gary b9f85ff8f3 [ox/std] Add support for integral types as keys in HashMap
(synced from 714d9fe433)
2022-08-07 10:23:09 -05:00
gary 0019945899 [ox/std] Add toLittleEndian and toBigEndian functions
(synced from 28960dd680)
2022-08-07 10:22:45 -05:00
gary d612cb5a91 [ox/std] Add default constructor to ox::Error
(synced from c6ba893583)
2022-08-01 21:49:34 -05:00
gary ca3513a5b2 [ox/model] Remove unused includes
(synced from 57785ebf99)
2022-08-01 21:49:07 -05:00
gary 87d349b26a [ox/std] Add is_const_v
(synced from 0d9c7867aa)
2022-07-30 18:28:57 -05:00
gary 336a354445 [ox/fs] Change FileAddress default type from Inode to None
(synced from b14e41d057)
2022-07-29 21:37:58 -05:00
gary 7a792644d7 [ox/std] Fix Result::moveTo to not move if error
(synced from f8f5b059ed)
2022-07-24 01:22:40 -05:00
gary 5d00067da7 [ox] Add const char *const* fieldString handlers to OC and MC writers
(synced from 1302d5bf85)
2022-07-21 02:18:56 -05:00
gary 77f87bf949 [ox/fs] Add separate case for write in FileLocation model
(synced from 6b9d9c50c7)
2022-07-21 02:17:11 -05:00
gary ab402ab423 [ox/std] Fix Vector move to not do small vector opt in consteval
(synced from 3a2995a67b)
2022-07-19 21:10:50 -05:00
gary 5bb2204ae7 [ox/model] Fix move constructors and operators in ModelValue system
(synced from 6ddeb29c92)
2022-07-19 21:09:02 -05:00
gary 3f4f657494 [ox/model] Remove _t from integer type descriptors
(synced from e71866b1a2)
2022-07-19 20:49:13 -05:00
gary 2460c840d7 [ox/std] Remove std::iterator
(synced from 63c8503cb6)
2022-07-14 21:37:04 -05:00
gary a4472b8618 [ox] Fix for GCC pedantry around potential null ptrs that will never happen
(synced from 94e3ed217a)
2022-07-13 21:20:11 -05:00
gary 775b4c77f5 [ox/fs] Make some PassThroughFS functions noexcept
(synced from ca9bf786b1)
2022-07-12 00:52:28 -05:00
gary 445678454f [ox/std] Fix VectorAllocator copy constructor to take a const reference
(synced from 82dc1895d5)
2022-07-10 16:01:55 -05:00
gary 8cc674a71e [jsoncpp] Add MSVC check
(synced from 3310dbba51)
2022-07-09 22:05:53 -05:00
gary 0b38f8e197 [ox/model] Change B:* type names to B.*
(synced from 793f635d2c)
2022-07-09 21:30:11 -05:00
gary 0e5a89efa1 [ox/model] Remove ModelObject copyModel and moveModel operations
These operations will require a lot more work to work correctly. This feature might be worth revisiting at some point though.

(synced from 522bb42e8f)
2022-07-09 01:43:21 -05:00
gary 69e38c7835 [ox/model] Remove ModelValue::operator= and add iterators to ModelObject
(synced from 3ca252320f)
2022-07-09 01:02:30 -05:00
gary 1324afd833 [ox/mc] Remove debug line from test
(synced from f8d2b9e1a7)
2022-07-09 00:43:28 -05:00
gary 2fd2945558 [ox/model] Fix Vector support for ModelValue system
(synced from 93e72ae938)
2022-07-07 20:02:26 -05:00
gary 627f5a17c6 [ox/fs] Fix PassthroughFS mkdir for recursive cases
(synced from 7d95dbaa99)
2022-07-04 12:40:57 -05:00
gary 074a7887d1 [ox] Overhaul serialization/model system and add ModelValue/ModelObject/ModelUnion variant system
(synced from ca64f95be3)
2022-07-04 02:39:20 -05:00
gary e7a45191ea [ox/model] Cleanup alreadyExisted checks in DescWriter
(synced from bc391b45fc)
2022-05-29 22:35:36 -05:00
gary ebd2dcd156 [ox] Make model type version mandatory
(synced from c4a1655a8f)
2022-05-29 22:21:05 -05:00
gary 4c3e0b7fe8 [ox/claw] Add readClaw function that uses an existing instance of T
(synced from ee851d7013)
2022-05-29 01:19:25 -05:00
gary c710bd15b1 [ox/model] Add Reflect op type, fix union field type output, bump desc type versions
(synced from 40cc222cd8)
2022-05-29 01:17:10 -05:00
gary e12c62fa6c [ox/oc] Make write omit lists if length is 0
(synced from d5252a45d3)
2022-05-28 20:33:05 -05:00
gary 3273ae14b6 [ox/std] Make Optional run destructor and constexpr friendly
(synced from 885f4a8713)
2022-05-28 19:56:43 -05:00