Commit Graph

503 Commits

Author SHA1 Message Date
gary bf1015601b [ox/ptrarith] Fix Ptr type's derefernce operator
(synced from c30ef720c4)
2019-11-03 16:44:22 -06:00
gary c795358777 [ox/mc] Fix buffer overrun issues
(synced from 693e7324ed)
2019-11-03 16:42:42 -06:00
gary b569e3cb18 [ox/fs] Remove bad TODO
(synced from 7699ae2294)
2019-11-01 18:01:09 -05:00
gary 8fc9eec31b [ox/mc] Add support for individual element readers for arrays
(synced from 0825c9869a)
2019-11-01 01:28:29 -05:00
gary 0facd62a88 [ox/fs] Add support for direct access to FS memory
(synced from 9da47f75c0)
2019-11-01 01:28:04 -05:00
gary 14e5bab188 [ox/fs] Remove debug line
(synced from 3a0b41d2cc)
2019-10-31 00:16:09 -05:00
gary 726b51cd64 [ox/fs] Fix various file system bugs
(synced from 7f5f74e2a6)
2019-10-31 00:07:39 -05:00
gary 2e46ef0fc3 [ox/std] Add missing null terminator to ox_strncpy
(synced from fc337922ac)
2019-10-31 00:06:11 -05:00
gary 2014de0166 [ox] Fix GBA compile errors
(synced from 4f81c47734)
2019-10-28 00:40:56 -05:00
gary 531fdedc7a [ox/fs] Add modelWrite to FileAddress and add copy constructor and assignment
(synced from 79a1a6f896)
2019-10-27 16:22:37 -05:00
gary 597cbd0c09 [ox/std] Replace Error with a multi-field struct
(synced from 656039e011)
2019-10-27 16:21:41 -05:00
gary 70bb199c70 [ox/mc] Fix read to resize Vectors before writing to them
(synced from 4ca4c31539)
2019-10-25 21:48:43 -05:00
gary 05da58d12c [ox/fs] Add modelWrite handler to FileAddress
(synced from fbdb48a1ee)
2019-10-22 18:54:19 -05:00
gary 2e93c88751 [ox/fs] Add FileAddress support to FileSystem
(synced from 54ac86fce7)
2019-10-12 11:56:49 -05:00
gary b67a715004 [ox/fs] Remove Boost FS usage
(synced from ce7c416fb7)
2019-10-09 18:59:52 -05:00
gary ed1c6440bc [ox/std] Add bitwise not to strong int
(synced from 3c45558dfc)
2019-08-01 23:20:17 -05:00
gary 8b562b7278 [ox] Fix GCC warnings
(synced from 6138d0a37e)
2019-07-31 00:06:47 -05:00
gary 7a496f408b [ox] Make ValErr::operator T() explicit
(synced from c27cc56e31)
2019-07-30 19:00:01 -05:00
gary 25c7ab9b7d [ox/model] Fix storng int Error errors
(synced from 2b536ff053)
2019-07-29 22:58:06 -05:00
gary b392827c10 [ox/mc] Fix FieldPresenceIndicator to return correct value when overflow occurs
(synced from ff4adaebf1)
2019-07-29 22:55:17 -05:00
gary 83e149a424 [ox/std] Improve ability to create unique int types, regardless of underlying type
(synced from 142387aa04)
2019-07-28 00:57:50 -05:00
gary 6766f8d2a7 [ox] Make Error use a strong int
(synced from f4b336dd77)
2019-07-28 00:15:10 -05:00
gary aa75564c02 [ox/std] Fix several problems that arose when trying to use strong ints
(synced from 3c86aae616)
2019-07-27 23:56:49 -05:00
gary f143400012 [ox/std] Add strongly typed integer wrapper
(synced from 6485a780a7)
2019-07-26 21:32:42 -05:00
gary 3c90e4d4e3 [ox/ptrarith] Add nodiscard to Error return of NodeBuffer::compact
(synced from c87e92da71)
2019-07-25 20:05:00 -05:00
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