Commit Graph

855 Commits

Author SHA1 Message Date
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
gary 0ab8d8076f [ox/std] Cleanup tests
(synced from 29a4bb920a)
2021-03-24 01:29:01 -05:00
gary b9ab361633 [ox/fs] Cleanup tests
(synced from 9c08ab458a)
2021-03-24 01:20:27 -05:00
gary f1dbcd38c2 [ox] Add package name to test output
(synced from 85e7374446)
2021-03-24 00:46:03 -05:00
gary 9ae7e92b91 [ox] Move ptrarith into fs
(synced from 40f2537c05)
2021-03-24 00:44:11 -05:00
gary 3642083c54 [ox/std] Add moveTo method to Result
(synced from fb7b582348)
2021-03-20 15:32:13 -05:00
gary 4af4d6a857 [ox/std] Add oxInfo log event type
(synced from 351ae69f6f)
2021-03-19 20:52:44 -05:00
gary c2aa1a9809 [ox/std] Add oxError and oxErrorf
(synced from 3ca9db5e8a)
2021-03-18 01:26:05 -05:00
gary 8f87c599a9 [ox/std] Add oxRequire
(synced from e6d271295f)
2021-03-16 21:15:05 -05:00
gary 8089388642 [ox] Make OX_NODEBUG a normal variable set in main CMakeLists.txt
(synced from 84705e304f)
2021-03-12 01:39:02 -06:00
gary eed087a1fd [ox/std] Make oxDebug trigger build failure if OX_NODEBUG is set to ON
(synced from 582cbf2041)
2021-03-12 01:30:42 -06:00
gary 49b06f6ace [ox/std] Add option to give oxTrace a msg arg
(synced from 75a2b8f489)
2021-03-11 21:23:59 -06:00
gary 6a414d263c [ox/std] Addressing CLion suggestions
(synced from 2f95c0aecc)
2021-03-11 21:19:55 -06:00
gary 46ddd1cfe5 [ox/std] Make use ##__VA_ARGS__ only non OX_USE_STDLIB builds, which are GCC builds
(synced from 07c5ed07ef)
2021-03-11 20:04:34 -06:00
gary 60c1c974bd [ox/std] Fix Mac build
(synced from 84a9a9d2fd)
2021-03-11 18:46:48 -06:00
gary fff0fc7ad6 [ox/std] Add oxDebug and oxDebugf, which are oxTrace aliases for debug channel
(synced from cb6066f81e)
2021-03-11 00:35:10 -06:00
gary 52fb44c47f [ox] Cleanup some messy trace points
(synced from 2ebce7713d)
2021-03-10 20:17:45 -06:00