Commit Graph

401 Commits

Author SHA1 Message Date
Michael Jumper
318f3456ec GUAC-884: Clear event queue when keyboard is reset. Ensure no combination of key events can result in a permanently blocked queue. 2014-11-07 14:42:21 -08:00
Michael Jumper
d339c8613e GUAC-842: Add onmouseout event to Guacamole.Mouse. Fix GUAC-833 while we're in here. 2014-10-16 23:15:12 -07:00
Michael Jumper
8f903acaa6 GUAC-823: Test for CSS3 cursor support. 2014-10-16 22:49:51 -07:00
Michael Jumper
c62e7c7b4b GUAC-823: Cursors must end with a cursor keyword (see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor/url). 2014-10-16 22:38:29 -07:00
Michael Jumper
22411a7790 GUAC-823: Add oncursor event to Guacamole.Display. Allow software mouse cursor to be manually shown/hidden. 2014-10-16 15:07:34 -07:00
Michael Jumper
162ceb97ba GUAC-823: Add setCursor() function to Guacamole.Mouse. Stub out feature detection. 2014-10-16 15:06:42 -07:00
Michael Jumper
58837fd136 GUAC-890: Allow Guacamole.Keyboard state to be externally modified or reset. 2014-10-16 11:27:16 -07:00
Michael Jumper
200021b27a GUAC-875: Handle possibly-null key identifier. 2014-10-13 14:22:59 -07:00
Michael Jumper
c1e5822a19 GUAC-872: Fix keysym definition for PageUp/PageDown key identifiers. 2014-10-13 14:18:57 -07:00
Michael Jumper
5731cb6b34 GUAC-882: Wrap calls to new Audio() within try/catch. 2014-10-12 20:54:57 -07:00
Michael Jumper
8d1bee18aa GUAC-871: Lift up AltGr if alt flag cleared on key event. Do not transform Shift+Alt into Meta. 2014-09-29 17:13:54 -07:00
Michael Jumper
2a30cadb1e GUAC-870: Always interpret Right Alt as AltGr. This seems the only way to allow proper international typing across all supported platforms. There's no way to detect whether Alt is truly Alt under Mac. 2014-09-29 14:24:31 -07:00
Michael Jumper
b6769e4ba0 GUAC-391: Add *gag* detection of OS *gag* because there's no other way *gag* to know if it's safe to wait for keypress while Alt is held when keydown is not accurate enough *vomits*. 2014-09-29 02:03:32 -07:00
Michael Jumper
1d42823f82 GUAC-862: Restore handling of keyCode 229 (composition). 2014-09-29 00:13:37 -07:00
Michael Jumper
3e8539381b GUAC-862: Simplify keydown logic. Restore workaround for Chrome meta bug. 2014-09-28 23:54:04 -07:00
Michael Jumper
dd3a1af3f2 GUAC-862: Prefer keyCode to DOM3 key for keyup, as it's more accurate when dead keys are used. 2014-09-28 23:12:10 -07:00
Michael Jumper
4d7a49af31 GUAC-862: Perform sanity checks on legacy keyIdentifier. Only release Ctrl+Alt if it appears to be a simulated AltGr based on detected keysym. 2014-09-28 23:06:24 -07:00
Michael Jumper
b47c48dbeb GUAC-862: Remove debug logging. 2014-09-28 19:55:22 -07:00
Michael Jumper
a9f5bedfe6 GUAC-862: Remove dependency on timing. 2014-09-28 19:12:48 -07:00
Michael Jumper
532dcf6431 GUAC-862: Only handle keydown directly if reliable. Stop waiting for keypress and handle unreliable keydown if a keyup has already occurred (keypress is impossible). 2014-09-28 19:08:56 -07:00
Michael Jumper
cf9ff2cb14 GUAC-862: Add reliability flag to KeyEvent. 2014-09-28 17:04:39 -07:00
Michael Jumper
aae59f6709 GUAC-862: Add keysym to all KeyEvents. Move keysym determination logic to KeydownEvent/KeyupEvent/KeypressEvent. 2014-09-28 15:14:29 -07:00
Michael Jumper
ef42d7db68 GUAC-862: Correct case of key based on shift if keyIdentifier in use. CapsLock cannot be tracked, but that should be OK here. 2014-09-22 16:46:01 -07:00
Michael Jumper
9ef5d14a01 GUAC-862: Use keyIdentifier if it looks like it's necessary. 2014-09-22 16:38:59 -07:00
Michael Jumper
a97bab2f4b GUAC-862: Set defaultPrevented of keypress, not just keydown. 2014-09-22 15:05:34 -07:00
Michael Jumper
08983435e1 GUAC-862: Interpret as many events from the log as possible. 2014-09-22 14:49:51 -07:00
Michael Jumper
b2ef2971fd GUAC-862: Track keysyms associated with recent keypresses. Add logging of dropped keys. 2014-09-22 14:21:49 -07:00
Michael Jumper
e33783adf4 GUAC-862: Handle adjacent keypress for unidentifiable keydown. 2014-09-22 14:00:26 -07:00
Michael Jumper
80c7d67a10 GUAC-862: Interpret e.key as well. 2014-09-22 13:28:19 -07:00
Michael Jumper
c6e3f3c686 GUAC-862: Interpret events with reliable keyCodes. 2014-09-22 13:19:18 -07:00
Michael Jumper
ed69dc23b1 GUAC-862: Add key event objects and log. Stub event interpretation. 2014-09-22 13:10:31 -07:00
Michael Jumper
d44ee06f4c GUAC-855: Bump version numbers to 0.9.3 where applicable. 2014-09-19 11:35:55 -07:00
Michael Jumper
bb4865783b GUAC-659: Add key identifiers for dead keys (currently only used by Firefox). 2014-09-19 01:24:52 -07:00
Michael Jumper
8e920d17d1 GUAC-659: Do not repeat AltGr. 2014-09-19 01:24:28 -07:00
Michael Jumper
7b6432e2cb GUAC-659: Do not ignore keydown if e.key is present. Pull keysym from e.key in keyup if possible. 2014-09-19 01:03:25 -07:00
Michael Jumper
7d8958ed48 GUAC-659: Handle keycode for AltGr. 2014-09-18 21:00:05 -07:00
Michael Jumper
a77188a348 GUAC-850: Remove unnecessary case conversion of typed keys. Trust case specified by browser. 2014-09-17 23:11:00 -07:00
Michael Jumper
5ae22ce206 GUAC-805: Use start(), fall back to noteOn() if necessary. 2014-08-04 13:20:13 -07:00
Michael Jumper
a1452dd0b0 GUAC-772: Update guacamole-common-js API_VERSION. 2014-07-21 13:51:11 -07:00
Michael Jumper
db2066fa1f GUAC-772: Bump version numbers to 0.9.2. 2014-07-21 13:42:53 -07:00
Michael Jumper
5c049b02b9 GUAC-788: When a modifier results in a keysym being pressed, release that same keysym when clearing the modifier, even if the key releasing the modifier is different. 2014-07-21 00:56:44 -07:00
Michael Jumper
f03baec73b GUAC-761: Store API version. Perform sanity checks within webapp. 2014-07-01 15:45:29 -07:00
Michael Jumper
9ab3a58b2f GUAC-681: Bump version numbers of modified projects to 0.9.1. 2014-05-22 14:10:14 -07:00
Michael Jumper
fb610813bf GUAC-685: Ignore keycode 229, sent by some browsers during IME composition (see: http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html). 2014-05-14 16:18:57 -07:00
Michael Jumper
55c9e9f9e4 GUAC-676: Remove commented-out code. 2014-05-12 21:43:56 -07:00
Michael Jumper
5a6623540f GUAC-676: Conversion to Guacamole.Display wasn't finished - "transfer" and others still directly used layer. 2014-05-12 12:25:32 -07:00
Michael Jumper
074e1cf3fa GUAC-676: Fix flatten(), add missing Guacamole.Display comment. 2014-05-12 00:04:47 -07:00
Michael Jumper
299c341ce0 GUAC-676: Implement Guacamole.Display. Perform initial refactor. 2014-05-11 23:23:36 -07:00
Michael Jumper
dc62788d86 GUAC-644: Fix regression in handling of browser key repeat. 2014-04-23 19:28:18 -07:00
Michael Jumper
28e941675f GUAC-324: Do not stop propagation within Mouse objects - allow multiple touch objects to coexist. 2014-04-22 11:43:01 -07:00