Commit Graph

771 Commits

Author SHA1 Message Date
gary cc94a61655 [ox/fs] Remove unnecessary nodiscards
(synced from 4814b4f5cc)
2021-04-20 23:18:24 -05:00
gary 1ab08c442a [ox/oc] Add missing nodiscards
(synced from 17165f5394)
2021-04-20 23:18:05 -05:00
gary 1b676ecac7 [ox/std] Cleanup
(synced from a86bad1719)
2021-04-20 23:16:58 -05:00
gary dde2c00a73 [ox/std] Reorder Error fields to allow for better packing
(synced from 314ed8d05c)
2021-04-20 22:16:29 -05:00
gary 112042d868 [ox/oc] Replace std::unique_ptr usage with ox::UniquePtr
(synced from 841a7436c1)
2021-04-20 22:10:14 -05:00
gary 97b53189f8 [ox/std] Add UniquePtr
(synced from 2b579c58bb)
2021-04-20 22:09:52 -05:00
gary 2ad4545de7 [ox/std] Remove unnecessary template parameters from assert functions
(synced from a16b56325d)
2021-04-20 22:08:57 -05:00
gary 7b0a52c469 [ox] General cleanup and updating to newer coding standards
(synced from 161780cb91)
2021-04-20 01:55:40 -05:00
gary 24f6639c27 [ox/fs] Fix FileSystemTemplate::directAccess
(synced from c587bf0997)
2021-04-18 16:06:52 -05:00
gary cf7f8e84ea [ox/model] Improve const correctness of SerStr and UnionView
(synced from 659830fcdf)
2021-04-18 15:07:51 -05:00
gary 0591caa4b9 [ox/std] Add const version of Result::get
(synced from 16298d8672)
2021-04-18 15:05:48 -05:00
gary eadc3504ff [ox/mc] Correct parameter naming
(synced from 72cec8e459)
2021-04-18 15:05:00 -05:00
gary d98650c6bc [ox/fs] Rename Result<const char*> FileSystem::read to directAccess
(synced from 858ba9fe8d)
2021-04-18 15:03:45 -05:00
gary 1dae416745 [ox/fs/ptrarith] Make everything in ptrarith noexcept
(synced from 9d74c5b464)
2021-04-18 14:33:06 -05:00
gary ab50eab155 [ox/fs] Add FileSystem::ls(const String&)
(synced from 28dc5552d4)
2021-04-17 17:35:21 -05:00
gary 49e15ea8fe [ox/mc] Cleanup field presence indicator code
(synced from 9822a6ec47)
2021-04-17 16:59:16 -05:00
gary 2ebc0231a0 [ox/std] Cleanup
(synced from 69fb4acd24)
2021-04-17 16:40:19 -05:00
gary f19ca23f86 [ox/std] Add move operators to HashMap and cleanup noexcept correctness
(synced from 39dc09e3d3)
2021-04-17 16:38:44 -05:00
gary e5126436da [ox/mc] Make read take const buffers
(synced from 394d13df9b)
2021-04-17 16:37:58 -05:00
gary 6b2b15f47d [ox/fs] Add new version of ls and make direct read return const
(synced from 772cc7d954)
2021-04-17 16:36:39 -05:00
gary 13d453dc85 [ox/std] Add String::endsWith
(synced from 8f7504c1c8)
2021-04-17 16:35:14 -05:00
gary 283eb79799 [ox/oc] Remove redundant move in readOC
(synced from 49fb4d0f0b)
2021-04-17 14:06:15 -05:00
gary d0f5611be6 [ox/std] Make HashMap::at return Result<T&> instead of Result<T*>
(synced from af9991c008)
2021-04-17 13:56:52 -05:00
gary b3b5e8e1e3 [ox/std] Make Vector erase methods return Errors
(synced from c46ec57431)
2021-04-17 12:44:27 -05:00
gary 9c0e48b038 [ox] Cleanup some old style error handling
(synced from a22823e3b4)
2021-04-17 11:33:33 -05:00
gary 68c5dd9ebd [ox/std] Make Vector::{front,back} return Result
(synced from 09383401e5)
2021-04-17 11:29:21 -05:00
gary fcd5a8f114 [ox/std] Add is_pointer and is_pointer_v
(synced from 6610b501b3)
2021-04-17 10:56:24 -05:00
gary bd35d417cc [ox/std] Fix oxOut and oxErr to explicitly use OutStream over TraceStream
(synced from cd1db371eb)
2021-04-17 01:02:36 -05:00
gary 412520290f [ox/fs] Remove noexcept from ls and add it to FileSystemTemplate constructors and destructor
(synced from 96f79757cf)
2021-04-17 00:51:05 -05:00
gary 5c3571c150 [ox/fs] Cleanup PassThroughFS detection logic
(synced from b7d24c998e)
2021-04-16 21:57:34 -05:00
gary 146b51ba0c [ox/fs] Make all FileSystem methods noexcept
(synced from 0f99f7eb91)
2021-04-16 21:52:16 -05:00
gary dc125426b0 [ox/std] Add support for explicity printing to stdout and stderr
(synced from 86a38c7197)
2021-04-16 21:18:31 -05:00
gary de4f756c13 [ox/std] Add support for appending single chars
(synced from db49361f8a)
2021-04-16 20:00:04 -05:00
gary f0c91b4b6f [ox/fs] Cleanup error handling
(synced from e2d74de9c3)
2021-04-16 19:55:25 -05:00
gary 7e45d353bd [ox/std] Cleanup more unnecessary copies and add new variants of oxRequire
(synced from 6a566ed35e)
2021-04-16 19:53:02 -05:00
gary a03b725c9b [ox/claw] Make read take a const char* instead of char*
(synced from 90d9a0a8b0)
2021-04-16 19:31:08 -05:00
gary bbb635757b [ox/std] Add operator== to Vector
(synced from caca376028)
2021-04-15 23:34:56 -05:00
gary c953e547f7 [ox/std] Remove redundant copies from Result constructors
(synced from 2dde9473d5)
2021-04-11 01:24:20 -05:00
gary 01f95a1d32 [ox/std] Add compile definitions to TraceHook lib
(synced from 6265c6dc3b)
2021-04-03 02:40:01 -05:00
gary 893b871a92 [ox/clargs] Make accessors noexcept
(synced from 61fb5207ea)
2021-04-01 21:59:04 -05:00
gary 726f9c150d [ox/std] Add oxRequireT for throwing instead of returning Errors
(synced from bcc4b5f816)
2021-04-01 21:58:03 -05:00
gary faac85826e [ox/std] Fix non-const HashMap::at
(synced from 86f0e1ca08)
2021-04-01 21:57:26 -05:00
gary 8a3275750d [ox/std] Make HashMap::at return type consistent between const/non-const
(synced from 7bbd7bfdb5)
2021-04-01 02:41:12 -05:00
gary f21c582036 [ox/std] Replace HashMap::operator[] const with HashMap::at const
(synced from 291027e41e)
2021-04-01 02:32:50 -05:00
gary b92b736448 [ox/clargs] Make arg reading methods const
(synced from 749e3155b5)
2021-04-01 01:43:18 -05:00
gary 01a261cbc8 [ox/std] Add const accessor to HashMap
(synced from b486a4962e)
2021-04-01 01:42:38 -05:00
gary d33ccae653 [ox] Switch back to conan
(synced from 6656320359)
2021-03-28 00:15:15 -05:00
gary 24d085af06 [ox/std] Fix OX_ARCH_ARM64 detection
(synced from f22f7507a9)
2021-03-28 00:06:14 -05:00
gary 4f5ab78e03 [ox/fs] Cleanup tests
(synced from b825e88d29)
2021-03-24 01:39:07 -05:00
gary 9d30199138 [ox/claw] Cleanup tests
(synced from b3dff0a184)
2021-03-24 01:29:35 -05:00