16 Commits

Author SHA1 Message Date
mpilman
1ac2d01b03 Merge remote-tracking branch 'upstream/master' into flatbuffers-fixes2 2019-07-18 09:50:08 -07:00
mpilman
b18666d942 statically link libstdc++ on Linux and remove std::variant
this will hopefully fix #1610
2019-07-16 14:53:16 -07:00
mpilman
6c6a1ca8f4 Expose serialization context too all traits 2019-07-15 12:58:31 -07:00
mpilman
1ab36cafbc Fixed memory bug 2019-07-15 09:53:26 -07:00
mpilman
cb7b941452 expose protocolVersion to serialize function
The main idea here is that we now have a context for
serialization and deserialization. This can be used
to access the protocolVersion.

The context still needs to be exposed to the
deserailization traits
2019-07-12 17:16:54 -07:00
mpilman
75d4b612cf Make object serializer versioned 2019-07-12 11:53:14 -07:00
Andrew Noyes
eb87b1fc61 Remove dead code 2019-07-11 23:03:31 -07:00
Andrew Noyes
a34f8d70d6 Re-use writeToOffsets vector 2019-07-11 23:03:31 -07:00
Andrew Noyes
e2ed56fa56 Convert ownedPtr to unownedPtr for IReplicationPolicy
Remove WriteRawMemory feature

Remove deserialization_done
2019-07-05 14:07:02 -07:00
Andrew Noyes
9894d928a1 Re-use identical vtables 2019-07-05 14:07:02 -07:00
A.J. Beamon
e5381e0612 Fix some new usages of g_random 2019-05-23 09:23:27 -07:00
Alvin Moore
17a2983943 Switch boost variant to C++17 variant 2019-05-16 13:05:49 -07:00
mpilman
186bff4ae5 removed unnecessary assert and added test 2019-05-13 14:15:23 -07:00
mpilman
b06fe39b47 renamed flatbuffers tests for consistency 2019-05-13 14:15:22 -07:00
mpilman
fe81454ec2 basic functionality for object serializer
This commit includes:
- The flatbuffers implementation
- A draft on how it should be used for network messages
- A serializer that can be used independently

What is missing:
- All root objects will need a file identifier
- Many special classes can not be serialized yet as the
  corresponding traits are not yet implemented
- Object serialization can not yet be turned on (this will
  need a network option)
2019-05-13 14:15:22 -07:00
mpilman
8bbd28315e Added Object serializer (does not yet compile) 2019-05-13 14:15:22 -07:00