summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-03-11add SPICE_MSG_PLAYBACK_LATENCYvideo.adaptive_bit_rate.v2Yonit Halperin3-0/+8
SPICE_MSG_PLAYBACK_LATENCY is intended for adjusting the latency of the audio playback. It is used for synchronizing the audio and video playback. The corresponding capability is SPICE_PLAYBACK_CAP_LATENCY.
2013-03-11add stream report messagesYonit Halperin4-0/+37
If the server & client support SPICE_DISPLAY_CAP_STREAM_REPORT, the server first sends SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT. Then, the client periodically sends SPICE_MSGC_DISPLAY_STREAM_REPORT messages that supply the server details about the current quality of the video streaming on the client side. The server analyses the report and adjust the stream parameters accordingly.
2013-03-07Update spice-protocolHans de Goede1-0/+0
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-04Update spice-protocolHans de Goede1-0/+0
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-07Address a compilation warning due to missing typecastMichael Tokarev1-1/+1
Author: Serge Hallyn <serge.hallyn@ubuntu.com> This is a trivial typecast fix, -- all surrounding lines cast lines_end to PIXEL* but one is apparently forgotten. This fixes a compiler warning about incompatible types in assignment.
2013-02-07spice-common: remove version constructionMichael Tokarev1-1/+1
Version string isn't used anywhere in spice-common, and there's no version for spice-common module per se, either. Hoever, configure.ac has this: AC_INIT([spice-common], [m4_esyscmd(build-aux/git-version-gen .tarball-version)], [spice-devel@lists.freedesktop.org]) But since git-version-gen script is not provided in spice-common module, multiple error messages are produced when generating configure (running autogen/autoreconf), like this: sh: ./build-aux/git-version-gen: not found (repeated about 50 times). The following trivial patch removes usage of build-aux/git-version-gen from AC_INIT and replaces it with a string "noversion", to stop these scary messages from being produced. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2013-01-31canvas_base: fix not caching palettes that belong to images that are not ↵Yonit Halperin1-1/+18
rendered Fixes: fedora 875348, 826036 When an image is not rendered, we still need to check if it contains a palette that needs to be cached. This bug caused the client to crash due to not finding palettes in the cache.
2013-01-28spice-protocol: updated submodule for new PROXY controller messageMarc-André Lureau1-0/+0
2013-01-18spice-common: Update spice-protocol to include ↵Hans de Goede1-0/+0
VD_AGENT_CAP_SPARSE_MONITORS_CONFIG Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-01-11Update spice-protocolDunrong Huang1-0/+0
2012-12-05Add a "port" channelMarc-André Lureau3-0/+32
A Spice port channel carry arbitrary data between the Spice client and the Spice server. It may be used to provide additional services on top of a Spice connection. For example, a channel can be associated with the qemu monitor for the client to interact with it, just like any qemu chardev. Or it may be used with various protocols, such as the Spice Controller. A port kind is identified simply by its fqdn, such as org.qemu.monitor, org.spice.spicy.test or org.ovirt.controller... The channel is based on Spicevmc which simply tunnels data between client and server. A few messages have been added: SPICE_MSG_PORT_INIT: Describes the port state and fqdn name, should be sent only once when the client connects. SPICE_MSG_PORT_EVENT: Server port event. SPICE_PORT_EVENT_OPENED and SPICE_PORT_EVENT_CLOSED are typical values when the chardev is opened or closed. SPICE_MSGC_PORT_EVENT: Client port event.
2012-12-05update spice-protocolMarc-André Lureau1-0/+0
2012-11-04common/lz.c: improve lz_encode commentAlon Levy1-2/+3
2012-10-18ssl-verify: use more explicit error messageMarc-André Lureau1-0/+3
When the server certificate is not being signed by the provided CA, the SSL debug message is currently for example: ssl_verify.c:428:openssl_verify: openssl verify:num=19:self signed certificate in certificate chain:depth=1:/C=IL/L=Raanana/O=Red Hat/CN=my CA Add a more explicit debug message too, as requested in bug: https://bugzilla.redhat.com/show_bug.cgi?id=846666
2012-09-21Update spice-protocol submodule to 0.12.2Christophe Fergeau1-0/+0
2012-09-21Update git.mk to latest versionChristophe Fergeau1-1/+4
2012-09-12Update spice-protocol moduleAlon Levy1-0/+0
Add support for client monitors config in qxl device.
2012-09-10Update spice-protocol submoduleChristophe Fergeau1-0/+0
We need the latest spice-protocol to compile spice to get the A8 surface definitions
2012-08-28build-sys: remove Makefile from marshaller build depMarc-André Lureau1-1/+0
The release tarballs ship with the generated files to avoid extra build work and dependency. However, build was still tiggering a regenration, because of Makefile change. Avoid required rebuild when running ./configure (generating Makefile), there is no variable that could be tweaked, afaict.
2012-08-27inputs: add a INPUTS_KEY_SCANCODE messageMarc-André Lureau2-0/+2
Add a new arbitrary keyboard scancodes message. For now, it will be used to avoid unwanted key repeatition when there is jitter in the network and too much time between DOWN and UP messages, instead the client will send the press & release scancode in a sequence. See also: https://bugzilla.redhat.com/show_bug.cgi?id=812347
2012-08-27configure.ac: support automake >= 1.12Alon Levy1-0/+3
2012-08-27support seamless migrationYonit Halperin5-7/+43
see spice-protocol for more details commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f
2012-08-27add SPICE_MSG_MAIN_AGENT_CONNECTED_TOKENSYonit Halperin3-0/+6
The msg is used for setting the number of allocated client tokens when we notify the client that the agent is attached.
2012-08-24Add support for A8 images to the LZ routinesSøren Sandmann Pedersen13-19/+316
This format is needed to add Render support to the X driver, so we need the ability to compress and decompress it.
2012-08-13canvas_utils: Make sure strides are aligned to multiple of 4Søren Sandmann Pedersen1-0/+3
Pixman requires all strides to be aligned to a multiple of 4. With the upcoming a8 images, this is not guaranteed anymore.
2012-08-09spice-common: don't install spice-protocolMarc-André Lureau1-1/+2
Revert to usage of DIST_SUBDIRS to avoid make install under spice-protocol. This is only possible since git.mk was fixed.
2012-08-09Update git.mk to upstream versionMarc-André Lureau1-18/+30
wget https://raw.github.com/behdad/git.mk/master/git.mk
2012-07-16build-sys: fix make distcheckMarc-André Lureau2-2/+4
- don't try to overwrite read-only enums.h - DIST_SUBDIRS is no longer needed
2012-07-12support multiple monitors in single display channelAlon Levy3-0/+32
See spice-protocol commit for details: da908f89b581fd4725da997fdaea209f8e6548f6 support multiple monitors on a single display channel
2012-07-08spice-protocol/spice/enums.h: rebuild from spice.protoAlon Levy1-1/+4
This file was hand generated until now, resulting in the wierd situation where it is different for spice-gtk and spice-server even though they both use the same spice-common and spice-protocol (or at least close) versions. This patch generates the enums.h files from spice-common. While that file is actually in the spice-protocol submodule, it cannot be generated from spice-protocol since it lacks access to spice.proto and spice_codegen.py. So in affect whenvever it will differ the spice-protocol module will become dirty and hence hopefully commited with the new enums.h. enums.h is generated from spice.proto is a superset of that generated from spice1.proto.
2012-07-05common/log.h: add spice_infoAlon Levy1-0/+6
2012-06-30Fix a gcc warningMarc-André Lureau1-3/+6
warning: suggest explicit braces to avoid ambiguous 'else'
2012-06-30Fix invalid macro usageMarc-André Lureau1-1/+1
2012-06-25ssl: more verbose output when SSL verification failsChristophe Fergeau1-9/+32
This should make SSL connection failures easier to diagnose.
2012-06-22update spice-protocol for smartcard enums fixAlon Levy1-0/+0
d5d26cac49e0a0b6069f10eeeea3a49e4f4ed321 broke spice-common by depending on a local commit, fix it by depending on the now pushed commit.
2012-06-20Makefile.am: now that spice_codegen.py is used add *.pyc to ignored files in ↵Alon Levy1-0/+2
root
2012-06-20Makefile.am: fix .gitignore not being generated in spice-protocol/spiceAlon Levy1-1/+1
By adding spice-protocol to SUBDIRS configure and make will be called in it. Spotted by Marc-André.
2012-06-20updated spice-protocol for smartcard enums non conflict with libcacardAlon Levy1-0/+0
2012-06-14smartcard: build fixes for spice serverAlon Levy2-4/+4
Define different enums that have a SPICE_ prefix to not conflict with same value enums from libcacard/vsccard_common.h, and continue to use the same SPICE_MSG_SMARTCARD_DATA and SPICE_MSGC_SMARTCARD_DATA enum that is used by the server and clients (spice-gtk, spicec) alike.
2012-06-14python_modules/ptypes.py/EnumBaseType.c_enumname: add missing return to fix ↵Alon Levy1-1/+1
broken enums generation Fixes the resulting enums.h from the invocation of: ./spice_codegen.py --generate-enums spice.proto spice-protocol/spice/enums.h Right now any enum will contain None as the enum members, with this fix it will contain the real enum members, i.e. SPICE_FOO.
2012-05-17ssl-verify: add a bit of run-time checksMarc-André Lureau1-0/+5
Even if they are not public functions, those conditions can be reached in a invalid state.
2012-05-02video streaming: add support for frames of different sizesYonit Halperin4-6/+36
rhbz #813826, #815426 Add SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, for stream_data message that also contains the size and destination box of the data. The server can send such messages only to clients with SPICE_DISPLAY_CAP_SIZED_STREAM.
2012-05-02region: add region_extentsYonit Halperin2-0/+13
2012-05-02rect: add rect_debugYonit Halperin1-0/+11
2012-05-02rect: add rect_get_areaYonit Halperin1-0/+10
2012-05-02rect: add rect_containsYonit Halperin1-0/+11
2012-04-26Set the clip type to reflect the on wire type.Jeremy White1-1/+1
2012-04-25Add missing struct field initializersDaniel P. Berrange2-4/+6
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-04-18move variable decleration to head of code blockAric Stewart1-1/+1
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-04-18allow log.c to compile under MSVC++Aric Stewart1-0/+12