summaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* qxl parser: complete parsing of QXLCompatDrawable structsGerd Hoffmann2010-08-311-0/+14
|
* server: red_current_add_equal - don't push a drawable to the middle of the ↵Yonit Halperin2010-08-311-1/+13
| | | | | | | pipe if it depends on surfaces. This will prevent: 1) rendering problems (commands sent to the client in the wrong order) 2) sending commands for surfaces that haven't been created yet on the client side.
* server: when woken up by data ready to be read, don't call write.Alon Levy2010-08-311-1/+1
| | | | | | | | | This used to be a callback for the vdi_port "data ready" interrupt, which did indicate either data ready to read or data ready to write, but this is no longer the case now that virtio-serial is used. This seemingly simple fix prevents a race that needs to be fixed with another patch, see freedesktop bz #29903
* server: retry mouse send on queue fullAlon Levy2010-08-311-0/+1
|
* server: bugfix - make vdi_port_write_retry reiterate if write_queue still ↵Alon Levy2010-08-311-1/+1
| | | | | | | | | not empty The vdi_port_write_timer_started flag was not being reset, which prevented another vdi_port_write_timer_start from actually starting the timer. Fix is to change order of lines. This happens in the callback of the timer, so no chance of double timer set.
* server: add subtype to SpiceCharDeviceInterface, use for vdagentAlon Levy2010-08-312-7/+50
|
* server: rename SpiceVDIPort* to SpiceCharDevice*Alon Levy2010-08-312-38/+38
|
* server: fix red_current_flush to flush only the surface that was given as ↵Yonit Halperin2010-08-301-1/+3
| | | | | | | | | | parameter A side effect of the previous red_current_flush, which flushed all the surfaces, and was called on a new display channel connection, was that red_handle_drawable_surfaces_client_synced sent the most updated surfaces images when needed. However, now, it should explicitly call red_current_flush. Moreover, since red_current_flush was called on a new display channel connection only if there was a primary surface, if the connection of the display channel occurred at the moment of no primary surface, red_handle_drawable_surfaces_client_synced was buggy.
* Bump versions.Gerd Hoffmann2010-08-301-1/+1
| | | | | | Update #define in server/spice.h in preparation for the 0.6.0 release. We also got some new functions, thus we have to increate the shared lib minor number for spice-server.
* Add config functions.Gerd Hoffmann2010-08-302-0/+38
| | | | | | A bunch of configuration functions where never ported forward from rhel-6 to upstream. Add them so we can add qemu config options for these settings.
* Merge commit 'ea298a14e1cde8b811baf6bd187287f18dde0dee'Alon Levy2010-08-301-10/+0
|\
| * server: moved agent pipe headers to spice-protocolAlon Levy2010-08-301-10/+0
| |
* | server: cleanups in destorying surfaces codeYonit Halperin2010-08-301-29/+22
| |
* | server: really wait for a surface to be destroyed, when calling ↵Yonit Halperin2010-08-301-9/+75
| | | | | | | | | | | | | | destroy_surface_wait Waiting till all the pipe items that are dependent on the surface will be sent. This was probably the cause for freedesktop bug #29750.
* | server: consider also PIPE_ITEM_UPGRADE when searching for drawables in ↵Yonit Halperin2010-08-301-17/+19
| | | | | | | | red_clear_surface_drawables_from_pipe
* | server: red_send_image() - append image data to right marshallerAlexander Larsson2010-08-271-1/+2
| | | | | | | | | | | | The actual bitmap data was added to the main marshaller rather than the submarshaller that pointed to the SpiceImage part. This made us send too short messages failing demarshalling in the client.
* | server: red_send_image() initialize bitmap.flagsAlexander Larsson2010-08-271-0/+1
|/ | | | We're currently sending this to the network based on random memory.
* zap more unused bits.Gerd Hoffmann2010-08-271-14/+0
| | | | | BufDescriptor isn't used at all. Two AddBufInfo fields (slot_id and group_id) are not used any more.
* red_get_cursor: avoid extra copyGerd Hoffmann2010-08-271-4/+4
|
* fix red_cursur_flush segfaultGerd Hoffmann2010-08-261-1/+3
|
* zap dead typedefsGerd Hoffmann2010-08-261-5/+0
|
* zap dead qxl chunk codeGerd Hoffmann2010-08-261-29/+0
|
* qxl parser: add cursor parsingGerd Hoffmann2010-08-263-48/+59
|
* qxl parser: complete QXL_SURFACE_CMD_CREATE parsingGerd Hoffmann2010-08-263-4/+6
|
* server: clean glz drawables when reseting qxlYonit Halperin2010-08-251-0/+3
| | | | | | When the we reset qxl, we destroy all srufaces. Since surfaces and glz drawables are no longer dependent, we need to call red_display_clear_glz_drawables explicitly in order to clear all our drawables references in the server.
* server: Add missing break in switch caseAlexander Larsson2010-08-251-0/+1
|
* server: remove the no longer used glz drawables list that was maintained for ↵Yonit Halperin2010-08-241-8/+0
| | | | each surface.
* server: remove unnecessary dependency between surfaces and Glz drawablesYonit Halperin2010-08-241-26/+4
| | | | Fixes freedesktop bug #28568
* Fix mismerge in last commitAlexander Larsson2010-08-231-1/+0
|
* Remove USE_EXCLUDE_RGN define and !USE_EXCLUDE_RGN codeAlexander Larsson2010-08-231-167/+0
|
* Remove STREAM_TRACE define and !STREAM_TRACE codeAlexander Larsson2010-08-231-206/+1
|
* Limiting video streaming to the primary surface. freedesktop bug #28088.Yonit Halperin2010-08-231-7/+40
|
* server: add vdi_port write retry timer. RHBZ 616772Alon Levy2010-07-221-0/+30
|
* Don't do manual marshalling for input channelAlexander Larsson2010-07-211-45/+67
|
* server: Properly order rgb for 24bit bitmaps when sending to libjpegAlexander Larsson2010-07-201-2/+8
| | | | | SPICE_BITMAP_FMT_24BIT order is bgr, libjpeg wants rgb. This fixes freedesktop bug #28089
* Don't send padding over the network with video dataAlexander Larsson2010-07-201-5/+2
|
* codegen: Various cleanupsAlexander Larsson2010-07-192-13/+8
| | | | | | | | | | | | 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.
* server vdi port: prevent recursive calls to read_from_vdi_port (required for ↵Alon Levy2010-07-191-7/+21
| | | | spice-vmc)
* add SPICE_SERVER_VERSIONGerd Hoffmann2010-07-141-0/+2
| | | | Allow to ifdef features which depend on a certain libspice-server release.
* server: enabling/disabling jpeg and zlib-over-glz via spice command line argsYonit Halperin2010-07-145-3/+66
|
* red_glz_compress_image: lines isn't needed any moreGerd Hoffmann2010-07-131-2/+1
|
* Don't marshall bitmap data as pointer, instead send inlineAlexander Larsson2010-07-091-18/+12
|
* Use the right enum types for bitmap_data.type comparisonsAlexander Larsson2010-07-091-2/+2
|
* Make tunnel support optional in client tooAlexander Larsson2010-07-081-2/+4
|
* Make distcheck workAlexander Larsson2010-07-081-0/+1
|
* Missed some misspelling fixesAlexander Larsson2010-07-081-11/+11
|
* Fix various misspellingsAlexander Larsson2010-07-087-60/+60
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* server: Remove unnecessary pci id/rev checksAlexander Larsson2010-07-082-11/+0
| | | | | | There is no need to check the pci ids or revisions. Thats a contract between qemu and the driver, and spice need not care, as long as we get the right data from qemu.
* Make all internal structures not be packedAlexander Larsson2010-07-081-11/+10
|
* Handle the new QXLCursorHeader typeAlexander Larsson2010-07-081-3/+13
|