d5e1b88cdc
Use addEventListener(), only ignore key event if truly unknown (might have keyIdentifiier, but no keycode).
Michael Jumper2012-08-02 00:53:22 -07:00
ce0bade000
Only take parent into account if actually relevant to positioning.
Michael Jumper2012-08-01 11:33:39 -07:00
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).
Michael Jumper2012-07-30 15:00:45 -07:00
3e8d14e699
Clean up handling of viewport-relative coordinates. Modify absolute touch support to properly handle scrolled viewport.
Michael Jumper2012-07-29 20:57:45 -07:00
182f8e891a
Ignore absolute touch events if more than one touch.
Michael Jumper2012-07-29 17:27:47 -07:00
2f6dbde5da
Use event-queue heuristics to detect and ignore mouse events caused by touch events.
Michael Jumper2012-07-29 17:13:33 -07:00
48ca5200b9
Always read/write Guacamole protocol in UTF-8.
Michael Jumper2012-07-24 15:33:44 -07:00
8f8b41fe8b
Use timeout only as failsafe. Send key events immediately when we know we will handle via keypress or keydown.
Michael Jumper2012-06-20 22:46:53 -07:00
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).
Michael Jumper2012-05-16 13:36:28 -07:00
aa7c38be32
Should be using clearTimeout(), not clearInterval() for timeout.
Michael Jumper2012-05-16 10:40:06 -07:00
685f07ed75
Don't wait for keypress if keycode well defined. Define space via keycode (some browsers interpret "space" as scroll down).
Michael Jumper2012-05-16 10:36:37 -07:00
49fa2723a9
Only send release for ctrl+alt when both are pressed (we assume Ctrl+Alt == AltGr in the context of keypress).
Michael Jumper2012-05-14 13:54:44 -07:00
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.
Michael Jumper2012-05-14 13:44:17 -07:00
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.
Michael Jumper2012-05-14 13:21:43 -07:00
76fd31bd53
Properly offset mouse by document scroll amount (Firefox/Chrome, etc. inconsistency) - fixes ticket #124.
Michael Jumper2012-05-01 14:33:31 -07:00
f91580788b
Clipboard which can be activated/used from within the touch menu.
Michael Jumper2012-04-29 00:01:00 -07:00
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).
Michael Jumper2012-04-19 15:36:21 -07:00
b2bcaef681
Fix non-left mouse button clicks (there may not be one touchstart event per touch). Fix setting/resetting of gesture_in_progress flag.
Michael Jumper2012-04-09 13:57:58 -07:00
5e0c6d8c51
Only send integer coordinates in mouse events.
Michael Jumper2012-04-08 21:51:35 -07:00
936e47911a
Alter viewportClone into actual scrollable viewport, where all previously fixed elements are now absolute. Fixes issues on iPad and other tablets where reflowing of page did not reflow touch areas. Fixes issue where typing via native OSK automatically scrolled up to the top of the view.
Michael Jumper2012-04-06 11:53:32 -07:00
041f22563c
Revert fixes for iPad #90 due to performance regression - can avoid bug in libguac-client-rdp and friends until it is fixed upstream.
Michael Jumper2012-04-05 15:29:55 -07:00
aaf72463b1
Use larger image with background for devices which extract bookmark icon from "apple-touch-icon" meta tag.
Michael Jumper2012-04-04 13:02:26 -07:00
b497d28c4f
Set autocorrect and autocapitalize off for username/password.
Michael Jumper2012-04-03 14:59:42 -07:00
6e835dacdc
More efficient blocking, leveraging the now-necessary image data copy.
Michael Jumper2012-04-03 02:35:32 -07:00