Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | codegen: Fix enums.h generation | Hans de Goede | 2012-01-12 | 1 | -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é Lureau | 2011-06-21 | 1 | -3/+3 |
| | |||||
* | codegen: typedef the protocol enums | Marc-André Lureau | 2011-06-21 | 1 | -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 value | Alon Levy | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | Don't send CursorHeader if cursor_flags is NONE | Alexander Larsson | 2010-07-19 | 1 | -2/+2 |
| | |||||
* | codegen: Allow @to_ptr to make inline structs demarshal as pointers | Alexander Larsson | 2010-07-19 | 1 | -1/+3 |
| | |||||
* | codegen: Remove unused methos has_pointer() | Alexander Larsson | 2010-07-19 | 1 | -27/+0 |
| | |||||
* | codegen: No SPICE_ADDRESS types left, drop @c_ptr | Alexander Larsson | 2010-07-08 | 1 | -2/+5 |
| | |||||
* | Properly parse QXLImage to the new-world SpiceImage | Gerd Hoffmann | 2010-07-07 | 1 | -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 arrays | Alexander Larsson | 2010-07-07 | 1 | -2/+2 |
| | | | | This is similar to @as_ptr, but generates a single chunk of data. | ||||
* | marshaller: Make get_nw_offset() handle deep member references | Alexander Larsson | 2010-07-07 | 1 | -7/+32 |
| | |||||
* | marshaller: Make @nonnull a propagated attribute | Alexander Larsson | 2010-07-05 | 1 | -1/+1 |
| | | | | This cleans up some stuff | ||||
* | marshaller: Make @c_ptr a propagated attribute | Alexander Larsson | 2010-07-05 | 1 | -1/+1 |
| | | | | This simplifies some code | ||||
* | marshaller: Add generic way to handle propagating attributes | Alexander Larsson | 2010-07-05 | 1 | -4/+11 |
| | | | | Also switches @ptr_array to use this | ||||
* | Properly parse and marshall SpiceString | Gerd Hoffmann | 2010-07-02 | 1 | -1/+7 |
| | |||||
* | Simplify SpiceLineAttr by removing unsed stuff | Alexander Larsson | 2010-06-30 | 1 | -1/+14 |
| | | | | Also in new protocol don't send style data if not needed. | ||||
* | Support @marshall to automatically marshall pointers | Alexander Larsson | 2010-06-30 | 1 | -13/+16 |
| | |||||
* | Make pointers 32bit in new protocol format | Alexander Larsson | 2010-06-23 | 1 | -1/+3 |
| | |||||
* | marshaller: Correctly determine if switches are fixed size | Alexander Larsson | 2010-06-23 | 1 | -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 size | Alexander Larsson | 2010-06-23 | 1 | -4/+10 |
| | |||||
* | Add support for @virtual markup in spice protocol | Alexander Larsson | 2010-06-22 | 1 | -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 generator | Alexander Larsson | 2010-06-18 | 1 | -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. |