summaryrefslogtreecommitdiffstats
path: root/python_modules/marshal.py
Commit message (Collapse)AuthorAgeFilesLines
* marshaller: Make @nonnull a propagated attributeAlexander Larsson2010-07-051-1/+1
| | | | This cleans up some stuff
* marshaller: Add generic way to handle propagating attributesAlexander Larsson2010-07-051-2/+2
| | | | Also switches @ptr_array to use this
* Properly parse and marshall SpiceStringGerd Hoffmann2010-07-021-3/+17
|
* Support @marshall to automatically marshall pointersAlexander Larsson2010-06-301-15/+24
|
* Store SpicePath segment count rather than sizeAlexander Larsson2010-06-301-9/+18
| | | | | | | | | | | | | | | | | | | Internally and in the network protocol (for the new version) we now store the actual number of segments rather than the size of the full segments array in bytes. This change consists of multiple changes to handle this: * Make the qxl parser calculate num_segments * Make the canvas stroke code handle the new SpicePath layout. * Fix up is_equal_path in red_worker.c for the new layout * replace multiple calls to spice_marshall_PathSegment with a single spice_marshall_Path call * Make the byte_size() array size handling do the conversion from network size to number of elements when marshalling/demarshalling. * Update the current spice protocol to send the segment count rather than the size * Update the old spice protocol to use the new byte_size functionallity to calculate the size sent and the number of elements recieved
* Fix build error due to member "SpiceMsgEmpty" same name as typeAlexander Larsson2010-06-281-0/+2
|
* Make pointers 32bit in new protocol formatAlexander Larsson2010-06-231-2/+2
|
* Add support for @virtual markup in spice protocolAlexander Larsson2010-06-221-0/+3
| | | | | | | This means the member is not sent on the network at all. Instead its initialized to the attribute argument when demarshalled. This is useful for backwards compatibility support.
* Make internal generated marshaller functions staticAlexander Larsson2010-06-221-1/+1
|
* Support extra prefix in code generatorsAlexander Larsson2010-06-221-1/+1
| | | | | This is require when we add a new spice.proto for the old (major 1) protocol description.
* Support creating marshallers that are called indirectlyAlexander Larsson2010-06-221-6/+25
| | | | | This is needed if we want to switch marshallers depending on what major version the remote side has.
* Make generated marshallers build on win32Alexander Larsson2010-06-181-0/+1
|
* Add support for generating message and structure marshallersAlexander Larsson2010-06-181-0/+357