Commit Graph

1180 Commits

Author SHA1 Message Date
gary 8726f3cd8b [ox/fs] Cleanup
(synced from 3afaa0fc85)
2019-12-31 20:08:50 -06:00
gary e656bbdc19 [ox/fs] Change PassThroughFS to use fstream instead of C file IO for compatibility reasons
(synced from 4b832dd3d7)
2019-12-22 00:30:08 -06:00
gary e4c997fbb8 [ox/std] Fix __has_include logic
(synced from 9187bcf62b)
2019-12-19 23:43:33 -06:00
gary 0afb3975a8 [ox] Replace __attribute__((packed)) with OX_PACKED
(synced from 8c576ef9c5)
2019-12-19 23:38:17 -06:00
gary 819c333a48 [ox/fs] Cleanup, Fix FileLocation to make copy of non-const strings
(synced from 1d600186cd)
2019-11-26 23:18:38 -06:00
gary 175c27f883 [ox/std] Cleanup
(synced from 147a37ac6e)
2019-11-26 23:18:19 -06:00
gary d058c1fc2a [ox/std] Fix constexpr-ness of ox_memset
(synced from 5dc74e6fd7)
2019-11-09 01:24:15 -06:00
gary 1c578933cf [ox/std] Add ox_inhibit_loop_to_libcall for memset and memcpy
(synced from e470a1da09)
2019-11-09 00:06:05 -06:00
gary 130e56c01e [ox/fs] Fix Directory allocating too much space
(synced from ddb158e433)
2019-11-07 00:34:07 -06:00
gary d035db716c [ox/ptrarith] Make NodeBuffer clear all memory before using it
(synced from d033335350)
2019-11-07 00:33:34 -06:00
gary 7919448ce3 [ox/fs] Fix Directory to allocate enough space for new entry
(synced from 3cc6ca215e)
2019-11-04 18:30:17 -06:00
gary 49f5011b71 [ox/fs] Fix problems with creating and reading directories
(synced from deaa293c67)
2019-11-03 16:44:57 -06:00
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