Commit Graph
51 Commits
Author SHA1 Message Date
Michael Jumper 45e5a60962 Explicitly detect mimetype support using test sounds. Fallback to canPlayType(). 2012-09-12 02:48:24 -07:00
Michael Jumper 15758cc662 Implement file:// URI resource support in client. 2012-09-11 18:31:52 -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 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 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 f0ac6f8969 Merge branch 'touch-toolbar' into unstable
Conflicts:
	src/main/webapp/scripts/interface.js
2012-04-08 17:50:53 -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 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 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 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 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 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 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 64248bb181 Fade out display on error. 2012-03-13 21:45:01 -07:00
Michael Jumper 64b8bb0295 Do not require classList. 2012-03-01 12:56:21 -08:00
Michael Jumper a0d81dbbba Showing menu whenever mouse leaves document is too aggressive ... just using menuControl for now (see #94). 2012-02-23 15:46:11 -08:00
Michael Jumper 29cb34d2a1 Move mouse events to new display. 2012-02-16 21:41:17 -08:00
Michael Jumper cbb6490129 Refactor supporting recent changes to guacamole-common-js (removal of getLayers() from Guacamole.Client, changes to Guacamole.Client constructor prototype, and addition of Guacamole.Client.getDisplay()). 2012-02-14 23:02:09 -08:00
Michael Jumper 82cb28062d Reduced duration of long-press detect from 1 second to 800 milliseconds (Thanks, Luca) 2012-01-31 21:12:40 -08:00
Michael Jumper a38d65f63a Determine size of viewport using element stretched to fit view. 2012-01-24 21:05:01 -08:00
Michael Jumper 66f11d5c57 Open menu on long-press. 2012-01-24 18:24:05 -08:00
Michael Jumper db69e717a0 Combine menu status and error dialog into central status text. 2012-01-24 15:52:16 -08:00
Michael Jumper e4b82bee3a Use new onkeydown / onkeyup. 2012-01-23 15:15:03 -08:00
Michael Jumper e4ba210020 Experimental auto-scroll of UI when mouse goes offscreen. 2012-01-23 12:06:46 -08:00
Michael Jumper 0beb9165f4 Experimental mobile-friendly keyboard layout. 2012-01-23 10:05:01 -08:00
Michael Jumper 05318c490a Set size in keyboard layout, migrate to new on-screen keyboard API, update keyboard style. 2012-01-19 15:33:59 -08:00
Michael Jumper 6e3ff98b5a Cleaned up menu shading code. 2011-12-19 17:01:41 -08:00
Michael Jumper 5048d171d5 Improved menu hiding behavior and style. 2011-12-19 16:45:23 -08:00
Michael Jumper 6cfde7df70 Initial fixes for buggy menu hiding feature. 2011-12-19 15:56:12 -08:00
Michael Jumper 3544842514 Fixed confusing "Idle" error handling, improved scoping of UI elements and behavior. 2011-12-12 20:21:04 -08:00