summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
| * Simplify keysymdef.jsPierre Ossman2017-03-241-4/+24
| | | | | | | | | | Some Unicode to Keysym mappings can be computed and can therefore be left out of the huge lookup table.
| * Clean up keysymdefPierre Ossman2017-03-241-16/+39
| |
| * Remove keysym names from keysymdef.jsPierre Ossman2017-03-241-18/+3
| | | | | | | | | | They were incomplete and turned off in most cases so they served little use besides adding complexity.
| * Get parse.js in sync with generated codePierre Ossman2017-03-241-16/+13
| | | | | | | | | | The generated keysymdef.js was recently converted to ES modules, but the generating script was overlooked.
* | Update url'sSamuel Mannehed2017-04-192-3/+3
|/
* Vendor in an IE11 polyfill for PromisesSolly Ross2017-03-212-17/+32
| | | | | | This commit introduces a polyfill to add support for Promises in IE11. This means IE11 can be tested without first running `utils/as_require.js`.
* Move error handler into separate fileSolly Ross2017-03-211-3/+23
| | | | | | | | This commit moves the global error handler into a separate file, so that it can catch module loading errors. This also adds support for properly displaying error messages with newlines in them (since the module loader may throw those)
* Optimize ES6 Module Loader PolyfillSolly Ross2017-03-211-3/+5
| | | | | | | | | | This commit makes the ES6 module loader polyfill use Web Workers, so that Babel doesn't block the browser from animating. It also uses localStorage to cache the compiled results, only recompiling on source changes, so it makes loading faster while developing noVNC. This includes a vendored copy of the ES6 module loader, modified as described above.
* Allow transforming to any formatSolly Ross2017-03-073-100/+136
| | | | | | | This changes around `utils/use_require.js` to be able to generate any of AMD (RequireJS), CommonJS, SystemJS, or UMD modules. The three former also include support for translating `vnc.html`, producing a full "app" version of noVNC.
* Use Unicode keysym range as fallbackPierre Ossman2016-10-151-1/+7
| | | | | | Not all Unicode codepoints have an equivalent named Keysym. But there is a range in the Keysym namespace that can be used to map any codepoint to.
* Merge pull request #603 from WardF/masterSolly Ross2016-09-161-3/+12
|\ | | | | Added option for --ssl-only noVNC session to launch.sh
| * Tweaked message printed based on whether or not http is available.Ward Fisher2016-04-111-1/+6
| |
| * Added an '--ssl-only' option to noVNC launch script. This will pass through ↵Ward Fisher2016-04-111-2/+6
| | | | | | | | to Websockify, allowing a user to specify that only ssl-secured connections will be allowed.
* | Move input-related files into core/inputSolly Ross2016-09-161-1/+2
| | | | | | | | | | | | This commit moves all the input-related files from `core/` to `core/input/`, and renames a couple as relevant (input.js --> input/devices.js, keyboard.js --> input/util.js).
* | Enable noVNC to become BrowserifiableSolly Ross2016-09-163-40/+145
| | | | | | | | | | | | This commit restructures noVNC, splitting it into the core directory and the app directory, with the former containing core noVNC parts, and the latter containing parts specific to the application.
* | Removing unused import (#642)Trần Tuấn Anh2016-08-261-1/+1
| |
* | Update launch.shnunojusto2016-08-161-1/+1
| | | | | | | | Just a correction of port in use test algoritm. This way we will not have problems when using port X and having some other service using zyX or any *X port
* | Clarify that utils/launch.sh is MPL-2.0Joel Martin2016-06-131-0/+4
|/ | | | | | Also, note in the top-level license file that the default noVNC license for files that are not explicitly marked or mentioned in the LICENSE.txt file are by default MPL-2.0 licensed.
* Fixed vnc_perf.htmlSolly Ross2016-01-061-0/+17
| | | | | | | | | This commit updates vnc_perf.html so that it works with the current version of noVNC. It also introduces a utility to convert noVNC session recordings recorded in base64-mode to binary-mode recordings, since noVNC no longer supports base64-mode. Fixes #479.
* Small typo in launch.shSarrailh Rémi2015-11-231-1/+1
|
* Make sure Pako always has enough roombug/pako-issueSolly Ross2015-09-231-3/+11
| | | | | | | | | | | | Previously, we used a fixed chunkSize of 100KiB for Pako's output buffer. Using a hardcoded size caused issues, since Pako would assume we wanted to use multiple chunks, and we didn't deal with this. Now, `Inflator#inflate()` takes a new `expected` argument, which indicates the expected output size. If this is bigger than the current chunkSize, Inflator allocates a new output buffer that's big enough to hold the output. Fixes #531
* WIP: Switch to Pako for zlibSolly Ross2015-08-061-0/+32
| | | | | This commit introduces an alternate implementation of the zlib decompressor based on Pako (https://github.com/nodeca/pako).
* Follow symbolic links in launch.shbug/follow-symlinks-for-hereSolly Ross2015-03-261-1/+2
| | | | | | | | | | | | Previously, in launch.sh, `$HERE` was the directory of `$0`. However, if `$0` was actually a symlink, `$HERE` would be wherever the symlink was, which could cause issues (for example, the script wouldn't be able to local `$WEB` or `$WEBSOCKIFY` properly). Now, `$HERE` looks at whatever `$0` points at instead. Closes #447.
* Remove last bits of websockify cruftSolly Ross2015-02-173-66/+4
| | | | | | | | | Issue #449 pointed out that there were some files that were missed in 6f5148648bd0e0ffa7ad00474c230f5f1ff4e39f. This fixes that. Closes #449 Closes #450
* Make sure websockify is cloned to the correct dirSolly Ross2015-02-171-2/+1
| | | | | | | When `utils/launch.sh` clones websockify, it can be cloned into the incorrect directory, depending on how `utils/launch.sh` is run. This commit ensures that websockify is always cloned into `utils/websockify`.
* Actually remove the "websockify" fileSolly Ross2015-02-171-471/+0
| | | | | | Somehow, `utils/websockify` itself manage to sneak back in to 6f5148648bd0e0ffa7ad00474c230f5f1ff4e39f. This actually removes it.
* Remove local copies of websockifySolly Ross2015-02-167-1298/+34
| | | | | | | | | | | | | | | | | | | This commit removes local copies of websockify. Instead `utils/launch.sh` performs the following logic: If `utils/websockify` exists, use `utils/websockify/run` (if the latter does not exist, or is not executable, fail, since this is probably a mistake). Otherwise, check to see if websockify is installed somewhere (try `which websockify`). If it is, use that. Otherwise, clone websockify from github, and tell git to ignore that directory. Packaged versions of noVNC should simply list websockify as a requirement. The debian packaging has been updated to reflect this. Closes #433
* Sync with websockifysamhed2014-04-142-541/+762
| | | | Pull 90b519edf0c1857d
* Keyboard Handling [1/8]: Parse keysymdef.h to produce Unicode -> keysym ↵jalf2013-12-051-0/+97
| | | | | | | | | mappings table Add a node.js-based tool (utils/parse.js) to read keysymdef.h and produce a JavaScript file mapping Unicode code points to keysyms. Also add the generated table (include/keysymdef.js).
* Sync with websockify.Joel Martin2013-04-251-123/+28
| | | | | | | | | | | | | Pull in websockify 4725aa7. - Update to c0855c6cae of web-socket-js - Update both the submodule and the swf build. The submodule now contains the unobfuscated source for swfobject.js which should make websockify more DFSG compliant. - Remove Hixie support. iOS 6 now includes HyBi support which means there is no remaining platform that needs Hixie.
* Remove references to wsproxy.Joel Martin2013-04-154-14/+13
| | | | Also, update nova-novncproxy to import websockify instead of wsproxy.
* 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.
* 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-142-21/+29
| | | | | | | | | 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.
* 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
|
* sync with websockifyJoel Martin2012-10-262-29/+48
| | | | Pull in websockify 1669139
* Change noVNC license to from LGPLv3 to MPL 2.0Joel Martin2012-10-153-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update websockifyJoel Martin2012-09-211-7/+7
| | | | | | | Update to websockify febaeee85c Gracefully handle errors when popping kwargs: https://github.com/kanaka/websockify/pull/53
* Update websockify/websock.js.Joel Martin2012-09-172-108/+241
| | | | | | | | | | | | 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
* Fix grep pattern when searching for listening socketsMarco Leogrande2012-08-271-1/+1
| | | | | | | | | | | | The current grep pattern matches also port numbers that match only partially the given $PORT number; e.g., if $PORT is 6080, 60800 will match as well. While TCP listening sockets in the 60000-65535 range are rare, they need to be handled as well. The problem is also present if the user selects a shorter PORT value with the --listen command line argument. By adding a space, the pattern is fixed.
* Revert "Pull in latest websockify."Joel Martin2012-08-152-218/+107
| | | | This reverts commit 4dd1bb1ecbd49c112c2f7ff4bd66016ebe38d063.
* Pull in latest websockify.Joel Martin2012-08-142-107/+218
| | | | | | | | | | Pull in version 376872d99. Several changes including: - binary/typed array support in websock.js - unix socket support - multiple target support via config file(s) - prefer IPv6 option
* Fixes nova rpc package.Soheil Hassas Yeganeh2012-06-211-1/+1
|
* Switch to nova's new flag API.Soheil Hassas Yeganeh2012-06-061-2/+1
|
* Pull from websockify. Fix close code.Joel Martin2012-05-101-3/+1
|
* Pull from websockify.Joel Martin2012-05-101-1/+3
| | | | Fix python 2.4 CClose exception handling.
* Use explicit check for rpc.register_optsAnthony Young2012-04-301-3/+1
|
* Update to fix trunk nova issue with rpc libraryAnthony Young2012-04-301-0/+7
| | | | * rpc flags now must be manually initialized.
* Update websockify to pull in close code/reason fixes.Joel Martin2012-04-252-15/+28
|