Commit Graph

227 Commits

Author SHA1 Message Date
Christopher Jeffrey 29ca94e719 widget-shadow.js. 2015-04-15 10:35:47 -07:00
Christopher Jeffrey 85be64273f clean up old surrogates code. 2015-04-15 10:10:19 -07:00
Christopher Jeffrey ea4e142757 add support for surrogate pairs. fixes #123. see #4 and slap-editor/slap#107. 2015-04-15 10:05:34 -07:00
Christopher Jeffrey 1b1775a4c2 add doubleWidthPerfect option. 2015-04-15 00:38:18 -07:00
Christopher Jeffrey ecf9e38f55 double width character handling. see slap-editor/slap#107. 2015-04-14 15:35:16 -07:00
Christopher Jeffrey 46b493d02e minor blend changes. 2015-04-10 13:01:00 -07:00
Christopher Jeffrey eebbcdd702 dock test. 2015-04-08 01:38:56 -07:00
Christopher Jeffrey 78e663a734 transparency again. 2015-04-07 23:19:01 -07:00
Christopher Jeffrey 6d487b3873 minor. test. 2015-04-06 21:13:43 -07:00
Christopher Jeffrey b950e34459 Revert "add style.transparent option."
This reverts commit 8eaf7bab37.
2015-04-06 21:12:17 -07:00
Christopher Jeffrey 8eaf7bab37 add style.transparent option. 2015-04-06 21:05:15 -07:00
Christopher Jeffrey 8a62f5e633 add "shadow" option to elements. see widget-shadow.js. 2015-04-06 19:26:14 -07:00
Christopher Jeffrey 67bdab7e4f improve border docking. selective border drawing. 2015-04-06 18:40:33 -07:00
Christopher Jeffrey f6b5b8811a allow docking borders to obscured by screen edges. 2015-04-04 06:40:36 -07:00
Christopher Jeffrey bb4a8c82aa debug log. 2015-04-04 02:23:43 -07:00
Christopher Jeffrey 08bb19e17f update tests. 2015-04-04 00:07:39 -07:00
Christopher Jeffrey 2c6b34a86b add percentage offsets. see #118. 2015-04-03 22:55:56 -07:00
Christopher Jeffrey 5aeeed7683 add dockBorders option. see #118. 2015-04-03 20:50:22 -07:00
Christopher Jeffrey f34cf1bdfe table drawing and options. no tags for table style. readme. see #117. 2015-04-02 17:59:04 -07:00
Christopher Jeffrey c8007331b0 helper. 2015-04-02 07:24:25 -07:00
Christopher Jeffrey cf3eb09f9f improve table resize event listeners. 2015-04-02 06:12:52 -07:00
Christopher Jeffrey b9a94f63ce fix valign option. 2015-04-02 05:10:23 -07:00
Christopher Jeffrey 2640838f33 allow custom width for tables. fixes #117. 2015-04-02 05:10:23 -07:00
Christopher Jeffrey 897f8a2eca fix linux console clear. better debug window to test/widget.js. complete widget docs. 2015-04-01 19:46:08 -07:00
Christopher Jeffrey 064a4e9086 add debug window and draggable option for all elements. 2015-03-31 02:45:01 -07:00
Christopher Jeffrey a266a869b7 improve Log element. 2015-03-31 01:31:43 -07:00
Christopher Jeffrey 6154859110 cleanup Table code. fixes for Table. 2015-03-31 00:48:17 -07:00
Christopher Jeffrey 8793be5562 optimize Table element. first pass at ListTable. 2015-03-31 00:25:38 -07:00
Christopher Jeffrey cbc94254b4 add table cell text alignment. 2015-03-30 05:16:22 -07:00
Christopher Jeffrey 91bc189ba3 add Log and Table elements. update README. 2015-03-30 04:58:15 -07:00
Christopher Jeffrey 5e466c139e rename coord props for consistency. see #113. 2015-03-29 12:29:04 -07:00
Christopher Jeffrey 9070e7f78f refactor artificial cursors and other features. 2015-03-19 23:49:26 -07:00
Christopher Jeffrey cbcc7e6124 temporarily remove noAlt. 2015-03-19 04:13:44 -07:00
Christopher Jeffrey 13890ec409 fix artificial cursor color. 2015-03-16 23:53:31 -07:00
Christopher Jeffrey d3e566b9c1 lots of old code for proprietary codes and "artificial cursors". 2015-03-14 16:35:17 -07:00
Christopher Jeffrey 3dcc0b3d1b minor bug fixes. handle tmux escaping. 2015-03-14 16:14:39 -07:00
Christopher Jeffrey 0e2b626556 progressbar. automatic focus on elements. test/widget.js. reallyScrollable. 2015-02-26 15:37:01 -08:00
Christopher Jeffrey 77695f994a add noAlt option. fix list shrinking. 2015-02-21 13:31:25 -08:00
Christopher Jeffrey a29fdf1c74 fix hover text and demonstrate it better. 2015-02-13 01:18:20 -08:00
Christopher Jeffrey 982e075a90 Image and Terminal element. 2015-02-11 17:20:22 -08:00
Christopher Jeffrey d69ed5c294 more work on Image element. 2015-02-09 19:49:33 -08:00
Christopher Jeffrey 1729244db3 image element: fix shrink. 2015-02-09 01:43:16 -08:00
Christopher Jeffrey a4e6856901 fix image element test. 2015-02-09 00:21:58 -08:00
Christopher Jeffrey 9e234c3901 fix image rendering. 2015-02-09 00:19:35 -08:00
Christopher Jeffrey 49f1843955 improvements to the Image element. add screen.displayImage(). 2015-02-08 23:42:44 -08:00
Christopher Jeffrey e8fe076681 refactor mouse events. put `buf` on event object. 2015-02-07 15:37:01 -08:00
Christopher Jeffrey d70fa6d4a2 fix wheel, move, and button decoding for mouse events. 2015-02-04 20:39:34 -08:00
Christopher Jeffrey 89b2dfc373 major reimplementation of sgr and urxvt mouse. mousewheel not yet tested. 2015-02-03 21:22:04 -08:00
Christopher Jeffrey 5a4ddda37d shrink Image element by image size. 2015-02-01 14:01:55 -08:00
Christopher Jeffrey c365c937e2 add test image for the Image element. 2015-02-01 13:47:12 -08:00
Christopher Jeffrey 6ee469fdcb add Image element using w3mimgdisplay. 2015-02-01 13:43:52 -08:00
Christopher Jeffrey a2afbe54bc detect bugged vte mouse better. see #89. 2015-02-01 09:22:18 -08:00
Christopher Jeffrey e9b3bdac34 allow VTE mouse access to cells up to 287. see #89. 2015-02-01 08:47:24 -08:00
Christopher Jeffrey 3cdcc7a64b more fixes for VTE. see #89. 2015-01-31 18:36:47 -08:00
Christopher Jeffrey f055496161 fix program.getCursor. fixes #25. 2015-01-31 12:57:21 -08:00
Christopher Jeffrey df73eb5e3e Revert "add workarounds for libvte mouse events. see #89."
This reverts commit bb61e5c144.
2015-01-31 01:51:12 -08:00
Christopher Jeffrey bb61e5c144 add workarounds for libvte mouse events. see #89. 2015-01-31 01:43:16 -08:00
Christopher Jeffrey 547812928e window title. potential enter/return fix for keys. 2015-01-29 20:08:23 -08:00
Christopher Jeffrey 879a072353 add terminal widget and hover box. 2015-01-24 18:34:57 -08:00
Christopher Jeffrey 20dce38741 fix widget-pos test. 2015-01-15 13:29:46 -08:00
Christopher Jeffrey 23bba3f41e fix: separator tag. 2014-06-26 12:48:27 -05:00
Christopher Jeffrey 73c50e41a8 add separator tag: {|}. 2014-06-16 22:41:28 -05:00
Christopher Jeffrey 9a70b404af revert nowrap test back to old content. 2014-04-26 06:50:34 -05:00
Christopher Jeffrey bfd4e4e611 add test for escape tag. 2014-04-26 06:40:24 -05:00
Christopher Jeffrey 4bc910bd5b add escape function for tag text. 2014-04-26 06:06:03 -05:00
Christopher Jeffrey 737c88d7e5 add widget-nowrap test. 2014-04-26 05:17:45 -05:00
Christopher Jeffrey c0b3115fb3 add tests. 2014-01-12 06:19:54 -06:00
Christopher Jeffrey 4cebb15918 key->prefix for listbar. misc. 2014-01-11 21:07:14 -06:00
Christopher Jeffrey 3766ffaa38 add tests. 2014-01-11 20:59:28 -06:00
Christopher Jeffrey 2c337bb572 minor listbar work. 2014-01-11 19:32:43 -06:00
Christopher Jeffrey 401b1a61cd listbar rendering. 2014-01-11 19:28:14 -06:00
Christopher Jeffrey 2b33e34d3a even more listbar work. 2014-01-11 18:54:26 -06:00
Christopher Jeffrey 045f8d6dc1 lots of work for different widgets. 2014-01-11 17:26:36 -06:00
Christopher Jeffrey 1625046d9c filemanager label. do not hook remove() from List. 2013-08-27 10:25:20 -05:00
Christopher Jeffrey fdfdac63a8 minor test change. 2013-08-24 21:28:15 -05:00
Christopher Jeffrey 070cbd9001 decode mouse events and responses properly. 2013-08-13 11:30:44 -05:00
Christopher Jeffrey d42adf7e32 make enter and return keypresses identical on all platforms. see #2. 2013-08-13 11:30:20 -05:00
Christopher Jeffrey 94bdb41dd1 fix readme. improve tput._print. refactor test/tput.js. 2013-08-08 06:19:44 -05:00
Christopher Jeffrey 52a9f5d182 fix scroll rendering for children with padding. 2013-08-01 20:00:24 -05:00
Christopher Jeffrey c4a7f05025 obscure overlapping sides in scrolling elements. 2013-08-01 04:19:58 -05:00
Christopher Jeffrey b2666ffecb add event bubbling. 2013-08-01 01:02:16 -05:00
Christopher Jeffrey 0e047b8e51 minor fixes. 2013-07-31 19:21:10 -05:00
Christopher Jeffrey 78a3726f2f add auto-positioning which respects padding and borders. 2013-07-30 23:46:07 -05:00
Christopher Jeffrey 36415f76b6 fix textbox/textarea. 2013-07-29 16:38:19 -05:00
Christopher Jeffrey d2226c3295 improve focus. fix getCoords. readme. 2013-07-29 15:49:09 -05:00
Christopher Jeffrey 0bc25d9989 make dumps for all tests. 2013-07-28 14:45:38 -05:00
Christopher Jeffrey 084f28fcff content attribute and tag handling.
- handle content attributes with better respect to element's style.
- add a more sophisticated tag parser.
2013-07-28 13:20:52 -05:00
Christopher Jeffrey d9ca7112bc scrollbar track. 2013-07-27 07:34:32 -05:00
Christopher Jeffrey ee71a1ac61 more scroll work. 2013-07-27 05:14:02 -05:00
Christopher Jeffrey efbae0c203 cleanup scroll code. 2013-07-26 01:45:39 -05:00
Christopher Jeffrey 8ea1fe4dab working nested scrolling. 2013-07-26 01:38:25 -05:00
Christopher Jeffrey ea857ea550 fix nested scrollable elements. 2013-07-25 18:09:00 -05:00
Christopher Jeffrey 19dd8a47d0 fix scrolling obfuscation for elements with borders. 2013-07-25 01:20:47 -05:00
Christopher Jeffrey 25133923e3 allow text to be obfuscated within child elements during a scroll. 2013-07-24 22:47:03 -05:00
Christopher Jeffrey 6fde3e3a38 misc fixes for radiobutton, textarea, textbox, checkbox. 2013-07-24 17:16:55 -05:00
Christopher Jeffrey 1c9d25780a add a scrollable option. 2013-07-24 15:39:22 -05:00
Christopher Jeffrey 31030113cf buffer everything - this prevents flickering on xterm and may improve terminal rendering speed. 2013-07-23 18:04:22 -05:00
Christopher Jeffrey 65829a2234 use csr on fm test. 2013-07-23 17:06:01 -05:00
Christopher Jeffrey 73939984b4 misc scrollable positioning. 2013-07-23 09:38:30 -05:00
Christopher Jeffrey 11c6e7269f matchColor and BCE tput check. 2013-07-23 06:34:40 -05:00