Commit Graph

886 Commits

Author SHA1 Message Date
887d3b3d13 [ox/std] Remove some unnecessary/breaking checks in BasicString::set functions 2022-12-29 02:12:11 -06:00
b08559b3f3 [ox/model] MSVC fix 2022-12-19 00:19:28 -06:00
c9f1b3aaa3 [ox/claw] MSVC fix 2022-12-18 23:27:59 -06:00
b818c1e3d6 [ox/std] Change __has_include_nexts to __has_include 2022-12-18 21:11:41 -06:00
706f5b345a [ox/claw] Remove ambiguous second TypeInfoCatcher::setTypeInfo 2022-12-18 21:11:12 -06:00
22a7ff74ce [ox/std] Fix unnecessary implicit sign conversion 2022-12-18 21:04:44 -06:00
4077f0bddc [ox] Fix for Windows 2022-12-18 21:04:44 -06:00
1dddf4ad9d [ox] MSVC fixes 2022-12-18 16:39:20 -06:00
839a791ddd [ox/std] Add ox::make to wrap new in exception handling 2022-12-17 13:54:26 -06:00
26d6143006 [ox/model] Change <> markers for type params to ## in type IDs to deal with NTFS' ineptitude 2022-12-17 13:38:59 -06:00
44f45e64e9 [nostalgia/studio] Add ClawViewer for unknown types 2022-12-15 01:36:55 -06:00
461e3d61ef [ox/preloader] Add ptr handling 2022-12-05 17:40:22 -06:00
030d46a999 [ox/std] Cleanup mGBA logging 2022-12-05 17:28:42 -06:00
cd4a9300a5 [ox/preloader] Fix Vector preloading 2022-12-04 22:31:51 -06:00
fe42702e88 [ox/oc] Fix to iterate to next field of parent after reading array 2022-12-04 14:55:29 -06:00
ea7ccf40b1 [ox/model] Fix null ptr use when describing nested Vectors 2022-12-04 01:48:56 -06:00
7434d949e7 [ox/std] Begin mGBA registers with REG_MGBA_ 2022-12-03 17:24:58 -06:00
1868d53ecb [ox/std] Remove write size output from mGBA logging function 2022-12-03 17:00:00 -06:00
3f86932ad8 [ox/std] Add mGBA logging 2022-12-03 16:48:07 -06:00
3040e6c90a [ox/preloader] Make Preloader use small string section of strings when able 2022-12-03 16:32:56 -06:00
517ffddf04 [ox/preloader] Fix ox::String handling, add start and end alloc functions 2022-12-03 01:47:04 -06:00
5bac497293 [ox/preloader] Fix SizeCather::pad 2022-12-03 01:43:45 -06:00
86c33019fe [ox/std] Fix VectorMemMap sizeOf 2022-12-03 01:42:23 -06:00
a946f8dae1 [ox/model] Fix sizeOf functions 2022-12-03 01:32:09 -06:00
7c07fc9726 [ox/preloader] Make Preloader::pad protected 2022-12-01 02:33:45 -06:00
5be8ed533e [ox/preloader] Fix alignment and add preload function 2022-12-01 01:59:27 -06:00
593a57a0ce [ox] Make setTypeInfo functions in model handlers consistent 2022-12-01 00:09:05 -06:00
50e2fadcd1 [ox/oc] Fix sub-object read not to return early 2022-11-30 22:51:57 -06:00
ae26838324 [ox/preloader] Rename BufferWriter::data() to BufferWriter::buff(), make return type const ref 2022-11-30 20:49:52 -06:00
e0381cd98a [ox/preloader] Remove unused files 2022-11-30 20:49:13 -06:00
512522711a [ox/fs] Cleanup unnecessary c_str()s 2022-11-30 20:48:52 -06:00
858a30ee08 [ox/fs] Fix FileAddress paths initialized from StringView to null terminate 2022-11-30 20:48:09 -06:00
1839b68a4a [ox/claw] Remove temporary assert that was placed for debugging 2022-11-30 20:47:28 -06:00
04c882388e [ox/preloader] Remove GbaPlatSpec 2022-11-30 02:26:24 -06:00
cbb496c59f [ox] Add StringView, Writer system, Preloader system 2022-11-30 01:45:11 -06:00
c6c18c18d3 [ox/std] Add support for custom allocators in Vector 2022-08-16 01:30:12 -05:00
bc98c42be6 [ox/model] Make TypeStore::getInit always overwrite old value 2022-08-13 20:42:06 -05:00
84d54ba340 [ox/mc] Fix decoding of int64s 2022-08-13 20:30:48 -05:00
714d9fe433 [ox/std] Add support for integral types as keys in HashMap 2022-08-07 10:23:09 -05:00
28960dd680 [ox/std] Add toLittleEndian and toBigEndian functions 2022-08-07 10:22:45 -05:00
c6ba893583 [ox/std] Add default constructor to ox::Error 2022-08-01 21:49:34 -05:00
57785ebf99 [ox/model] Remove unused includes 2022-08-01 21:49:07 -05:00
0d9c7867aa [ox/std] Add is_const_v 2022-07-30 18:28:57 -05:00
b14e41d057 [ox/fs] Change FileAddress default type from Inode to None 2022-07-29 21:37:58 -05:00
f8f5b059ed [ox/std] Fix Result::moveTo to not move if error 2022-07-24 01:22:40 -05:00
1302d5bf85 [ox] Add const char *const* fieldString handlers to OC and MC writers 2022-07-21 02:18:56 -05:00
6b9d9c50c7 [ox/fs] Add separate case for write in FileLocation model 2022-07-21 02:17:11 -05:00
3a2995a67b [ox/std] Fix Vector move to not do small vector opt in consteval 2022-07-19 21:10:50 -05:00
6ddeb29c92 [ox/model] Fix move constructors and operators in ModelValue system 2022-07-19 21:09:02 -05:00
e71866b1a2 [ox/model] Remove _t from integer type descriptors 2022-07-19 20:49:13 -05:00
63c8503cb6 [ox/std] Remove std::iterator 2022-07-14 21:37:04 -05:00
94e3ed217a [ox] Fix for GCC pedantry around potential null ptrs that will never happen 2022-07-13 21:20:11 -05:00
ca9bf786b1 [ox/fs] Make some PassThroughFS functions noexcept 2022-07-12 00:52:28 -05:00
82dc1895d5 [ox/std] Fix VectorAllocator copy constructor to take a const reference 2022-07-10 16:01:55 -05:00
3310dbba51 [jsoncpp] Add MSVC check 2022-07-09 22:05:53 -05:00
793f635d2c [ox/model] Change B:* type names to B.* 2022-07-09 21:30:11 -05:00
522bb42e8f [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.
2022-07-09 01:43:21 -05:00
3ca252320f [ox/model] Remove ModelValue::operator= and add iterators to ModelObject 2022-07-09 01:02:30 -05:00
f8d2b9e1a7 [ox/mc] Remove debug line from test 2022-07-09 00:43:28 -05:00
93e72ae938 [ox/model] Fix Vector support for ModelValue system 2022-07-07 20:02:26 -05:00
7d95dbaa99 [ox/fs] Fix PassthroughFS mkdir for recursive cases 2022-07-04 12:40:57 -05:00
ca64f95be3 [ox] Overhaul serialization/model system and add ModelValue/ModelObject/ModelUnion variant system 2022-07-04 02:39:20 -05:00
bc391b45fc [ox/model] Cleanup alreadyExisted checks in DescWriter 2022-05-29 22:35:36 -05:00
c4a1655a8f [ox] Make model type version mandatory 2022-05-29 22:21:05 -05:00
ee851d7013 [ox/claw] Add readClaw function that uses an existing instance of T 2022-05-29 01:19:25 -05:00
40cc222cd8 [ox/model] Add Reflect op type, fix union field type output, bump desc type versions 2022-05-29 01:17:10 -05:00
d5252a45d3 [ox/oc] Make write omit lists if length is 0 2022-05-28 20:33:05 -05:00
885f4a8713 [ox/std] Make Optional run destructor and constexpr friendly 2022-05-28 19:56:43 -05:00
9c3a46d144 [ox] Make TypeStore own all type info 2022-05-28 19:55:46 -05:00
440d9c0a46 [ox/std] Add another redundant check to suppress GCC's pedantry 2022-05-28 18:58:33 -05:00
779b18e410 [ox/std] Add operator std::string and operator const char* to String 2022-05-28 03:19:50 -05:00
addc2233e7 [ox/std] Make HashMap::at return a pointer instead of reference 2022-05-28 03:18:10 -05:00
dfd6670dfe [ox/std] Delete UniquePtr copy operators 2022-05-28 02:37:15 -05:00
9417307a8e [ox/std] Fix problems in building with GCC 12 2022-05-25 01:07:48 -05:00
c7af7bc54c [ox/fs] Fix memory leak in FileAddress move 2022-05-24 20:31:30 -05:00
f2ddd15d63 [ox] Fix compiler warnings 2022-05-21 16:17:32 -05:00
4ee08441b0 [ox/claw] Fix error codes to differ 2022-05-19 22:22:31 -05:00
71f6364ea3 [ox/fs] Fix FileAddress(String) to allocate correct amount of memory 2022-05-18 03:27:45 -05:00
b5210ff897 [ox/std] Add ox::errCode for extracting error code from Error 2022-04-10 03:04:15 -05:00
9d74eca436 [ox/std] Use std::construct_at in Vector instead placement new 2022-04-10 03:03:07 -05:00
cf7f9b9088 [ox/std] Add std::construct_at 2022-04-10 03:02:57 -05:00
a02d496de5 [ox/std] Add Result::Result(const Result<U> other) 2022-03-26 16:53:00 -05:00
82021b8ee5 [ox] Cleanup mc and std tests 2022-03-24 20:47:25 -05:00
803cd28087 [ox/fs] Add FileAddress::FileAddress(ox::String) and FileAddress::operator==(ox::String) 2022-03-24 20:45:22 -05:00
9161a1a8ef [ox/std] Add BasicString::beginsWith 2022-03-23 03:08:04 -05:00
ccfc7d5405 [ox/std] Remove placement new from Array 2022-03-23 03:05:50 -05:00
0790d8e9c2 [jsoncpp] Remove install from CMake file 2022-03-20 02:17:00 -05:00
0a9bc78a8d [jsoncpp] Remove bin path CMake settings 2022-03-17 03:54:18 -05:00
b43f5e3b98 [ox/std] Fix MaxValue for signed ints 2022-03-17 03:53:46 -05:00
5c783da3fc [ox/mc] Re-enable test 2022-03-16 03:20:24 -05:00
179d311598 [ox/std] Fix C++20 deprecation issue with Vector::iterator 2022-03-16 03:19:45 -05:00
0739c7d611 [ox] Fix for MSVC 2022-03-16 02:53:07 -05:00
52df6efcfc [jsoncpp] Switch to object library 2022-03-12 02:35:48 -06:00
41cc78db66 [ox] Fix jsoncpp include path export 2022-03-12 02:34:04 -06:00
7005ef0bcf [ox] Make jsoncpp only included for builds using stdlib 2022-03-11 22:36:14 -06:00
5a4b539ac1 [ox] Bundle jsoncpp under deps 2022-03-11 22:30:42 -06:00
b96d33bbb9 Merge commit '7eef3bf1545663791252b2a3cad437ec9fcfc9cc' as 'deps/ox/deps/jsoncpp' 2022-03-11 22:21:02 -06:00
a092c393a6 [ox/claw] Improve Claw read error reporting 2022-03-05 11:38:20 -06:00
1372ea9bc9 [ox/std] Make toStr(Error)'s return type template-able 2022-03-05 11:37:55 -06:00
e90d6da01b [ox/std] Fix problem with calling Vector::insert on end of list 2022-03-05 11:37:07 -06:00