guacamole-common-js.git
12 years agoBumped version to 0.6.0
Michael Jumper [Thu, 23 Feb 2012 21:27:08 +0000 (13:27 -0800)]
Bumped version to 0.6.0

12 years agoUpdate cursor position when cursor image/hotspot is updated.
Michael Jumper [Thu, 23 Feb 2012 19:22:15 +0000 (11:22 -0800)]
Update cursor position when cursor image/hotspot is updated.

12 years agoFix mousewheel support.
Michael Jumper [Thu, 23 Feb 2012 18:23:36 +0000 (10:23 -0800)]
Fix mousewheel support.

12 years agoNo capture for anything.
Michael Jumper [Wed, 22 Feb 2012 23:23:10 +0000 (15:23 -0800)]
No capture for anything.

12 years agoUse addEventListener() for mouse, fix handling of mouseout.
Michael Jumper [Wed, 22 Feb 2012 23:14:27 +0000 (15:14 -0800)]
Use addEventListener() for mouse, fix handling of mouseout.

12 years agoImplement dispose instruction.
Michael Jumper [Mon, 20 Feb 2012 20:48:26 +0000 (12:48 -0800)]
Implement dispose instruction.

12 years agoLayer should preserve composite operation through resize.
Michael Jumper [Wed, 15 Feb 2012 20:26:56 +0000 (12:26 -0800)]
Layer should preserve composite operation through resize.

12 years agoApplication should hide cursor. Do not require CSS class definitions.
Michael Jumper [Wed, 15 Feb 2012 18:17:27 +0000 (10:17 -0800)]
Application should hide cursor. Do not require CSS class definitions.

12 years agoSupport for new buffered cursor instruction.
Michael Jumper [Wed, 15 Feb 2012 18:10:49 +0000 (10:10 -0800)]
Support for new buffered cursor instruction.

12 years agoWrong location for declaration.
Michael Jumper [Wed, 15 Feb 2012 07:07:39 +0000 (23:07 -0800)]
Wrong location for declaration.

12 years agoAdded pre-defined channel mask constants. Setting cursor layer to Guacamole.Layer...
Michael Jumper [Wed, 15 Feb 2012 06:58:52 +0000 (22:58 -0800)]
Added pre-defined channel mask constants. Setting cursor layer to Guacamole.Layer.SRC.

12 years agoMove cursor layer, rather than redrawing cursor image.
Michael Jumper [Wed, 15 Feb 2012 05:11:38 +0000 (21:11 -0800)]
Move cursor layer, rather than redrawing cursor image.

12 years agoInitial support for move instruction and layer containers.
Michael Jumper [Wed, 15 Feb 2012 04:46:48 +0000 (20:46 -0800)]
Initial support for move instruction and layer containers.

12 years agoModify to support new size instruction format (stub).
Michael Jumper [Sun, 12 Feb 2012 06:00:18 +0000 (22:00 -0800)]
Modify to support new size instruction format (stub).

12 years agoCorrect description of touch support.
Michael Jumper [Thu, 9 Feb 2012 18:43:25 +0000 (10:43 -0800)]
Correct description of touch support.

12 years agoMust only check response if readyState >= 2.
Michael Jumper [Thu, 9 Feb 2012 18:01:55 +0000 (10:01 -0800)]
Must only check response if readyState >= 2.

12 years agoSynchronize layers properly in copy.
Michael Jumper [Mon, 30 Jan 2012 08:53:13 +0000 (00:53 -0800)]
Synchronize layers properly in copy.

12 years agoProperly block source layer until copy to destination is complete.
Michael Jumper [Thu, 26 Jan 2012 19:48:19 +0000 (11:48 -0800)]
Properly block source layer until copy to destination is complete.

12 years agoHandle events via addEventListener(). This solves an issue with touch events firing...
Michael Jumper [Wed, 25 Jan 2012 06:56:53 +0000 (22:56 -0800)]
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.

12 years agoTrack pressed status of keys. Only release/press keys if not already in that status.
Michael Jumper [Mon, 23 Jan 2012 23:24:35 +0000 (15:24 -0800)]
Track pressed status of keys. Only release/press keys if not already in that status.

12 years agoAdded DTD for keyboard XML.
Michael Jumper [Mon, 23 Jan 2012 23:18:16 +0000 (15:18 -0800)]
Added DTD for keyboard XML.

12 years agoAdd call for key events, refactor to onkeydown and onkeyup.
Michael Jumper [Mon, 23 Jan 2012 23:14:47 +0000 (15:14 -0800)]
Add call for key events, refactor to onkeydown and onkeyup.

12 years agoRound to nearest tenth, rather than integer.
Michael Jumper [Mon, 23 Jan 2012 21:48:30 +0000 (13:48 -0800)]
Round to nearest tenth, rather than integer.

12 years agoRelease key on mouse out.
Michael Jumper [Mon, 23 Jan 2012 18:51:12 +0000 (10:51 -0800)]
Release key on mouse out.

12 years agoSupport for user-defined classes in keyboard XML.
Michael Jumper [Mon, 23 Jan 2012 18:41:39 +0000 (10:41 -0800)]
Support for user-defined classes in keyboard XML.

12 years agoUse pressed classname for pressed keys.
Michael Jumper [Mon, 23 Jan 2012 18:04:27 +0000 (10:04 -0800)]
Use pressed classname for pressed keys.

12 years agoTrack pressed state for modifiers globally. Do not track pressed state of non-modifiers.
Michael Jumper [Sat, 21 Jan 2012 20:58:44 +0000 (12:58 -0800)]
Track pressed state for modifiers globally. Do not track pressed state of non-modifiers.

12 years agoOnly modifier states should toggle.
Michael Jumper [Sat, 21 Jan 2012 20:53:59 +0000 (12:53 -0800)]
Only modifier states should toggle.

12 years agoToggle modifier pressed states.
Michael Jumper [Sat, 21 Jan 2012 20:53:18 +0000 (12:53 -0800)]
Toggle modifier pressed states.

12 years agoInitial version of onclick for keys, improved classes.
Michael Jumper [Sat, 21 Jan 2012 20:06:43 +0000 (12:06 -0800)]
Initial version of onclick for keys, improved classes.

12 years agoBetter classname assignment for keycaps, restructure of keyboard (keyboard/key-contai...
Michael Jumper [Sat, 21 Jan 2012 06:33:14 +0000 (22:33 -0800)]
Better classname assignment for keycaps, restructure of keyboard (keyboard/key-container(s)/key/cap(s)).

12 years agoStore caps by modifier in keys within central key array.
Michael Jumper [Fri, 20 Jan 2012 21:57:32 +0000 (13:57 -0800)]
Store caps by modifier in keys within central key array.

12 years agoResizable elements.
Michael Jumper [Thu, 19 Jan 2012 23:05:53 +0000 (15:05 -0800)]
Resizable elements.

12 years agoImproved placement and available classes.
Michael Jumper [Thu, 19 Jan 2012 22:25:42 +0000 (14:25 -0800)]
Improved placement and available classes.

12 years agoStyle key containers, add line-height.
Michael Jumper [Thu, 19 Jan 2012 20:07:53 +0000 (12:07 -0800)]
Style key containers, add line-height.

12 years agoFixed style and positioning.
Michael Jumper [Thu, 19 Jan 2012 19:47:41 +0000 (11:47 -0800)]
Fixed style and positioning.

12 years agoSet key size, improve class names.
Michael Jumper [Thu, 19 Jan 2012 19:22:49 +0000 (11:22 -0800)]
Set key size, improve class names.

12 years agoFixed parsing.
Michael Jumper [Thu, 19 Jan 2012 19:19:02 +0000 (11:19 -0800)]
Fixed parsing.

12 years agoRefactor XML parse, use getElement() instead of overriding DOM.
Michael Jumper [Thu, 19 Jan 2012 18:39:39 +0000 (10:39 -0800)]
Refactor XML parse, use getElement() instead of overriding DOM.

12 years agoAdded Task.unblock(), updated block check and update handling mechanism.
Michael Jumper [Thu, 12 Jan 2012 18:48:31 +0000 (10:48 -0800)]
Added Task.unblock(), updated block check and update handling mechanism.

12 years agoFix race condition where the source of a copy operation may be altered before the...
Michael Jumper [Wed, 11 Jan 2012 07:06:28 +0000 (23:06 -0800)]
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).

12 years agoCopying from a buffer with no width/height should not fail. Hard exceptions in handle...
Michael Jumper [Tue, 10 Jan 2012 19:37:10 +0000 (11:37 -0800)]
Copying from a buffer with no width/height should not fail. Hard exceptions in handlers causes layer task handling to stall.

12 years agoOnly send sync response if timestamp is changing.
Michael Jumper [Mon, 9 Jan 2012 07:47:07 +0000 (23:47 -0800)]
Only send sync response if timestamp is changing.

12 years agoAutomatically ping every 5 seconds.
Michael Jumper [Mon, 9 Jan 2012 04:20:04 +0000 (20:20 -0800)]
Automatically ping every 5 seconds.

12 years agoPrevent mouse from leaving screen when moved via touch events.
Michael Jumper [Tue, 20 Dec 2011 04:46:46 +0000 (20:46 -0800)]
Prevent mouse from leaving screen when moved via touch events.

12 years agoFixed typo in README
Michael Jumper [Wed, 14 Dec 2011 02:41:20 +0000 (18:41 -0800)]
Fixed typo in README

12 years agoRemoved unused repo.
Michael Jumper [Tue, 13 Dec 2011 05:27:43 +0000 (21:27 -0800)]
Removed unused repo.

12 years agoRemoved SSH plugin requirement and dist management.
Michael Jumper [Tue, 13 Dec 2011 05:26:33 +0000 (21:26 -0800)]
Removed SSH plugin requirement and dist management.

12 years agoAdded changelog.
Michael Jumper [Mon, 12 Dec 2011 07:50:28 +0000 (23:50 -0800)]
Added changelog.

12 years agoAdded README.
Michael Jumper [Sun, 11 Dec 2011 23:35:56 +0000 (15:35 -0800)]
Added README.

12 years agoFixes ticket #61 - adds catches where necessary to handle errors thrown only by IE.
Michael Jumper [Sun, 11 Dec 2011 20:21:34 +0000 (12:21 -0800)]
Fixes ticket #61 - adds catches where necessary to handle errors thrown only by IE.

12 years agoFix errors in IE due to lack of textContent support.
Michael Jumper [Sun, 11 Dec 2011 20:04:27 +0000 (12:04 -0800)]
Fix errors in IE due to lack of textContent support.

12 years agoRemoving WebSocket tunnel for stable release. It will be back.
Michael Jumper [Sat, 10 Dec 2011 22:31:47 +0000 (14:31 -0800)]
Removing WebSocket tunnel for stable release. It will be back.

12 years agoRelicensed as Mozilla/LGPL/GPL.
Michael Jumper [Mon, 5 Dec 2011 01:15:18 +0000 (17:15 -0800)]
Relicensed as Mozilla/LGPL/GPL.

12 years agoBumped versions to 0.5.0.
Michael Jumper [Fri, 4 Nov 2011 22:20:15 +0000 (15:20 -0700)]
Bumped versions to 0.5.0.

12 years agoCode cleanup.
Michael Jumper [Tue, 11 Oct 2011 22:31:01 +0000 (15:31 -0700)]
Code cleanup.

12 years agoUpdated comments
Michael Jumper [Fri, 16 Sep 2011 06:16:41 +0000 (06:16 +0000)]
Updated comments

12 years agoPartial implementation of new format instructions in output.
Michael Jumper [Sun, 11 Sep 2011 23:10:38 +0000 (16:10 -0700)]
Partial implementation of new format instructions in output.

12 years agoSupport for new instruction format.
Michael Jumper [Sun, 11 Sep 2011 02:09:17 +0000 (19:09 -0700)]
Support for new instruction format.

12 years agoAutomatically handle relative URLs.
Michael Jumper [Fri, 2 Sep 2011 20:40:58 +0000 (13:40 -0700)]
Automatically handle relative URLs.

12 years agoWorking initial implementation of websocket tunnel.
Michael Jumper [Thu, 1 Sep 2011 22:39:02 +0000 (15:39 -0700)]
Working initial implementation of websocket tunnel.

12 years agoDrag support.
Michael Jumper [Mon, 29 Aug 2011 21:31:23 +0000 (14:31 -0700)]
Drag support.

12 years agoTap support, ignore mouse events while touch events are in progress.
Michael Jumper [Sat, 27 Aug 2011 19:13:10 +0000 (12:13 -0700)]
Tap support, ignore mouse events while touch events are in progress.

12 years agoChanged simulated mouse to simulated touchpad. Temporary lack of tap support.
Michael Jumper [Fri, 26 Aug 2011 23:44:49 +0000 (16:44 -0700)]
Changed simulated mouse to simulated touchpad. Temporary lack of tap support.

12 years agoMerge branch 'unstable' into touch-support
Michael Jumper [Fri, 26 Aug 2011 21:00:14 +0000 (14:00 -0700)]
Merge branch 'unstable' into touch-support

Conflicts:
src/main/resources/mouse.js

12 years agoFixed layer resize(), avoid multiple handlePengingTasks() calls
Michael Jumper [Fri, 19 Aug 2011 01:00:45 +0000 (18:00 -0700)]
Fixed layer resize(), avoid multiple handlePengingTasks() calls

12 years agoAlpha for rgba() is from 0.0 to 1.0, not 0 to 255.
Michael Jumper [Tue, 9 Aug 2011 23:08:18 +0000 (16:08 -0700)]
Alpha for rgba() is from 0.0 to 1.0, not 0 to 255.

12 years agoRect and clip instructions.
Michael Jumper [Thu, 21 Jul 2011 22:16:19 +0000 (15:16 -0700)]
Rect and clip instructions.

12 years agoFixed message generation logic.
Michael Jumper [Wed, 13 Jul 2011 18:09:14 +0000 (11:09 -0700)]
Fixed message generation logic.

12 years agoClient now handles tunnel errors.
Michael Jumper [Wed, 13 Jul 2011 07:17:34 +0000 (00:17 -0700)]
Client now handles tunnel errors.

12 years agoTunnel JSDoc.
Michael Jumper [Mon, 11 Jul 2011 03:49:38 +0000 (20:49 -0700)]
Tunnel JSDoc.

12 years agoMore JSDoc and cleanup.
Michael Jumper [Sat, 9 Jul 2011 16:12:06 +0000 (09:12 -0700)]
More JSDoc and cleanup.

12 years agoCleanup, JSDoc for keyboard events.
Michael Jumper [Fri, 8 Jul 2011 16:16:52 +0000 (09:16 -0700)]
Cleanup, JSDoc for keyboard events.

12 years agoSome JSDoc for keyboard, cleaned up keymap.
Michael Jumper [Fri, 8 Jul 2011 06:48:32 +0000 (23:48 -0700)]
Some JSDoc for keyboard, cleaned up keymap.

12 years agoFixed type error in copy rect of Layer.
Michael Jumper [Fri, 8 Jul 2011 06:28:06 +0000 (23:28 -0700)]
Fixed type error in copy rect of Layer.

12 years agoBetter mouse state object, more JSDoc, cleanup.
Michael Jumper [Fri, 8 Jul 2011 06:19:19 +0000 (23:19 -0700)]
Better mouse state object, more JSDoc, cleanup.

12 years agoFixed autosize -> layer.autosize.
Michael Jumper [Wed, 6 Jul 2011 22:33:11 +0000 (15:33 -0700)]
Fixed autosize -> layer.autosize.

12 years agoFinished JSDoc of Layer, more cleanup.
Michael Jumper [Wed, 6 Jul 2011 21:39:50 +0000 (14:39 -0700)]
Finished JSDoc of Layer, more cleanup.

12 years agoMore JSDoc, renamed Update to Task, fixed wording.
Michael Jumper [Wed, 6 Jul 2011 20:14:40 +0000 (13:14 -0700)]
More JSDoc, renamed Update to Task, fixed wording.

12 years agoMore JSDoc.
Michael Jumper [Wed, 6 Jul 2011 06:08:34 +0000 (23:08 -0700)]
More JSDoc.

12 years agoJSDoc + namespace, some cleanup.
Michael Jumper [Wed, 6 Jul 2011 05:13:45 +0000 (22:13 -0700)]
JSDoc + namespace, some cleanup.

12 years agoMore migration to traditional JS events.
Michael Jumper [Tue, 5 Jul 2011 17:16:03 +0000 (10:16 -0700)]
More migration to traditional JS events.

12 years agoMigrating to traditional JS handlers.
Michael Jumper [Mon, 4 Jul 2011 21:25:52 +0000 (14:25 -0700)]
Migrating to traditional JS handlers.

12 years agoRemoved keymap (merged into keyboard), fixed JS semicolons, etc.
Michael Jumper [Sun, 3 Jul 2011 22:32:06 +0000 (15:32 -0700)]
Removed keymap (merged into keyboard), fixed JS semicolons, etc.

12 years agoExperimental working touch-based mouse.
Michael Jumper [Thu, 9 Jun 2011 16:25:47 +0000 (09:25 -0700)]
Experimental working touch-based mouse.

12 years agoUpdated version numbers to 0.4.0
Michael Jumper [Fri, 27 May 2011 20:46:03 +0000 (13:46 -0700)]
Updated version numbers to 0.4.0

12 years agoFixed initial draw location for new cursors
Michael Jumper [Wed, 18 May 2011 21:24:45 +0000 (14:24 -0700)]
Fixed initial draw location for new cursors

12 years agoFixed issue with moving cursor when icon updates.
Michael Jumper [Tue, 17 May 2011 20:32:32 +0000 (13:32 -0700)]
Fixed issue with moving cursor when icon updates.

13 years agoRelease mouse buttons if mouse leaves browser window.
Michael Jumper [Tue, 26 Apr 2011 19:31:20 +0000 (12:31 -0700)]
Release mouse buttons if mouse leaves browser window.

13 years agoError handling, added data submission for connect.
Michael Jumper [Sat, 9 Apr 2011 05:41:31 +0000 (22:41 -0700)]
Error handling, added data submission for connect.

13 years agoAdded support for multiple tunnels (tunnel UUID returned by connect).
Michael Jumper [Fri, 8 Apr 2011 23:28:33 +0000 (16:28 -0700)]
Added support for multiple tunnels (tunnel UUID returned by connect).

13 years agoFixed potential layer sync issue (if multiple layers are used, and multiple layers...
Michael Jumper [Sun, 3 Apr 2011 07:53:00 +0000 (00:53 -0700)]
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)

13 years agoFixed copyrect: although synchronization was properly established, draw jobs were...
Michael Jumper [Sun, 3 Apr 2011 06:53:30 +0000 (23:53 -0700)]
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.

13 years agoFixed typo in copy.
Michael Jumper [Fri, 1 Apr 2011 08:58:41 +0000 (01:58 -0700)]
Fixed typo in copy.

13 years agoAdded channel mask.
Michael Jumper [Wed, 30 Mar 2011 07:29:44 +0000 (00:29 -0700)]
Added channel mask.

13 years agoSupport for sync instruction
Michael Jumper [Sat, 12 Mar 2011 03:43:13 +0000 (19:43 -0800)]
Support for sync instruction

13 years agoRemoved unnecessary (and often ignored) setting of Content-length header
Michael Jumper [Wed, 9 Mar 2011 06:04:15 +0000 (22:04 -0800)]
Removed unnecessary (and often ignored) setting of Content-length header

13 years agoAdded missing semicolons, improved state handling
Michael Jumper [Wed, 9 Mar 2011 05:42:43 +0000 (21:42 -0800)]
Added missing semicolons, improved state handling

13 years agoAdded disconnect function to tunnel, added automatic disconnect on error receipt...
Michael Jumper [Wed, 9 Mar 2011 05:08:59 +0000 (21:08 -0800)]
Added disconnect function to tunnel, added automatic disconnect on error receipt in client.

13 years agoRevert "Added busy handlers for layer, implemented ready instruction handling in...
Michael Jumper [Mon, 7 Mar 2011 01:02:18 +0000 (17:02 -0800)]
Revert "Added busy handlers for layer, implemented ready instruction handling in client"

This reverts commit 7c3ceb1245a5e2a838811c10599b47b1578a5cf9.