[Spice-commits] 7 commits - spice/vd_agent.h

Alon Levy alon at kemper.freedesktop.org
Mon Aug 30 06:15:01 PDT 2010


 spice/vd_agent.h |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 2335032d3b16fd2d16a7ba5be36df2265764dee2
Merge: 0349883... e27cb33...
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Aug 30 16:13:58 2010 +0300

    Merge commit 'e27cb334cf70409c7e32be6f061921b4b317be17'

commit e27cb334cf70409c7e32be6f061921b4b317be17
Author: Alon Levy <alevy at redhat.com>
Date:   Mon Aug 30 13:25:30 2010 +0300

    move pipe header defines from reds.c to spice-protocol

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 8e1e6ca..1fcda88 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -35,6 +35,16 @@
 
 #include <spice/start-packed.h>
 
+enum {
+    VDP_CLIENT_PORT = 1,
+    VDP_SERVER_PORT,
+};
+
+typedef struct SPICE_ATTR_PACKED VDIChunkHeader {
+    uint32_t port;
+    uint32_t size;
+} VDIChunkHeader;
+
 typedef struct SPICE_ATTR_PACKED VDAgentMessage {
     uint32_t protocol;
     uint32_t type;
commit ae739ac541f6213b8f17ffccd60c9927812cac24
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jul 20 18:05:15 2010 +0200

    Update NEWS for release

diff --git a/NEWS b/NEWS
index e3ec5f9..6a2d96b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,12 @@
+Major changes in 0.5.3:
+=======================
+
+Network major number changed to 2 to reflect that the network
+protocol is now stable and backwards compatible from this point.
+
+Some vdagent messages for display settings and clipboard sharing
+were added.
+
 Major changes in 0.5.2:
 =======================
 
commit 5200cb0cd195a760f38b44cb1208f5a8c4dacf83
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jul 20 18:03:35 2010 +0200

    Update version to 0.5.3

diff --git a/configure.ac b/configure.ac
index c071dee..0b1e9bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.57])
 
 m4_define([SPICE_MAJOR], 0)
 m4_define([SPICE_MINOR], 5)
-m4_define([SPICE_MICRO], 2)
+m4_define([SPICE_MICRO], 3)
 
 AC_INIT(spice-protocol, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice-protocol)
 
commit ca700d1fa756d446ebf6fd276c24ac21146da6bb
Author: Alexander Larsson <alexl at redhat.com>
Date:   Tue Jul 20 15:52:05 2010 +0200

    Change major to 2 to declare network protocol stable

diff --git a/spice/protocol.h b/spice/protocol.h
index bac2610..d6a2041 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -36,7 +36,7 @@
 #include <spice/start-packed.h>
 
 #define SPICE_MAGIC (*(uint32_t*)"REDQ")
-#define SPICE_VERSION_MAJOR (~(uint32_t)0 - 1)
+#define SPICE_VERSION_MAJOR 2
 #define SPICE_VERSION_MINOR 0
 
 // Encryption & Ticketing Parameters
commit 3f63e048819f6ede08ed01bc31ae2a33adb550e8
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Wed Jun 23 13:31:11 2010 +0300

    vdagent protocol: add display setting

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index f24479d..8e1e6ca 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -53,6 +53,7 @@ enum {
     VD_AGENT_MONITORS_CONFIG,
     VD_AGENT_REPLY,
     VD_AGENT_CLIPBOARD,
+    VD_AGENT_DISPLAY_CONFIG,
 };
 
 typedef struct SPICE_ATTR_PACKED VDAgentMonConfig {
@@ -73,6 +74,18 @@ typedef struct SPICE_ATTR_PACKED VDAgentMonitorsConfig {
     VDAgentMonConfig monitors[0];
 } VDAgentMonitorsConfig;
 
+enum {
+    VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_WALLPAPER = (1 << 0),
+    VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_FONT_SMOOTH = (1 << 1),
+    VD_AGENT_DISPLAY_CONFIG_FLAG_DISABLE_ANIMATION = (1 << 2),
+    VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH = (1 << 3),
+};
+
+typedef struct SPICE_ATTR_PACKED VDAgentDisplayConfig {
+    uint32_t flags;
+    uint32_t depth;
+} VDAgentDisplayConfig;
+
 #define VD_AGENT_LBUTTON_MASK (1 << 1)
 #define VD_AGENT_MBUTTON_MASK (1 << 2)
 #define VD_AGENT_RBUTTON_MASK (1 << 3)
commit b0f61eba2582f8e18ac5a71d28a3331effd15bfb
Author: Arnon Gilboa <agilboa at agilboa.usersys.redhat.com>
Date:   Wed Jul 21 17:41:13 2010 +0300

    client/agent: add clipboard max size limit for sending to/from the guest agent
    
    define default & env variable for overriding it

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 4e6fcf7..f24479d 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -45,6 +45,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentMessage {
 
 #define VD_AGENT_PROTOCOL 1
 #define VD_AGENT_MAX_DATA_SIZE 2048
+#define VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT 1024
+#define VD_AGENT_CLIPBOARD_MAX_SIZE_ENV "SPICE_CLIPBOARD_MAX_SIZE"
 
 enum {
     VD_AGENT_MOUSE_STATE = 1,


More information about the Spice-commits mailing list