Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix build on win32 | Alexander Larsson | 2012-03-20 | 2 | -20/+20 | |
| | ||||||
* | Fix 32bit failure in demarshaller | Alexander Larsson | 2012-03-20 | 1 | -2/+2 | |
| | | | | Due to a typo we always read offsets as pointers, never as SPICE_ADDRESS. | |||||
* | Update for the SpicePath.segments type change | Alexander Larsson | 2012-03-20 | 3 | -3/+3 | |
| | ||||||
* | Simplify SpiceLineAttr by removing unsed stuff | Alexander Larsson | 2012-03-20 | 6 | -71/+40 | |
| | | | | Also in new protocol don't send style data if not needed. | |||||
* | Automatically marshall SpiceClipRects | Alexander Larsson | 2012-03-20 | 1 | -1/+1 | |
| | ||||||
* | Automatically marshall SpicePath | Alexander Larsson | 2012-03-20 | 1 | -1/+1 | |
| | ||||||
* | Support @marshall to automatically marshall pointers | Alexander Larsson | 2012-03-20 | 2 | -28/+40 | |
| | ||||||
* | Store SpicePath segment count rather than size | Alexander Larsson | 2012-03-20 | 8 | -39/+50 | |
| | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Add spice_marshaller_set_uint32 | Alexander Larsson | 2012-03-20 | 2 | -16/+31 | |
| | | | | | | | With this function you can update an added uint32 after it being added. To make this possible all the spice_marshaller_add_add_foo functions now return a pointer that can be used as a reference when later setting a value. | |||||
* | Update client and protocol to support the new SpiceClipRects | Alexander Larsson | 2012-03-20 | 2 | -2/+2 | |
| | ||||||
* | demarshaller: Support @c_ptr attributes for pointers | Alexander Larsson | 2012-03-20 | 1 | -7/+16 | |
| | | | | | | A @c_ptr pointer is stored in memory as a real pointer rather than a SPICE_ADDRESS. This is a temporary thing that will be removed again when all SPICE_ADDRESSes have been converted to real pointer. | |||||
* | demarshaller: Don't parse @zero members | Alexander Larsson | 2012-03-20 | 1 | -1/+4 | |
| | | | | | | These just write zeros at the right place in the network protocol typically for old back-compat things. We don't want to read these back in. | |||||
* | qxl-abi: handle clip rect and path references. | Gerd Hoffmann | 2012-03-20 | 2 | -15/+12 | |
| | | | | | | | | | | | | red_parse_qxl.c starts to follow QXLPHYSICAL references and build up data structures. Can zap a bunch of get_virt calls in red_worker.c, followed by cleanups. (de-) marshaller needs updates to deal with that. Also I suspect with the get_virt() calls being gone we can offload more work to generated marshaller code. client doesn't build. | |||||
* | qxl abi: parse QXLCopy + QXLBlend. | Gerd Hoffmann | 2012-03-20 | 4 | -8/+8 | |
| | | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). | |||||
* | qxl abi: parse QXLOpaque. | Gerd Hoffmann | 2012-03-20 | 4 | -5/+5 | |
| | | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). | |||||
* | qxl abi: parse QXLFill. | Gerd Hoffmann | 2012-03-20 | 4 | -4/+4 | |
| | | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/). | |||||
* | Fix build error due to member "SpiceMsgEmpty" same name as type | Alexander Larsson | 2012-03-20 | 1 | -0/+2 | |
| | ||||||
* | spice.proto: surface_create.format is of type surface_fmt | Alexander Larsson | 2012-03-20 | 1 | -1/+1 | |
| | ||||||
* | Use smaller size for enums and flags on the network | Alexander Larsson | 2012-03-20 | 1 | -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 path | Alexander Larsson | 2012-03-20 | 5 | -26/+5 | |
| | | | | This is not supported currently anyway and was not generated before. | |||||
* | spice.proto: No need for @ptr32 as that is now the default | Alexander Larsson | 2012-03-20 | 1 | -2/+2 | |
| | ||||||
* | spice.proto: Don't use @fixedsize for Brush | Alexander Larsson | 2012-03-20 | 1 | -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 data | Alexander Larsson | 2012-03-20 | 1 | -3/+1 | |
| | ||||||
* | Make pointers 32bit in new protocol format | Alexander Larsson | 2012-03-20 | 4 | -12/+15 | |
| | ||||||
* | marshaller: Correctly determine if switches are fixed size | Alexander Larsson | 2012-03-20 | 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 | 2012-03-20 | 1 | -4/+10 | |
| | ||||||
* | Remove minor markup in unstable protocol as we're resetting minor to 0 | Alexander Larsson | 2012-03-20 | 1 | -4/+4 | |
| | ||||||
* | fix use-after-free in spice_marshaller_reset | Gerd Hoffmann | 2012-03-20 | 1 | -2/+3 | |
| | ||||||
* | Add spice1.proto describing the 0.4 version of the network protocolx | Alexander Larsson | 2012-03-20 | 1 | -0/+934 | |
| | ||||||
* | Add support for @virtual markup in spice protocol | Alexander Larsson | 2012-03-20 | 3 | -0/+14 | |
| | | | | | | | 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 static | Alexander Larsson | 2012-03-20 | 2 | -4/+4 | |
| | ||||||
* | Support extra prefix in code generators | Alexander Larsson | 2012-03-20 | 4 | -6/+11 | |
| | | | | | This is require when we add a new spice.proto for the old (major 1) protocol description. | |||||
* | Support creating marshallers that are called indirectly | Alexander Larsson | 2012-03-20 | 2 | -8/+30 | |
| | | | | | This is needed if we want to switch marshallers depending on what major version the remote side has. | |||||
* | Add destructor for demarshalled messages | Alexander Larsson | 2012-03-20 | 1 | -7/+18 | |
| | | | | | | | This is required because we don't want to free messages that just refer to the unparsed message (like SpiceMsgData). Also, in the future we might need it for more complex demarshalling. | |||||
* | Lossy compression of RGBA images (on WAN connection) | Yonit Halperin | 2012-03-20 | 4 | -6/+121 | |
| | | | | | The RGB channels are compressed using JPEG. The alpha channel is compressed using LZ. | |||||
* | applying zlib compression over glz on WAN connection | Yonit Halperin | 2012-03-20 | 9 | -11/+80 | |
| | ||||||
* | Make generated marshallers build on win32 | Alexander Larsson | 2012-03-20 | 3 | -0/+7 | |
| | ||||||
* | Make sound data @as_ptr to avoid copying data | Alexander Larsson | 2012-03-20 | 2 | -6/+8 | |
| | ||||||
* | Make ping data @as_ptr to avoid copying data | Alexander Larsson | 2012-03-20 | 2 | -1/+3 | |
| | ||||||
* | Make cursor data @as_ptr to avoid copying data | Alexander Larsson | 2012-03-20 | 2 | -2/+3 | |
| | ||||||
* | Support @as_ptr in demarshaller to avoid copying data unnecessary | Alexander Larsson | 2012-03-20 | 1 | -1/+13 | |
| | ||||||
* | Make pointer types in messages be 64bit in memory | Alexander Larsson | 2012-03-20 | 1 | -2/+2 | |
| | | | | | | | | Right now we always assume pointers are stored as SPICE_ADDRESS, i.e. 64bit, independent on the size sent on the network. This is required for 64bit architectures of course, but slightly overkill on 32bit architectures, so needs fixing when all SPICE_ADDRESS elements can be made internal. | |||||
* | Don't pack the message structures | Alexander Larsson | 2012-03-20 | 1 | -87/+83 | |
| | ||||||
* | Make all message structs internal to spice | Alexander Larsson | 2012-03-20 | 1 | -0/+497 | |
| | | | | | | | We move all message structs from spice-protocol to spice as we want to be able to change these as needed internally. The on-network format is no longer defined by these structures anyway, but rather by the spice protocol description. | |||||
* | Allow multiple --include args | Alexander Larsson | 2012-03-20 | 1 | -3/+4 | |
| | ||||||
* | Make tunnel_service_add members be of cstring array size | Alexander Larsson | 2012-03-20 | 1 | -2/+2 | |
| | ||||||
* | Use @ptr32 for 32bit offsets in spice.proto | Alexander Larsson | 2012-03-20 | 1 | -2/+2 | |
| | ||||||
* | Add @nomarshal in a few places where we're marshalling manually | Alexander Larsson | 2012-03-20 | 1 | -11/+11 | |
| | ||||||
* | spice.proto: add @outvar markup | Alexander Larsson | 2012-03-20 | 1 | -15/+15 | |
| | | | | With this we can reference pointer member with no naming conflicts | |||||
* | Add support for generating message and structure marshallers | Alexander Larsson | 2012-03-20 | 2 | -1/+392 | |
| |