Commit Graph

618 Commits

Author SHA1 Message Date
gary 31eba91c08 [ox/std] Fix assert for !OX_USE_STDLIB
(synced from a4000f6497)
2020-04-08 23:30:14 -05:00
gary 724810542e [ox/fs] Remove explicit linking of C++ standard file system library
(synced from d2ec3b8350)
2020-04-07 22:04:23 -05:00
gary fdf3839205 [ox/std] Add move constructor and set null terminator for String
(synced from 19422ced3e)
2020-04-07 22:03:19 -05:00
gary 2a062a97af [ox/std] Add support for messages in ox::Error
(synced from 540e67fcd8)
2020-04-07 22:02:07 -05:00
gary 7c089e4760 [ox/oc] Add OrganicClaw
(synced from 89854a584a)
2020-04-07 22:00:14 -05:00
gary ada4548ce9 [ox/std] Fix implicit sign conversion
(synced from 8b74920270)
2020-04-05 19:48:47 -05:00
gary e1682e7d93 [ox/std] Fix Vector::expandCap not to delete old array an not new one
(synced from c99b60186d)
2020-03-31 21:42:47 -05:00
gary 0f052f11ec [ox/mc] Fix false positive buffer overflow check when string is last item in MC buffer
(synced from 680881003c)
2020-03-31 20:40:29 -05:00
gary afd829a7d7 [ox/mc] Prevent reading array length of absent array
(synced from d7b5f51fdc)
2020-03-30 23:59:01 -05:00
gary a4073e0676 [ox/std] Add insert method to Vector
(synced from 4011773374)
2020-03-29 13:32:17 -05:00
gary fd7fbb4df4 [ox/std] Add missing declaration for String::String(const String&)
(synced from aa1b5fa4cf)
2020-03-19 01:56:44 -05:00
gary ed76ebfbaf [ox/std] Add copy constructor to String
(synced from 4273e72e74)
2020-03-16 00:12:09 -05:00
gary cad156add5 [ox/std] Add String::operator=(const String&)
(synced from e0a2676d54)
2020-03-15 14:31:43 -05:00
gary c10724912b [ox] Remove bstring.hpp include from string.hpp
(synced from 1313b562bd)
2020-03-15 14:29:18 -05:00
gary 4bbfb439fb [ox/std] Add String::operator+ methods
(synced from f7bdd5042d)
2020-03-15 02:17:11 -05:00
gary dde15ec2ab [ox/std] Add bstring.hpp to install
(synced from 412b187c4f)
2020-03-15 01:20:28 -05:00
gary 63a08deb1a [nostalgia/std] Add String as alternative to BString, which uses heap allocations
(synced from 38acb5dfc3)
2020-03-14 16:33:08 -05:00
gary d544af56cc [ox] Fix OxConfig to include Model library
(synced from 4571a95a06)
2020-02-16 14:08:28 -06:00
gary f257aac562 [ox/std] Fix type in hardware detection
(synced from da3c9107db)
2020-02-16 02:03:28 -06:00
gary dc7ac1084e [ox/std] Fix oxPanic parameter order
(synced from 74e6a4cbff)
2020-02-16 01:43:54 -06:00
gary 0f65018d52 [ox/std] Fix hardware detection to work in MSVC
(synced from 36b6542bf3)
2020-02-15 12:24:43 -06:00
gary 6976fbb47b [ox/std] Make unrecognized hardware trigger compile error
(synced from c2b4595c33)
2020-02-12 22:13:34 -06:00
gary 59bc78fc0d [ox/mc] Fix signed/unsigned comparison in field bitmap
(synced from c5f0825edb)
2020-02-12 22:04:35 -06:00
gary 0bb4941558 [ox/fs] Fix GCC/Clang incompatibility
(synced from 517551348a)
2020-02-12 22:04:35 -06:00
gary cec3e4ea01 [ox] Get building in MSVC
(synced from 4cbf1b9a9a)
2020-02-12 22:04:35 -06:00
gary c7bc9ca116 [ox/fs] Replace uint8_t with char for buffers
(synced from 553cde0d0c)
2020-02-11 21:42:09 -06:00
gary 6a1f2949c5 [ox/std] Leave panic unimplemented when C++ stdlib is absent
(synced from ea14ccac3a)
2020-02-11 21:10:36 -06:00
gary 04e913f845 [ox/std] Fix oxIgnoreError to not completely ignore the statement it encompases
(synced from e59499b127)
2020-02-11 00:07:37 -06:00
gary 67cfd71e77 [ox/fs] Give FileSystem ability to cleanup FS buffer
(synced from e927c51b61)
2020-02-01 00:11:59 -06:00
gary da20300f8c [ox/std] Remove constexpr from ox::bit_cast
(synced from dd008c3a08)
2020-01-31 23:53:55 -06:00
gary 334c451d59 [ox/std] Add bit_cast
(synced from 878c944ebf)
2020-01-31 19:43:23 -06:00
gary 2e2603e62a [ox/std] Rename bitops.hpp to bit.hpp to mirror the new bit in C++20
(synced from d9b363330b)
2020-01-31 19:06:26 -06:00
gary e4111cfa27 [ox/fs] Add exception handling to PassthroughFS for fstream usage
(synced from c9f91c16c2)
2020-01-25 15:18:08 -06:00
gary 765051c0bc [ox/fs] Add oxPanic and remove ErrorInfo
(synced from 52026ba1a3)
2020-01-25 00:04:47 -06:00
gary f94e59de54 [ox] Remove gdblogger
(synced from c214f3334a)
2020-01-24 23:33:57 -06:00
gary 64c5ca7c45 [ox] Remove .gdbinit
(synced from 02c8fb1880)
2020-01-24 23:27:28 -06:00
gary 094c55f74c [ox/fs] Remove unnecessary PassthroughFS fstream close
(synced from 8037bc9535)
2020-01-24 22:48:05 -06:00
gary 618c776101 [ox/fs] Make PassthroughFS presence define more export freindly
(synced from 84ee494834)
2020-01-12 20:43:39 -06:00
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