[Spice-devel] [8/8]quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 268 ++- 1 files changed, 264 insertions(+), 4 deletions(-) diff --git a/quic.js b/quic.js index 26a021f..9bb9f47 100644 --- a/quic.js +++ b/quic.js @@ -942,6 +942,245 @@ QuicEncoder.prototype.q

[Spice-devel] [7/ ]quic: generalize QuicEncoder.prototype.decode_run

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 699820f..26a021f 100644 --- a/quic.js +++ b/quic.js @@ -775,7 +775,7 @@ QuicEncoder.prototype.quic_rgb32_uncompress_row_seg = functio

[Spice-devel] [1/ ]correct some issues with prototype vs instance member objects

2012-09-24 Thread Aric Stewart
Resending Patch set for Jeremy White. Sorry my total for patches is missing. -aric Signed-off-by: Aric Stewart --- quic.js | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/quic.js b/quic.js index 7c5be6b..3007624 100644 --- a/quic.js +++ b/quic.js @@ -3

[Spice-devel] [6/ ]quic javascript code cleanups

2012-09-24 Thread Aric Stewart
check with strict but do not enable it. Signed-off-by: Aric Stewart --- quic.js | 101 ++ 1 files changed, 42 insertions(+), 59 deletions(-) diff --git a/quic.js b/quic.js index 15d2dbf..699820f 100644 --- a/quic.js +++ b/quic.js @@ -1

[Spice-devel] [5/ ]QUIC_IMAGE_TYPE_RGB24 decodes the same as QUIC_IMAGE_TYPE_RGB32

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/quic.js b/quic.js index 138b052..15d2dbf 100644 --- a/quic.js +++ b/quic.js @@ -957,6 +957,7 @@ QuicEncoder.prototype.quic_rgb32_uncompress_row = function (prev_row, cur_row)

[Spice-devel] [4/ ]remove function find_bucket_8bpc

2012-09-24 Thread Aric Stewart
removing the function call overhead improves performance Signed-off-by: Aric Stewart --- quic.js | 27 +++ 1 files changed, 11 insertions(+), 16 deletions(-) diff --git a/quic.js b/quic.js index 0e33610..138b052 100644 --- a/quic.js +++ b/quic.js @@ -436,11 +436,6 @@ fu

[Spice-devel] [3/ ]fold do_run into uncompress

2012-09-24 Thread Aric Stewart
eliminates a function call and many object references for performance Signed-off-by: Aric Stewart --- quic.js | 134 ++ 1 files changed, 73 insertions(+), 61 deletions(-) diff --git a/quic.js b/quic.js index 0bae57e..0e33610 100644 --

[Spice-devel] [2/ ]remove code duplications in uncompress

2012-09-24 Thread Aric Stewart
Signed-off-by: Aric Stewart --- quic.js | 180 +-- 1 files changed, 71 insertions(+), 109 deletions(-) diff --git a/quic.js b/quic.js index 3007624..0bae57e 100644 --- a/quic.js +++ b/quic.js @@ -641,41 +641,32 @@ QuicEncoder.prototype.

Re: [Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Hans de Goede
Hi, On 09/24/2012 10:19 AM, Dunrong Huang wrote: > Hi, thanks for your reply. > > 2012/9/24 Hans de Goede : >> Hi, >> >> Thanks, looks good, so I've added it to git master. Notice though that >> spicy is merely a little spice-gtk test-client, and our prefered >> spice-client >> is remote-viewer (

Re: [Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Dunrong Huang
Hi, thanks for your reply. 2012/9/24 Hans de Goede : > Hi, > > Thanks, looks good, so I've added it to git master. Notice though that > spicy is merely a little spice-gtk test-client, and our prefered > spice-client > is remote-viewer (which is part of virt-viewer). I usually use spicy to test &&

Re: [Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Hans de Goede
Hi, Thanks, looks good, so I've added it to git master. Notice though that spicy is merely a little spice-gtk test-client, and our prefered spice-client is remote-viewer (which is part of virt-viewer). Regards, Hans On 09/24/2012 09:27 AM, Dunrong Huang wrote: "CopyToGuest" and "CopyToGuest"

[Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Dunrong Huang
"CopyToGuest" and "CopyToGuest" can not work if spice agent is not connected, e.g. guest does not install or enable spice agent, or spice server does not create vdagent channel. In these cases, make those item insensitive. Signed-off-by: Dunrong Huang --- gtk/spicy.c | 38 ++