[Spice-devel] [PATCH spice-html5 v2 3/4] Display: Implement change preferred video codec type message

2017-09-18 Thread Tomáš Bohdálek
Sorry for send-email mistakes. --- display.js | 16 enums.js| 11 +-- spicemsg.js | 24 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/display.js b/display.js index 4649ef2..5786792 100644 --- a/display.js +++ b/display.js @@

[Spice-devel] [PATCH spice-html5 v2 2/4] Display: Implement change preferred compression message

2017-09-18 Thread Tomáš Bohdálek
--- display.js | 15 +++ enums.js| 10 ++ spicemsg.js | 20 3 files changed, 45 insertions(+) diff --git a/display.js b/display.js index 7719b23..4649ef2 100644 --- a/display.js +++ b/display.js @@ -865,6 +865,21 @@ SpiceDisplayConn.prototype.destroy_

[Spice-devel] [PATCH spice-html5 v2 2/4] Display: Implement change preferred compression message

2017-09-18 Thread Tomáš Bohdálek
--- display.js | 15 +++ enums.js| 10 ++ spicemsg.js | 20 3 files changed, 45 insertions(+) diff --git a/display.js b/display.js index 7719b23..4649ef2 100644 --- a/display.js +++ b/display.js @@ -865,6 +865,21 @@ SpiceDisplayConn.prototype.destroy_

[Spice-devel] [PATCH spice-html5 v2 2/4] Display: Implement change preferred compression message

2017-09-18 Thread Tomáš Bohdálek
--- display.js | 15 +++ enums.js| 10 ++ spicemsg.js | 20 3 files changed, 45 insertions(+) diff --git a/display.js b/display.js index 7719b23..4649ef2 100644 --- a/display.js +++ b/display.js @@ -865,6 +865,21 @@ SpiceDisplayConn.prototype.destroy_

[Spice-devel] [PATCH spice-html5 v2 1/4] spiceconn: Add function to test channel capabilities

2017-09-18 Thread Tomáš Bohdálek
This will be used in other commits. --- spiceconn.js | 22 ++ 1 file changed, 22 insertions(+) diff --git a/spiceconn.js b/spiceconn.js index 33e7388..abe9a4a 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -495,6 +495,28 @@ SpiceConn.prototype = var e = new Error("Co

[Spice-devel] [PATCH spice-html5 v2 2/2] main: Add event to alert file transfer error messages

2017-09-18 Thread Tomáš Bohdálek
--- main.js | 79 + spice.html | 5 spice_auto.html | 5 3 files changed, 61 insertions(+), 28 deletions(-) diff --git a/main.js b/main.js index 6a04da9..e93536b 100644 --- a/main.js +++ b/main.js @@ -375,36 +375,49

[Spice-devel] [PATCH spice-html5 v2 1/2] main: Add messages for file transfer detailed errors

2017-09-18 Thread Tomáš Bohdálek
--- enums.js| 12 ++-- main.js | 16 ++-- spicemsg.js | 4 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/enums.js b/enums.js index d5a9003..7154595 100644 --- a/enums.js +++ b/enums.js @@ -369,12 +369,20 @@ var VD_AGENT_CAP_MOUSE_STATE

Re: [Spice-devel] [PATCH spice-html5 2/2] main: Add event to alert file transfer error messages

2017-09-18 Thread Tomáš Bohdálek
Hi Jeremy, I will fix it and yes, we can just add condition to unhandled errors. Tomáš 2017-09-15 20:18 GMT+02:00 Jeremy White : > Hi Tomáš, > > > On 09/06/2017 03:52 AM, Tomáš Bohdálek wrote: > > --- > > main.js | 15 +++ &

Re: [Spice-devel] [PATCH spice-html5 1/2] main: Add messages for file transfer detailed errors

2017-09-18 Thread Tomáš Bohdálek
Hi Jeremy, on success we don't display anything, so we can send message with success to the console. I will fix incorrect '>=' in spicemsg. Tomáš 2017-09-15 20:13 GMT+02:00 Jeremy White : > Hi Tomáš, > > On 09/06/2017 03:52 AM, Tomáš Bohdálek wrote: &g

[Spice-devel] [PATCH spice-html5 v2 1/3] cursor: Add support for mono cursor type

2017-09-14 Thread Tomáš Bohdálek
@@ + diff --git a/thirdparty/monocursor.js b/thirdparty/monocursor.js new file mode 100644 index 000..36ebd88 --- /dev/null +++ b/thirdparty/monocursor.js @@ -0,0 +1,100 @@ +/* Downloaded 1/6/2017 from https://github.com

[Spice-devel] [PATCH spice-html5 v2] spice_auto: Add button to send Ctrl-Alt-Delete

2017-09-14 Thread Tomáš Bohdálek
This already uses the added function sendCtrlAltDel(). --- inputs.js | 9 ++--- spice_auto.html | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/inputs.js b/inputs.js index 29f4970..0f77b66 100644 --- a/inputs.js +++ b/inputs.js @@ -193,14 +193,17 @@ function sendCtr

[Spice-devel] [PATCH spice-html5] spice_auto: Add button to send Ctrl-Alt-Delete

2017-09-13 Thread Tomáš Bohdálek
This already uses the added function sendCtrlAltDel(). It works only on Windows. --- spice_auto.html | 1 + 1 file changed, 1 insertion(+) diff --git a/spice_auto.html b/spice_auto.html index 2f04fc9..5c90cbc 100644 --- a/spice_auto.html +++ b/spice_auto.html @@ -204,6 +204,7 @@

[Spice-devel] [PATCH spice-html5 v2 4/4] Display: Add support for the VP9 codec type

2017-09-12 Thread Tomáš Bohdálek
--- display.js | 27 +-- spiceconn.js | 2 ++ webm.js | 13 +++-- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/display.js b/display.js index 0868f91..d711ced 100644 --- a/display.js +++ b/display.js @@ -543,7 +543,8 @@ SpiceDisplayConn.pro

[Spice-devel] [PATCH spice-html5 v2 1/4] spiceconn: Add function to test channel capabilities

2017-09-12 Thread Tomáš Bohdálek
This will be used in other commits. --- spiceconn.js | 19 +++ 1 file changed, 19 insertions(+) diff --git a/spiceconn.js b/spiceconn.js index 33e7388..3948ae5 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -243,6 +243,9 @@ SpiceConn.prototype = else if (this.state == "l

Re: [Spice-devel] [PATCH spice-html5] cursor: Add support for mono cursor type

2017-09-11 Thread Tomáš Bohdálek
and license for the new code. > > On 09/06/2017 03:50 AM, Tomáš Bohdálek wrote: > > [snip] > > > diff --git a/thirdparty/monocursor.js b/thirdparty/monocursor.js > > new file mode 100644 > > index 000..5df6da9 > > --- /dev/null > > +++ b/thirdparty/

[Spice-devel] [PATCH spice-html5 v2 4/4] Display: Add support for the VP9 codec type

2017-09-07 Thread Tomáš Bohdálek
--- display.js | 27 +-- spiceconn.js | 2 ++ webm.js | 13 +++-- 3 files changed, 34 insertions(+), 8 deletions(-) diff --git a/display.js b/display.js index 0868f91..d711ced 100644 --- a/display.js +++ b/display.js @@ -543,7 +543,8 @@ SpiceDisplayConn.pro

Re: [Spice-devel] [PATCH spice-html5 4/4] Display: Add support for the VP9 codec type

2017-09-07 Thread Tomáš Bohdálek
OK, I wil change it. Tomáš 2017-09-07 11:39 GMT+02:00 Frediano Ziglio : > > > Hi, > > I don't think so. Why do you think it would be better? > > Tomáš > > Is easier to extend when new codecs are added > > Frediano > > 2017-09-07 10:50 GMT+02:00 Frediano Ziglio : > >> > >> > --- >> > display.js

Re: [Spice-devel] [PATCH spice-html5 1/4] spiceconn: Add function to test channel capabilities

2017-09-07 Thread Tomáš Bohdálek
I agree, I will use your first suggestion. Tomáš 2017-09-07 10:31 GMT+02:00 Frediano Ziglio : > > > > This will be used in other commits. > > --- > > spiceconn.js | 19 +++ > > 1 file changed, 19 insertions(+) > > > > diff --git a/spiceconn.js b/spiceconn.js > > index 33e7388..

Re: [Spice-devel] [PATCH spice-html5 4/4] Display: Add support for the VP9 codec type

2017-09-07 Thread Tomáš Bohdálek
Hi, I don't think so. Why do you think it would be better? Tomáš 2017-09-07 10:50 GMT+02:00 Frediano Ziglio : > > > > --- > > display.js | 26 -- > > spiceconn.js | 2 ++ > > webm.js | 12 ++-- > > 3 files changed, 32 insertions(+), 8 deletions(-) > > >

[Spice-devel] [PATCH spice-html5 1/4] spiceconn: Add function to test channel capabilities

2017-09-07 Thread Tomáš Bohdálek
This will be used in other commits. --- spiceconn.js | 19 +++ 1 file changed, 19 insertions(+) diff --git a/spiceconn.js b/spiceconn.js index 33e7388..78d5820 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -243,6 +243,9 @@ SpiceConn.prototype = else if (this.state == "l

[Spice-devel] [PATCH spice-html5 3/4] Display: Implement change preferred video codec type message

2017-09-07 Thread Tomáš Bohdálek
--- display.js | 16 enums.js| 10 ++ spicemsg.js | 24 3 files changed, 50 insertions(+) diff --git a/display.js b/display.js index 60c79b4..0868f91 100644 --- a/display.js +++ b/display.js @@ -1261,3 +1261,19 @@ SpiceDisplayConn.prototype.c

[Spice-devel] [PATCH spice-html5 4/4] Display: Add support for the VP9 codec type

2017-09-07 Thread Tomáš Bohdálek
--- display.js | 26 -- spiceconn.js | 2 ++ webm.js | 12 ++-- 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/display.js b/display.js index 0868f91..abd5b1a 100644 --- a/display.js +++ b/display.js @@ -543,7 +543,8 @@ SpiceDisplayConn.proto

[Spice-devel] [PATCH spice-html5 2/4] Display: Implement change preferred compression message

2017-09-07 Thread Tomáš Bohdálek
--- display.js | 16 enums.js| 10 ++ spicemsg.js | 20 3 files changed, 46 insertions(+) diff --git a/display.js b/display.js index 7719b23..60c79b4 100644 --- a/display.js +++ b/display.js @@ -1245,3 +1245,19 @@ function listen_for_video_events

[Spice-devel] [PATCH spice-html5 0/4] display: Implement preferred compression messages

2017-09-07 Thread Tomáš Bohdálek
These patches implement spice messages for changing image and video compression. The last patch adds support for VP9 decoding. Tomáš Bohdálek (4): spiceconn: Add function to test channel capabilities Display: Implement change preferred compression message Display: Implement change preferred

[Spice-devel] [PATCH spice-html5 2/2] main: Add event to alert file transfer error messages

2017-09-06 Thread Tomáš Bohdálek
--- main.js | 15 +++ spice.html | 5 + spice_auto.html | 5 + 3 files changed, 25 insertions(+) diff --git a/main.js b/main.js index 0237f0e..447177b 100644 --- a/main.js +++ b/main.js @@ -385,20 +385,25 @@ SpiceMainConn.prototype.handle_file_xfer_status = fun

[Spice-devel] [PATCH spice-html5 1/2] main: Add messages for file transfer detailed errors

2017-09-06 Thread Tomáš Bohdálek
--- enums.js| 12 ++-- main.js | 16 +++- spicemsg.js | 4 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/enums.js b/enums.js index d5a9003..7154595 100644 --- a/enums.js +++ b/enums.js @@ -369,12 +369,20 @@ var VD_AGENT_CAP_MOUSE_STATE

[Spice-devel] [PATCH spice-html5] cursor: Add support for mono cursor type

2017-09-06 Thread Tomáš Bohdálek
diff --git a/thirdparty/monocursor.js b/thirdparty/monocursor.js new file mode 100644 index 000..5df6da9 --- /dev/null +++ b/thirdparty/monocursor.js @@ -0,0 +1,79 @@ +/* Downloaded 1/6/2017 from https://github.com/eyeos/spice-web-client/blob/master/lib/graphic.js by Tomáš Bohdálek. + +L

[Spice-devel] [PATCH spice-html5 2/2] main: Add event to alert file transfer error messages

2017-06-02 Thread Tomáš Bohdálek
--- main.js | 15 +++ spice.html | 5 + spice_auto.html | 5 + 3 files changed, 25 insertions(+) diff --git a/main.js b/main.js index 0237f0e..447177b 100644 --- a/main.js +++ b/main.js @@ -385,20 +385,25 @@ SpiceMainConn.prototype.handle_file_xfer_status = fun

[Spice-devel] [PATCH spice-html5 1/2] main: Add messages for file transfer detailed errors

2017-06-02 Thread Tomáš Bohdálek
--- enums.js| 12 ++-- main.js | 16 +++- spicemsg.js | 4 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/enums.js b/enums.js index d5a9003..7154595 100644 --- a/enums.js +++ b/enums.js @@ -369,12 +369,20 @@ var VD_AGENT_CAP_MOUSE_STATE

[Spice-devel] [PATCH spice-html5 v2] cursor: Add support for mono cursor type

2017-06-01 Thread Tomáš Bohdálek
+ diff --git a/thirdparty/monocursor.js b/thirdparty/monocursor.js new file mode 100644 index 000..5df6da9 --- /dev/null +++ b/thirdparty/monocursor.js @@ -0,0 +1,79 @@ +/* Downloaded 1/6/2017 from https://github.com/eyeos/spice

[Spice-devel] [PATCH spice-html5] cursor: Add support for mono cursor type

2017-06-01 Thread Tomáš Bohdálek
diff --git a/thirdparty/monocursor.js b/thirdparty/monocursor.js new file mode 100644 index 000..5df6da9 --- /dev/null +++ b/thirdparty/monocursor.js @@ -0,0 +1,79 @@ +/* Downloaded 1/6/2017 from https://github.com/eyeos/spice-web-client/blob/master/lib/graphic.js by Tomáš Bohdálek. + +L

[Spice-devel] [PATCH spice-html5] Display: Add support for the VP9 codec type

2017-05-29 Thread Tomáš Bohdálek
--- display.js | 26 -- spiceconn.js | 2 ++ webm.js | 12 ++-- 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/display.js b/display.js index 0868f91..c458df6 100644 --- a/display.js +++ b/display.js @@ -543,7 +543,8 @@ SpiceDisplayConn.proto

[Spice-devel] [PATCH spice-html5 v2] Display: Implement change preferred compression message

2017-05-26 Thread Tomáš Bohdálek
--- display.js | 16 enums.js| 10 ++ spicemsg.js | 20 3 files changed, 46 insertions(+) diff --git a/display.js b/display.js index 7719b23..60c79b4 100644 --- a/display.js +++ b/display.js @@ -1245,3 +1245,19 @@ function listen_for_video_events

[Spice-devel] [PATCH spice-html5] spiceconn: Add function to test channel capabilities

2017-05-26 Thread Tomáš Bohdálek
This will be used in other commits. --- spiceconn.js | 19 +++ 1 file changed, 19 insertions(+) diff --git a/spiceconn.js b/spiceconn.js index 33e7388..d76f8e2 100644 --- a/spiceconn.js +++ b/spiceconn.js @@ -243,6 +243,9 @@ SpiceConn.prototype = else if (this.state == "l

[Spice-devel] [PATCH spice-html5] Display: Implement change preferred video codec type message

2017-05-26 Thread Tomáš Bohdálek
--- display.js | 16 enums.js| 10 ++ spicemsg.js | 24 3 files changed, 50 insertions(+) diff --git a/display.js b/display.js index 8a8f768..ee53288 100644 --- a/display.js +++ b/display.js @@ -1261,3 +1261,19 @@ SpiceDisplayConn.prototype.c

[Spice-devel] [PATCH spice-html5 v2] Add checkbox to toggle debug console

2017-05-26 Thread Tomáš Bohdálek
This allows show or hide debug console under spice screen. --- resize.js | 16 ++-- spice.html | 18 ++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/resize.js b/resize.js index 89b59ff..5559bcf 100644 --- a/resize.js +++ b/resize.js @@ -39,13 +39,25

[Spice-devel] [PATCH spice-html5] Display: Implement change preferred compression message

2017-05-24 Thread Tomáš Bohdálek
--- display.js | 9 + enums.js| 1 + spicemsg.js | 20 3 files changed, 30 insertions(+) diff --git a/display.js b/display.js index 7719b23..501ef03 100644 --- a/display.js +++ b/display.js @@ -1245,3 +1245,12 @@ function listen_for_video_events(stream) if

[Spice-devel] [PATCH spice-html5 v2] Always show debug console

2017-05-23 Thread Tomáš Bohdálek
Make sure to show both screen and console. --- resize.js | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resize.js b/resize.js index f5410d3..b572de7 100644 --- a/resize.js +++ b/resize.js @@ -33,17 +33,17 @@ function resize_helper(sc) { var w = document.getEleme

Re: [Spice-devel] [PATCH spice-html5 1/2] Always show debug console

2017-05-23 Thread Tomáš Bohdálek
Sorry, yes it is typo. Dne 23. 5. 2017 5:28 odp. napsal uživatel "Christophe de Dinechin" < cdupo...@redhat.com>: > On 23 May 2017, at 10:44, Tomáš Bohdálek wrote: > > Meansure for better display screen with console. Not sure what “meansure” means? Is that a typ

[Spice-devel] [PATCH spice-html5 3/3] Add checkbox to toggle debug console

2017-05-23 Thread Tomáš Bohdálek
This allows show or hide debug console under spice screen. --- resize.js | 12 ++-- spice.html | 18 ++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/resize.js b/resize.js index 89b59ff..481b22f 100644 --- a/resize.js +++ b/resize.js @@ -44,8 +44,16 @@ fu

[Spice-devel] [PATCH spice-html5 1/2] Always show debug console

2017-05-23 Thread Tomáš Bohdálek
Meansure for better display screen with console. --- resize.js | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resize.js b/resize.js index f5410d3..b572de7 100644 --- a/resize.js +++ b/resize.js @@ -33,17 +33,17 @@ function resize_helper(sc) { var w = document.ge

[Spice-devel] [PATCH spice-html5 2/2] Make sure to not set to smaller height than is minimal

2017-05-23 Thread Tomáš Bohdálek
Get minimal screen height from css file. --- resize.js | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/resize.js b/resize.js index b572de7..89b59ff 100644 --- a/resize.js +++ b/resize.js @@ -32,9 +32,14 @@ **