Commit Graph

139 Commits

Author SHA1 Message Date
Michael Jumper
d5d4d506c0 Send size event on window resize. 2012-10-23 10:41:31 -07:00
Michael Jumper
fce54be8df Pass width/height to tunnel. 2012-10-23 00:40:22 -07:00
Michael Jumper
917d532431 Use new Guacamole.Mouse.Touchpad. 2012-07-27 23:42:53 -07:00
Michael Jumper
5456b0dbc9 Blur touch clipboard on clipboard hide (fixes #142). 2012-06-03 17:52:28 -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
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
b701b0e6b0 Blur username/password on submit. 2012-04-09 15:35:46 -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
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
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
d31a137940 Allow multi-touch gestures to cancel long press detection. 2012-03-30 23:15:53 -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
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
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
757ddec1ae Add default connection name, do not hide cursor after error, remove old classes. 2012-03-24 22:57:40 -07:00
Michael Jumper
0f2c1c01aa Cleaned up styling slightly, fixed display of reconnect button. 2012-03-23 23:48:19 -07:00
Michael Jumper
356f7d79b0 Need overflow: hidden for software-cursor, otherwise the cursor exiting the side of the display actually extends the display, and the mouse pointer can be moved off the display entirely if moved slowly enough. 2012-03-23 23:33:08 -07:00
Michael Jumper
be0a0a0226 No need for constant "GUAC" or reselection. Added oninput handler such that voice input, etc. will also work! 2012-03-23 23:18:41 -07:00
Michael Jumper
6bcb4aa2d5 Parameters must be passed along to configs servlet. Connection URLs need not contain authentication parameters, as they will already have been passed to the configs servlet. Forward parameters along to login servlet if available. 2012-03-23 01:29:49 -07:00
Michael Jumper
00bbfe71f3 Fix URLs in connection list, add getClientURL() function for constructing the URL for a client connected to an arbitrary connection. Pass any GET parameters along. 2012-03-23 01:17:08 -07:00
Michael Jumper
12d206e73d Pass ALL parameters through connect, allowing arbitrary additional parameters to be used for authentication. Previously, only an "id" parameter was passed to connect, and the contents of that parameter was the entire query string. 2012-03-23 01:00:43 -07:00
Michael Jumper
6b4d49d697 Use screenX/screenY for touch. 2012-03-22 17:28:17 -07:00
Michael Jumper
2ac866ad32 Add constants for previously hard-coded values. 2012-03-22 14:02:44 -07:00
Michael Jumper
6c124ccb71 Add movement threshold for long-press cancel, move handling of menu close on mouse movement to better place. Handle mouse close on touch separately. 2012-03-22 13:46:11 -07:00
Michael Jumper
2ef57e248f Include status in title. 2012-03-22 13:01:15 -07:00
Michael Jumper
41e7bc7834 Second press of "Show Keyboard" should show the guac OSK if the native OSK is already in use. 2012-03-21 23:14:47 -07:00
Michael Jumper
0c48a7898a Rename assumeNativeOSK to nativeOSK, automatically reset nativeOSK to false if menu open initiated by mouse. 2012-03-21 22:09:13 -07:00
Michael Jumper
a10a7886a9 Going back to the old 0-0-0-0-0 method of hiding the text area... as doing otherwise causes issues with focus and "Enter" on Android. 2012-03-21 19:19:04 -07:00
Michael Jumper
eb71eb305f Do not restrict width of hidden text area (can cause bumping of the screen as the screen scrolls to follow the cursor as it wraps to a new line in the zero-width area). Hide off bottom right (instead of upper left). 2012-03-21 18:58:12 -07:00
Michael Jumper
21b46e7bdf Locate event target off screen, in case platform doesn't support opacity of text areas (Android 4, for example). 2012-03-21 18:25:04 -07:00
Michael Jumper
94d0b001bb Automatically reset text area on keyboard events if native OSK is enabled/assumed. Hide text area via CSS. 2012-03-21 16:42:01 -07:00
Michael Jumper
0c4c47ecc4 Add text field event target, focus event target if "Show Keyboard" is clicked and use exposed the menu via long-press. Ensure backspace always sends a key event by always keeping text within the event target. 2012-03-21 16:10:49 -07:00
Michael Jumper
8a7905e605 Style logout button like the rest of the buttons in guac. 2012-03-20 11:08:37 -07:00