Commit Graph

1072 Commits

Author SHA1 Message Date
gary c81d137fa9 [ox] MSVC fixes
(synced from 1dddf4ad9d)
2022-12-18 16:39:20 -06:00
gary 865910e436 [ox/std] Add ox::make to wrap new in exception handling
(synced from 839a791ddd)
2022-12-17 13:54:26 -06:00
gary 2ba5313695 [ox/model] Change <> markers for type params to ## in type IDs to deal with NTFS' ineptitude
(synced from 26d6143006)
2022-12-17 13:38:59 -06:00
gary 38c92c6395 [nostalgia/studio] Add ClawViewer for unknown types
(synced from 44f45e64e9)
2022-12-15 01:36:55 -06:00
gary 92e32c16b9 [ox/preloader] Add ptr handling
(synced from 461e3d61ef)
2022-12-05 17:40:22 -06:00
gary 1593c000b1 [ox/std] Cleanup mGBA logging
(synced from 030d46a999)
2022-12-05 17:28:42 -06:00
gary 39f7aaca20 [ox/preloader] Fix Vector preloading
(synced from cd4a9300a5)
2022-12-04 22:31:51 -06:00
gary 11a71af0ff [ox/oc] Fix to iterate to next field of parent after reading array
(synced from fe42702e88)
2022-12-04 14:55:29 -06:00
gary 8dcba4cc9c [ox/model] Fix null ptr use when describing nested Vectors
(synced from ea7ccf40b1)
2022-12-04 01:48:56 -06:00
gary 24f751609c [ox/std] Begin mGBA registers with REG_MGBA_
(synced from 7434d949e7)
2022-12-03 17:24:58 -06:00
gary cb2cecd768 [ox/std] Remove write size output from mGBA logging function
(synced from 1868d53ecb)
2022-12-03 17:00:00 -06:00
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