Commit Graph

32 Commits

Author SHA1 Message Date
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
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
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
935088d9d4 Relicensed as Mozilla/LGPL/GPL. 2011-12-04 17:15:18 -08: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
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
fbce63ea64 Removed keymap (merged into keyboard), fixed JS semicolons, etc. 2011-07-03 15:32:06 -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
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
Michael Jumper
4d1717146f Fixed layer positioning. 2011-02-20 13:50:22 -08:00
Michael Jumper
4571135a08 More efficient layer implementation (job queue, rather than array + ids... should be less mem) 2011-02-20 13:20:17 -08:00
Michael Jumper
25fd42afea Fixed deadlock in layer 2011-02-15 18:46:02 -08:00
Michael Jumper
fabeca7414 copyRect should be synchronized with source layer/buffer's updates (as it may not be finished drawing by the time a copy is issued) 2011-02-12 18:22:39 -08:00
Michael Jumper
0590170712 Added autosize to layer 2011-02-12 16:14:29 -08:00
Michael Jumper
0ad9127a68 True layer and buffer support (not stub) 2011-02-12 14:07:12 -08:00
Michael Jumper
3d3aad76c9 Stub implementation of layer/buffer support (initial compat for new version of protocol) 2011-02-12 01:35:32 -08:00
Michael Jumper
098a521a4b Initial commit 2011-01-22 22:08:14 -08:00