- 14 Mar, 2014 2 commits
- 12 Mar, 2014 2 commits
-
-
Jesper Dam authored
Apparently Firefox on Linux changed the value of navigator.appVersion, causing our OS detection (used to determine how to interpret different modifier keys) to fail. Use navigator.platform instead, which should be more stable. http://stackoverflow.com/a/19883965/33213
-
Jesper Dam authored
Previously we identified keys in keyboard events by the 'key' property if it was set, and 'keyCode' otherwise. This turns out to be problematic as Firefox no longer leaves 'key' undefined (so we fall back to using 'keyCode'), but instead sets 'key' to 'MozPrintableKey' for all printable keys. This meant that when (printable) keys are released, we can't match it against the corresponding keydown event, and instead just send a keyup event for the last keydown received. Now, if both 'key' and 'keyCode' are set, use the concatenation of both. Otherwise prefer 'keyCode', as that is at least unique for every key. This should let us release the right keys on keyup events.
-
- 19 Feb, 2014 1 commit
-
-
Julien Fontanet authored
-
- 17 Feb, 2014 3 commits
-
-
Malcolm Scott authored
-
Malcolm Scott authored
-
Malcolm Scott authored
-
- 06 Feb, 2014 1 commit
-
-
samhed authored
-
- 31 Jan, 2014 1 commit
-
-
Brian Rak authored
-
- 06 Jan, 2014 1 commit
-
-
Jesper Dam authored
When shortcut modifiers (modifier keys such as CTRL, which do not participate in composing character input) are pressed, we try to suppress the keypress event, as browsers do not reliably generate it. This means that subsequent key events are decoded only based on the keydown event. Due to a type error (comparing a string to a number), shift was mistakenly treated as a shortcut modifier, preventing text input which relied on shift, such as _ and %, from being generated.
-
- 05 Dec, 2013 7 commits
-
-
jalf authored
Keyboard Handling [8/8]: Introduce substituteCodepoint() to replace code points which don't have a keysym with ones that do For now, the only code points this is done for are {s, S, t, T} with comma below (used in Romanian), which are replaced by {s, S, t, T} Cedilla.
-
jalf authored
Regenerate the keysymdef table without -d. This eliminates keysym names, which are only used for debugging, and shaves ~40kb off the file size
-
jalf authored
-
jalf authored
This allows the keyboard handler to check modifier key state much more frequently Since some browsers never send keyup events for modifier keys, we have to synchronize modifier state whenever we get a mouse or keyboard event
-
jalf authored
Plug new keyboard handling into input.js (which breaks everything else), and update input.html to work with this
-
jalf authored
Add keyboard.js, containing the actual keyboard event parsing code.
-
jalf authored
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).
-
- 29 Oct, 2013 2 commits
-
-
Joel Martin authored
-
Takashi Natsume authored
This patch adds support for the secure attribute on token cookies (sent by nova-novncproxy). If the https is used to transfer the cookie, the secure attribute is set thus restricting server requestes to secure conections only. This should prevent man-in-the-middle attacks.
-
- 04 Oct, 2013 1 commit
-
-
samhed authored
-
- 24 Sep, 2013 1 commit
-
-
samhed authored
-
- 23 Sep, 2013 1 commit
-
-
samhed authored
-
- 17 Sep, 2013 1 commit
-
-
samhed authored
-
- 30 Aug, 2013 1 commit
-
-
samhed authored
* The list is found in /usr/include/X11/keysymdef.h * I did only include the most common symbols for now..
-
- 29 Aug, 2013 2 commits
- 02 Aug, 2013 1 commit
-
-
Anton Lundin authored
We create timeouts, not intervals. Then we need to clear them with clearTimeout.
-
- 25 Jul, 2013 3 commits
- 23 Jul, 2013 1 commit
-
-
samhed authored
-
- 22 Jul, 2013 1 commit
-
-
samhed authored
framebufferUpdate request at a time.
-
- 18 Jul, 2013 1 commit
-
-
samhed authored
-
- 17 Jul, 2013 2 commits
-
-
samhed authored
-
samhed authored
button group instead of centered. * On low resolution devices the padding towards the edges of the screen of the left and right button groups are now removed. * Since the status_bar was merged into the control-bar the actual status_bar element became redundant and was therefor removed. * Improved the style of the control-bar when there is an error or a warning. * Implemented a fix so that vnc_auto.html works as intended with the improved screen real estate patch.
-
- 12 Jul, 2013 2 commits
- 11 Jul, 2013 1 commit
-
-
samhed authored
-
- 08 Jul, 2013 1 commit
-
-
samhed authored
* The trigger distance now takes devicePixelRatio into account.
-