Commit Graph
100 Commits
Author SHA1 Message Date
Michael Jumper 4e91f312ed Fix mousewheel support. 2012-02-23 10:23:36 -08:00
Michael Jumper 27ec480ccb No capture for anything. 2012-02-22 15:23:10 -08:00
Michael Jumper 3f2a79fd0f Use addEventListener() for mouse, fix handling of mouseout. 2012-02-22 15:14:27 -08:00
Michael Jumper 5c92d65234 Implement dispose instruction. 2012-02-20 12:48:26 -08:00
Michael Jumper 3019b4d5cd Layer should preserve composite operation through resize. 2012-02-15 12:26:56 -08:00
Michael Jumper ebc5caac28 Application should hide cursor. Do not require CSS class definitions. 2012-02-15 10:17:27 -08:00
Michael Jumper f6bf6c4aaa Support for new buffered cursor instruction. 2012-02-15 10:10:49 -08:00
Michael Jumper 663a3544ce Wrong location for declaration. 2012-02-14 23:07:39 -08:00
Michael Jumper 8cd1b3a857 Added pre-defined channel mask constants. Setting cursor layer to Guacamole.Layer.SRC. 2012-02-14 22:58:52 -08:00
Michael Jumper d62342f6ee Move cursor layer, rather than redrawing cursor image. 2012-02-14 21:11:38 -08:00
Michael Jumper 2b342c3864 Initial support for move instruction and layer containers. 2012-02-14 20:46:48 -08:00
Michael Jumper ceca1570b0 Modify to support new size instruction format (stub). 2012-02-11 22:00:18 -08:00
Michael Jumper 776054e33b Correct description of touch support. 2012-02-09 10:43:25 -08:00
Michael Jumper 902cef5db6 Must only check response if readyState >= 2. 2012-02-09 10:01:55 -08:00
Michael Jumper 0209bf448a Synchronize layers properly in copy. 2012-01-30 00:53:13 -08:00
Michael Jumper 684dcdd33f Properly block source layer until copy to destination is complete. 2012-01-26 11:48:19 -08:00
Michael Jumper 8cc8ad9e5e Handle events via addEventListener(). This solves an issue with touch events firing twice (they were firing once for bubble and once for capture). With addEventListener(), they fire once. 2012-01-24 22:56:53 -08:00
Michael Jumper 692186f0c9 Track pressed status of keys. Only release/press keys if not already in that status. 2012-01-23 15:24:35 -08:00
Michael Jumper 4aef4fe804 Added DTD for keyboard XML. 2012-01-23 15:18:16 -08:00
Michael Jumper a25bf0f103 Add call for key events, refactor to onkeydown and onkeyup. 2012-01-23 15:14:47 -08:00
Michael Jumper ff6ca004db Round to nearest tenth, rather than integer. 2012-01-23 13:48:30 -08:00
Michael Jumper 08c3a8344a Release key on mouse out. 2012-01-23 10:51:12 -08:00
Michael Jumper 5ca6a2cacf Support for user-defined classes in keyboard XML. 2012-01-23 10:41:39 -08:00
Michael Jumper aa5b07761e Use pressed classname for pressed keys. 2012-01-23 10:04:27 -08:00
Michael Jumper c210444fac Track pressed state for modifiers globally. Do not track pressed state of non-modifiers. 2012-01-21 12:58:44 -08:00
Michael Jumper 53683c90d2 Only modifier states should toggle. 2012-01-21 12:53:59 -08:00
Michael Jumper 61fcf959b3 Toggle modifier pressed states. 2012-01-21 12:53:18 -08:00
Michael Jumper 7e6ad2d953 Initial version of onclick for keys, improved classes. 2012-01-21 12:06:43 -08:00
Michael Jumper 6149a33738 Better classname assignment for keycaps, restructure of keyboard (keyboard/key-container(s)/key/cap(s)). 2012-01-20 22:33:14 -08:00
Michael Jumper 2c0bee0890 Store caps by modifier in keys within central key array. 2012-01-20 13:57:32 -08:00
Michael Jumper 80795f656f Resizable elements. 2012-01-19 15:05:53 -08:00
Michael Jumper 1a88b26c98 Improved placement and available classes. 2012-01-19 14:25:42 -08:00
Michael Jumper 7ddc68e707 Style key containers, add line-height. 2012-01-19 12:07:53 -08:00
Michael Jumper eac5670487 Fixed style and positioning. 2012-01-19 11:47:41 -08:00
Michael Jumper 284932480c Set key size, improve class names. 2012-01-19 11:22:49 -08:00
Michael Jumper 4482fc4530 Fixed parsing. 2012-01-19 11:19:02 -08:00
Michael Jumper a8de72ac42 Refactor XML parse, use getElement() instead of overriding DOM. 2012-01-19 10:39:39 -08:00
Michael Jumper 0281657078 Added Task.unblock(), updated block check and update handling mechanism. 2012-01-12 10:48:31 -08:00
Michael Jumper e776fbfcec Fix race condition where the source of a copy operation may be altered before the destination is drawn to (thus the copy may not always copy what we THINK it should be copying, especially if many buffers are repeatedly used and quickly discarded). 2012-01-10 23:06:28 -08:00
Michael Jumper 0a4931cb41 Copying from a buffer with no width/height should not fail. Hard exceptions in handlers causes layer task handling to stall. 2012-01-10 11:37:10 -08:00
Michael Jumper 6fc6122e67 Only send sync response if timestamp is changing. 2012-01-08 23:47:07 -08:00
Michael Jumper b4d135c3f1 Automatically ping every 5 seconds. 2012-01-08 20:20:04 -08:00
Michael Jumper b4ee710b6f Prevent mouse from leaving screen when moved via touch events. 2011-12-19 20:46:46 -08:00
Michael Jumper 745a83f0d8 Fixed typo in README 2011-12-13 18:41:20 -08:00
Michael Jumper bb5ce4bf32 Removed unused repo. 2011-12-12 21:27:43 -08:00
Michael Jumper 86dc877483 Removed SSH plugin requirement and dist management. 2011-12-12 21:26:33 -08:00
Michael Jumper 70531a534d Added changelog. 2011-12-11 23:50:28 -08:00
Michael Jumper 08d2eb731e Added README. 2011-12-11 15:35:56 -08:00
Michael Jumper ece9aa850e Fixes ticket #61 - adds catches where necessary to handle errors thrown only by IE. 2011-12-11 12:21:34 -08:00
Michael Jumper d5b093023f Fix errors in IE due to lack of textContent support. 2011-12-11 12:04:27 -08:00
Michael Jumper e362394d10 Removing WebSocket tunnel for stable release. It will be back. 2011-12-10 14:31:47 -08:00
Michael Jumper 935088d9d4 Relicensed as Mozilla/LGPL/GPL. 2011-12-04 17:15:18 -08:00
Michael Jumper b3ebfeb2cf Bumped versions to 0.5.0. 2011-11-04 15:20:15 -07:00
Michael Jumper 87387c5cb8 Code cleanup. 2011-10-11 15:31:01 -07:00
Michael Jumper 49dd332ad9 Updated comments 2011-09-16 06:16:41 +00:00
Michael Jumper f29a101537 Partial implementation of new format instructions in output. 2011-09-11 16:10:38 -07:00
Michael Jumper 5e92911073 Support for new instruction format. 2011-09-10 19:09:17 -07:00
Michael Jumper 970665f037 Automatically handle relative URLs. 2011-09-02 13:40:58 -07:00
Michael Jumper b6246041dd Working initial implementation of websocket tunnel. 2011-09-01 15:39:02 -07:00
Michael Jumper 50ff738cda Drag support. 2011-08-29 14:31:23 -07:00
Michael Jumper 98a5f06120 Tap support, ignore mouse events while touch events are in progress. 2011-08-27 12:13:10 -07:00
Michael Jumper 1e47ace656 Changed simulated mouse to simulated touchpad. Temporary lack of tap support. 2011-08-26 16:44:49 -07:00
Michael Jumper 68de09b857 Merge branch 'unstable' into touch-support
Conflicts:
	src/main/resources/mouse.js
2011-08-26 14:00:14 -07:00
Michael Jumper b7a5cc7013 Fixed layer resize(), avoid multiple handlePengingTasks() calls 2011-08-18 18:00:45 -07:00
Michael Jumper 6c41eb5aad Alpha for rgba() is from 0.0 to 1.0, not 0 to 255. 2011-08-09 16:08:18 -07:00
Michael Jumper d0155cdf52 Rect and clip instructions. 2011-07-21 15:16:19 -07:00
Michael Jumper b5a81afe87 Fixed message generation logic. 2011-07-13 11:09:14 -07:00
Michael Jumper b567591395 Client now handles tunnel errors. 2011-07-13 00:17:34 -07:00
Michael Jumper 0452f36f04 Tunnel JSDoc. 2011-07-10 20:49:38 -07:00
Michael Jumper 4b4f21e9ab More JSDoc and cleanup. 2011-07-09 09:12:06 -07:00
Michael Jumper a4d810969d Cleanup, JSDoc for keyboard events. 2011-07-08 09:16:52 -07:00
Michael Jumper 5ea2be369c Some JSDoc for keyboard, cleaned up keymap. 2011-07-07 23:48:32 -07:00
Michael Jumper 3684bc5522 Fixed type error in copy rect of Layer. 2011-07-07 23:28:06 -07:00
Michael Jumper aea01a5cdb Better mouse state object, more JSDoc, cleanup. 2011-07-07 23:19:19 -07:00
Michael Jumper 867e64637f Fixed autosize -> layer.autosize. 2011-07-06 15:33:11 -07:00
Michael Jumper 649d873373 Finished JSDoc of Layer, more cleanup. 2011-07-06 14:39:50 -07:00
Michael Jumper 086192f414 More JSDoc, renamed Update to Task, fixed wording. 2011-07-06 13:14:40 -07:00
Michael Jumper c7b880d1bc More JSDoc. 2011-07-05 23:08:34 -07:00
Michael Jumper 3e65c46204 JSDoc + namespace, some cleanup. 2011-07-05 22:13:45 -07:00
Michael Jumper bd477daa2c More migration to traditional JS events. 2011-07-05 10:16:03 -07:00
Michael Jumper 5815f79eef Migrating to traditional JS handlers. 2011-07-04 14:25:52 -07:00
Michael Jumper fbce63ea64 Removed keymap (merged into keyboard), fixed JS semicolons, etc. 2011-07-03 15:32:06 -07:00
Michael Jumper 567c4a4a11 Experimental working touch-based mouse. 2011-06-09 09:25:47 -07:00
Michael Jumper 23ed11a933 Updated version numbers to 0.4.0 2011-05-27 13:46:03 -07:00
Michael Jumper 2d7f30ed7b Fixed initial draw location for new cursors 2011-05-18 14:24:45 -07:00
Michael Jumper 6f80c9f730 Fixed issue with moving cursor when icon updates. 2011-05-17 13:32:32 -07:00
Michael Jumper 00d4cf6858 Release mouse buttons if mouse leaves browser window. 2011-04-26 12:31:20 -07:00
Michael Jumper 0eb351e467 Error handling, added data submission for connect. 2011-04-08 22:41:31 -07:00
Michael Jumper 92d68a3987 Added support for multiple tunnels (tunnel UUID returned by connect). 2011-04-08 16:28:33 -07:00
Michael Jumper f6c2d0c88f Fixed potential layer sync issue (if multiple layers are used, and multiple layers are ready, multiply unnecessary sync responses may be sent for a single sync instruction) 2011-04-03 00:53:00 -07:00
Michael Jumper 64224d0937 Fixed copyrect: although synchronization was properly established, draw jobs were not properly reserved in the destination layer, so draw operations would NOT block (synchronized on source only), resulting in draw race conditions. In a copy, the destination layer should block until the source layer is ready. 2011-04-02 23:53:30 -07:00
Michael Jumper 8a6595e2db Fixed typo in copy. 2011-04-01 01:58:41 -07:00
Michael Jumper 3beb7ec1f0 Added channel mask. 2011-03-30 00:29:44 -07:00
Michael Jumper cace921202 Support for sync instruction 2011-03-11 19:43:13 -08:00
Michael Jumper 87c1b4b1e4 Removed unnecessary (and often ignored) setting of Content-length header 2011-03-08 22:04:15 -08:00
Michael Jumper aa0805595a Added missing semicolons, improved state handling 2011-03-08 21:42:43 -08:00
Michael Jumper cfebdb2cf3 Added disconnect function to tunnel, added automatic disconnect on error receipt in client. 2011-03-08 21:08:59 -08:00
Michael Jumper 4f656c2e94 Revert "Added busy handlers for layer, implemented ready instruction handling in client"
This reverts commit 7c3ceb1245a5e2a838811c10599b47b1578a5cf9.
2011-03-06 17:02:18 -08:00
Michael Jumper de352e7dff Added busy handlers for layer, implemented ready instruction handling in client 2011-03-05 14:47:50 -08:00
Michael Jumper 22f6c24f9b Fixed error in call to redrawCursor() and layer 2011-03-02 17:21:26 -08:00