deb-novnc/docs
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
..
LICENSE.Apache-2.0 Note that tcp-stream.js is Apache 2.0 LICENSE. 2012-09-17 17:15:48 -05:00
LICENSE.BSD-2-Clause License clarification: HTML,CSS,images,fonts under permissive licenses. 2012-06-24 16:29:44 -05:00
LICENSE.BSD-3-Clause License clarification: HTML,CSS,images,fonts under permissive licenses. 2012-06-24 16:29:44 -05:00
LICENSE.GPL-3 Clean up top level: move license files to docs/ 2010-07-15 18:45:32 -05:00
LICENSE.LGPL-3 Clean up top level: move license files to docs/ 2010-07-15 18:45:32 -05:00
LICENSE.MPL-2.0 License clarification: HTML,CSS,images,fonts under permissive licenses. 2012-06-24 16:29:44 -05:00
LICENSE.OFL-1.1 Converted to unix line endings 2013-01-31 11:24:04 +01:00
LICENSE.pako WIP: Switch to Pako for zlib 2015-08-06 14:47:03 -04:00
LICENSE.zlib License clarification: HTML,CSS,images,fonts under permissive licenses. 2012-06-24 16:29:44 -05:00
VERSION noVNC version 0.4 2012-09-14 17:00:56 -05:00
flash_policy.txt Add manual flash policy socat server info. 2010-10-10 18:59:02 -05:00
links include/canvas.js: fix changeCursor data format. 2011-01-18 23:22:25 -06:00
notes Use Typed Arrays for the Websock receive queue 2015-08-06 14:47:03 -04:00
release.txt Remove 'debian' directory 2015-02-20 17:34:59 -05:00
rfb_notes Cleanup. Move note files into docs/. 2010-05-01 15:59:52 -05:00
rfbproto-3.3.pdf Add RFB specs and move *.js files into include/ 2010-03-31 19:43:09 -05:00
rfbproto-3.7.pdf Add RFB specs and move *.js files into include/ 2010-03-31 19:43:09 -05:00
rfbproto-3.8.pdf Add RFB specs and move *.js files into include/ 2010-03-31 19:43:09 -05:00