summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-27Enable file transfer for spice_auto.html.HEADmasterJeremy White1-0/+1
The work Pavel did on spice.html did not get fully transferred into spice_auto.html; in particular, we need to append the xfer div to the main area in order for file transfer to work. This fixes that, and now drag + drop works in spice_auto.html.
2015-09-09Set nonhandled messages as not implementedPavel Grunt4-0/+187
Avoid spamming log
2015-09-09Use name of channel instead of numberPavel Grunt2-3/+3
For unknown channel types the type number is still used, e.g.: "Channel type unknown-12 not implemented"
2015-09-09spiceconn.js: Add missing channel namesPavel Grunt1-0/+14
2015-09-09enums.js: Update for new channelsPavel Grunt1-0/+2
2015-09-09display.js: Remove unreachable returnPavel Grunt1-2/+0
2015-06-04Add support for stream reports.Jeremy White5-12/+116
This helps video playback do a slightly better job of keeping up in the browser. It's not a dramatic effect, but enough to start making video playback almost tolerable.
2015-06-04Implement support for sized data streams.Jeremy White4-22/+76
2015-06-04Minor change to error message formating.Jeremy White1-2/+2
2015-03-13Prepare for release 0.1.6spice-html5-0.1.6Jeremy White3-3/+9
2015-01-16Add button for cancelling file transferPavel Grunt2-0/+21
2015-01-16Add progress bar for file transferPavel Grunt4-0/+42
2015-01-15Use WheelEvent instead of MouseWheelEventPavel Grunt2-3/+3
MouseWheelEvent is deprecated and not working in Firefox.
2015-01-15Inform agent about client's capabilitiesPavel Grunt3-1/+65
The client should inform the agent about capabilities when the connection is established. This avoid receiving unhandled agent messages.
2015-01-15Read file only when have agent tokensPavel Grunt1-1/+17
Stop reading a file when there are no tokens, continue reading it when tokens arrive.
2015-01-15Use drag and drop for transfering files from client to guestPavel Grunt3-0/+52
2015-01-15Implement methods for transfering files from client to guestPavel Grunt6-0/+234
It is possible to transfer files from the client to the guest using File API [0] when a spice vd agent is connected. Methods for the transfer are based on spice-gtk implementation. [0] http://www.w3.org/TR/file-upload/
2015-01-15Split agent data message into smaller chunksPavel Grunt2-3/+14
Allowed size for SPICE_MSGC_MAIN_AGENT_DATA message is 2048 Bytes, larger messages have to be splitted.
2015-01-15Send agent messages only when have agent tokensPavel Grunt1-6/+26
Messages that were not sent are stored in the queue. They will be sent later when the client receives more agent tokens.
2015-01-15Report SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS capabilityPavel Grunt2-0/+9
We should report that we handle the connected tokens message by setting the SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS capability.
2015-01-15Handle agent tokensPavel Grunt2-2/+32
2014-10-31SPICE-HTML5: Improve error messageFrantisek Kobzik1-1/+3
Current error message in SPICE-HTML5 error is poor (error-logging function prints error.toString() which doesn't contain anything detailed). This patch enhances this message in the following way: - error event contains target attribute ([1]), - the code in this patch checks for presence of 'url' attribute (which is contained in WebSocket object[2]). If the target contains url then meaningful message is logged. [1]: https://developer.mozilla.org/en-US/docs/Web/API/Event [2]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
2014-10-29Use a modern number of agent tokens.Jeremy White1-1/+1
This keeps an XSpice server from spin looping, which it will do if data is presented, but num_send_tokens == 0.
2014-09-25Prepare for release 0.1.5spice-html5-0.1.5Jeremy White3-12/+10
2014-09-06If an agent is attached, enable dynamic resizing of the guest screen.Jeremy White10-30/+289
2014-08-01Enable the use of OPUS on spice_auto.html.Jeremy White1-0/+2
2014-08-01Use wss scheme when accessing with https protocolVladik Romanovsky1-0/+3
Hi, Currently the websocket connection is only being established using the ws scheme. Adding support for wss scheme when using https protocol to allow ssl connection.
2014-06-05Update the todoJeremy White1-8/+5
2014-05-20Add support for audio streams using the Opus encoding.Jeremy White7-0/+923
Requires a browser with MediaSource extension support, and Opus support for the source buffers. In practice, that is Chrome and Firefox.
2014-05-20Tweak hexdump to not generate new lines.Jeremy White1-1/+4
2013-09-19Add changelog for 0.1.4spice-html5-0.1.4Jeremy White1-0/+13
2013-09-18Implement handling of SPICE_MSG_DISPLAY_INVAL_LISTAric Stewart2-3/+37
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-18implement and use a new dataview getUint64Aric Stewart3-15/+18
2013-09-13Send the client cache size correctly in little endian order so weJeremy White2-2/+13
don't claim to have an infinitely large cache.
2013-09-12Give the Garbage collector a clue to recycle images; avoidsJeremy White1-0/+4
fairly massive memory leaks during video playback.
2013-08-27Ack every message.Jeremy White1-11/+9
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-23Fix default websocket port detection in spice_auto.htmlJordan Pittier1-1/+14
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-05-30spice.html: remove default passwordAlon Levy1-1/+1
Signed-off-by: Alon Levy <alevy@redhat.com>
2013-05-28Adds missing mapping of the alphanumeric minus key. (spice-html5)Thomas Goirand1-0/+1
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-23Correct spice_auto.html for a missing include for the spice array buffer.spice-html5-0.1.3Jeremy White1-0/+1
2013-04-19Provide two levels of workaround for IE 10 cursor support.Jeremy White6-1/+220
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-18Use document.documentElement.scrollXXX if document.body.scrollXXX is not ↵Jeremy White1-2/+5
present. Provides compatibility for IE10.
2013-04-16Extend the native ArrayBuffer to add a slice() method if missing.Jeremy White2-0/+59
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-03-19added on succeess eventAmos Benari2-0/+9
2013-03-19added sendCtrlAltDel method.Amos Benari1-0/+20
2013-03-08Use release 2spice-html5-0.1.2Jeremy White1-2/+2
2013-03-08Escape the % character.Jeremy White1-1/+1
2013-02-25Switch to a freedesktop.org download location.Jeremy White1-2/+3
2013-02-20No longer install apache.conf, just put it in the doc folder.Jeremy White3-4/+2
2013-02-20Revise the .spec file to use %{name}, and remove a few unneded statementsJeremy White1-5/+6