- 01 Nov, 2012 1 commit
-
-
Joel Martin authored
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.
-
- 26 Oct, 2012 2 commits
-
-
Joel Martin authored
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.
-
Joel Martin authored
Pull in websockify 1669139
-
- 23 Oct, 2012 2 commits
-
-
Joel Martin authored
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
-
Joel Martin authored
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.
-
- 19 Oct, 2012 2 commits
-
-
Joel Martin authored
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.
-
Joel Martin authored
-
- 18 Oct, 2012 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
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.
-
- 17 Oct, 2012 5 commits
-
-
Joel Martin authored
This reverts commit 079504a6.
-
Joel Martin authored
Keyboard altgr
-
Joel Martin authored
-
Joel Martin authored
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.
-
vj authored
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.
-
- 16 Oct, 2012 1 commit
-
-
Joel Martin authored
support ALTGR key event
-
- 15 Oct, 2012 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
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
-
- 10 Oct, 2012 1 commit
-
-
Joel Martin authored
This updated version is imported from: http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js
-
- 06 Oct, 2012 1 commit
-
-
Blindauer Emmanuel authored
-
- 25 Sep, 2012 1 commit
-
-
Hirokazu Takahashi authored
-
- 21 Sep, 2012 1 commit
-
-
Joel Martin authored
Update to websockify febaeee85c Gracefully handle errors when popping kwargs: https://github.com/kanaka/websockify/pull/53
-
- 20 Sep, 2012 1 commit
-
-
Joel Martin authored
-
- 17 Sep, 2012 12 commits
-
-
Joel Martin authored
-
Joel Martin authored
Call setBarPosition on initial load and not just when the window size changes or scrolling happens.
-
Joel Martin authored
After a read completes it's possible more data is pending so issue an immediate read again to pick this up quickly.
-
Joel Martin authored
Instead of using document.write to load scripts, use createElement to create and append script tags. document.write is problematic in a lot of situation and in particular is not allowed in a Chrome extension/packaged app. Also, in webutil.js, instead of calling init_logging during parsing of include/webutil.js, rely on the caller to do this. The problem is that calling init_logging on parse tries to call Util logging functions and the new model of dynamic load may not having Util loaded by the time webutil is parsed.
-
Joel Martin authored
Move all the inline Javascript event handlers from vnc.html to include/ui.js except the load handler which is moved to include/start.js). This is on the path towards a Chrome extension/packaged app since inline Javascript is prohibited in that situation.
-
Joel Martin authored
Switch from using cookies to store setting to using localStorage (or chrome.storage.sync if available in extension/app mode) for the settings. Also refactor to make the initializing of the setting and and loading of the UI to be more asynchronous.
-
Joel Martin authored
Add routines to store/read settings in either localStorage or in chrome.storage.sync (which is synchronized between browsers for extensions/apps). Before using chrome.storage.sync the initSettings routine must to called setup the intermediate cache which speeds up access and allows multiple setting changes to be coallesced to avoid hitting storage change frequency limits/quotas.
-
Joel Martin authored
-
Joel Martin authored
Also, include Apache-2.0 license text.
-
Joel Martin authored
- enable sending and receiving of raw array buffers in addition to strings. - add a read poll interval and set it to 15ms by default to detect and handle quickly when a message is pending. - also, detect a disconnected state and add call registration for disconnect events.
-
Joel Martin authored
Import upstream code from Chrome extension telnet demo: https://raw.github.com/GoogleChrome/chrome-app-samples/0ce28768087863c08aa04a2b9b27bd50796a77ec/telnet/tcp-client.js
-
Joel Martin authored
This change pulls websockify 6d9deda9c5. Most note worthy changes: - Pulls in web-socket-js 7677e7a954 which updates to IETF 6455 (from Hixie) - Binary support detection and use in include/websock.js - Add ssl and unix target support - Add multiple target support via config file/dir. - Idle timeout exit
-
- 14 Sep, 2012 3 commits
-
-
Joel Martin authored
Conflicts: include/websock.js For some reason encode_message was missed. But I'm just punting and doing the fixup in the merge. Yeah, tsk, tsk.
-
Joel Martin authored
Push master and version tag separately.
-
Joel Martin authored
-
- 28 Aug, 2012 3 commits
-
-
Joel Martin authored
Instead of continuing to maintain the full list of project/companies that use noVNC in multiple places (README, wiki, web page) just link to the wiki page. Link to noVNC discussion group page. Link to issues page. Link to Amazon wishlist and non-profits for appreciation.
-
Joel Martin authored
Instead of continuing to maintain the full list of project/companies that use noVNC in multiple places (README, wiki, web page) just link to the wiki page. Link to noVNC discussion group page. Link to issues page. Link to Amazon wishlist and non-profits for appreciation.
-
Joel Martin authored
Fix grep pattern when matching netstat output
-