Commit Graph

142 Commits

Author SHA1 Message Date
Joshua Scott def6549bcb pclass: Implement casters between primitives and json object 2018-12-15 16:51:45 +00:00
Joshua Scott 20f74ee004 serialization: Rename SerializerBinary to BinarySerializer 2018-12-14 15:27:06 +00:00
Joshua Scott 187de3feba util: Fix missing include build error on CI for std::unique_ptr<T> 2018-12-14 15:07:17 +00:00
Joshua Scott a2c577ce47 etc: Start using smart pointers 2018-12-13 22:12:04 +00:00
Joshua Scott 1955e72bb9 pclass: Fix a potential future problem 2018-12-13 00:57:56 +00:00
Joshua Scott 9e5ca2816f test: Add compression tests for SerializerBinary 2018-12-11 20:33:58 +00:00
Joshua Scott 7181c49bfb test: Add properties to slightly improve serialization coverage 2018-12-11 15:47:37 +00:00
Joshua Scott c7829e5235 etc: Fix build and test errors on CI 2018-12-11 01:19:30 +00:00
Joshua Scott 377136ef0d pclass: Attempt to fix macro issue on CI 2018-12-10 21:35:51 +00:00
Joshua Scott c61a723174 etc: Make Type::read_from return a Value instead of reading into one 2018-12-10 21:26:34 +00:00
Joshua Scott 28eee3699c pclass: Fix missing include compile error on CI 2018-12-09 23:31:55 +00:00
Joshua Scott 62fc1e13ef util: Fix missing noexcept compile error on CI 2018-12-09 23:28:40 +00:00
Joshua Scott 19324c06ba test: SerializerBinary tests 2018-12-09 23:21:51 +00:00
Joshua Scott 4872d1a2a4 pclass: Improve Value casting and implement basic enum types 2018-12-09 23:21:22 +00:00
Joshua Scott 595b6167c0 pclass: Fix CI build errors 2018-12-05 00:45:01 +00:00
Joshua Scott 38f69d722c pclass: Implement Value casting 2018-12-04 22:24:26 +00:00
Joshua Scott 24d3c0f146 util: Improve test coverage for BitBuffer/BitStream 2018-12-01 17:17:19 +00:00
Joshua Scott 6a213c18d4 etc: Change naming convention for base classes (prefix with "I") 2018-12-01 17:16:40 +00:00
Joshua Scott 34bc3d30bc etc: Move the responsibility of type checking to properties 2018-11-27 15:36:57 +00:00
Joshua Scott 3a22c992b5 etc: Implement deserialization and object copying
Also make BitStream tests use REQUIRE instead of SUCCESS and FAIL for better output.
2018-11-27 11:51:56 +00:00
Joshua Scott ad448befe6 Merge branch 'master' into feature/object-property 2018-11-18 17:19:58 +00:00
Joshua Scott cc788b12b3 etc: Add Doxygen 2018-11-18 17:19:18 +00:00
Joshua Scott 4e3b3de391 util: Implement a common interface for bit streams 2018-11-18 17:10:21 +00:00
Joshua Scott 050a63152b util: Attempt to fix error with FlagsEnum 2018-11-16 15:32:17 +00:00
Joshua Scott abbaf7ce58 pclass: Fix build errors on CI 2018-11-16 15:18:32 +00:00
Joshua Scott d6442068ed serialization: Start implementing SerializerBinary
This current implementation can fully save objects, but cannot currently load them.
2018-11-16 15:04:00 +00:00
Joshua Scott 48aba1f0df pclass: Implement string primitives and class types 2018-11-16 15:02:43 +00:00
Joshua Scott 25d371b49f util: Forgot to push header file for previous commit 2018-11-16 14:53:46 +00:00
Joshua Scott b9455e243f util: Add write_copy and read_copy to BitStream 2018-11-16 14:52:49 +00:00
Joshua Scott fd84614450 pclass: Implement floating point primitives 2018-10-26 18:40:11 +01:00
Joshua Scott 1fbfaee8cb pclass: Define bit integers as primitive types on TypeSystem 2018-10-26 15:03:18 +01:00
Joshua Scott a6e7ba11df pclass: Fix build errors on CI 2018-10-26 14:53:40 +01:00
Joshua Scott 175d4dda77 pclass: Add write<bool> and read<bool> to BitStream test 2018-10-26 14:52:02 +01:00
Joshua Scott 8f5d31d071 pclass: Implement BitInteger and other bit utilities 2018-10-26 14:42:00 +01:00
Joshua Scott 73608ce23c pclass: Implement primitive types 2018-10-26 01:00:13 +01:00
Joshua Scott 8fbb9ba906 pclass: Start implementing TypeSystem 2018-10-25 11:39:16 +01:00
Joshua Scott 8f7d9bc896 util: Fix small error in BitStream::stream_pos decrement by bits test 2018-10-20 20:14:12 +01:00
Joshua Scott f90dc888bb util: Write further tests for BitStream::stream_pos coverage 2018-10-20 20:08:39 +01:00
Joshua Scott c9f99e1f1a util: Add a postfix increment operator to BitStream::stream_pos 2018-10-20 20:08:17 +01:00
Joshua Scott 48dde6abe8 Merge branch 'master' into feature/object-property 2018-10-20 19:39:09 +01:00
Joshua Scott 79105ab3d3 travis: export COVERALLS_REPO_TOKEN 2018-10-20 19:32:21 +01:00
Joshua Scott 0b57334ba3 travis: COVERALLS_SERVICE_NAME needs to be set before cmake is called 2018-10-20 19:19:33 +01:00
Joshua Scott 11e4f25b85 travis: Attempt to fix Coveralls upload 2018-10-20 19:13:50 +01:00
Joshua Scott f4a45d7635 etc: Add Azure DevOps and Coveralls badge to README 2018-10-20 19:02:11 +01:00
Joshua Scott 3f5450c64e util: Fix buffer expansion and reformat unit tests 2018-10-20 18:17:35 +01:00
Joshua Scott 5183131b69 util: Base BitStream buffer expansion on the current position rather than the buffer size 2018-10-20 12:59:39 +01:00
Joshua Scott 8706384803 etc: Fix another build problem on CI 2018-10-20 01:30:20 +01:00
Joshua Scott b0a2cb4d1d Merge branch 'master' into feature/object-property 2018-10-20 01:25:17 +01:00
Joshua Scott 0e42874dc3 test: Output reports as JUnit xml 2018-10-20 01:23:55 +01:00
Joshua Scott 44cb15d4d2 etc: Fix build problems on CI 2018-10-20 01:21:06 +01:00