[Spice-devel] [PATCH] [vd_agent] fix bug: g_key_get_string() of vd_agent failed when keystring contains '['

2014-08-08 Thread Cody Chan
Hi, as you can see, in vd_agent/file_xfer.cpp, it implemented the g_key_get_string, but I find a problem, when dragging a file with a name containing '[' (like te[st.txt), it will be failed. From source code, next_group_pos = strstr(group_pos + strlen(group_pfx), [); if (next_group_pos

[Spice-devel] [PATCH] [spice-gtk] fix bug: g_key_get_string() of vd_agent failed when keystring contains '['

2014-08-08 Thread Cody Chan
See here: http://lists.freedesktop.org/archives/spice-devel/2014-August/017180.html ​--- gtk/channel-main.c | 45 +++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index 7a299a4..26dad7f 100644 ---

[Spice-devel] [PATCH drm] qxl: don't create too large primary surface

2014-08-08 Thread Marc-André Lureau
Limit primary to qemu vgamem size, to avoid reaching qemu guest bug requested primary larger than framebuffer on resizing screen too large to fit. Remove unneeded and misleading variables. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1127552 Signed-off-by: Marc-André Lureau

[Spice-devel] [PATCH xf86-qxl] drm: fail gracefuly on monitor resize

2014-08-08 Thread Marc-André Lureau
If drmModeSetCrtc() failed, try to fallback to previous working configuration. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1127552 --- src/qxl_drmmode.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c index