Commit Graph

642 Commits

Author SHA1 Message Date
Michael Jumper
4ec407b6b6 GUAC-1172: Comply with newly-adopted JavaScript coding style. 2015-06-22 14:33:11 -07:00
Michael Jumper
88a3f12a8b GUAC-1172: Add constant for stream index mimetype. 2015-06-20 16:06:54 -07:00
Michael Jumper
fae71e44f6 GUAC-1172: Fix reference to enqueueBodyCallback() - it's "enqueue", not "queue". 2015-06-20 13:09:11 -07:00
Michael Jumper
d332b028e3 GUAC-1172: Add Guacamole.Object and handlers for object-related instructions. 2015-06-19 21:38:56 -07:00
Michael Jumper
d37d3914c9 GUAC-1172: Implement JSONreader for convenience. 2015-06-19 21:30:02 -07:00
Stephen Young
f08dbacdb2 GUAC-1212: Add try/catch block to creation of AudioContext 2015-05-26 13:49:09 -06:00
Michael Jumper
c7625fd002 GUAC-1170: Restore original functionality of OSK. 2015-04-29 10:13:23 -07:00
Michael Jumper
fa130a8e25 GUAC-1170: Restore support for gaps within the OSK. 2015-04-28 20:37:32 -07:00
Michael Jumper
741d25291f GUAC-1170: For sake of consistency, keyWidth should be keyWidths. 2015-04-28 18:57:25 -07:00
Michael Jumper
2a1eb4dd70 GUAC-1170: Use separately-declared key widths. 2015-04-28 18:36:54 -07:00
Michael Jumper
6f99e3f1ab GUAC-1170: Fix coercion of key definition into key array (missing name). Use CSS style names compatible with 0.9.6 and older OSK. 2015-04-28 18:15:35 -07:00
Michael Jumper
7554441869 GUAC-1170: Add each associated key to the DOM. Expose keys predictably within OSK object, even if shorthand is used in the layout definition object. 2015-04-28 17:38:57 -07:00
Michael Jumper
ddf44817c8 GUAC-1170: Retrieve associated keys for each key in layout. 2015-04-28 17:05:08 -07:00
Michael Jumper
3e1e59c58f GUAC-1170: Derive keysym from title. 2015-04-28 16:41:08 -07:00
Michael Jumper
71e2198420 GUAC-1170: Parse layout structure. 2015-04-28 16:33:17 -07:00
Michael Jumper
29a0bc6387 GUAC-1170: Migrate to JSON representation, at least in spirit. 2015-04-28 14:55:09 -07:00
Michael Jumper
17fd23baf0 GUAC-1170: Use keyLocation only if necessary. 2015-04-27 15:05:50 -07:00
Michael Jumper
04303d8eec GUAC-1170: Use AudioContext if available, in favor of webkitAudioContext. 2015-04-27 15:05:50 -07:00
Michael Jumper
67624e190c GUAC-661: Reset all keys if keyup received for unknown key. 2015-04-26 13:25:34 -07:00
David Dvora
aad8bf8d2c GUAC-1082: HTTP tunnel fails to reconnect 2015-03-31 12:18:05 -07:00
Michael Jumper
5ee2cb6da1 GUAC-1018: Bump version in Version.js of guacamole-common-js (incorrect since 0.9.4). 2015-02-15 21:11:51 -08:00
david
28ce81a4d9 GUAC-1084: ChainedTunnel does not support reconnect 2015-02-12 14:48:39 +02:00
Michael Jumper
efde5fe46b GUAC-998: Prefer to use keysym from recent keydown, rather than keysym from keycode alone. 2015-02-05 18:04:52 -08:00
James Muehlner
466aa8ba2d GUAC-928 Always send error codes as numbers, not strings. 2014-12-04 23:51:16 -08:00
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