summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Automatically marshall SpiceClipRectsAlexander Larsson2010-06-301-53/+38
|
* Automatically marshall SpicePathAlexander Larsson2010-06-301-3/+0
|
* Store SpicePath segment count rather than sizeAlexander Larsson2010-06-303-23/+61
| | | | | | | | | | | | | | | | | | | 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
* qxl-abi: handle clip rect and path references.Gerd Hoffmann2010-06-302-282/+206
| | | | | | | | | | | | 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.
* add qxl chunk parserGerd Hoffmann2010-06-302-0/+52
|
* server: Don't call opengl if not enabledAlexander Larsson2010-06-293-3/+17
| | | | | If USE_OGL is not defined, really don't call or link in the opengl backend.
* remove unnecessary send of SPICE_MSG_DISPLAY_RESETYonit Halperin2010-06-291-3/+0
| | | | | | | when SPICE_MSG_DISPLAY_RESET was sent, SPICE_MSG_DISPLAY_SURFACE_DESTROY had already been sent for all surfaces. It also caused a client crash since DisplayChannel::handle_reset assumes that screen exists.
* qxl abi: parse QXLRect.Gerd Hoffmann2010-06-294-18/+42
|
* qxl abi: parse QXLPoint & friends.Gerd Hoffmann2010-06-292-7/+21
|
* qxl abi: parse QXLCursorCmd.Gerd Hoffmann2010-06-293-22/+76
|
* qxl abi: parse QXLSurfaceCmd.Gerd Hoffmann2010-06-293-10/+63
|
* qxl abi: parse QXLMessage.Gerd Hoffmann2010-06-293-4/+41
|
* qxl abi: parse QXLUpdateCmd.Gerd Hoffmann2010-06-293-9/+38
|
* qxl abi: parse QXLClip.Gerd Hoffmann2010-06-291-2/+9
|
* qxl abi: parse QXLLineAttr.Gerd Hoffmann2010-06-291-4/+10
|
* qxl abi: parse QXLPattern.Gerd Hoffmann2010-06-291-1/+2
|
* qxl abi: parse QXLBrush.Gerd Hoffmann2010-06-291-6/+20
|
* qxl abi: parse QXLQMask.Gerd Hoffmann2010-06-291-8/+16
|
* qxl abi: parse QXLBlackness+QXLInvers+QXLWhiteness.Gerd Hoffmann2010-06-291-6/+24
|
* qxl abi: parse QXLText.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLStroke.Gerd Hoffmann2010-06-291-2/+12
|
* qxl abi: parse QXLRop3.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLTransparent.Gerd Hoffmann2010-06-291-2/+13
|
* qxl abi: parse QXLCopy + QXLBlend.Gerd Hoffmann2010-06-292-7/+27
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: add missing QXLCopyBitsGerd Hoffmann2010-06-291-0/+6
|
* qxl abi: parse QXLOpaque.Gerd Hoffmann2010-06-292-1/+24
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLFill.Gerd Hoffmann2010-06-292-3/+11
| | | | Also adapt to tyops fix (s/rop_decriptor/rop_descriptor/).
* qxl abi: parse QXLAlphaBlnd (+Compat)Gerd Hoffmann2010-06-291-2/+21
|
* qxl abi: parse QXLCompatDrawable.Gerd Hoffmann2010-06-293-2/+62
|
* qxl abi: parse QXLDrawable.Gerd Hoffmann2010-06-294-161/+315
|
* improve memory slot error logging.Gerd Hoffmann2010-06-291-4/+7
|
* Replace log4cpp with custom log functionAlexander Larsson2010-06-281-1/+0
| | | | | Also prints a simpler error to stderr for WARN or above so that we print something on the commandline if something go wrong.
* Remove support for clip by pathAlexander Larsson2010-06-241-32/+18
| | | | This is not supported currently anyway and was not generated before.
* drop bogous get_virt_delta callsGerd Hoffmann2010-06-231-8/+2
|
* Add destructor for demarshalled messagesAlexander Larsson2010-06-224-7/+13
| | | | | | | 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.
* fix for not reseting client palette caches on migrationYonit Halperin2010-06-211-0/+2
|
* Lossy compression of RGBA images (on WAN connection)Yonit Halperin2010-06-211-27/+117
| | | | | The RGB channels are compressed using JPEG. The alpha channel is compressed using LZ.
* applying zlib compression over glz on WAN connectionYonit Halperin2010-06-214-14/+296
|
* Add server/demarshaller.hAlexander Larsson2010-06-181-0/+25
|
* Make sound data @as_ptr to avoid copying dataAlexander Larsson2010-06-181-1/+1
|
* Make all message structs internal to spiceAlexander Larsson2010-06-182-2/+2
| | | | | | | 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.
* Use generated demarshallers in serverAlexander Larsson2010-06-183-73/+118
|
* Generate demarshallers on server sideAlexander Larsson2010-06-181-1/+5
|
* Re-enable cache freeingAlexander Larsson2010-06-181-1/+1
| | | | I don't know why this was disabled but it seems like a bad idea
* Convert reds.c to use SpiceMarshallerAlexander Larsson2010-06-181-302/+211
|
* Convert snd_worker.c to use SpiceMarshaller and generated marshallersAlexander Larsson2010-06-181-145/+94
|
* Convert red_worker.c to use SpiceMarshaller for marshallingAlexander Larsson2010-06-181-781/+997
|
* Generate marshallers in serverAlexander Larsson2010-06-181-0/+13
|
* Add SpiceMarshaller for easy marshallingAlexander Larsson2010-06-181-0/+1
|
* Use the new enums for keyboard modifier flagsAlexander Larsson2010-06-181-4/+6
|