Commit Graph

1052 Commits

Author SHA1 Message Date
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
gary 47573f8e77 [ox] Make TypeStore own all type info
(synced from 9c3a46d144)
2022-05-28 19:55:46 -05:00
gary a8f9c90c04 [ox/std] Add another redundant check to suppress GCC's pedantry
(synced from 440d9c0a46)
2022-05-28 18:58:33 -05:00
gary aeae3fbf5a [ox/std] Add operator std::string and operator const char* to String
(synced from 779b18e410)
2022-05-28 03:19:50 -05:00
gary 4935c9723b [ox/std] Make HashMap::at return a pointer instead of reference
(synced from addc2233e7)
2022-05-28 03:18:10 -05:00
gary 5ec7c85e26 [ox/std] Delete UniquePtr copy operators
(synced from dfd6670dfe)
2022-05-28 02:37:15 -05:00
gary ddf2f8c42a [ox/std] Fix problems in building with GCC 12
(synced from 9417307a8e)
2022-05-25 01:07:48 -05:00
gary 89d09c54da [ox/fs] Fix memory leak in FileAddress move
(synced from c7af7bc54c)
2022-05-24 20:31:30 -05:00
gary ed38ba5247 [ox] Fix compiler warnings
(synced from f2ddd15d63)
2022-05-21 16:17:32 -05:00
gary d207f34f7b [ox/claw] Fix error codes to differ
(synced from 4ee08441b0)
2022-05-19 22:22:31 -05:00