summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* README: note that this is Xpra proof-of-concept branchxpraJoel Martin2013-05-141-0/+3
|
* Have RFB and Xpra co-exist in same tree.Joel Martin2013-05-145-439/+2496
| | | | | vnc.html for RFB, xpra.html for loading Xpra. This could perhaps be combined into one html file with a UI selector..
* Xpra: render and interact with one window.Joel Martin2013-04-301-1228/+433
| | | | | | | | | | | | | | | - payload encoding/decoding including uncompressing deflate compressed payload data. - png encoding with decode timing feedback via damage-sequence messages. - mouse movement and left mouse button click events. - keyboard input with codes for alphanumeric and some symbols and special keys (needs full flesh out). - remove some VNC specific code.
* Load vnc.html scripts dynamically too.Joel Martin2013-04-302-4/+4
|
* Add isArray to Object prototype.Joel Martin2013-04-221-0/+6
|
* Add gimite/web-socket-js submodule for DFSG compliance.Joel Martin2013-04-122-0/+3
|
* Merge pull request #244 from djipko/common_conf_to_oslo_confJoel Martin2013-04-081-1/+1
|\ | | | | Import cfg from oslo in nova-novncproxy
| * Import cfg from oslo in nova-novncproxyNikola Dipanov2013-04-081-1/+1
|/ | | | | Upstram OpenStack Nova package has moved the config engine into a separate package. Mirror that change in the novnc script.
* Merge pull request #241 from astrand/html-cleanupJoel Martin2013-04-052-3/+19
|\ | | | | Minimize differences between vnc.html and vnc_auto.html
| * Sync more header meta stuff from vnc.html:Peter Åstrand (astrand)2013-04-051-2/+15
| | | | | | | | | | | | | | | | * UTF-8 charset defintition. * Define IE=edge for X-UA-Compatible. * Add Apple iOS Safari settings.
| * Move over comment about URL connect parameters from vnc_auto.html.Peter Åstrand (astrand)2013-04-051-0/+3
| |
| * Fix typo:Peter Åstrand (astrand)2013-04-051-1/+1
| | | | | | | | | | | | | | | | names="apple-mobile-web-app-status-bar-style" should be: name="apple-mobile-web-app-status-bar-style"
* | Merge pull request #239 from astrand/html-cleanupJoel Martin2013-04-041-11/+19
|\ \ | |/ | | Tweak order/whitespace/style to match vnc.html more closely.
| * Tweak order/whitespace/style to match vnc.html more closely. NoPeter Åstrand (astrand)2013-04-031-11/+19
|/ | | | functional changes.
* Merge pull request #225 from Medical-Insight/crlf-to-lfJoel Martin2013-01-311-91/+91
|\ | | | | Consistent Unix line endings
| * Converted to unix line endingsjalf2013-01-311-91/+91
|/
* Capture mouse events and filter irrelevant onesjalf2013-01-301-1/+24
|
* Listen for mouseup events from window as well as target elementjalf2013-01-301-0/+4
| | | | | Pressing an holding a mouse button and then moving the mouse out of the canvas before releasing meant that onmouseup was never triggered.
* Clamp mouseclick coordinates to target element boundsjalf2013-01-301-1/+3
|
* Merge pull request #220 from vaj/keyinputJoel Martin2012-12-231-0/+4
|\ | | | | Ctrl+'-' won't work on a US keyboad with the latest Firefox.
| * Ctrl+'-' won't work on a US keyboad with Firefox.Hirokazu Takahashi2012-12-231-0/+4
|/ | | | Firefox 17 generates 173 as the keycode for the minus key.
* Merge pull request #216 from komawar/config-moduleJoel Martin2012-11-301-1/+1
|\ | | | | Changed the config module which includes CONF
| * Changed the config module which includes CONFNikhil Komawar2012-11-301-1/+1
|/ | | | | currently CONF was attempted of being imported from nova config.py rather than openstack/common/cfg.py. this commit fixes that.
* Sync with websockify.Joel Martin2012-11-143-24/+32
| | | | | | | | | Pull c33f0b52e7 from websockify. - Fix for python2.4 with URL parsing. - Set binaryType earlier in Opera 12.10 to avoid receiving a blob. - Re-order client and target processing so that pending client data has an opportunity to be sent when the target closes.
* Merge pull request #214 from otherwiseguy/masterJoel Martin2012-11-081-17/+17
|\ | | | | Update utils/nova-novncproxy to work with nova master branch
| * Mirror FLAGS->CONF change in NovaTerry Wilson2012-11-081-17/+17
|/ | | | | Nova recently removed parse_args from flags.py. This updates the nova proxy to properly use CONF instead of FLAGS.
* util/launch.sh: add --web option and try /usr/share/novncJoel Martin2012-11-011-1/+11
|
* util.js: script load sequential execution changes.Joel Martin2012-11-011-4/+5
| | | | | | | | | | | Related to issue: https://github.com/kanaka/noVNC/issues/205 Split out the function to load a single script to Util.load_script. In order to get sequential load, when on IE set the script defer flag. It is currently working on webkit and firefox but just in case also set the script.async flag to make sure that scripts execute in the order they are added. Scripts should still load in parallel.
* include/playback.js: support binary (non-base64) data files.Joel Martin2012-10-261-2/+14
| | | | | | | Data files should now set the variable VNC_frame_encoding to either "binary" or "base64". The python websockify recording mode adds this automatically based on what is negotiated with the client being recorded.
* sync with websockifyJoel Martin2012-10-263-30/+52
| | | | Pull in websockify 1669139
* rfb.js: skip tight when true color is disabled.Joel Martin2012-10-231-0/+5
| | | | | | | | | Generally this means falling back to 8-bit colour mapped hextile which is uses more bandwidth and is likely slower that tight with 24-bit true color. This is related to this query: http://superuser.com/questions/484790/how-to-use-8-bit-mode-with-novnc
* util.js: fix dynamic script load on IE 9 (again).Joel Martin2012-10-231-29/+33
| | | | | | | | | | | | | | Use a mechanism described here to serialize the execution of scripts under IE: http://wiki.whatwg.org/wiki/Dynamic_Script_Execution_Order Basically, we set the src attribute but do not append the script to the body/head until after readyState is "loaded". Unfortunately, Opera uses readyState but in a different way (always "loaded" for both load and execution). This is related to (and hopefully fixes) these issues: https://github.com/kanaka/noVNC/issues/194, https://github.com/kanaka/noVNC/issues/205, https://github.com/kanaka/noVNC/issues/208.
* vnc.html: use standard HTML5 doctype.Joel Martin2012-10-191-1/+1
| | | | | | The mobile doctype doesn't not seem to make any difference on iOS so I'm dropping it and just going with the standard HTML5 version since the wapforum mobile version may cause issues with IE 10.
* ui.js: fix drag button so it can be toggled off.Joel Martin2012-10-191-1/+2
|
* Merge remote branch 'Medical-Insight/non-square-cursor-fix'Joel Martin2012-10-181-18/+31
|\
| * Always generate square cursor images in changeCursor (fix portrait mode issue).vj2012-10-171-18/+31
| | | | | | | | | | | | This is a workaround for corrupted non-square cursors seen on some Windows 7 machines with NVIDIA cards. The corruption only happens when the screen is in portrait mode.
* | util.js: script load sequential execution changes.Joel Martin2012-10-181-8/+23
| | | | | | | | | | | | | | | | | | | | | | Related to issue: https://github.com/kanaka/noVNC/issues/205 Split out the function to load a single script to Util.load_script. In order to get sequential load, when on IE set the script defer flag. It is currently working on webkit and firefox but just in case also set the script.async flag to make sure that scripts execute in the order they are added. Scripts should still load in parallel.
* | Revert "supprt ALTGR key event"Joel Martin2012-10-171-1/+0
| | | | | | | | This reverts commit 079504a6d256001664a09c70ca69c4b742171aeb.
* | Merge pull request #195 from moobyfr/keyboard-altgrJoel Martin2012-10-171-0/+4
|\ \ | | | | | | Keyboard altgr
| * | Handle Super and Menu keys (Windows keys)Blindauer Emmanuel2012-10-061-0/+3
| | |
| * | AltGR support (Firefox 15 currently)BLINDAUER EMMANUEL2012-08-021-0/+1
| | |
* | | Add binary/base64 data mode to perf/playback tests.Joel Martin2012-10-173-5/+8
| | |
* | | Refactor dynamic script loading. Add util.js:load_scripts()Joel Martin2012-10-1711-65/+73
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to issue/pulls: https://github.com/kanaka/noVNC/issues/194 https://github.com/kanaka/noVNC/pull/201 https://github.com/kanaka/noVNC/pull/202 In IE9, the window.onload event can fire before dynamically loaded scripts have finished loading. This can result in either WebSocket (in the case of vnc_auto.html) or RFB (in the case of vnc.html) not being defined at the point when window.onload is called. - Move the load_scripts routine from vnc.js to util.js (so that websockify can use it too). Also, refactor to work when load_scripts is called by a script that itself uses load_scripts. When the whole chain of dynamically loaded scripts is finished then call window.onscriptsload. Use this mechanism in all the places that depend on dynamic loading of scripts: vnc.html, vnc_auto.html, websock.js, tests/vnc_playback.html, and tests/vnc_perf.html. - Use the new window.onscriptsload handler instead of window.onload. - Remove include/start.js and do the script loading and startup event handling in include/ui.js instead.
* | Merge pull request #191 from takaha/altgrJoel Martin2012-10-161-0/+1
|\ \ | | | | | | support ALTGR key event
| * | supprt ALTGR key eventHirokazu Takahashi2012-09-251-0/+1
| | |
* | | Refactoring hot blocks to help Chrome optimizing compiler.Joel Martin2012-10-154-72/+87
| | |
* | | Change noVNC license to from LGPLv3 to MPL 2.0Joel Martin2012-10-1521-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MPL 2.0 license is a "file-level" copyleft license vs the "project-level" nature of the L/GPL. The intention of noVNC has always been that it should be easy to incorporate into existing projects and sites whether free/open or proprietary/commercial. The MPL 2.0 is designed for this sort of combination project but still requires that any distributed modifications to noVNC source files must also be published under the same license. In addition, the MPL 2.0 allows the code to be used in L/GPL projects (the secondary license clause). This means that any projects that are already incorporating noVNC should not be impacted by this change and in fact it should clarify the licensing situation (the exact application of the L/GPL to web applications and interpreted code is somewhat ambiguous). The HTML, CSS, image and font files continue to be under more permissive licenses (see LICENSE.txt). The included websockify python code remains under a LGPLv3 license although the include/websock.js file from the websockify component is now under MPL 2.0 as well. Permission was received from other noVNC authors to make this change to their code license on the following dates: - Chris Gordon (UI): Jun 24, 2012 - Antoine Mercadal (DOM,*util.js): Oct 10, 2012 - William Lightning (UltraVNC repeater): Oct 10, 2012 - Mike Tinglof (tight encoding): Oct 15, 2012
* | | include/base64.js: update to MPL 2.0 base64 code from MozillaJoel Martin2012-10-101-66/+33
|/ / | | | | | | | | This updated version is imported from: http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js
* | Update websockifyJoel Martin2012-09-211-7/+7
| | | | | | | | | | | | | | Update to websockify febaeee85c Gracefully handle errors when popping kwargs: https://github.com/kanaka/websockify/pull/53
* | debian/novnc.install: pick up include/start.jsJoel Martin2012-09-201-0/+1
| |