summaryrefslogtreecommitdiffstats
path: root/spice.proto
Commit message (Collapse)AuthorAgeFilesLines
* spice.proto: add comment for origin of STYLED and START_WITH_GAPAlon Levy2011-08-231-0/+5
|
* server: Add a usbredir channelHans de Goede2011-08-101-0/+8
|
* sndworker: add AudioVolume/AudioMute messagesMarc-André Lureau2011-06-221-0/+13
| | | | | | | | | | | | | | | | | | | These messages allow the guest to send the audio device volume to the client. It uses an arbitrary scale of 16bits, which works good enough for now. Save VolumeState in {Playback,Record}State, so that we can send the current volume on channel connection. Note about future improvements: - add exact dB support - add client to guest volume change Updated since v2: - bumped record and playback interface minor version to allow conditional compilation Updated since v1: - sync record volume on connection too
* spice.proto: Fill.rop_descriptor type s/uint16/ropd (10x atiti)Alon Levy2011-04-261-1/+1
|
* smartcard: add to spice.protoAlon Levy2010-12-071-0/+8
|
* Don't send padding over the network with video dataAlexander Larsson2010-07-201-2/+0
|
* Don't send CursorHeader if cursor_flags is NONEAlexander Larsson2010-07-191-1/+4
|
* Send Clip.rects inline rather than using a pointerAlexander Larsson2010-07-191-1/+1
|
* codegen: Various cleanupsAlexander Larsson2010-07-191-12/+7
| | | | | | | | | | | | Remove all uses of @end in the marshaller, instead just using the C struct array-at-end-of-struct. To make this work we also remove all use of @end for switches (making them C unions). We drop the zero member of the notify message so that we can avoid this use of @end for a primitive in the marshaller (plus its useless to send over the wire). We change the offsets and stuff in the migration messages to real pointers.
* Don't marshall bitmap data as pointer, instead send inlineAlexander Larsson2010-07-091-1/+1
|
* Fix various misspellingsAlexander Larsson2010-07-081-1/+1
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* codegen: No SPICE_ADDRESS types left, drop @c_ptrAlexander Larsson2010-07-081-13/+13
|
* Properly parse QXLLineAttrs.styleAlexander Larsson2010-07-081-1/+1
|
* Properly parse QXLImage to the new-world SpiceImageGerd Hoffmann2010-07-071-38/+43
| | | | | SpiceImage now replaces RedImage and has all image types in it. All image data are now chunked (and as such not copied when demarshalling).
* Convert SpicePath.segments to a pointer arrayAlexander Larsson2010-07-051-1/+1
|
* Properly parse and marshall SpiceStringGerd Hoffmann2010-07-021-5/+5
|
* Simplify SpiceLineAttr by removing unsed stuffAlexander Larsson2010-06-301-19/+9
| | | | Also in new protocol don't send style data if not needed.
* Automatically marshall SpiceClipRectsAlexander Larsson2010-06-301-1/+1
|
* Automatically marshall SpicePathAlexander Larsson2010-06-301-1/+1
|
* Store SpicePath segment count rather than sizeAlexander Larsson2010-06-301-2/+2
| | | | | | | | | | | | | | | | | | | 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
* Update client and protocol to support the new SpiceClipRectsAlexander Larsson2010-06-301-1/+1
|
* qxl abi: parse QXLCopy + QXLBlend.Gerd Hoffmann2010-06-291-2/+2
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLOpaque.Gerd Hoffmann2010-06-291-1/+1
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLFill.Gerd Hoffmann2010-06-291-1/+1
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* spice.proto: surface_create.format is of type surface_fmtAlexander Larsson2010-06-241-1/+1
|
* Use smaller size for enums and flags on the networkAlexander Larsson2010-06-241-16/+16
| | | | | This makes the protocol more compact. This was mainly done for the commonly used types. Some seldom used ones are still 32bit for future compatibility.
* Remove support for clip by pathAlexander Larsson2010-06-241-4/+1
| | | | This is not supported currently anyway and was not generated before.
* spice.proto: No need for @ptr32 as that is now the defaultAlexander Larsson2010-06-231-2/+2
|
* spice.proto: Don't use @fixedsize for BrushAlexander Larsson2010-06-231-1/+1
| | | | | There is no reason to send the maximum size on the network, that is just a waste of space most of the time.
* Don't send zero data item for clips with no dataAlexander Larsson2010-06-231-3/+1
|
* Remove minor markup in unstable protocol as we're resetting minor to 0Alexander Larsson2010-06-231-4/+4
|
* Lossy compression of RGBA images (on WAN connection)Yonit Halperin2010-06-211-0/+14
| | | | | The RGB channels are compressed using JPEG. The alpha channel is compressed using LZ.
* applying zlib compression over glz on WAN connectionYonit Halperin2010-06-211-0/+9
|
* Make sound data @as_ptr to avoid copying dataAlexander Larsson2010-06-181-4/+4
|
* Make ping data @as_ptr to avoid copying dataAlexander Larsson2010-06-181-1/+1
|
* Make cursor data @as_ptr to avoid copying dataAlexander Larsson2010-06-181-1/+1
|
* Make tunnel_service_add members be of cstring array sizeAlexander Larsson2010-06-181-2/+2
|
* Use @ptr32 for 32bit offsets in spice.protoAlexander Larsson2010-06-181-2/+2
|
* Add @nomarshal in a few places where we're marshalling manuallyAlexander Larsson2010-06-181-11/+11
|
* spice.proto: add @outvar markupAlexander Larsson2010-06-181-15/+15
| | | | With this we can reference pointer member with no naming conflicts
* Initial import of spice protocol description and demarshall generatorAlexander Larsson2010-06-181-0/+1086
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.