Commit Graph

5671 Commits

Author SHA1 Message Date
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
Michael Jumper
022c66c31f Fixed project URL. 2012-03-26 18:51:36 -07:00
Michael Jumper
34e0292e0e Fixed project URL. 2012-03-26 18:51:23 -07:00
Michael Jumper
e8ee79a5b0 Fixed project URL. 2012-03-26 18:51:16 -07:00
Michael Jumper
57c5694142 Fixed project URL. 2012-03-26 18:51:08 -07:00
Michael Jumper
147829ad7c Should be able to retrieve the configuration associated with a socket. 2012-03-26 13:46:20 -07:00
Michael Jumper
8a17e6592e Make Credentials as serializable as possible. 2012-03-26 12:34:36 -07:00
Michael Jumper
3086c081dd Get ClassLoader within doPrivileged(). 2012-03-26 12:34:04 -07:00
Michael Jumper
5027be97bc Close guacamole.properties when done. 2012-03-26 12:33:36 -07:00
Michael Jumper
13d82c6a38 Removed unused field. 2012-03-26 12:05:45 -07:00
Michael Jumper
fae54e2cca Removed unused error string. 2012-03-26 11:59:53 -07:00
Michael Jumper
1c7a82c286 Include exceptions in logger errors. 2012-03-26 11:52:22 -07:00
Michael Jumper
e476350314 Fixed logger usage. 2012-03-26 11:51:14 -07:00
Michael Jumper
762c84f25f Add isOpen() to socket and tunnel. Add getSocket() to tunnel. 2012-03-26 11:34:42 -07:00
Michael Jumper
4b72a166ec Remove use of Apache Commons. 2012-03-26 11:14:27 -07:00
Michael Jumper
fd4b4610ae Should send "403 - Forbidden" for security exceptions, not "401 - Unauthorized". 2012-03-25 23:09:40 -07:00
Michael Jumper
7e240f8cce It is a security error to request a config that does not exist. 2012-03-25 23:05:50 -07:00
Michael Jumper
631ec6120e Change "Connection does not exist" to more user-friendly error. 2012-03-25 23:03:54 -07:00
Michael Jumper
3b7b8382a3 Add error for status code of 0. 2012-03-25 17:56:33 -07:00