[Spice-devel] [PATCH spice-gtk V6 1/3] file-xfer: handling various transfer messages in main channel

2013-01-09 Thread riegamaths
From: Dunrong Huang This patch is aimed to handle various file xfer messages. How it works: 0) our main channel introduces a API spice_main_file_copy_async(). 1) When user drags a file and drop to spice client, spice client will catch a signal "drag-data-received", then it should call spi

[Spice-devel] [PATCH spice-gtk V6 3/3] file-xfer: disable file-xfer when agent is not connected

2013-01-09 Thread riegamaths
From: Dunrong Huang Signed-off-by: Dunrong Huang Signed-off-by: mathslinux --- gtk/channel-main.c | 4 1 file changed, 4 insertions(+) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index a3211e1..fad4215 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -2716,10 +2716,14

[Spice-devel] [PATCH spice-gtk V6 0/3] simply implement of file transfer

2013-01-09 Thread riegamaths
From: mathslinux These are the fifth version of patches which implement file transfer from client to guest. V5 -> V6: * Small fixes in first patch V4 -> V5: * Only update first patch * Imporve error report * Add spice_main_file_copy_finish() function. * Some code cleanup. (e.g. f

[Spice-devel] [PATCH spice-gtk V6 2/3] file-xfer: handle "drag-data-received" signal

2013-01-09 Thread riegamaths
From: Dunrong Huang When user drags a file to SpiceDisplay and drops it, a signal named "drag-data-received" will be emitted, the signal will be received by SpiceDisplay, then our signal handler should receive data which contains file path, and call spice_main_file_copy_async() to transfer file t

[Spice-devel] [PATCH] qxl: dont update invalid area

2012-08-30 Thread riegamaths
From: Dunrong Huang This patch fixes the following error: $ ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 -spice port=5900,disable-ticketing -vga qxl -cdrom ~/Images/linuxmint-13-mate-dvd-32bit.iso (/home/mathslinux/usr/bin/qemu-system-x86_64:10068): SpiceWorker-CRITICAL **: red_worker.c:4

[Spice-devel] [spice-gtk PATCH v2] spicy.c: Don't attempt to connect automatically if hostname and port are not provided

2012-08-24 Thread riegamaths
From: Dunrong Huang This patch will fix following error: $ spicy --spice-debug .. (spicy:21981): GSpice-DEBUG: spice-session.c:1618 new main channel, switching (spicy:21981): GSpice-DEBUG: spice-gtk-session.c:811 Changing main channel from (nil) to 0x8534b0 (spicy:21981): GSpice-DEBUG: spicy

[Spice-devel] [spice-gtk PATCH] spicy.c: Don't attempt to connect automatically if hostname and port are not provided

2012-08-24 Thread riegamaths
From: Dunrong Huang This patch will fix following error: $ spicy --spice-debug .. (spicy:21981): GSpice-DEBUG: spice-session.c:1618 new main channel, switching (spicy:21981): GSpice-DEBUG: spice-gtk-session.c:811 Changing main channel from (nil) to 0x8534b0 (spicy:21981): GSpice-DEBUG: spicy