99 Commits

Author SHA1 Message Date
Pat Rogers
27be89765f Merge pull request #27 from hamilj/develop
Generation of reference LMCP message set
2019-04-17 17:02:37 -05:00
James Hamil
39e5ed95e2 Remove generation of xml reference messages
Update existing verification code (python and C++) to test their xml
serialization/deserialization functions using the generated reference binary
byte streams.
2019-04-17 14:19:18 -04:00
James Hamil
8ebffbd76e Update precision used when writing floating point numbers as decimal strings to ensure their values remain consistent 2019-04-17 14:19:18 -04:00
James Hamil
31ef74406f Correctly handle optional empty string fields for python target 2019-04-17 14:19:18 -04:00
James Hamil
89e5c43ecf Change python xml output to only write enclosing tag for non-null struct fields, matching C++ implementation 2019-04-17 14:19:18 -04:00
James Hamil
5e4c3184c2 Allow C++ xml deserializers to accept an empty tag for potentially null struct fields 2019-04-17 14:19:18 -04:00
James Hamil
ee79cf7b6d Add C++ program and corresponding Makefile to verify the C++ generated code using the lmcp reference message set 2019-04-17 14:19:18 -04:00
James Hamil
91e96bc299 Add python script to verify its generated code using the lmcp reference message set 2019-04-17 14:19:18 -04:00
James Hamil
3ba3a65da6 Add python script to generate reference lmcp message set 2019-04-17 14:19:18 -04:00
Colin Taylor
488ab34898 [C++] fixing memory leak when reading from XML. 2019-02-13 09:44:21 -05:00
Derek Kingston
5d61c5834f Merge pull request #21 from GaloisInc/develop
Small fixes for the Rust backend
2018-07-02 16:50:55 -04:00
Adam C. Foltzer
97bf5e58ed [rust] deserializing from a too-long buffer is more forgiving
Previously there would be a deserialization error if the buffer passed
to `Message::deser(buf: &[u8])` was longer than the size field plus
the 12 bytes for the LMCP header.

Now it instead is a check to make sure the buffer is _at least_ that
long, making it easier to deal with streaming situations where a
buffer might contain more than one LMCP message.
2018-06-26 14:03:46 -07:00
Adam C. Foltzer
3f3acbecc1 [rust] start selectively mangling some names that clash with Rust 2018-06-26 14:03:08 -07:00
Adam C. Foltzer
d5efddc02c [rust] fix bug when namespace components are prefixes of other names 2018-06-26 14:02:27 -07:00
Derek Kingston
d86361d60d Decorated argument to reduce collisions 2018-06-20 16:48:48 -04:00
derek.kingston
de2b858466 [C#] Avoid keyword 'Version' 2018-03-22 10:44:12 -04:00
derek.kingston
4a62350106 [C#] Avoid usage of keyword 'version' 2018-03-22 10:37:22 -04:00
derek.kingston
d033619b74 [Python] fix imports when class matches in other namespaces 2018-03-21 17:55:59 -04:00
Derek Kingston
639a60d3fe Merge pull request #17 from ctaylor80/develop
adding cs null check for optional structs.
2018-03-16 15:29:55 -04:00
Derek Kingston
9e629b77c8 Merge pull request #16 from KylePreuss/feature/nuspec_creation
Feature/nuspec creation
2018-03-16 15:29:35 -04:00
Colin AE. Taylor
9732c7f8a6 adding cs null check for optional structs. 2018-03-09 14:22:28 -05:00
James Whalen
3a962af59b Cleaning up the assembly info templates. 2018-03-09 10:54:46 -05:00
James Whalen
47122ced9b Adding a nuspec file for the CS MDM sets. 2018-03-09 10:54:14 -05:00
Derek Kingston
b83a8e895c Re-fix list packing in Python 2018-02-27 17:21:07 -05:00
Derek Kingston
7a4871b7fd Merge pull request #15 from synesthesiam/develop
Fix string encode/decode for Python 3
2018-02-27 17:16:35 -05:00