Upstream
  1. Upstream

novnc

Public
AuthorCommitMessageCommit dateIssues
Samuel MannehedSamuel Mannehed
901a425a4f6Fix update-pot so that it can handle UTF-8It crashed on non-ascii characters before, for example the "®" character.UTF-8
David GnedtSamuel MannehedDavid Gnedt
8a0cbd742b2Update German translationFrom Pull Request #771.
Samuel MannehedGitHubSamuel Mannehed
fbe13344fbfMMerge pull request #819 from martinpitt/masterFix license name in package.json
Martin PittMartin Pitt
a9b483cd20fFix license name in package.jsonIt's spelled "MPL-2.0" according to https://spdx.org/licenses/.MPL-2
Pierre OssmanPierre Ossman
26586b9ddf3Remove colour map supportIt was broken and unused. Remove it so we can simplify the code.
Pierre OssmanPierre Ossman
fb7e99e84bfRemove browser engine detectionIt is out of date and not used anyway.
Pierre OssmanPierre Ossman
099eb856cfaSkip some keyboard tests on IE and EdgeIE and Edge has some broken behaviour for keyboard events that prevent the standard tests from running properly.
Pierre OssmanPierre Ossman
38170d24425MMerge branch 'png_cursor' of https://github.com/CendioOssman/noVNC
Pierre OssmanPierre Ossman
545442afc35MMerge branch 'keyboard' of https://github.com/CendioOssman/noVNC
Pierre OssmanPierre Ossman
5a3e9d3da89Error.error can be null in some cases
Pierre OssmanPierre Ossman
9782d4a324dUse KeyboardEvent.key too look up keysymsAnd emulate it on browsers where it is missing or incorrect. This makes the code more future oriented as it primarily uses the standardised fields.
Pierre OssmanPierre Ossman
634cc1ba462Handle CapsLock on macOSModifiers behave a bit oddly on macOS, causing weird CapsLock events to be sent by the browsers.
Pierre OssmanPierre Ossman
bf43c26319aClean up AltGraph handlingIt doesn't need to be this general as the issue is mostly about Windows. Also use the same modifier shuffle that RealVNC and TigerVNC uses to get macOS working well.
Pierre OssmanPierre Ossman
ae82053366bSimplify pressed key handlingPrefer avoid having the server simulate multiple key presses by refusing to use multiple keysyms for the same physical key.
Pierre OssmanPierre Ossman
9fce233d51cSimplify handling of keypressUse a dedicated variable to track a two stage key rather than piggy-backing on the key state array.
Pierre OssmanPierre Ossman
f7363fd26ddMove keyboard handling in to Keyboard classReplace the multi stage pipeline system with something simpler. That level of abstraction is not needed.
Pierre OssmanPierre Ossman
9e6f71cb753Remove modifier synchronisationThe fields provided cannot tell us if it is the left or right version of the key that's pressed, so they are inherently unreliable. It is also not a huge problem in practice as we'll get in sync on the next press or release of the modifier.
Pierre OssmanPierre Ossman
a784a9cabc4Remove QEMU key event handlerThe normal event handler provides all the necessary information now, so it is no longer needed.
Pierre OssmanPierre Ossman
d0703d1bdebSimplify keyboard event APINo need for an object for three static fields.
Pierre OssmanPierre Ossman
94f5cf05f37Send keyboard events from single placeThis makes it easier to handle any needed variations, like different types of messages.
Pierre OssmanPierre Ossman
f714f7deae1Improve lookup of special keysLook up keys that are independent of layout and state first, followed by keys that are only mild variations in layouts. This is more robust as there might be multiple physical keys generating the same symbols, and Keysyms don't map directly to Unicode in all cases. At the same time switch over to using the modern, standardised 'code' field for lookup.
Pierre OssmanPierre Ossman
bfa1b237b9cImprove character keysym lookupUse the more modern 'key' field, and remove some legacy fallbacks that are no longer required. This also removes the "stall" mechanism as it is not needed with current browsers.
Pierre OssmanPierre Ossman
80cb8ffddd4Use standard DOM identifiers for physical keys
Samuel MannehedGitHubSamuel Mannehed
1c5702b0b5dMMerge pull request #817 from univention/masterRemove double unescaping of title
Philipp HahnPhilipp Hahn
08cd672e404Remove double unescaping of titleCommit fa5b334dcbe7a5dab21580b54cc2f5f142600379 by Joel Martin changed getQueryVal() to always decode the value using decodeURIComponent(), but unescape() is still used for extracting the title, leading to double-unescaping. As unescape() is deprecated anyway, remove the last user. Cc: Joel Martin <github@martintribe.org> Cc: Anthony Young <sleepsonthefloor@gmail.com>
Pierre OssmanPierre Ossman
36bdf136541Only load ES6 module loader polyfill if neededSafari now has native support for modules, so we need to make sure we only load our polyfill when actually needed.
Samuel MannehedSamuel Mannehed
0613d188942Fix panning test for high DPI devicesThere is a drag-threshold in the panning code which the tests didn't account for. This caused the tests to fail when window.devicePixelRatio was higher than 1.
Samuel MannehedSamuel Mannehed
e4290d8c009Add Pierre as contributor in package.json
Samuel MannehedSamuel Mannehed
101ff12736dUpdate url's
Samuel MannehedSamuel Mannehed
41c958d4509Properly restore the default styleSetting a style to null does restore it in FF, Chrome, Safari and Edge. But it does not work in Internet Explorer. The proper way to restore to default values is to set it to the empty string. This works in all browsers. Fixes issue #808.
Soichi HayashiPierre OssmanSoichi Hayashi
dd44a8ead8eFixed the issue where novnc can't be relocated
Samuel MannehedSamuel Mannehed
270bdbd7fbfAlways send mouseUp events properlyIf down is false we can't just toggle the current internal state, even though this is correct most of the time. There are cases where we don't get the down event and thus won't have a correct internal state. For example, when clicking in the session after using the clipboard textarea. If down is false, we always want to send a mouse event with the button in 'up'-state.
Samuel MannehedGitHubSamuel Mannehed
f4ae0a1402eMMerge pull request #801 from CendioOssman/errorsImprove fallback error handler
Pierre OssmanPierre Ossman
f7c620d34e7Generate source map for ES module loader rollupMakes it easier to debug things as you get the original source and proper line numbers.
Pierre OssmanPierre Ossman
36efb9783c6Handle uncaught WebWorker exceptions
Pierre OssmanPierre Ossman
5d00fd9bf0dTry to populate error location on Promise errors
Pierre OssmanPierre Ossman
999b5da7532Only use unhandledrejection fallback when needed
Pierre OssmanPierre Ossman
36653517a52Use common code to handle Promise errors
Pierre OssmanPierre Ossman
732233eda08Handle partial error location informationWe might not get line or column number, but the file is still useful information.
Pierre OssmanPierre Ossman
5da03103a35ErrorEvent.error isn't always setIt's not just a matter of the browser lacking support.
Pierre OssmanPierre Ossman
13c558e3a0dLimit fallback error width to window widthChange the layout a bit to make sure the entire message can be read.
Pierre OssmanPierre Ossman
c361080be8eUse monospace font for unhandled errorsThe browsers uses crude layout formatting that expects this.
Solly RossGitHubSolly Ross
5abbdf5a515MMerge pull request #738 from patrakov/masterChanged the default compression level to 2
Pierre OssmanPierre Ossman
a5c8a755e8bHide internal keyboard functionsThese may change and are not part of a stable API. This also reindents the object functions to make sure they can access private functions.
Pierre OssmanPierre Ossman
0a865e15ff9Remove character substitutionWe can handle any Unicode codepoint now, so stop replacing symbols.
Pierre OssmanPierre Ossman
278a5e7fbd9Simplify keysymdef.jsSome Unicode to Keysym mappings can be computed and can therefore be left out of the huge lookup table.
Pierre OssmanPierre Ossman
041568bd311Clean up keysymdef
Pierre OssmanPierre Ossman
524d67f2834Remove keysym names from keysymdef.jsThey were incomplete and turned off in most cases so they served little use besides adding complexity.
Pierre OssmanPierre Ossman
9076defaca9Get parse.js in sync with generated codeThe generated keysymdef.js was recently converted to ES modules, but the generating script was overlooked.
Pierre OssmanPierre Ossman
7e192163686Define an initial shadow for spinnerIE and Edge refuse to animate attributes that weren't present in the static definition.