[Spice-devel] [PATCH vdagent-win 1/6] vdagent: on encoding only, use HBITMAP to keep the correct palette

2013-03-18 Thread Arnon Gilboa
for decoding, keep using CF_DIB and CxImage.CopyToHandle() as before. Regression was due to commit da07ce (rhbz #919150) rhbz #921980 --- vdagent/vdagent.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index

[Spice-devel] [PATCH vdagent-win 2/6] vdservice: extract supported_system_version() to vdcommon

2013-03-18 Thread Arnon Gilboa
rhbz #919451 preparation --- common/vdcommon.cpp| 36 common/vdcommon.h |8 vdservice/vdservice.cpp| 24 vdservice/vdservice.vcproj |4 4 files changed, 48 insertions(+), 24 deletions(-)

[Spice-devel] [PATCH vdagent-win 4/6] vdagent: log unsupported grabbed clipboard formats

2013-03-18 Thread Arnon Gilboa
rhbz #919451 debugging, useful anyway --- vdagent/vdagent.cpp | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index b5d65cd..e20c830 100644 --- a/vdagent/vdagent.cpp +++ b/vdagent/vdagent.cpp @@ -914,13 +914,16 @@ bool

[Spice-devel] [PATCH vdagent-win 5/6] vdagent: don't terminate if stop event cannot be opened

2013-03-18 Thread Arnon Gilboa
so vdagent can keep running as standalone without dependency on vdservice. Regression was due to commit c1807e. rhbz #903379 --- vdagent/vdagent.cpp | 22 +- 1 files changed, 9 insertions(+), 13 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index

[Spice-devel] [PATCH vdagent-win 6/6] vdagent: add vdagent_helper to support mouse when UAC dialog takes focus

2013-03-18 Thread Arnon Gilboa
Running the helper with ShellExecute(...runas...) is the way to SendInput() to the UAC dialog in Windows Vista and above. http://stackoverflow.com/questions/2426594/starting-a-uac-elevated-process- from-a-non-interactive-service-win32-net-power

[Spice-devel] [PATCH vdagent-win 3/6] vdagent: for Win7 class, use ClipboardFormatListener api

2013-03-18 Thread Arnon Gilboa
(Win7 class includes Win8/Vista/Server2012/Server2008/R2) This new api was introduced in Vista/2K8 to keep track of clipboard changes, without the need to trust the (mis)behavior of other applications registered to the clipboard. If the issue is reproduced on XP as well, it can be hacked by a

Re: [Spice-devel] [PATCH vdagent-win 1/6] vdagent: on encoding only, use HBITMAP to keep the correct palette

2013-03-18 Thread Hans de Goede
Hi, Series looks good, ACK series. Regards, Hans On 03/18/2013 02:41 PM, Arnon Gilboa wrote: for decoding, keep using CF_DIB and CxImage.CopyToHandle() as before. Regression was due to commit da07ce (rhbz #919150) rhbz #921980 --- vdagent/vdagent.cpp |6 +- 1 files changed, 5

[Spice-devel] [PATCH 1/2][Spice-HTML5][Take3] added sendCtrlAltDel method.

2013-03-18 Thread Amos Benari
--- inputs.js | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/inputs.js b/inputs.js index 4d3b28f..1131d09 100644 --- a/inputs.js +++ b/inputs.js @@ -175,6 +175,26 @@ function handle_keyup(e) e.preventDefault(); } +function sendCtrlAltDel() +{

[Spice-devel] [PATCH 2/2][Spice-HTML5][Take3] added on succeess event

2013-03-18 Thread Amos Benari
--- main.js |1 + spiceconn.js |8 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/main.js b/main.js index bd7b472..6b4e4cc 100644 --- a/main.js +++ b/main.js @@ -60,6 +60,7 @@ SpiceMainConn.prototype.process_channel_message = function(msg) if (msg.type

Re: [Spice-devel] [Users] 3.2 final and status of spice console in ie

2013-03-18 Thread Itamar Heim
On 03/19/2013 12:05 AM, Jeff Bailey wrote: On 3/18/2013 7:56 AM, Juan Jose wrote: Hello Itamar and everybody, I have tested this Howto with a Windows 7 Enterprise edition client and IE 9 and when you click over console button in User portal virt-viewer is launched but after one second it close