Commit Graph

229 Commits

Author SHA1 Message Date
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
Christopher Jeffrey 77885514aa go back to using arrays for out for now. 2013-07-23 03:29:37 -05:00
Christopher Jeffrey 5e2ca90f04 more tput.js work, fixes. cleanup. 2013-07-23 00:25:04 -05:00
Christopher Jeffrey fe9406aba1 more tput fixes/improvements/refactoring. 2013-07-22 22:28:01 -05:00
Christopher Jeffrey e771fc9fc9 improvements to tput and colors. 2013-07-22 00:59:56 -05:00
Christopher Jeffrey 00e680d413 work on adding back_color_erase handling, acs optimization, and other stuff ncurses usually handles. 2013-07-21 21:05:35 -05:00
Christopher Jeffrey de79656b04 rewrite scrolling system a bit. 2013-07-21 05:36:45 -05:00
Christopher Jeffrey a98bef4c90 more scrolling improvements. scrolling form. 2013-07-21 02:03:06 -05:00
Christopher Jeffrey 7af4dbaf1c allow for left/top/right/bottom padding. 2013-07-19 03:14:36 -05:00
Christopher Jeffrey e33838804b scrollable elements. 2013-07-19 01:58:55 -05:00
Christopher Jeffrey 0f4b60314b allow tabbing from textboxes in forms. 2013-07-18 22:49:06 -05:00
Christopher Jeffrey b8e0fafaeb misc. options. refactor tests/bin. 2013-07-18 18:02:45 -05:00
Christopher Jeffrey 5c114b8b69 fixed shrunken centered nested elements. 2013-07-17 12:43:13 -05:00
Christopher Jeffrey 54445e3f3c tests 2013-07-17 10:29:42 -05:00
Christopher Jeffrey e9f7d933bd replace shrink padding code. 2013-07-17 05:44:58 -05:00
Christopher Jeffrey 566b800a04 refactor shrink. 2013-07-17 03:52:21 -05:00
Christopher Jeffrey 70953689e2 allow style.hover and style.focus. no autofocus on buttons. 2013-07-17 01:55:08 -05:00
Christopher Jeffrey 7981f8d749 add shrinkBox. add forms. add RadioSet. misc refactor. 2013-07-17 01:28:42 -05:00
Christopher Jeffrey 1561bdef7d add valign. simpler way of rendering padding bg. 2013-07-16 20:19:44 -05:00
Christopher Jeffrey c8c0d1f269 have padding maintain background color. 2013-07-16 20:09:01 -05:00
Christopher Jeffrey 9ed9764b74 fix ACS/UTF8. use style object. rename ascii to line. 2013-07-16 19:05:44 -05:00
Christopher Jeffrey 51413c346e docs. smartCSR option. minor fixes. 2013-07-15 04:31:09 -05:00
Christopher Jeffrey aa951c640f use better cleanside detection algorithm. add insert method. 2013-07-14 22:11:48 -05:00
Christopher Jeffrey 6a44fd9a35 misc. add sigtstp method. 2013-07-14 10:16:19 -05:00
Christopher Jeffrey 04b0adac56 fix padding implementation. tests. 2013-07-14 08:57:05 -05:00
Christopher Jeffrey 3e6a89099e add mouse test. 2013-07-14 08:06:47 -05:00
Christopher Jeffrey d0f99be764 lazily convert colors. other misc color fixes. 2013-07-14 06:57:15 -05:00
Christopher Jeffrey 363bc44caa fix terminfo if/else. detect features. 2013-07-14 06:24:04 -05:00
Christopher Jeffrey 7414922a76 add filemanager widget. g keys. 2013-07-12 08:28:58 -05:00
Christopher Jeffrey 06400d089f add multiline textareas. remove old hoverBg code. 2013-07-04 02:18:26 -05:00
Christopher Jeffrey 6355b1259f docs, tests, examples, misc, editor. 2013-07-04 02:18:26 -05:00
Christopher Jeffrey 6ec3534fcd misc fixes. remove dead code. 2013-07-04 02:18:26 -05:00
Christopher Jeffrey d4ce9322cd more events. setItems. predefined keys. docs. 2013-06-18 10:52:48 -05:00
Christopher Jeffrey 3d52833fa3 numerous improvements. 2013-06-18 05:33:24 -05:00
Christopher Jeffrey dc2bfda057 mousemove and mouse refactor. fixes. 2013-06-16 10:12:47 -05:00
Christopher Jeffrey f0b107978b button and shrink work. 2013-06-16 08:38:14 -05:00
Christopher Jeffrey b597bdd1c1 minor changes. 2013-06-14 02:58:12 -05:00
Christopher Jeffrey 9eaf45acab parsable attribute tags. 2013-06-13 20:21:41 -05:00
Christopher Jeffrey 6669d199ef add padding option. 2013-06-13 19:02:02 -05:00
Christopher Jeffrey 54bde3badd insert test: from bottom to the top, top to bottom and back. 2013-06-13 04:24:22 -05:00
Christopher Jeffrey d9a0b49bce text alignment. first step to deprecate Text. 2013-06-13 04:14:14 -05:00
Christopher Jeffrey 461af61a59 refactor colors/attr. 2013-06-13 02:16:32 -05:00
Christopher Jeffrey 843736d5b1 allow vertical progress bars. 2013-06-12 04:18:47 -05:00
Christopher Jeffrey 02c57a34ce emit more events. use tput. 2013-06-11 13:51:01 -05:00
Christopher Jeffrey 6bf8afb357 docs. minor changes. 2013-06-11 12:05:14 -05:00
Christopher Jeffrey 39b7ae7546 multiple positioning improvements. tests. 2013-06-11 10:37:22 -05:00
Christopher Jeffrey 8f4e23130e positioning test. fix screen key listening. 2013-06-11 09:23:42 -05:00
Christopher Jeffrey f463aa7b52 moving. resizing. fix scrolling. 2013-06-11 09:09:57 -05:00
Christopher Jeffrey c9d09547ac add test content. 2013-06-09 20:41:25 -05:00
Christopher Jeffrey a19d9baf48 global element events. automatically focus on click. 2013-06-09 15:24:57 -05:00
Christopher Jeffrey b04f8d04b2 fix textbox focusing. 2013-06-09 15:02:12 -05:00
Christopher Jeffrey b29dddc547 refactor progressbar. horizontal scroll for textbox. 2013-06-09 14:32:29 -05:00
Christopher Jeffrey 41c4560a6f add text input and setContent. 2013-06-09 13:17:24 -05:00
Christopher Jeffrey 812aa7fa42 automatically use alternate buffer etc. 2013-06-09 11:48:36 -05:00
Christopher Jeffrey 2cbbe786fb better screen and parent handling. scroll improvements. 2013-06-09 11:39:05 -05:00
Christopher Jeffrey 7fb6b2cc3b fix mouse events for overlapping elements. 2013-06-06 10:27:19 -05:00
Christopher Jeffrey 5902e224e5 better escape/newline handling. 2013-06-06 09:37:39 -05:00
Christopher Jeffrey b7f18f6f61 escape codes and newline handling. 2013-06-06 07:57:50 -05:00
Christopher Jeffrey 2cf1e5ee44 fix mousewheel on scrollables. 2013-06-06 05:49:47 -05:00
Christopher Jeffrey 5d67e189a8 allow element hiding. 2013-06-06 05:38:30 -05:00
Christopher Jeffrey ed2b9ae4d0 major improvements. 2013-06-06 04:03:25 -05:00
Christopher Jeffrey 1d37b2b6e2 reorganize 2013-06-03 20:33:08 -05:00
Christopher Jeffrey 2c41e0b862 include extended header in output. 2013-03-06 04:44:48 -06:00
Christopher Jeffrey 42815f72fa add extended xterm features. 2013-03-06 04:27:42 -06:00
Christopher Jeffrey e2621f4025 use git diff for test. 2013-03-06 04:13:12 -06:00
Christopher Jeffrey 87ffe00a06 comment 2013-03-05 14:31:34 -06:00
Christopher Jeffrey 1d00832772 comments 2013-03-05 03:04:06 -06:00
Christopher Jeffrey 83053e7fe4 script 2013-03-05 02:48:31 -06:00
Christopher Jeffrey 464451859a comments. 2013-03-05 02:40:00 -06:00
Christopher Jeffrey c7f68baec6 improve test. add configurable termcap/info file options. 2013-03-04 18:22:23 -06:00
Christopher Jeffrey fbd85c660b fix test. 2013-02-27 18:31:22 -06:00
Christopher Jeffrey 3897e49ef8 more termcap work. 2013-02-27 17:17:26 -06:00
Christopher Jeffrey ce69995f1d enable extended for testing by default. 2013-02-25 06:15:17 -06:00
Christopher Jeffrey 7f99d7a8e1 move tput test. 2013-02-24 20:58:08 -06:00
Christopher Jeffrey 6913cb9363 display max colors. 2013-02-24 08:04:07 -06:00
Christopher Jeffrey 857a83a3fb add parsePadding 2013-02-23 20:48:24 -06:00
Christopher Jeffrey fb752f1783 add names array to terminfo data. 2013-02-23 16:01:50 -06:00
Christopher Jeffrey 07cb619214 move terminfo test file. 2013-02-22 17:53:08 -06:00