Go to file
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
thirdparty initial 2012-06-04 17:22:01 +03:00
.gitignore Add the ability to build an rpm. 2013-02-11 09:17:53 -06:00
apache.conf.sample No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
atKeynames.js work to improve keyboard keycode -> scancode processing 2012-08-17 13:54:53 +03:00
bitmap.js initial 2012-06-04 17:22:01 +03:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
cursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
display.js Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST 2013-09-18 09:06:07 -05:00
enums.js implement handing of MJPEG display streams 2012-09-06 10:11:16 +03:00
inputs.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
lz.js support decompressing LZ_IMAGE_TYPE_XXXA images 2012-10-11 17:32:55 -05:00
main.js added on succeess event 2013-03-19 09:00:38 -05:00
Makefile No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
png.js initial 2012-06-04 17:22:01 +03:00
quic.js quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding 2012-09-24 11:03:13 -05:00
README initial 2012-06-04 17:22:01 +03:00
simulatecursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
spice_auto.html Fix default websocket port detection in spice_auto.html 2013-08-23 12:53:37 -05:00
spice-html5.spec.in Use release 2 2013-03-08 13:56:36 -06:00
spice.css initial 2012-06-04 17:22:01 +03:00
spice.html spice.html: remove default password 2013-05-30 10:35:08 -05:00
spicearraybuffer.js Extend the native ArrayBuffer to add a slice() method if missing. 2013-04-16 14:59:08 -05:00
spiceconn.js Ack every message. 2013-08-27 17:46:47 -05:00
spicedataview.js implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
spicemsg.js Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST 2013-09-18 09:06:07 -05:00
spicetype.js implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
ticket.js initial 2012-06-04 17:22:01 +03:00
TODO Update the TODO 2013-02-11 09:17:55 -06:00
utils.js Adds missing mapping of the alphanumeric minus key. (spice-html5) 2013-05-28 09:14:46 -05:00
wire.js initial 2012-06-04 17:22:01 +03:00

Prototype Spice Javascript client

Instructions and status as of June 1, 2012.

Requirements:

  1.  Modern Firefox or Chrome
      
  2.  A WebSocket proxy

      I've used websockify:
        https://github.com/kanaka/websockify
      works great.


  3.  A spice server

      At this point, I've tested with qemu hosting
      a Fedora image, a Vista image, and with Xspice.  
      Vista was pretty bad; I recommend either Linux or Xspice.

      ** Xspice has a processing issue; see this email:
         http://lists.freedesktop.org/archives/spice-devel/2012-May/009020.html


Optional:
  1.  A web server

      With firefox, you can just open file:///your-path-to-spice.html-here

      With Chrome, you have to set a secret config flag to do that, or 
      serve the files from a web server.


Steps:

  1.  Start the spice server

  2.  Start websockify; my command line looks like this:
        ./websockify 5959 localhost:5900

  3.  Fire up spice.html, set host + port + password, and click start


Status:

  The TODO file should be a fairly comprehensive list of tasks
  required to make this client more fully functional.

  As of June 1, 2012, this client is a nifty proof of concept,
  but a long way from being a useful production tool.