Re: [Spice-devel] How to drag a folder from client to guest?

2014-02-24 Thread Cody Chan
On Tue, Feb 25, 2014 at 6:03 AM, Marc-André Lureau wrote: > Hi > > - Original Message - >> Probably the function of copying has three defects: >> >> i)For some languages,there is a mis-encoding of file name >> I have solved by myself...(under some circumstance) >> > > Yeah, I remember your

Re: [Spice-devel] volume can't be set

2014-02-24 Thread Qian Peng
Thanks for your respone! It's strange that client can play audio, but can't set volume. I have renamed the \lib\gstreamer-0.10\libgstdirectsoundsink.dll, the result is no audio can play. I have no idea what the problem is. May I verifiy the directsoundsink element have been included? Thanks!

Re: [Spice-devel] How to drag a folder from client to guest?

2014-02-24 Thread Marc-André Lureau
Hi - Original Message - > Probably the function of copying has three defects: > > i)For some languages,there is a mis-encoding of file name > I have solved by myself...(under some circumstance) > Yeah, I remember your patch, but you didn't follow up, right? Are you still working on this

[Spice-devel] How to drag a folder from client to guest?

2014-02-24 Thread Cody Chan
Probably the function of copying has three defects: i)For some languages,there is a mis-encoding of file name I have solved by myself...(under some circumstance) ii)Can't drag multi-files I'm glad to see the following in source code: /* At the moment, the copy() method is limited to a single fil

Re: [Spice-devel] [PATCH] migration: Don't assert() if MIGRATE_DATA comes before attaching the agent

2014-02-24 Thread Marc-André Lureau
On Mon, Feb 24, 2014 at 6:44 PM, Christophe Fergeau wrote: > During seamless migration, after switching host, if a client was connected > during the migration, it will have data to send back to the new > qemu/spice-server instance. This is handled through MIGRATE_DATA messages. > SPICE char device

[Spice-devel] [PATCH] migration: Don't assert() if MIGRATE_DATA comes before attaching the agent

2014-02-24 Thread Christophe Fergeau
During seamless migration, after switching host, if a client was connected during the migration, it will have data to send back to the new qemu/spice-server instance. This is handled through MIGRATE_DATA messages. SPICE char devices use such MIGRATE_DATA messages to restore their state. However, t

Re: [Spice-devel] when will commit for proxy support be released as rpm?

2014-02-24 Thread Christophe Fergeau
Hey, On Tue, Jan 21, 2014 at 07:10:49AM -0500, Marc-André Lureau wrote: > - Original Message - > > WRT to this commit: > > > > http://cgit.freedesktop.org/spice/spice-xpi/commit/?id=e518db3700ed23d3ccc7026b922b236158e501cc > > > > When might that be available in a downstream RPM or downl

Re: [Spice-devel] Building Spice in an IDE

2014-02-24 Thread Alon Levy
On 02/01/2014 12:54 AM, Wade Johnson wrote: > Hi, I am trying to build Spice in Eclipse and make a test environment, but > I am having some issues mostly with some dependencies not being resolved, > and some constant definitions not being found. Are there any pointers or > build guides to getting S

Re: [Spice-devel] [PATCH spice-gtk] Add a SPICE_GTK_CHECK_VERSION macro

2014-02-24 Thread Daniel P. Berrange
On Mon, Feb 24, 2014 at 03:03:56PM +0100, Marc-André Lureau wrote: > --- > configure.ac | 10 ++ > doc/reference/spice-gtk-sections.txt | 4 +++ > gtk/Makefile.am | 4 +++ > gtk/spice-client.h | 1 + > gtk/spice-version.h.in

[Spice-devel] [PATCH spice-gtk] Add a SPICE_GTK_CHECK_VERSION macro

2014-02-24 Thread Marc-André Lureau
--- configure.ac | 10 ++ doc/reference/spice-gtk-sections.txt | 4 +++ gtk/Makefile.am | 4 +++ gtk/spice-client.h | 1 + gtk/spice-version.h.in | 70 5 files changed, 89 inser

Re: [Spice-devel] volume can't be set

2014-02-24 Thread Marc-André Lureau
- Original Message - > Hi all! > > I connected Spice server by windows spice client which is complied by > mingw32, and set the volume. > > But the volume didn't change. > > the code form: > https://gitorious.org/spice-gtk/spice-gtk-elmarco/source/f270119352604755a13fcc87783127c3d96c4f

Re: [Spice-devel] [vdagent-linux] Fix gdm autostart path

2014-02-24 Thread Christophe Fergeau
On Mon, Feb 24, 2014 at 06:26:45AM -0500, Marc-André Lureau wrote: > > > - Original Message - > > gdm 3.1.90 (June 2011) changed the path where .desktop files which should > > be autostarted with gdm needs to be located. > > This used to be $(datadir)/gdm/autostart/LoginWindow and is now

Re: [Spice-devel] [PATCH spice-gtk] RFC: populate all clipboards

2014-02-24 Thread Marc-André Lureau
- Original Message - > Hey, > > On Thu, Feb 20, 2014 at 04:15:51PM +0100, Marc-André Lureau wrote: > > Some users want all the clipboards to be populated when doing copy. I > > wonder if there isn't a better solution than to have this hack in > > spice-gtk, in particular, if a small X d

Re: [Spice-devel] [vdagent-linux] Fix gdm autostart path

2014-02-24 Thread Marc-André Lureau
- Original Message - > gdm 3.1.90 (June 2011) changed the path where .desktop files which should > be autostarted with gdm needs to be located. > This used to be $(datadir)/gdm/autostart/LoginWindow and is now > $(datadir)/gdm/greeter/autostart. ah! :) > This means that when running gdm

Re: [Spice-devel] [PATCH] randr: set physical screen size to keep a constant 96 dpi

2014-02-24 Thread Christophe Fergeau
["git config format.subjectprefix vdagent-linux" in your vdagent local clone would be nice] On Fri, Feb 21, 2014 at 04:17:06PM +0100, Marc-André Lureau wrote: > Some applications compute DPI based on physcial screen size. Currently, > the width is reported to be 270mm, regardless of the resolutio

Re: [Spice-devel] [PATCH linux vdagent] Don't abort if XRRSetCrtcConfig fails

2014-02-24 Thread Christophe Fergeau
On Thu, Dec 19, 2013 at 02:32:30PM -0500, Jonathon Jongsma wrote: > No, the cause is not identified yet. Still debugging that. This patch > just makes the vdagent more robust in the meantime. With http://cgit.freedesktop.org/spice/linux/vd_agent/commit/?id=9ae51f3702b1fc0d2747e44474c87a818d1e8

[Spice-devel] [vdagent-linux] Fix gdm autostart path

2014-02-24 Thread Christophe Fergeau
gdm 3.1.90 (June 2011) changed the path where .desktop files which should be autostarted with gdm needs to be located. This used to be $(datadir)/gdm/autostart/LoginWindow and is now $(datadir)/gdm/greeter/autostart. This means that when running gdm in a VM in a recent distribution, arbitrary resiz

Re: [Spice-devel] [PATCH spice-gtk] pulse: sync volume and mute upon stream creation

2014-02-24 Thread Christophe Fergeau
On Thu, Feb 20, 2014 at 05:39:48PM +0100, Marc-André Lureau wrote: > Whenever a stream is created, it should have current guest volume. > Otherwise, a 100% volume guest will have current client volume, and > when changing guest volume slightly, the volume will jump abruptly. > > https://bugzilla.r

Re: [Spice-devel] [PATCH spice-gtk] RFC: populate all clipboards

2014-02-24 Thread Christophe Fergeau
Hey, On Thu, Feb 20, 2014 at 04:15:51PM +0100, Marc-André Lureau wrote: > Some users want all the clipboards to be populated when doing copy. I > wonder if there isn't a better solution than to have this hack in > spice-gtk, in particular, if a small X daemon/tools could do that > automatically?

[Spice-devel] volume can't be set

2014-02-24 Thread Qian Peng
Hi all! I connected Spice server by windows spice client which is complied by mingw32, and set the volume. But the volume didn't change. the code form: https://gitorious.org/spice-gtk/spice-gtk-elmarco/source/f270119352604755a13fcc87783127c3d96c4f61:gtk/spice-gstaudio.c create pipe code: if (pi