Commit Graph

543 Commits

Author SHA1 Message Date
gary ffef4625c1 [ox/fs] Add missing nodiscards on ox::Error returns
(synced from deaa1f13f5)
2019-07-25 19:53:14 -05:00
gary eef0c76c6d [ox/std] Give AllocAlias separate size option
(synced from d53430abbc)
2019-07-24 07:58:52 -05:00
gary 3bb40ba22b [ox/fs] Add Error return to FileStore compact
(synced from 2d2cd2bbb6)
2019-07-20 18:46:52 -05:00
gary e008bfc97a [ox/std] Fix alignment of Vector elements
(synced from 22378d0a9f)
2019-07-19 22:11:01 -05:00
gary 2df8d26973 [ox/std] Fix syntax error in std::is_union_v
(synced from 32d7c7b9e2)
2019-07-19 22:10:32 -05:00
gary df8f8c581a [ox/fs] Fix FileStoreTemplate::compact to skip first item and correctly find parent
(synced from 8fa5488d77)
2019-07-19 20:14:09 -05:00
gary 9b389f6a2d [ox/ptrarith] Fix NodeBuffer::compact to iterate over items when item already in correct location
(synced from 31b75d1e50)
2019-07-19 19:53:50 -05:00
gary 8c67f4d723 [ox/ptrarith] Fix NodeBuffer::compact to correclty update dest.prev
(synced from d55089b582)
2019-07-18 20:31:51 -05:00
gary 20e14f3fde [ox/fs] Cleanup Directory test
(synced from cb8f26046a)
2019-07-17 21:36:03 -05:00
gary 503963dac8 [ox/fs] Add error return to resize
(synced from 969af651d3)
2019-07-17 21:35:07 -05:00
gary b284e13e79 [ox/fs] Add better error handling to Directory
(synced from fb4a768415)
2019-07-17 21:31:12 -05:00
gary d7eca98d99 [ox/ptrarith] Expand tests
(synced from 25c629f570)
2019-07-17 21:25:33 -05:00
gary 6a1f0d1572 [ox/clargs] Link with OxStd
(synced from ea2bf8998b)
2019-07-17 21:17:10 -05:00
gary b94bfc94b3 [ox/fs] Fix extraneous alloc and update rootInode in compact
(synced from 0efe94db45)
2019-07-17 20:43:14 -05:00
gary 09b8b6d808 [ox/ptrarith] Fix NodeBuffer::malloc to correctly update the old last's prev
(synced from dc03e01cf8)
2019-07-17 20:12:28 -05:00
gary 4a8f7a610e [ox/std] Fix warning about unused private variable
(synced from ffce1dc4df)
2019-07-16 18:36:45 -05:00
gary 2e04d3696f [ox/std] Add is_union_v and is_class_v
(synced from 02d92449f9)
2019-07-15 18:15:14 -05:00
gary 338458457d [ox/std] Fix Vector copy assignment to allocate as char*
(synced from 0b218f57c2)
2019-07-15 18:10:00 -05:00
gary 9ce7451ca7 [ox/std] Make Vector only call constructor and destructor on valid items
(synced from 16a09d6814)
2019-07-12 22:48:10 -05:00
gary a3f6d04683 [ox/std] Add log message for asserts
(synced from 806eaa229a)
2019-07-08 23:18:54 -05:00
gary 3011b12551 [ox/ptrarith] Add asserts to Ptr::operator T*
(synced from 7b034be393)
2019-07-08 23:13:30 -05:00
gary 43156ad270 [ox/fs] Fix PassthroughFS to pull in defines from header before check
(synced from d4212abe3b)
2019-07-07 22:08:39 -05:00
gary 83fbe88757 [ox/fs] Fix issues with PassthroughFS Boost port
(synced from ee9cdbe1e7)
2019-07-06 01:49:28 -05:00
gary 27636f3d94 [ox/fs] Make macOS builds use Boost FileSystem
(synced from 845373e049)
2019-07-06 00:09:42 -05:00
gary e61cea07e0 [ox/ptrarith] Disable ptrarith tests when OX_RUN_TESTS is not set
(synced from 6493a5e10e)
2019-06-29 23:52:43 -05:00
gary 2972a0a4f7 [ox] Remove -Wshadow, too pedantic
(synced from 41d6c7188c)
2019-06-28 23:56:17 -05:00
gary 062e68f181 [ox/model] Fix name shadowing
(synced from 959807c08b)
2019-06-26 23:47:10 -05:00
gary ce420c8f9f [ox] Add -Wshadow warning
(synced from 8730c6380c)
2019-06-26 21:54:41 -05:00
gary 8d987aba9b [ox] Ensure all gdblogger messages always end with a new line
(synced from 472249cd6d)
2019-06-26 20:45:48 -05:00
gary 380408afd1 [ox/nodebuffer] Fix bounds checking in Ptr generation
(synced from 0c7f8c8b5e)
2019-06-25 08:19:59 -05:00
gary 88505abf16 [ox/ptrarith] Fix NodeBuffer to properly handle removing only node
(synced from 3adf0df9c7)
2019-06-25 00:39:49 -05:00
gary 6e1737b306 [ox/fs] Add resize compactor
(synced from 6571129686)
2019-06-22 17:23:24 -05:00
gary 4aa5e751e3 [ox/fs] Enforce error handling in Directory
(synced from baff558ff2)
2019-06-22 11:52:55 -05:00
gary c96e633b78 [ox/fs] Enforce error checking of FS function calls
(synced from 74fe0c55cc)
2019-06-22 02:07:20 -05:00
gary 3cb7857398 [ox/fs] Rename confusing parameters in FileStoreTemplate::read
(synced from 04929302d7)
2019-06-22 00:40:23 -05:00
gary eaa2da32f1 [ox/fs] Cleanup FileStoreTemplate::read
(synced from 3938cb0282)
2019-06-21 23:30:06 -05:00
gary 4c0faa4aac [ox/fs] Cleanup hard-to-read code
(synced from db04367579)
2019-06-20 23:24:36 -05:00
gary dab521a6c3 [ox/fs] Fix Ox FS tests to run again
(synced from c87eed730e)
2019-06-20 23:24:03 -05:00
gary 691bbac95e [ox/fs] Remove unused parents parameter from Director::write
(synced from 7b6b53b7d3)
2019-06-20 22:55:26 -05:00
gary 0e802054d8 [ox/fs] Move large test allocations to heap
(synced from a204aa8c48)
2019-06-20 21:41:32 -05:00
gary 290e1d78a9 [ox/fs] Fix mkdir -p
(synced from 8e82ba2f2e)
2019-06-20 20:42:25 -05:00
gary 717776d096 [ox] Fix CMake inconsistency that broke PC builds
(synced from ad85c59107)
2019-06-19 23:32:59 -05:00
gary b337c1abc6 [ox/std] Add OX_USE_STDLIB as exported definition on OxStd
(synced from 5705fd3d00)
2019-06-19 23:32:18 -05:00
gary 31ed2ae7ef [ox/std] Add units.hpp to std.hpp and CMake install
(synced from 6ace1e641c)
2019-06-16 22:43:19 -05:00
gary cbbb64388e [ox/std] Add memory unit consts (KB, MB, GB, TB)
(synced from 5ceb0e5f83)
2019-06-16 22:08:10 -05:00
gary 28b63f7222 [ox/std] Add ValErr support to oxReturnError
(synced from 5834201fbb)
2019-06-16 19:00:47 -05:00
gary 4b0b34635a [ox/std] Fix placement new declaration to use stdlib declaration if available
(synced from 98d045827e)
2019-06-16 01:04:57 -05:00
gary 6cd9b8008d [ox/std] Remove usage of stdlib from substitutes...
(synced from 14a40bdcd6)
2019-06-16 00:53:21 -05:00
gary 82284f10eb [ox/std] Add substitutes file with missing __cxa_pure_virtual handler
(synced from 47ce0408d5)
2019-06-15 23:24:58 -05:00
gary 576b412c64 [ox/fs] Cleanup
(synced from de210c5c7e)
2019-06-15 12:16:11 -05:00