Commit Graph

2512 Commits

Author SHA1 Message Date
gary 58dbda48c4 [ox] Add Result<T> read{OC,MC,Claw}<T>(...) 2021-04-21 00:06:24 -05:00
gary 4540b410dc [ox/fs] Add Result<Vector<char>> FileSystem::read 2021-04-21 00:05:37 -05:00
gary 863437fb10 [nostalgia/core] Add missing nodiscards and noexcepts 2021-04-20 23:19:42 -05:00
gary 4814b4f5cc [ox/fs] Remove unnecessary nodiscards 2021-04-20 23:18:24 -05:00
gary 17165f5394 [ox/oc] Add missing nodiscards 2021-04-20 23:18:05 -05:00
gary a86bad1719 [ox/std] Cleanup 2021-04-20 23:16:58 -05:00
gary 314ed8d05c [ox/std] Reorder Error fields to allow for better packing 2021-04-20 22:16:29 -05:00
gary 4cd8f6a0c1 [nostalgia/core] Make loadRomFs return UniquePtr 2021-04-20 22:12:37 -05:00
gary abf45112b0 [nostalgia/core/gba] Update panic to take Error reference 2021-04-20 22:11:17 -05:00
gary 841a7436c1 [ox/oc] Replace std::unique_ptr usage with ox::UniquePtr 2021-04-20 22:10:14 -05:00
gary 2b579c58bb [ox/std] Add UniquePtr 2021-04-20 22:09:52 -05:00
gary a16b56325d [ox/std] Remove unnecessary template parameters from assert functions 2021-04-20 22:08:57 -05:00
gary 6ece0b6f9b [nostalgia] Make almost everyting noexcept 2021-04-20 01:57:04 -05:00
gary 161780cb91 [ox] General cleanup and updating to newer coding standards 2021-04-20 01:55:40 -05:00
gary c587bf0997 [ox/fs] Fix FileSystemTemplate::directAccess 2021-04-18 16:06:52 -05:00
gary 659830fcdf [ox/model] Improve const correctness of SerStr and UnionView 2021-04-18 15:07:51 -05:00
gary 983000efb8 [nostalgia/core/gba] Update for FileSystem directAccess change 2021-04-18 15:06:10 -05:00
gary 16298d8672 [ox/std] Add const version of Result::get 2021-04-18 15:05:48 -05:00
gary 72cec8e459 [ox/mc] Correct parameter naming 2021-04-18 15:05:00 -05:00
gary 858ba9fe8d [ox/fs] Rename Result<const char*> FileSystem::read to directAccess 2021-04-18 15:03:45 -05:00
gary 9d74c5b464 [ox/fs/ptrarith] Make everything in ptrarith noexcept 2021-04-18 14:33:06 -05:00
gary 5ad7c963b1 [nostalgia] Add new oxRequire variants to handbook 2021-04-17 18:29:40 -05:00
gary 96a2e86a35 [nostalgia/tools/pack] Cleanup 2021-04-17 17:55:47 -05:00
gary c007b5b874 [nostalgia/tools/pack] Remove unnecessary copies and conversions 2021-04-17 17:35:57 -05:00
gary 28dc5552d4 [ox/fs] Add FileSystem::ls(const String&) 2021-04-17 17:35:21 -05:00
gary 304a43a4b4 [nostalgia/tools/pack] Make Pack lib operate on generic ox::FileSystems 2021-04-17 17:24:37 -05:00
gary 9822a6ec47 [ox/mc] Cleanup field presence indicator code 2021-04-17 16:59:16 -05:00
gary 69fb4acd24 [ox/std] Cleanup 2021-04-17 16:40:19 -05:00
gary 39dc09e3d3 [ox/std] Add move operators to HashMap and cleanup noexcept correctness 2021-04-17 16:38:44 -05:00
gary 394d13df9b [ox/mc] Make read take const buffers 2021-04-17 16:37:58 -05:00
gary 772cc7d954 [ox/fs] Add new version of ls and make direct read return const 2021-04-17 16:36:39 -05:00
gary fef0ff58c3 [nostalgia/tools/pack] Remove all std references from Pack lib 2021-04-17 16:35:35 -05:00
gary 8f7504c1c8 [ox/std] Add String::endsWith 2021-04-17 16:35:14 -05:00
gary 49fb4d0f0b [ox/oc] Remove redundant move in readOC 2021-04-17 14:06:15 -05:00
gary 21f40a8362 [nostalgia/tools] Revert writeFileBuff path to ox::String 2021-04-17 14:04:22 -05:00
gary 4a0f6420b6 [nostalgia/core/studio] Add oxIgnoreError for new Vector::erase Error 2021-04-17 13:58:03 -05:00
gary af9991c008 [ox/std] Make HashMap::at return Result<T&> instead of Result<T*> 2021-04-17 13:56:52 -05:00
gary c46ec57431 [ox/std] Make Vector erase methods return Errors 2021-04-17 12:44:27 -05:00
gary a22823e3b4 [ox] Cleanup some old style error handling 2021-04-17 11:33:33 -05:00
gary 6664462391 [nostalgia/studio] Update Vector::back usage 2021-04-17 11:32:52 -05:00
gary 09383401e5 [ox/std] Make Vector::{front,back} return Result 2021-04-17 11:29:21 -05:00
gary 6610b501b3 [ox/std] Add is_pointer and is_pointer_v 2021-04-17 10:56:24 -05:00
gary cd1db371eb [ox/std] Fix oxOut and oxErr to explicitly use OutStream over TraceStream 2021-04-17 01:02:36 -05:00
gary 96f79757cf [ox/fs] Remove noexcept from ls and add it to FileSystemTemplate constructors and destructor 2021-04-17 00:51:05 -05:00
gary 8eb19b4cba [nostalgia/tools/pack] Remove <vector> include 2021-04-16 22:00:26 -05:00
gary b7d24c998e [ox/fs] Cleanup PassThroughFS detection logic 2021-04-16 21:57:34 -05:00
gary 0f99f7eb91 [ox/fs] Make all FileSystem methods noexcept 2021-04-16 21:52:16 -05:00
gary be09c60f5d [nostalgia/tools/pack] Replace cout and cerr with oxOut and oxErr 2021-04-16 21:19:10 -05:00
gary 86a38c7197 [ox/std] Add support for explicity printing to stdout and stderr 2021-04-16 21:18:31 -05:00
gary 022bc7e512 [nostalgia/tools/pack] Replace std types with ox types 2021-04-16 20:45:46 -05:00