Re: [Spice-devel] Patch to support LZ4 compression algorithm

2014-11-07 Thread Javier Celaya
Hello I resend the patch for the spice repository. I just realized I forgot to remove a debug message from red_worker.c, sorry. El Jueves, 6 de noviembre de 2014 18:21:21 Javier Celaya escribió: Hello El Jueves, 6 de noviembre de 2014 17:20:42 Christophe Fergeau escribió: On Thu, Nov 06,

Re: [Spice-devel] [PATCH RESEND] Don't set SpiceLinkReply::pub_key if client advertises SASL cap

2014-11-07 Thread Marc-André Lureau
ack On Tue, Oct 21, 2014 at 3:54 PM, Christophe Fergeau cferg...@redhat.com wrote: If the client advertises the SASL cap, it means it guarantees it will be able to use SASL if the server supports, and that it does not need a valid SpiceLinkReply::pub_key field when using SASL. When the

[Spice-devel] [PATCH spice-gtk 2/3] spice-option: add --spice-disable-inputs-sequence

2014-11-07 Thread Pavel Grunt
To let user define the keyboard shortcut for disabling / enabling inputs. --- gtk/spice-option.c | 5 + 1 file changed, 5 insertions(+) diff --git a/gtk/spice-option.c b/gtk/spice-option.c index 958e03c..c028371 100644 --- a/gtk/spice-option.c +++ b/gtk/spice-option.c @@ -41,6 +41,7 @@

[Spice-devel] [PATCH spice-gtk 0/3] RFE: Add a way to release keyboard grabs without reaching for the mouse

2014-11-07 Thread Pavel Grunt
These patches give the user an option to define and use a keyboard shortcut for disabling the inputs. When the inputs are disabled the user can use all the keyboard shortcuts (eg alt+tab, ctrl+alt+del), also the screensaver of the client is working (rhbz#1121446). The inputs can be enabled by

[Spice-devel] [PATCH spice-gtk 3/3] Check for the disable inputs sequence

2014-11-07 Thread Pavel Grunt
Change a value of the disable-inputs property when the sequence is pressed. --- gtk/spice-widget-priv.h | 2 ++ gtk/spice-widget.c | 66 +++-- 2 files changed, 55 insertions(+), 13 deletions(-) diff --git a/gtk/spice-widget-priv.h

[Spice-devel] [PATCH spice-gtk 1/3] spice-session: add disable-inputs-sequence property

2014-11-07 Thread Pavel Grunt
String property defining key sequence for disabling inputs --- gtk/spice-session-priv.h | 3 +++ gtk/spice-session.c | 45 + 2 files changed, 48 insertions(+) diff --git a/gtk/spice-session-priv.h b/gtk/spice-session-priv.h index da43866..60e032e

Re: [Spice-devel] [PATCH spice-gtk 0/3] RFE: Add a way to release keyboard grabs without reaching for the mouse

2014-11-07 Thread Marc-André Lureau
Hi - Original Message - These patches give the user an option to define and use a keyboard shortcut for disabling the inputs. When the inputs are disabled the user can use all the keyboard shortcuts (eg alt+tab, ctrl+alt+del), also the screensaver of the client is working

Re: [Spice-devel] [PATCH spice-gtk 0/3] RFE: Add a way to release keyboard grabs without reaching for the mouse

2014-11-07 Thread Fabiano Fidêncio
On Fri, Nov 7, 2014 at 3:51 PM, Marc-André Lureau mlur...@redhat.com wrote: Hi - Original Message - These patches give the user an option to define and use a keyboard shortcut for disabling the inputs. When the inputs are disabled the user can use all the keyboard shortcuts (eg

Re: [Spice-devel] [PATCH spice-gtk 0/3] RFE: Add a way to release keyboard grabs without reaching for the mouse

2014-11-07 Thread Pavel Grunt
Hi - Original Message - On Fri, Nov 7, 2014 at 3:51 PM, Marc-André Lureau mlur...@redhat.com wrote: Hi - Original Message - These patches give the user an option to define and use a keyboard shortcut for disabling the inputs. When the inputs are disabled the user

Re: [Spice-devel] [PATCH spice-gtk 0/3] RFE: Add a way to release keyboard grabs without reaching for the mouse

2014-11-07 Thread Marc-André Lureau
On Fri, Nov 7, 2014 at 4:43 PM, Fabiano Fidêncio fabi...@fidencio.org wrote: Having it in spice-gtk gives the functionality for free for another clients than virt-viewer, right? I guess it's an enough good reason to have it in spice-gtk instead of virt-viewer. There are some reasons you may

Re: [Spice-devel] [PATCH] Update drm properties correctly

2014-11-07 Thread Jonathon Jongsma
On Thu, 2014-11-06 at 18:59 -0500, Marc-André Lureau wrote: - Original Message - When connector properties got changed, those changes were not being propagated to user-space. This pushes those chagnes up so that e.g. new suggested_x|y properties can be used to help lay out

Re: [Spice-devel] [PATCH] Update drm properties correctly

2014-11-07 Thread Marc-André Lureau
Hi On Fri, Nov 7, 2014 at 5:19 PM, Jonathon Jongsma jjong...@redhat.com wrote: On Thu, 2014-11-06 at 18:59 -0500, Marc-André Lureau wrote: - Original Message - When connector properties got changed, those changes were not being propagated to user-space. This pushes those

[Spice-devel] [PATCH spice-gtk 2/2] usb: stop processing usb events on error

2014-11-07 Thread Marc-André Lureau
If libusb returned an error in the event loop, stop further event handling. This avoid spinning in an error loop in error cases. --- gtk/usb-device-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c index 5013b6c..61daa17 100644 ---

[Spice-devel] [PATCH spice-gtk 1/2] audio: use weak references to channel

2014-11-07 Thread Marc-André Lureau
The audio channels are currently referenced and released on channel close events. However, this event may not happen if the channel never was connected. Keeping channels alive also prevent session from finishing. By not holding the ref, the channel can go to dispose when it is no longer needed,

Re: [Spice-devel] [PATCH spice-gtk 1/2] audio: use weak references to channel

2014-11-07 Thread Marc-André Lureau
hi On Fri, Nov 7, 2014 at 8:41 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: p-rchannel = g_object_ref(channel); oops, fixed by p-rchannel = channel -- Marc-André Lureau ___ Spice-devel mailing list

Re: [Spice-devel] [PATCH spice-gtk 1/2] audio: use weak references to channel

2014-11-07 Thread Fabiano Fidêncio
On Fri, Nov 7, 2014 at 8:41 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: The audio channels are currently referenced and released on channel close events. However, this event may not happen if the channel never was connected. Keeping channels alive also prevent session from

Re: [Spice-devel] [PATCH spice-gtk 2/2] usb: stop processing usb events on error

2014-11-07 Thread Fabiano Fidêncio
On Fri, Nov 7, 2014 at 8:41 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: If libusb returned an error in the event loop, stop further event handling. This avoid spinning in an error loop in error cases. --- gtk/usb-device-manager.c | 1 + 1 file changed, 1 insertion(+) diff

Re: [Spice-devel] [PATCH spice-gtk 1/2] audio: use weak references to channel

2014-11-07 Thread Fabiano Fidêncio
On Fri, Nov 7, 2014 at 11:59 PM, Marc-André Lureau marcandre.lur...@gmail.com wrote: hi On Fri, Nov 7, 2014 at 8:41 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: p-rchannel = g_object_ref(channel); oops, fixed by p-rchannel = channel -- Marc-André Lureau