Commit Graph

763 Commits

Author SHA1 Message Date
gary b337ca804d [ox/std] Fix string number/char* append
(synced from c9d816503d)
2019-03-17 17:57:17 -05:00
gary 02358655d5 [ox/std] Replace int with ox::Error where appropriate
(synced from 52b9316858)
2019-03-17 14:13:49 -05:00
gary 4ae7b99bd1 [ox/std] Move std::size_t delcaration to beginning of std/types.hpp
(synced from d139eb9729)
2019-03-17 13:21:04 -05:00
gary 2a9da95ffb [ox/model] Rename ioOp and op to model and field
(synced from bbd1d187b2)
2019-03-17 13:18:46 -05:00
gary b857fff9d8 [ox] Rename Serialization package to Model
(synced from bf6469b4a3)
2019-03-17 13:04:18 -05:00
gary 8345f773b2 [ox/std] Cleanup
(synced from cf7ba595aa)
2019-03-17 03:05:00 -05:00
gary 179dee515f [ox/mc] Use VLI encoding for integers
(synced from e0605edb6e)
2019-03-17 03:04:39 -05:00
gary 94946fcd3c [ox/mc] Add bytes read to decodeInteger and fix overreading
(synced from 817e3fcef1)
2019-03-17 01:11:12 -05:00
gary 1449f6d3ad [ox/mc] Add VLI decode
(synced from df44abc316)
2019-03-17 00:04:00 -05:00
gary 28406431b6 [ox/mc] Fix VLI encoding not to chop off ends of >24 bit integers
(synced from 341dbf14ae)
2019-03-16 23:54:53 -05:00
gary 3dc6760f4c [ox/std] Add Siged and Unsiged templates
(synced from 1780657789)
2019-03-16 15:50:37 -05:00
gary 3f71959735 [ox/std] Add raw to byteswap type
(synced from 585ff0a1fe)
2019-03-16 14:51:09 -05:00
gary 4b440b3c69 [ox/std] Add noexcept to bitops functions
(synced from 9f805f761d)
2019-03-16 14:50:32 -05:00
gary 21b9466f1f [ox/std] Add is_signed
(synced from 10b3757558)
2019-03-16 14:49:16 -05:00
gary e9e076eb88 [ox/mc] Fix VLI encoding to handle negatives
(synced from e4aab88831)
2019-03-16 14:41:43 -05:00
gary d9b4cb75f2 [ox/ser] Fix to use Error instead of int
(synced from a9b7b00011)
2019-03-16 14:39:50 -05:00
gary 97245c2bbf [ox/std] Add integer size templates
(synced from 80dd6282f5)
2019-03-16 14:28:11 -05:00
gary 69f2f56278 [ox/mc] Finish encoding for variable length integers
(synced from 17fc48aa26)
2019-03-15 01:30:38 -05:00
gary 47d5ff455d [ox/ser] Cleanup
(synced from e31f51648c)
2019-03-13 17:53:33 -05:00
gary 617c5be42c [ox/ser] Rename McStr to SerStr
(synced from 538fcdb43c)
2019-03-08 21:26:21 -06:00
gary 6ae18f5d98 [ox/ser] Fix byte lengths of integer types
(synced from 4330c015a5)
2019-03-08 00:21:33 -06:00
gary 740fcbb4d1 [ox/mc] Rename FieldPresenceMask to FieldPresenceIndicator
(synced from e45122184e)
2019-03-07 23:00:59 -06:00
gary b9dc6f2056 [ox] Split generalizable portion MC into ser package
(synced from f218ec44af)
2019-03-07 21:47:46 -06:00
gary c212ebeda7 [ox/mc] Add basic walking of data by data descriptor
(synced from cd91f6b60a)
2019-03-07 06:05:08 -06:00
gary 66ee721678 [ox/fs] Remove designated initializer usage
(synced from 8b7db3d544)
2019-03-04 23:13:55 -06:00
gary 6e46f2ad91 [ox/std] Remove mc usage from std
(synced from c1fa5dc287)
2019-03-04 22:39:38 -06:00
gary f505cc7ab7 [ox/std] Remove implicit signed/unsigned conversions
(synced from 9f78e2320f)
2019-03-04 21:22:35 -06:00
gary 929608d766 [ox/mc] Replace int errors with Error
(synced from 40dac704d0)
2019-03-04 21:16:30 -06:00
gary 79138b5cc8 [ox/std] Make ox_strlen return std::size
(synced from d51acfd033)
2019-03-04 20:15:53 -06:00
gary cc3fb6f729 [ox/fs] Remove C99 designated initializer usage
(synced from 0c570438e4)
2019-03-04 19:42:48 -06:00
gary 23a6c7b2bb [ox/std] Remove C-style casts
(synced from 9844416a4e)
2019-03-04 19:42:22 -06:00
gary c6f97c81a9 [ox/std] Add pop_back to Vector
(synced from 564ca7511c)
2019-03-02 22:10:12 -06:00
gary caaeb8e012 [ox/mc] Fix build issues encountered when using MetalClawDefWriter
(synced from 21f5a34b75)
2019-02-28 23:12:20 -06:00
gary 244dbb705c [ox/fs] Fix FS to use stdc++fs when building with GNU
(synced from 652b603ec6)
2019-02-28 23:10:50 -06:00
gary 98c6b0c370 [ox/std] Add maybe_unused to assert check in test to allow release builds
(synced from dc3fe3c18e)
2019-02-25 21:50:52 -06:00
gary aaa7bbe93d [ox/std] Add != to BString
(synced from 6ddd44828b)
2019-02-25 21:46:54 -06:00
gary d9a3db6074 [ox/mc] Remove walk.cpp from CMake
(synced from 0ea44e5ead)
2019-02-25 20:48:51 -06:00
gary acd04c496c [ox/mc] Add Walker
(synced from def449607c)
2019-02-24 23:57:31 -06:00
gary 9c42b37933 [ox] Remove redundant null check before delete
(synced from 3facd25794)
2019-02-24 23:52:14 -06:00
gary c9a992a450 [ox/std] Remove incorrect noexcepts from HashMap
(synced from d3f78982e6)
2019-02-24 23:49:14 -06:00
gary 5e254bdfb2 [ox/std] Add nodiscard to bitops, byteswap, and strops
(synced from 805244f796)
2019-02-24 09:36:04 -06:00
gary 14e96f441a [ox] Move buildinfo and trace packages into std
(synced from 5a1d1c0a2f)
2019-02-23 23:15:09 -06:00
gary b1af1fc55e [ox/std] Add missing constexprs to BString methods
(synced from 6b66127691)
2019-02-14 05:15:53 +00:00
gary 375853f710 [ox/mc] Add McStr to wrap C style strings to distinguish them from arrays
(synced from 1c64096c38)
2019-02-13 02:42:33 +00:00
gary b2a1e9d4c9 [ox/mc] Fix DefWriter to properly detect when to write Types
(synced from c7e9a95a3f)
2019-02-12 06:20:05 +00:00
gary f54e19ab9b [ox/mc] Add Vector handler to Reader and Writer
(synced from c8f39af001)
2019-02-12 05:02:40 +00:00
gary e2e6164ead [ox/mc] Add Vector handler to DefWriter, add static_assert tests
(synced from 5c51e17156)
2019-02-12 03:58:14 +00:00
gary f766c6a981 [ox/mc] Fix MetalClawDefWriter OpType
(synced from 1c6e40220b)
2019-02-11 06:51:01 +00:00
gary 8f2f99c038 [ox/mc] Add def writer
(synced from 75aeedb7b5)
2019-02-11 05:59:33 +00:00
gary f86de28ba9 [ox/std] Make BString constexpr
(synced from 96c56e2589)
2019-02-10 07:52:22 +00:00