Commit Graph

122 Commits

Author SHA1 Message Date
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
Joshua Scott 422ba1b0ea
Update azure-pipelines.yml 2018-10-20 01:17:21 +01:00
Joshua Scott 05e6d416bb
Update azure-pipelines.yml 2018-10-20 01:13:43 +01:00
azure-pipelines[bot] 4cad324387 Set up CI with Azure Pipelines 2018-10-19 23:32:35 +00:00
Joshua Scott 6249d6ee32 util: Add BitStream class + tests 2018-10-20 00:09:50 +01:00
Joshua Scott 1c013677ea dml: Fix bug when binary data was presented inside a STR field 2018-05-05 14:48:53 +01:00
Joshua Scott cb4d89dad9
Merge pull request #1 from Joshsora/messaging
Implements network and DML protocols
2018-04-26 18:56:02 +01:00
Joshua Scott 05e48a2cbb net: Fix is_alive returning false by giving some leniency 2018-04-24 20:06:53 +01:00
Joshua Scott 9c6a756f68 Merge branch 'master' into messaging 2018-04-22 17:25:22 +01:00
Joshua Scott 6d02bfe06a protocol: Give exceptions their own error codes 2018-04-22 17:11:12 +01:00
Joshua Scott a00f9b5003 net: Pass a pointer rather than a reference in DMLSession::on_message 2018-04-20 18:57:05 +01:00
Joshua Scott 993191ec51 net: Add error codes to Session::close 2018-04-20 18:53:23 +01:00
Joshua Scott 7932ee2831 net: Add error codes to DMLSession::invalid_message
I'm going to rethink this though because I'd like to have more detailed error codes.
2018-04-20 17:22:51 +01:00
Joshua Scott e26a20d650 net: Add a method to get the MessageManager instance from a DMLSession 2018-04-20 17:12:31 +01:00
Joshua Scott 802dfeba29 dml: Fix some const-correctness problems 2018-04-20 01:41:33 +01:00
Joshua Scott 1927426034 net: Fix some observed problems
It seems the client sends application messages before the session has been established.
2018-04-20 01:35:43 +01:00
Joshua Scott d1118a937b protocol: Messages must now be created from a MessageTemplate
It shouldn't have been possible to create a Message manually.
2018-04-20 01:35:05 +01:00
Joshua Scott 2632ef563c test: Fix narrowing errors in arary initialization 2018-04-16 21:03:47 +01:00
Joshua Scott d7f5196a36 test: Add tests for control message serialization/deserialization 2018-04-16 19:02:03 +01:00
Joshua Scott 0eb81803c7 net: Fix memcpy build error on Linux
I swear I already did this...
2018-04-15 22:58:50 +01:00
Joshua Scott a58341b279 net: Forgot to push Session 2018-04-15 22:52:41 +01:00