Commit Graph

49 Commits

Author SHA1 Message Date
Jeremy White
bc2bfd95bb Update the todo 2014-06-05 08:31:24 -05:00
Jeremy White
6c5f939e23 Add support for audio streams using the Opus encoding.
Requires a browser with MediaSource extension support, and
Opus support for the source buffers.  In practice, that is
Chrome and Firefox.
2014-05-20 12:59:27 -05:00
Jeremy White
deb555fb16 Tweak hexdump to not generate new lines. 2014-05-20 12:30:48 -05:00
Jeremy White
19ade3cf38 Add changelog for 0.1.4 2013-09-19 11:10:02 -05:00
Aric Stewart
bb746a03de Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST
Also converts the display cache from an array to an object. This is to help enforce proper sparceness of the data as well as make it easier to reliably fully delete a given cache entry without affecting access to the remaining entries.
2013-09-18 09:06:07 -05:00
Aric Stewart
295073a954 implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
Jeremy White
3056d62ae2 Send the client cache size correctly in little endian order so we
don't claim to have an infinitely large cache.
2013-09-13 15:39:17 -05:00
Jeremy White
366c0a3fca Give the Garbage collector a clue to recycle images; avoids
fairly massive memory leaks during video playback.
2013-09-12 10:13:47 -05:00
Jeremy White
c2bb090b16 Ack every message.
The failure to ack pings led to a nasty bug whereby an inactive client hangs.
The relatively recent change to monitor latency with ping exposed this bug.
2013-08-27 17:46:47 -05:00
Jordan Pittier
b0509ca449 Fix default websocket port detection in spice_auto.html
If server runs on port 80 or 443 the default value of
window.location.port is an empty string

Signed-off-by: Jordan Pittier <jordan.pittier-ext@cloudwatt.com>
2013-08-23 12:53:37 -05:00
Alon Levy
96e6383995 spice.html: remove default password
Signed-off-by: Alon Levy <alevy@redhat.com>
2013-05-30 10:35:08 -05:00
Thomas Goirand
2f5c7f7ab0 Adds missing mapping of the alphanumeric minus key. (spice-html5)
Hi,

I'm the Debian Developer working on spice-html5 (eg: I uploaded
spice-html5 recently in Debian Sid).

I noticed that the minus key on the alphanumeric block wasn't mapped.
This was particularly annoying on my laptop keyboard when using
spice-html5 to access remote servers (eg: many commands needs argument
with the minus sign), with the "no map for 173" alert box popping each
time...

The attached patch made it work with Firefox 21 (in fact, Iceweasel 21
in Debian). I don't know if it works on other browsers, but it worked
for me.

Cheers,

Thomas Goirand (zigo)

From ad9d69eb09f63538db06664a3d88d48ff56b2abb Mon Sep 17 00:00:00 2001
From: Thomas Goirand <thomas@goirand.fr>
Date: Sat, 25 May 2013 23:56:14 +0800
Subject: [PATCH] Adds missing mapping of the alphanumeric minus key.
2013-05-28 09:14:46 -05:00
Jeremy White
07c63c968c Correct spice_auto.html for a missing include for the spice array buffer. 2013-05-23 14:41:00 -05:00
Jeremy White
bcffac0aa4 Provide two levels of workaround for IE 10 cursor support.
The first approach is to use a moving image to simulate the cursor.
This does not work well, so a second approach, involving static
cursors is provided.  That requires a site administrator to precreate
all the cursors that can be used by a particular application set.

A warning message strongly suggests using a different browser as well.
2013-04-19 11:36:41 -05:00
Jeremy White
12fe9ebb96 Use document.documentElement.scrollXXX if document.body.scrollXXX is not present.
Provides compatibility for IE10.
2013-04-18 13:04:38 -05:00
Jeremy White
78e0d938cf Extend the native ArrayBuffer to add a slice() method if missing.
This allows IE10 to function.  Note that we would normally subclass
this type, but ArrayBuffer is implemented in native code, and so is
difficult to subclass.
2013-04-16 14:59:08 -05:00
Amos Benari
ec9ae0cbd6 added on succeess event 2013-03-19 09:00:38 -05:00
Amos Benari
828d975b2d added sendCtrlAltDel method. 2013-03-19 08:57:51 -05:00
Jeremy White
20fcfb5f57 Use release 2 2013-03-08 13:56:36 -06:00
Jeremy White
8fae3b0a99 Escape the % character. 2013-03-08 13:50:57 -06:00
Jeremy White
9dcfcca770 Switch to a freedesktop.org download location. 2013-02-25 13:08:00 -06:00
Jeremy White
3f64ddba3a No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
Jeremy White
b09d7170ea Revise the .spec file to use %{name}, and remove a few unneded statements 2013-02-20 11:06:43 -06:00
Jeremy White
762225ef99 Fix our SPEC file to indicate LGPLv3 license, not GPLv3 2013-02-20 10:57:34 -06:00
Jeremy White
6779ff19c9 Make our sample Apache configuration work on a RHEL server as well. 2013-02-20 10:57:28 -06:00
Jeremy White
cd4c4d1ffd Correct errors from rpmlint 2013-02-11 09:17:56 -06:00
Jeremy White
934eeead70 Update the TODO 2013-02-11 09:17:55 -06:00
Jeremy White
b2adb8a451 Add the ability to build an rpm. 2013-02-11 09:17:53 -06:00
Jeremy White
e827ade56d Add a basic Apache configuration file. 2013-02-11 09:17:51 -06:00
Jeremy White
b001230697 Trim spaces at line ends to keep git happy. 2013-01-21 14:11:36 -06:00
Daniel P. Berrange
2c1a6b628e Add spice_auto.html for automated console display
Add a spice_auto.html which removes the form inputs and obtains
connection details from query parameters. The optional 'token'
parameter is an opaque string passed to the websockets server
to allow it to auto-determine the correct console. Otherwise
the host/port/password/etc can be provided explicitly.

This is sufficient to integrate SPICE HTML5 with OpenStack

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-21 14:10:48 -06:00
Aric Stewart
0334423258 support loading SPICE_IMAGE_TYPE_JPEG_ALPHA image types
the alpha layering is not well tested

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-10-11 17:37:10 -05:00
Aric Stewart
468869812f support decompressing LZ_IMAGE_TYPE_XXXA images
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-10-11 17:32:55 -05:00
Aric Stewart
2e5ef9b93d Discard input messages until input channel is ready
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-26 10:22:42 -05:00
Jeremy White
591269e398 Modify the template html to include a required file. 2012-09-24 16:31:50 -05:00
Aric Stewart
3e91256b81 quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:03:13 -05:00
Aric Stewart
8054befaec quic: generalize QuicEncoder.prototype.decode_run
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:03:11 -05:00
Aric Stewart
bf15d16221 quic javascript code cleanups
check with strict but do not enable it.

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:03:08 -05:00
Aric Stewart
a1ef6e3c14 QUIC_IMAGE_TYPE_RGB24 decodes the same as QUIC_IMAGE_TYPE_RGB32
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:03:05 -05:00
Aric Stewart
cd9f5b52ef remove function find_bucket_8bpc
removing the function call overhead improves performance

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:03:02 -05:00
Aric Stewart
8306bbab2c fold do_run into uncompress
eliminates a function call and many object references for performance

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:02:59 -05:00
Aric Stewart
1c33ccff66 remove code duplications in uncompress
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:02:56 -05:00
Aric Stewart
ad66ff9d6a correct some issues with prototype vs instance member objects
Resending Patch set for Jeremy White.

Sorry my total for patches is missing.

-aric

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-24 11:02:52 -05:00
Aric Stewart
b4ab3ac5e9 rewrite quic.js to be a native javascript implementation
There remain a few TODOs including implementing more than just rgb32 images

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-13 18:32:38 +03:00
Aric Stewart
7ebc4d019a implement handing of MJPEG display streams
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-06 10:11:16 +03:00
Aric Stewart
a6aa594ef4 (resend)[spice-html5] prevent out of sync modifier keys
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-08-17 13:54:56 +03:00
Aric Stewart
2caf06d1ed work to improve keyboard keycode -> scancode processing
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-08-17 13:54:53 +03:00
Aric Stewart
38ebba8d8a (resend) [spice-html5] Add the scroll to the cursor offset
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-08-17 13:54:50 +03:00
Jeremy White
f8f622157c initial 2012-06-04 17:22:01 +03:00