Commit Graph

1128 Commits

Author SHA1 Message Date
Michael Jumper
bdd0ab250f Remove trailing whitespace. 2012-08-09 11:08:20 -07:00
Michael Jumper
d5e1b88cdc Use addEventListener(), only ignore key event if truly unknown (might have keyIdentifiier, but no keycode). 2012-08-02 00:53:22 -07:00
Michael Jumper
ce0bade000 Only take parent into account if actually relevant to positioning. 2012-08-01 11:33:39 -07:00
Michael Jumper
e90eec79e4 Simpler heuristic for handling touch-generated mouse events (disable handling of mouse events upon receipt of a touch event until a specified number of mousemove events have been received). 2012-07-30 15:00:45 -07:00
Michael Jumper
3e8d14e699 Clean up handling of viewport-relative coordinates. Modify absolute touch support to properly handle scrolled viewport. 2012-07-29 20:57:45 -07:00
Michael Jumper
182f8e891a Ignore absolute touch events if more than one touch. 2012-07-29 17:27:47 -07:00
Michael Jumper
2f6dbde5da Use event-queue heuristics to detect and ignore mouse events caused by touch events. 2012-07-29 17:13:33 -07:00
Michael Jumper
917d532431 Use new Guacamole.Mouse.Touchpad. 2012-07-27 23:42:53 -07:00
Michael Jumper
50567d401b Fix setting of state within touchscreen events. 2012-07-27 23:00:00 -07:00
Michael Jumper
0da51499fe First basic absolute pointer implementation. 2012-07-27 23:00:00 -07:00
Michael Jumper
1c363ec37b Stubbed out Guacamole.Mouse.Touchscreen. 2012-07-27 23:00:00 -07:00
Michael Jumper
6800bd7329 Cleaned up Guacamole.Mouse.Touchpad and docs. 2012-07-27 22:59:59 -07:00
Michael Jumper
afdc4ed536 Split Guacamole.Mouse into Guacamole.Mouse (mouse event handling) and Guacamole.Mouse.Touchpad (touch event translation handling). 2012-07-27 22:59:59 -07:00
Michael Jumper
078322f808 Do not handle keypress if we already handled the event in keydown. 2012-07-27 13:21:45 -07:00
Michael Jumper
4e72a2d4a6 Remove excessive layer of buffering. 2012-07-25 10:11:10 -07:00
Michael Jumper
48ca5200b9 Always read/write Guacamole protocol in UTF-8. 2012-07-24 15:33:44 -07:00
Michael Jumper
8f8b41fe8b Use timeout only as failsafe. Send key events immediately when we know we will handle via keypress or keydown. 2012-06-20 22:46:53 -07:00
Michael Jumper
5456b0dbc9 Blur touch clipboard on clipboard hide (fixes #142). 2012-06-03 17:52:28 -07:00
Michael Jumper
03486264d1 Implement size for buffers. 2012-05-17 00:23:52 -07:00
Michael Jumper
88e2a7d500 Renamed deferred handler. 2012-05-16 15:32:46 -07:00
Michael Jumper
6cc12e88f9 preventDefault() in keypress, too. 2012-05-16 13:38:28 -07:00
Michael Jumper
a650a4a6ec As keydown/keypress are handled via deferred setTimeout(), so should keyup (otherwise, there's a race condition that keyup might happen before the deferred handling of keydown/keypress, and the key might be effectively stuck down or in a repeating state). 2012-05-16 13:36:28 -07:00
Michael Jumper
aa7c38be32 Should be using clearTimeout(), not clearInterval() for timeout. 2012-05-16 10:40:06 -07:00
Michael Jumper
685f07ed75 Don't wait for keypress if keycode well defined. Define space via keycode (some browsers interpret "space" as scroll down). 2012-05-16 10:36:37 -07:00
Michael Jumper
0399689177 Ignore unknown key events. 2012-05-16 00:52:16 -07:00
Michael Jumper
49fa2723a9 Only send release for ctrl+alt when both are pressed (we assume Ctrl+Alt == AltGr in the context of keypress). 2012-05-14 13:54:44 -07:00
Michael Jumper
b8ad66ab6e Only release ctrl/alt in keypress handler if character is not a control character. Beware that this causes a regression in Firefox as it sends keypress for Alt+combinations and Ctrl+combinations even though they will not type anything. 2012-05-14 13:44:17 -07:00
Michael Jumper
d3f5d003ea Only cancel keydown if not typable. Release Ctrl and Alt if actually typing a character via keypress (if they are not functioning as Ctrl or Alt). Cancel keydown if Ctrl or Alt (but not both) are held, even if we expect the character to be typable. 2012-05-14 13:21:43 -07:00
Michael Jumper
0abc6b3562 Add keyidentifier map. 2012-05-14 10:15:43 -07:00
Michael Jumper
d6b1985396 Defer handling of keypress via JS event queue. 2012-05-14 09:17:15 -07:00
Michael Jumper
38d8568d95 Updated ChangeLog 2012-05-04 18:59:40 -07:00
Michael Jumper
548fe9e008 Updated ChangeLog 2012-05-04 18:49:39 -07:00
Michael Jumper
f5515d6752 Updated ChangeLog 2012-05-04 18:46:20 -07:00
Michael Jumper
caafb7536a Updated ChangeLog 2012-05-04 18:38:49 -07:00
Michael Jumper
b1e6f64f7e Fix ctrl/alt/super modifier styles. 2012-05-04 15:22:28 -07:00
Michael Jumper
564915ab2e Use non-mobile OSK (now that main supported mobile platforms have working native keyboards). 2012-05-04 14:54:24 -07:00
Michael Jumper
e0510051dd Restore non-mobile keyboard layout (function keys, arrow keys, esc, etc.) 2012-05-04 14:53:42 -07:00
Michael Jumper
76fd31bd53 Properly offset mouse by document scroll amount (Firefox/Chrome, etc. inconsistency) - fixes ticket #124. 2012-05-01 14:33:31 -07:00
Michael Jumper
f91580788b Clipboard which can be activated/used from within the touch menu. 2012-04-29 00:01:00 -07:00
Michael Jumper
af56157ed5 Prompt when logging out from the button in the yellow bar (users may think this will only disconnect the session with the yellow bar in question, when in reality all sessions will be disconnected). 2012-04-19 15:36:21 -07:00
Michael Jumper
fc903e1dd2 Improve logging. 2012-04-19 14:33:31 -07:00
Michael Jumper
b657d6cf6e Add missing handlers for default protocol/parameter. 2012-04-18 12:44:36 -07:00
Michael Jumper
13d9283465 Code cleanup, add backwards compatibility. 2012-04-18 12:31:20 -07:00
Michael Jumper
eccce8866f Fix indentation. 2012-04-18 12:12:34 -07:00
Michael Jumper
3703bf869d Fix wording of error message. 2012-04-18 12:11:17 -07:00
Michael Jumper
436d657db1 Rename remote-server to connection. 2012-04-18 12:08:05 -07:00
Michal Kotas
5508a5b393 Implement multiple authorized connections per user. 2012-04-18 12:02:23 -07:00
Michael Jumper
63685aa048 Position mouse cursor only at integer coordinates. 2012-04-10 22:53:30 -07:00
Michael Jumper
b701b0e6b0 Blur username/password on submit. 2012-04-09 15:35:46 -07:00
Michael Jumper
b2bcaef681 Fix non-left mouse button clicks (there may not be one touchstart event per touch). Fix setting/resetting of gesture_in_progress flag. 2012-04-09 13:57:58 -07:00