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

2013-01-09 Thread Dunrong Huang
On Thu, Jan 10, 2013 at 9:21 AM, Marc-André Lureau wrote: > Hi > > On Sat, Jan 5, 2013 at 11:59 AM, Dunrong Huang wrote: >> V4 -> V5: >>* Imporve error report >>* Add spice_main_file_copy_finish() function. >>* Some code cleanup. (e.g. file_xfer_task_free()) >>* Limit spice_main_f

[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

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

2013-01-09 Thread Marc-André Lureau
Hi On Sat, Jan 5, 2013 at 11:59 AM, Dunrong Huang wrote: > V4 -> V5: >* Imporve error report >* Add spice_main_file_copy_finish() function. >* Some code cleanup. (e.g. file_xfer_task_free()) >* Limit spice_main_file_copy() to a single file. This last version is pretty close to be

Re: [Spice-devel] [PATCH spice-protocol V3] vd_agent.h: drag-and-drop support

2013-01-09 Thread Marc-André Lureau
Hi V3 of protocol patch looks good to me. It has working implementation with latest patch for spice-gtk & vdagent from Dunrong. So we have 2 acks now, if nobody speaks tomorrow I will push it. thanks On Wed, Nov 28, 2012 at 12:55 PM, Dunrong Huang wrote: > At present, Vmware and Virtualbox has

Re: [Spice-devel] [PATCH spice-gtk] Send monitor config to the agent on spice_main_set_display_enabled (#881072)

2013-01-09 Thread Marc-André Lureau
ack On Wed, Jan 9, 2013 at 7:47 PM, Hans de Goede wrote: > Currently we send an updated monitor-config to the agent whenever some > of the display settings are changed (whenever spice_main_set_display is > called), including when a new display is enabled, as that involves > creating a new window,

Re: [Spice-devel] [Users] No working copy and past and usb redirect

2013-01-09 Thread Itamar Heim
On 01/09/2013 01:34 PM, Jean Lÿe9olein BEBEY wrote: Hi all, I cann't copy and past from my desktop to the virtual guest Windows. I have installed spice-guest-tools.0.3.exe on VM. USB redirection not working also. Any help ? I use ovirt 3.1 : Fedora 17 x86_64 for Virtualization Manager and

[Spice-devel] [PATCH spice-gtk] Send monitor config to the agent on spice_main_set_display_enabled (#881072)

2013-01-09 Thread Hans de Goede
Currently we send an updated monitor-config to the agent whenever some of the display settings are changed (whenever spice_main_set_display is called), including when a new display is enabled, as that involves creating a new window, which calls spice_main_set_display. The only exception to this is

Re: [Spice-devel] cut/paste failure on Windows 7 guest

2013-01-09 Thread Han Pilmeyer
On 03/12/2012 10:30, Christophe Fergeau wrote: Hi, On Sun, Dec 02, 2012 at 09:23:56AM +0200, Arnon Gilboa wrote: Lots of virtio-serial driver bugs, which are very relevant to cut/paste, were recently fixed. The driver on the above link seem to be outdated. I'll try to find a link for an updat

Re: [Spice-devel] [spice-server PATCH 1/2] red_worker.c: insert a drawable to its position in the current tree before calling red_detach_streams_behind

2013-01-09 Thread Hans de Goede
Hi, With the caveat that I'm not really familiar with this part of the code, both look good, so ACK series. Regards, Hans On 01/08/2013 04:59 PM, Yonit Halperin wrote: resolves: rhbz#891326 Starting from commit 81fe00b08ad4f, red_detach_streams_behind can trigger modifications in the curren