Commit Graph

98 Commits

Author SHA1 Message Date
Joshua Scott 6a84d50cee examples: Example for loading DML message modules 2018-04-05 18:09:56 +01:00
Joshua Scott 8d7348aa81 dml: Fix bug with BYT/UBYT fields in XML
also made get_value_string and set_value_from_string public and part of the abstract base class.
2018-04-05 17:37:59 +01:00
Joshua Scott 3e34c0b3bc protocol: Implement module loading and I/O for DML messages
'das alota cod
2018-04-05 17:36:26 +01:00
Joshua Scott e2f6bd1655 dml: Add method for getting FieldBase * from Record
Needed for niceties in the Python binding
2018-04-04 04:08:06 +01:00
Joshua Scott c618e7d536 protocol: Fix problem with null characters in packet data 2018-04-03 21:36:49 +01:00
Joshua Scott 915b6e7e0a protocol: Implement control messages 2018-04-03 21:36:24 +01:00
Joshua Scott 9653475ed9 protocol: Implement Packet 2018-04-03 19:49:58 +01:00
Joshua Scott 519632dd01 Merge remote-tracking branch 'origin/messaging' into messaging 2018-04-03 17:21:18 +01:00
Joshua Scott 0268cf247d protocol: Add override specifier
I thought final implied it
2018-04-03 17:20:38 +01:00
Joshua Scott 85361f0e40 protocol: Add source files to CMakeLists.txt
also fix error in Packet.h
2018-04-03 17:20:33 +01:00
Joshua Scott bfe56f194a protocol: Definitions for DML messages 2018-04-03 17:20:26 +01:00
Joshua Scott ac14fc5d74 protocol: Definitions for control structures 2018-04-03 17:20:22 +01:00
Joshua Scott c9e485fa86 protocol: Packet class definition 2018-04-03 17:20:20 +01:00
Joshua Scott c08eb617bf dml: Add override specifier 2018-04-03 17:11:34 +01:00
Joshua Scott e0b5ca7923 protocol: Add override specifier
I thought final implied it
2018-04-03 17:02:30 +01:00
Joshua Scott bd57a3db9d protocol: Add source files to CMakeLists.txt
also fix error in Packet.h
2018-04-03 16:43:00 +01:00
Joshua Scott 3cb082b1af protocol: Definitions for DML messages 2018-04-03 16:11:06 +01:00
Joshua Scott 016e360b98 dml: Fields don't need to know which Record they belong to
This was preventing progress on the Python binding
2018-04-02 02:54:13 +01:00
Joshua Scott eb7e5ade63 protocol: Definitions for control structures 2018-04-02 01:25:08 +01:00
Joshua Scott e6f4d6c66f protocol: Packet class definition 2018-04-02 01:24:32 +01:00
Joshua Scott 9034c893a7 dml: Add more robust error reporting 2018-04-01 16:23:36 +01:00
Joshua Scott bba2aae43b dml: Fix build errors due to missing includes 2018-03-31 23:02:00 +01:00
Joshua Scott 9cb5426d1e dml: Fix build error on Travis 2018-03-31 20:30:32 +01:00
Joshua Scott cad6f44208 dml: Add XML input/output
<RECORD> elements can now be parsed.
Tests need to be written for this.
2018-03-31 20:22:57 +01:00
Joshua Scott 881119e6af cmake: Add RapidXML 2018-03-31 17:52:20 +01:00
Joshua Scott a1689a142c dml: Fix a problem that would have only been apparent on big-endian PCs 2018-03-30 21:40:05 +01:00
Joshua Scott 6883cae2ae dml: Documentation
There's really not a lot worth documenting though.
2018-03-30 21:34:06 +01:00
Joshua Scott 605819b539 dml: Don't serialize/deserialize NOXFER fields 2018-03-30 21:13:23 +01:00
Joshua Scott 19f7cd1334 test: Test Record serialization/deserialization and NOXFER fields 2018-03-30 21:12:54 +01:00
Joshua Scott 2f56518b66 dml: Replace usage of wchar_t with char16_t 2018-03-30 20:05:01 +01:00
Joshua Scott 2e17370337 dml: Fix build errors from Travis 2018-03-30 19:29:12 +01:00
Joshua Scott 977ea2310e dml: Specialize string types
(also, fixed the tests for strings)
2018-03-30 18:58:57 +01:00
Joshua Scott 7903e23d90 dml: Specialize floating point types
(also, fixed a typo in the tests for DBL fields)
2018-03-30 16:54:02 +01:00
Joshua Scott 2dad97aded dml: Don't add fields with the same name but different types 2018-03-30 16:37:17 +01:00
Joshua Scott ade0822747 dml: Specialize integer types
(BYT, UBYT, SHRT, USHRT, INT, UINT, and GID)
2018-03-30 16:34:59 +01:00
Joshua Scott 029acce2d0 test: DML field deserialization tests 2018-03-30 16:33:30 +01:00
Joshua Scott 110ecbcea9 test: Fix typo in DML unit tests 2018-03-29 23:23:19 +01:00
Joshua Scott 190e8d197f test: DML unit tests
Still need to write the deserialization tests
2018-03-29 23:21:49 +01:00
Joshua Scott 78df29e230 travis: Verbose output on test failure 2018-03-29 23:20:30 +01:00
Joshua Scott 1f4e0c4769 dml: Skeletons for each type specialization 2018-03-29 16:41:22 +01:00
Joshua Scott be07d23ecf dml: Simple implementation
Still missing specializations for each DML type
2018-03-29 16:06:20 +01:00
Joshua Scott 18b6aeb407 README: Add build status 2018-03-29 16:01:11 +01:00
Joshua Scott 55cae79eca travis: Remove symbolic link 2018-03-29 15:57:57 +01:00
Joshua Scott 3d7931a0fc travis: Travis-CI configuration 2018-03-29 15:48:46 +01:00
Joshua Scott 21ccbf0cd7 cmake: Set CXX_STANDARD to 11 on examples and tests 2018-03-29 15:48:20 +01:00
Joshua Scott 54c1e509f6 dml: Add header files 2018-03-26 21:39:10 +01:00
Joshua Scott ddbeb492b6 cmake: Add CMakeLists.txt
Includes unit tests (using Catch2) and examples
2018-03-26 19:19:39 +01:00
Joshua Scott ce75b39c4b
Initial commit 2018-03-25 22:15:35 +01:00