deb-novnc/include
Solly Ross c5e051b3b3 Use Typed Arrays for the Websock receive queue
**This commit removes Base64 (and Flash) support**

This commit converts websock.js to used Typed Arrays for the
receive queue (and tweaks rfb.js to ensure that it continues
to function, since only Firefox implements
`%TypedArray%.prototype.slice`).  Base64 support was removed
to simplify code paths, and pave the way for using Typed Arrays
for the send queue as well.

This provides two advantages: first, we allocate a buffer ahead
of time, meaning the browser doesn't have to do any work dynamically
increasing the receive queue size.  Secondly, we are now able to pass
around Typed Array Views (e.g. `Uint8Array`), which are lightweight, and
don't involve copying.

The downside is that we initially allocate more memory -- we currently
start out with 4 MiB, and then automatically double when it looks like
the amount unused is getting to small.

The commit also explicitly adds a check to the compacting logic that
avoids calling the copy functions if `_rQlen === _rQi`.
2015-08-06 14:47:03 -04:00
..
chrome-app tcp-client.js: after read, try read again. 2012-09-17 17:15:50 -05:00
Orbitron700.ttf Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
Orbitron700.woff Add local copy of Orbitron font. 2011-09-27 16:53:09 -05:00
base.css * Hide the fullscreen toggle button on Safari since alphanumerical 2015-06-25 22:37:05 +02:00
base64.js Cleanup and Test: base64.js 2014-09-15 16:46:02 -04:00
black.css Added Copyright information to all modified files. 2013-07-17 16:44:13 +02:00
blue.css Added Copyright information to all modified files. 2013-07-17 16:44:13 +02:00
des.js Cleanup: DES code 2014-09-15 16:46:02 -04:00
display.js Adapt display to be able to handle a changing clipping-setting while connected 2015-06-25 22:37:05 +02:00
inflator.js WIP: Switch to Pako for zlib 2015-08-06 14:47:03 -04:00
input.js Cleanup: Input code 2014-09-15 16:46:02 -04:00
jsunzip.js Refactoring hot blocks to help Chrome optimizing compiler. 2012-10-15 13:48:07 -05:00
keyboard.js Fixes #309, make use of keysym.js 2014-11-26 09:24:13 +01:00
keysym.js Fixes issue #435 - added missing comma in keysym.js 2015-02-03 13:04:16 +01:00
keysymdef.js Keyboard Handling [7/8]: Replace keysym table with optimized version 2013-12-05 12:31:50 -05:00
logo.js Add logo, favicon. 2011-02-03 11:04:32 -06:00
playback.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
rfb.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
ui.js WIP: Switch to Pako for zlib 2015-08-06 14:47:03 -04:00
util.js Create RFB object on connect 2015-03-26 17:09:05 -04:00
websock.js Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
webutil.js Cleanup: Webutil code 2014-09-15 16:46:02 -04:00