Commit Graph

245 Commits

Author SHA1 Message Date
Michael Jumper
b592b74513 Support float durations. 2012-11-01 21:05:37 -07:00
Michael Jumper
e0407c3ad2 Use proper timeline sheduling, leverage existing noteOn() semantics. 2012-11-01 19:39:26 -07:00
Michael Jumper
0e920a5816 Add error handling to parser. 2012-11-01 11:15:26 -07:00
Michael Jumper
88ca65ac84 Use setTimeout() rather than potentially-inaccurate noteOn(). 2012-10-31 14:09:48 -07:00
Michael Jumper
099b4c0126 Timeline-based packet scheduling. 2012-10-30 17:05:15 -07:00
Michael Jumper
01b4c41650 Implement Web Audio API packet. 2012-10-29 15:15:12 -07:00
Michael Jumper
4e2f4dff31 Remove old mimetype events. 2012-10-29 09:20:21 -07:00
Michael Jumper
43a823e5c8 Add file instruction handler and event, modify parser to not drop length if only partially received. 2012-10-26 12:23:18 -07:00
Michael Jumper
5786dbcf0e Implement video instruction. 2012-10-25 14:30:09 -07:00
Michael Jumper
c6d12ebac0 Implement video playback in layer. 2012-10-25 14:29:57 -07:00
Michael Jumper
ec0ea40b58 Update ChangeLog 2012-10-24 12:00:21 -07:00
Michael Jumper
ea6764743f Add width/height getters, add onresize event. 2012-10-24 10:52:53 -07:00
Michael Jumper
56495c7cfa Implement audio instruction. 2012-10-24 00:18:43 -07:00
Michael Jumper
61abcc639b Add Guacamole.AudioChannel, 2012-10-24 00:08:16 -07:00
Michael Jumper
3b9adefa4a Switch from WAITING to CONNECTED on first sync, rather than first png. 2012-10-23 11:02:54 -07:00
Michael Jumper
2bd982fe83 Bump version. 2012-10-23 00:47:15 -07:00
Michael Jumper
6026b14a0f Add audio/video/size event functions. 2012-10-21 15:48:07 -07:00
Michael Jumper
9b9981acc3 Implement nest instruction. 2012-10-20 20:09:13 -07:00
Michael Jumper
f2f6173c7d Implemented Guacamole.Parser 2012-10-20 19:33:53 -07:00
Michael Jumper
b77e78deb5 Update ChangeLog 2012-10-16 18:17:55 -07:00
Michael Jumper
d0c582b5e8 Add unique integer to end of request (fix #201). 2012-10-16 14:13:18 -07:00
Michael Jumper
14d54cf549 Update ChangeLog, bump version. 2012-10-15 10:42:03 -07:00
Michael Jumper
2c73b682d1 Fix variable naming conflict (ticket #191). Fix other warnings. 2012-09-27 21:05:38 -07:00
Michael Jumper
05c7031d8e Update version number, update changelog 2012-08-11 14:12:47 -07:00
Michael Jumper
21fb1e92bb Fix jsdoc, add missing documentation. 2012-08-11 12:52:30 -07:00
Michael Jumper
d5e1b88cdc Use addEventListener(), only ignore key event if truly unknown (might have keyIdentifiier, but no keycode). 2012-08-02 00:53:22 -07:00
Michael Jumper
ce0bade000 Only take parent into account if actually relevant to positioning. 2012-08-01 11:33:39 -07:00
Michael Jumper
e90eec79e4 Simpler heuristic for handling touch-generated mouse events (disable handling of mouse events upon receipt of a touch event until a specified number of mousemove events have been received). 2012-07-30 15:00:45 -07:00
Michael Jumper
3e8d14e699 Clean up handling of viewport-relative coordinates. Modify absolute touch support to properly handle scrolled viewport. 2012-07-29 20:57:45 -07:00
Michael Jumper
182f8e891a Ignore absolute touch events if more than one touch. 2012-07-29 17:27:47 -07:00
Michael Jumper
2f6dbde5da Use event-queue heuristics to detect and ignore mouse events caused by touch events. 2012-07-29 17:13:33 -07:00
Michael Jumper
50567d401b Fix setting of state within touchscreen events. 2012-07-27 23:00:00 -07:00
Michael Jumper
0da51499fe First basic absolute pointer implementation. 2012-07-27 23:00:00 -07:00
Michael Jumper
1c363ec37b Stubbed out Guacamole.Mouse.Touchscreen. 2012-07-27 23:00:00 -07:00
Michael Jumper
6800bd7329 Cleaned up Guacamole.Mouse.Touchpad and docs. 2012-07-27 22:59:59 -07:00
Michael Jumper
afdc4ed536 Split Guacamole.Mouse into Guacamole.Mouse (mouse event handling) and Guacamole.Mouse.Touchpad (touch event translation handling). 2012-07-27 22:59:59 -07:00
Michael Jumper
078322f808 Do not handle keypress if we already handled the event in keydown. 2012-07-27 13:21:45 -07:00
Michael Jumper
8f8b41fe8b Use timeout only as failsafe. Send key events immediately when we know we will handle via keypress or keydown. 2012-06-20 22:46:53 -07:00
Michael Jumper
03486264d1 Implement size for buffers. 2012-05-17 00:23:52 -07:00
Michael Jumper
88e2a7d500 Renamed deferred handler. 2012-05-16 15:32:46 -07:00
Michael Jumper
6cc12e88f9 preventDefault() in keypress, too. 2012-05-16 13:38:28 -07:00
Michael Jumper
a650a4a6ec As keydown/keypress are handled via deferred setTimeout(), so should keyup (otherwise, there's a race condition that keyup might happen before the deferred handling of keydown/keypress, and the key might be effectively stuck down or in a repeating state). 2012-05-16 13:36:28 -07:00
Michael Jumper
aa7c38be32 Should be using clearTimeout(), not clearInterval() for timeout. 2012-05-16 10:40:06 -07:00
Michael Jumper
685f07ed75 Don't wait for keypress if keycode well defined. Define space via keycode (some browsers interpret "space" as scroll down). 2012-05-16 10:36:37 -07:00
Michael Jumper
0399689177 Ignore unknown key events. 2012-05-16 00:52:16 -07:00
Michael Jumper
49fa2723a9 Only send release for ctrl+alt when both are pressed (we assume Ctrl+Alt == AltGr in the context of keypress). 2012-05-14 13:54:44 -07:00
Michael Jumper
b8ad66ab6e Only release ctrl/alt in keypress handler if character is not a control character. Beware that this causes a regression in Firefox as it sends keypress for Alt+combinations and Ctrl+combinations even though they will not type anything. 2012-05-14 13:44:17 -07:00
Michael Jumper
d3f5d003ea Only cancel keydown if not typable. Release Ctrl and Alt if actually typing a character via keypress (if they are not functioning as Ctrl or Alt). Cancel keydown if Ctrl or Alt (but not both) are held, even if we expect the character to be typable. 2012-05-14 13:21:43 -07:00
Michael Jumper
0abc6b3562 Add keyidentifier map. 2012-05-14 10:15:43 -07:00
Michael Jumper
d6b1985396 Defer handling of keypress via JS event queue. 2012-05-14 09:17:15 -07:00