Commit Graph

6822 Commits

Author SHA1 Message Date
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
0752436d4a Removed unused AGPL logo. 2012-01-24 21:17:50 -08:00
Michael Jumper
a38d65f63a Determine size of viewport using element stretched to fit view. 2012-01-24 21:05:01 -08:00
Michael Jumper
8559494a9b Removed bold from status text. 2012-01-24 18:27:10 -08:00
Michael Jumper
7120581e10 Removed unused images. 2012-01-24 18:24:38 -08:00
Michael Jumper
66f11d5c57 Open menu on long-press. 2012-01-24 18:24:05 -08:00
Michael Jumper
db69e717a0 Combine menu status and error dialog into central status text. 2012-01-24 15:52:16 -08:00
Michael Jumper
f3254dfaa0 Colorize active numsym. 2012-01-24 10:10:49 -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
e4b82bee3a Use new onkeydown / onkeyup. 2012-01-23 15:15:03 -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
ae06e08a31 Added DTD. 2012-01-23 13:29:34 -08:00
Michael Jumper
e4ba210020 Experimental auto-scroll of UI when mouse goes offscreen. 2012-01-23 12:06:46 -08:00
Michael Jumper
08c3a8344a Release key on mouse out. 2012-01-23 10:51:12 -08:00
Michael Jumper
0e351933bd Outset/inset borders for keys. 2012-01-23 10:47:40 -08:00
Michael Jumper
9d1b845962 Control appearance of shift key depending on status of modifier. 2012-01-23 10:42:07 -08:00
Michael Jumper
5ca6a2cacf Support for user-defined classes in keyboard XML. 2012-01-23 10:41:39 -08:00
Michael Jumper
4681dd2ad3 Use background/border of keys. 2012-01-23 10:09:00 -08:00
Michael Jumper
0beb9165f4 Experimental mobile-friendly keyboard layout. 2012-01-23 10:05:01 -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
274da988ce Reformat + improved docs. 2012-01-21 12:55:30 -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
bfdb5a1caa Better classes (required by OSK), control visibility of caps based on modifiers. 2012-01-21 12:07:08 -08:00
Michael Jumper
7e6ad2d953 Initial version of onclick for keys, improved classes. 2012-01-21 12:06:43 -08:00
Michael Jumper
1cc7d192c2 Move on-screen keyboard out of display. 2012-01-20 22:43:54 -08:00
Michael Jumper
017a8b444e Refactored CSS to new requirements from OSK changes. 2012-01-20 22:33:48 -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
2f697d33ff Removed arrow keys and ins/home/etc. for space (important on mobile). 2012-01-20 21:30:23 -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
4917995ce7 Keyboard style improvements. 2012-01-20 01:29:04 -08:00
Michael Jumper
24d22cc7a9 Add gaps to layout, remove padding. 2012-01-20 01:10:37 -08:00
Michael Jumper
c6a0109667 Add viewport meta tags. 2012-01-19 16:51:16 -08:00
Michael Jumper
05318c490a Set size in keyboard layout, migrate to new on-screen keyboard API, update keyboard style. 2012-01-19 15:33:59 -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
6ff00e28ea Update docs to reflect null return value. 2011-12-21 00:11:18 -08:00