7054 Commits

Author SHA1 Message Date
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
Michael Jumper
d4aabf013b Assume space cap if blank (blank caps would otherwise not render, and IE trims the contents of XML tags, which breaks the OSK spacebar). 2012-03-25 13:37:16 -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
50d8e4c319 Remove use of X-Guacamole-Error-Message header, return null rather than throwing exception when config not found. 2012-03-24 22:48:29 -07:00
Michael Jumper
fbec97f356 Actually send the error code specified... 2012-03-24 22:45:47 -07:00
Michael Jumper
aa7c16f67d Improved handling of no tunnel. 2012-03-24 22:19:24 -07:00
Michael Jumper
36f4d68991 JavaDoc. 2012-03-24 22:06:15 -07:00
Michael Jumper
9b36638bf3 Use appropriate exceptions where possible, turn exceptions into appropriate error codes. 2012-03-24 22:03:52 -07:00
Michael Jumper
f42fe962e2 Distinct client/server exceptions. 2012-03-24 20:16:05 -07:00
Michael Jumper
d2198016c0 Added three new exception types. 2012-03-24 20:09:12 -07:00
Michael Jumper
b80ede52a4 Generic error messages from status codes. 2012-03-24 19:13:32 -07:00
Michael Jumper
e6249fbf5b Do not use X-Guacamole-Error-Message - use status code only. 2012-03-24 16:57:58 -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
497552bbf6 Removed unused import. 2012-03-23 22:41:37 -07:00
Michael Jumper
55639817b4 Read event listeners from properties. 2012-03-23 17:34:24 -07:00
Michael Jumper
fa10dba566 Automatically attach tunnel. 2012-03-23 16:03:36 -07:00