summaryrefslogtreecommitdiffstats
path: root/python_modules/ptypes.py
Commit message (Collapse)AuthorAgeFilesLines
* codegen: Fix enums.h generationHans de Goede2012-01-121-1/+3
| | | | | | | | | | | | | With the new usbredir code we have the new concept of the abstract / generic spicevmc channel type (which just tunnels data from a qemu chardev), and we've the usbredir channel, which is the only current user of this. This was reflected in the protocols enum in spice-protocol.h by a manual edit done by me, my bad. This patch teaches spice.proto about the relation between the abstract spicevmc channel and the usbredir channel and modifies codegen to deal with this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* python: remove c-ism trailing ;Marc-André Lureau2011-06-211-3/+3
|
* codegen: typedef the protocol enumsMarc-André Lureau2011-06-211-4/+12
| | | | | | | Commit 9d5ef9beeca722b2ceff7d15aaa3aaaaf07ecfbf in spice-protocol introduced a typedef manually in the generated enums.h header. This patch adds them automatically to all enums during enums.h generation.
* spice codegen: fix copy-o, no such variable valueAlon Levy2010-12-061-1/+1
|
* Don't send CursorHeader if cursor_flags is NONEAlexander Larsson2010-07-191-2/+2
|
* codegen: Allow @to_ptr to make inline structs demarshal as pointersAlexander Larsson2010-07-191-1/+3
|
* codegen: Remove unused methos has_pointer()Alexander Larsson2010-07-191-27/+0
|
* codegen: No SPICE_ADDRESS types left, drop @c_ptrAlexander Larsson2010-07-081-2/+5
|
* Properly parse QXLImage to the new-world SpiceImageGerd Hoffmann2010-07-071-7/+24
| | | | | SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* codegen: support @chunk on non-pointer arraysAlexander Larsson2010-07-071-2/+2
| | | | This is similar to @as_ptr, but generates a single chunk of data.
* marshaller: Make get_nw_offset() handle deep member referencesAlexander Larsson2010-07-071-7/+32
|
* marshaller: Make @nonnull a propagated attributeAlexander Larsson2010-07-051-1/+1
| | | | This cleans up some stuff
* marshaller: Make @c_ptr a propagated attributeAlexander Larsson2010-07-051-1/+1
| | | | This simplifies some code
* marshaller: Add generic way to handle propagating attributesAlexander Larsson2010-07-051-4/+11
| | | | Also switches @ptr_array to use this
* Properly parse and marshall SpiceStringGerd Hoffmann2010-07-021-1/+7
|
* Simplify SpiceLineAttr by removing unsed stuffAlexander Larsson2010-06-301-1/+14
| | | | Also in new protocol don't send style data if not needed.
* Support @marshall to automatically marshall pointersAlexander Larsson2010-06-301-13/+16
|
* Make pointers 32bit in new protocol formatAlexander Larsson2010-06-231-1/+3
|
* marshaller: Correctly determine if switches are fixed sizeAlexander Larsson2010-06-231-1/+9
| | | | | Switches are fixed size only if all cases have the same size *and* it has a default case or all the valid cases are listed.
* Fix handling of @ptr32 network sizeAlexander Larsson2010-06-231-4/+10
|
* Add support for @virtual markup in spice protocolAlexander Larsson2010-06-221-0/+4
| | | | | | | 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.
* Initial import of spice protocol description and demarshall generatorAlexander Larsson2010-06-181-0/+965
The "spice.proto" file describes in detail the networking prototcol that spice uses and spice_codegen.py can parse this and generate demarshallers for such network messages.