Commit Graph

6989 Commits

Author SHA1 Message Date
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
Michael Jumper
5e0c6d8c51 Only send integer coordinates in mouse events. 2012-04-08 21:51:35 -07:00
Michael Jumper
47b9e43559 Mouse acceleration. 2012-04-08 21:51:00 -07:00
Michael Jumper
df595d46ec Avoid crazy accelerating autoscroll by using clientX/clientY instead of screenX/screenY. 2012-04-08 21:22:09 -07:00
Michael Jumper
f0ac6f8969 Merge branch 'touch-toolbar' into unstable
Conflicts:
	src/main/webapp/scripts/interface.js
2012-04-08 17:50:53 -07:00
Michael Jumper
cc7d1df3ff Fix sizing of page due to touch menu. 2012-04-08 17:30:00 -07:00
Michael Jumper
0c1260aa32 Fix touch button rendering. 2012-04-08 17:17:38 -07:00
Michael Jumper
374284d833 Only handle onclick with menu buttons - touch start is not reliable for setting focus. 2012-04-08 16:51:09 -07:00
Michael Jumper
f8f48f551a Automatically reposition event target on focus in case browser automatically centers input fields. 2012-04-08 16:31:11 -07:00
Michael Jumper
1cdcae9281 Remove testing styles. 2012-04-08 16:30:39 -07:00
Michael Jumper
a3f411c126 Automatically reposition event target on scroll. 2012-04-08 16:24:52 -07:00
Michael Jumper
14ec0db8de Pop up menu in center, but do not rely on position: fixed. 2012-04-08 16:11:17 -07:00
Michael Jumper
5384de93e8 Implement touch-specific menu. 2012-04-08 15:56:11 -07:00
Michael Jumper
1f4af24ae6 Stop long press detection when scrolling. 2012-04-08 14:43:42 -07:00
Michael Jumper
877bcfea13 Reverted viewport fixes due to Android regression. 2012-04-06 13:20:46 -07:00
Michael Jumper
7fde111c1b Simplify autoscroll. 2012-04-06 13:07:46 -07:00
Michael Jumper
eaa233520c Calculate mouse position including scroll of overflow elements (cannot rely on pageX/Y). 2012-04-06 12:38:24 -07:00
Michael Jumper
be4d86cfc2 Forgot to commit styles. 2012-04-06 11:56:18 -07:00
Michael Jumper
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. 2012-04-06 11:53:32 -07:00
Michael Jumper
041f22563c Revert fixes for iPad #90 due to performance regression - can avoid bug in libguac-client-rdp and friends until it is fixed upstream. 2012-04-05 15:29:55 -07:00
Michael Jumper
aaf72463b1 Use larger image with background for devices which extract bookmark icon from "apple-touch-icon" meta tag. 2012-04-04 13:02:26 -07:00
Michael Jumper
b497d28c4f Set autocorrect and autocapitalize off for username/password. 2012-04-03 14:59:42 -07:00
Michael Jumper
6e835dacdc More efficient blocking, leveraging the now-necessary image data copy. 2012-04-03 02:35:32 -07:00
Michael Jumper
9e1d2b2442 Fix iPad synchronization issue (ticket #90). 2012-04-03 02:18:47 -07:00
Michael Jumper
f6868b8661 "device" not "display" (typo). Switch back to two-finger scroll. 2012-04-01 18:52:49 -07:00
Michael Jumper
ff20799b29 Provide means of retrieving scale. 2012-04-01 18:52:06 -07:00
Michael Jumper
818f081bb5 Set scroll and click thresholds relative to screen pixel density (if readable) and size of gesture. 2012-04-01 18:20:18 -07:00
Michael Jumper
dcf55cbd75 Add scale function, use bounding div for main display element, such that the display can be scaled independently of the surrounding div, which provides the layout. 2012-04-01 01:07:14 -07:00
Michael Jumper
d31a137940 Allow multi-touch gestures to cancel long press detection. 2012-03-30 23:15:53 -07:00
Michael Jumper
5e2858a413 Move all thresholds into properties, implement scrollwheel via touch. 2012-03-30 23:12:19 -07:00
Michael Jumper
e22296bbff Check for last touch by verifying touch length 0, not 1. Fix wrong use of max() (should be min). 2012-03-30 22:59:46 -07:00
Michael Jumper
ed3d12fbce Implement right and middle-click. 2012-03-30 22:48:22 -07:00
Michael Jumper
d891b90f67 Assume text inserted in eventTarget at end (cannot rely on selectionStart or selectionEnd). Reset eventTarget value when focus gained. 2012-03-30 22:10:20 -07:00
Michael Jumper
21db2579a8 Turn "autocorrect" and "autocapitalize" off via JS, use CSS transform to translate menu (not top/left), use state tracking of keyboard. 2012-03-30 00:02:40 -07:00
Michael Jumper
fa96143884 Move layers using translation via matrices - do not use CSS top/left. 2012-03-29 23:48:45 -07:00
Michael Jumper
b0196b89f1 Partial cleanup, track and expose key and modifier states. 2012-03-29 23:11:13 -07:00
Michael Jumper
c1831f3db0 Cancel ALL keyboard events if the event target is not focused. If the event target IS focused, only cancel events which will not result in typed characters. 2012-03-29 17:51:49 -07:00
Michael Jumper
8c7b883d55 Fixed regression with key repeat. 2012-03-29 17:42:34 -07:00
Michael Jumper
2e7603bf11 Only cancel key events if they are non-typable. Track key states to avoid doubling of keystrokes via oninput. Do not reset value of eventTarget. (All necessary to avoid resetting the state of mobile keyboards when typing into eventTarget) 2012-03-29 10:51:12 -07:00
Michael Jumper
eca34b24fb Allow user of API to decide whether keyboard events are canceled. 2012-03-29 10:05:38 -07:00