Commit Graph

183 Commits

Author SHA1 Message Date
Christopher Jeffrey d0473749c9 potentially allow newlines in text content. 2013-06-06 04:40:06 -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 dbacb6f8ed Revert "auto calculate top for lists."
This reverts commit 5ec1f2808c.
2013-06-03 20:06:58 -05:00
Christopher Jeffrey 5ec1f2808c auto calculate top for lists. 2013-06-03 20:06:55 -05:00
Christopher Jeffrey 45dec1039c first working scrollable box. 2013-06-02 22:32:34 -05:00
Christopher Jeffrey 4b61da17c9 full list item fix. 2013-06-01 06:43:09 -05:00
Christopher Jeffrey 210d956214 border measures. 2013-06-01 06:08:18 -05:00
Christopher Jeffrey 493004b521 fixes. scrollble work. 2013-06-01 05:47:18 -05:00
Christopher Jeffrey 4fe0e98704 lists. misc. 2013-06-01 02:06:04 -05:00
Christopher Jeffrey 7e85f82426 first working highlevel example. 2013-06-01 00:29:31 -05:00
Christopher Jeffrey 58b2bf8f74 example. resize. 2013-05-31 21:44:43 -05:00
Christopher Jeffrey 0b77cb0d27 more cleanup 2013-05-31 21:40:04 -05:00
Christopher Jeffrey 4c52543f98 example, fix scrollable, cleanup, percentage positions. 2013-05-31 21:39:15 -05:00
Christopher Jeffrey 342f56a822 finally commit experimental high level interface. 2013-05-31 21:09:07 -05:00
Christopher Jeffrey a1c82b1aa7 set-title for screen. 2013-04-28 17:39:46 -05:00
Christopher Jeffrey 110059704d fix else...then. 2013-03-09 04:57:39 -06:00
Christopher Jeffrey 00b5a5b6f7 have extended area start on an even byte. 2013-03-06 04:53:08 -06: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 78c2803523 do not gracefully handle bad parse errors. 2013-03-06 04:03:54 -06:00
Christopher Jeffrey 134ebe28c0 Revert "misc changes."
This reverts commit 20121bec954e6744d9756e3f60a65f04fd897bbc.
2013-03-05 21:49:45 -06:00
Christopher Jeffrey 14c3e82d16 misc changes. 2013-03-05 18:16:14 -06:00
Christopher Jeffrey 962a7bdcc6 handle terminfo fallback better. 2013-03-05 17:38:41 -06:00
Christopher Jeffrey 464451859a comments. 2013-03-05 02:40:00 -06:00
Christopher Jeffrey 7f0ab93e0d cleanup 2013-03-05 02:28:20 -06:00
Christopher Jeffrey 176df61343 refactor 2013-03-04 20:03:00 -06:00
Christopher Jeffrey c7f68baec6 improve test. add configurable termcap/info file options. 2013-03-04 18:22:23 -06:00
Christopher Jeffrey f7a569c628 refactor. assert. 2013-03-04 13:00:14 -06:00
Christopher Jeffrey 51bc7c388c comments. misc. 2013-03-01 07:02:14 -06:00
Christopher Jeffrey 36971ed715 minor 2013-02-28 18:01:07 -06:00
Christopher Jeffrey a3bf0984ca fix termcap aliases. 2013-02-28 01:41:25 -06:00
Christopher Jeffrey 36df8ef3ca fix termcap aliases. 2013-02-28 01:36:27 -06:00
Christopher Jeffrey 4ed0bda9ff recursively inherit from other termcap entries. 2013-02-28 01:26:08 -06:00
Christopher Jeffrey 6acb18fba4 improve compileTerminfo. try to read from $TERMCAP. 2013-02-28 01:17:37 -06:00
Christopher Jeffrey 76fa728a89 fix %r. remove comment. 2013-02-27 19:55:03 -06:00
Christopher Jeffrey 629995a669 add an assert. 2013-02-27 19:40:57 -06:00
Christopher Jeffrey 086414a5c5 fix printf %c. 2013-02-27 19:39:08 -06:00
Christopher Jeffrey f2c4c01d9e expose data for debugging. 2013-02-27 19:28:59 -06:00
Christopher Jeffrey d5208b758f refactor 2013-02-27 18:25:59 -06:00
Christopher Jeffrey df0aeb5005 more work 2013-02-27 17:43:28 -06:00
Christopher Jeffrey fe004fff34 work 2013-02-27 17:26:34 -06:00
Christopher Jeffrey 3897e49ef8 more termcap work. 2013-02-27 17:17:26 -06:00
Christopher Jeffrey 8f09c278f1 translate termcap caps to terminfo. 2013-02-27 16:57:11 -06:00
Christopher Jeffrey 1f979b35ac cleanup 2013-02-27 16:36:02 -06:00
Christopher Jeffrey f1fe73e974 termcap compilation 2013-02-27 16:34:57 -06:00
Christopher Jeffrey 8a3f29fddb refactor 2013-02-27 12:26:33 -06:00
Christopher Jeffrey 983dfa943e inherit tput objects properties. 2013-02-27 12:23:55 -06:00
Christopher Jeffrey f7e8cde45e misc 2013-02-27 12:17:15 -06:00
Christopher Jeffrey ea85c1778f remove comments. 2013-02-25 19:10:51 -06:00
Christopher Jeffrey 44ca13c291 refactor. misc fixes. 2013-02-25 19:10:19 -06:00
Christopher Jeffrey 618ba14369 optional printf. 2013-02-25 06:29:46 -06:00
Christopher Jeffrey 1684a267dc Revert "use sprintf"
This reverts commit af1ad01b99.
2013-02-25 06:12:52 -06:00
Christopher Jeffrey af1ad01b99 use sprintf 2013-02-25 06:12:28 -06:00
Christopher Jeffrey 36fa2fc1db remove unused code. 2013-02-25 06:10:56 -06:00
Christopher Jeffrey 49a8f59091 fix printf. 2013-02-25 06:06:34 -06:00
Christopher Jeffrey b71203be18 refactor. comment. 2013-02-25 02:16:33 -06:00
Christopher Jeffrey ea4542027b fix clr_eos/ed and other possible collisions. 2013-02-25 02:05:27 -06:00
Christopher Jeffrey 68911aa357 more tput usage. 2013-02-25 01:47:32 -06:00
Christopher Jeffrey 55ba68195e start using tput. 2013-02-25 01:14:38 -06:00
Christopher Jeffrey edf2dfa5dc remove fallback prop name. comments. 2013-02-25 00:40:46 -06:00
Christopher Jeffrey 13a4f59ef6 handle empty strings in compiler. 2013-02-24 19:24:57 -06:00
Christopher Jeffrey 7a7bc00777 add comments explaining extended parsing. 2013-02-24 19:15:53 -06:00
Christopher Jeffrey bf60ca69e7 final cleanup 2013-02-24 18:48:36 -06:00
Christopher Jeffrey d89f9845ab fix finding end of string table. 2013-02-24 18:43:04 -06:00
Christopher Jeffrey 1bd2a71946 cleanup 2013-02-24 18:22:32 -06:00
Christopher Jeffrey 8d92eb49c6 more ext work 2013-02-24 18:20:31 -06:00
Christopher Jeffrey eefc2842a6 cleanup 2013-02-24 16:43:26 -06:00
Christopher Jeffrey c4de02651e more messy work 2013-02-24 16:31:33 -06:00
Christopher Jeffrey 8b479fb169 messy work on extended parser. 2013-02-24 15:07:54 -06:00
Christopher Jeffrey 38d3a6445a add _print(). 2013-02-24 12:58:29 -06:00
Christopher Jeffrey c9dc4f2d98 add unsupported property on unsupported capabilties. 2013-02-24 12:49:48 -06:00
Christopher Jeffrey 5f9df53708 sprintf 2013-02-24 12:44:53 -06:00
Christopher Jeffrey 06d6734622 allow options object for Program constructor. 2013-02-24 12:05:24 -06:00
Christopher Jeffrey 1d2c2f182b first attempt at an sprintf function. 2013-02-24 11:56:27 -06:00
Christopher Jeffrey b41ac01700 potentially use sprintf function. 2013-02-24 11:20:30 -06:00
Christopher Jeffrey 318bc09cf2 add all terminfo aliases 2013-02-24 10:59:20 -06:00
Christopher Jeffrey 5d9c3cccda fix printf command 2013-02-24 08:22:37 -06:00
Christopher Jeffrey 5075fa6efb fix escaped chars 2013-02-24 08:19:38 -06:00
Christopher Jeffrey f80fb93419 fix comments 2013-02-24 08:14:54 -06:00
Christopher Jeffrey 59de26fcbe fix and test padding. 2013-02-24 08:13:25 -06:00
Christopher Jeffrey 60edb202a3 fix types. 2013-02-24 08:02:07 -06:00
Christopher Jeffrey 6c6b4f8f66 refactor, options, comments. flags. 2013-02-24 07:55:24 -06:00
Christopher Jeffrey 587443f9e3 clean up compiler 2013-02-24 07:44:48 -06:00
Christopher Jeffrey f8569144ea fix termcap parser 2013-02-24 07:40:42 -06:00
Christopher Jeffrey 4703d45fef cleanup parsers 2013-02-24 07:39:29 -06:00
Christopher Jeffrey 857a83a3fb add parsePadding 2013-02-23 20:48:24 -06:00
Christopher Jeffrey f83e3304d1 refactor readTermcap 2013-02-23 16:03:39 -06:00
Christopher Jeffrey fb752f1783 add names array to terminfo data. 2013-02-23 16:01:50 -06:00
Christopher Jeffrey fe0e82f046 add references to termcap data for all term names. 2013-02-23 15:58:59 -06:00
Christopher Jeffrey 26440e76e1 reorganize termcap object. 2013-02-23 15:56:02 -06:00
Christopher Jeffrey f26d4dd93a rename. 2013-02-22 16:12:34 -06:00
Christopher Jeffrey 6dad574249 cleanup 2013-02-22 15:54:10 -06:00
Christopher Jeffrey c477f71dd2 add termcap parser. 2013-02-22 15:51:13 -06:00
Christopher Jeffrey a784ca6a2b minor 2013-02-22 11:12:05 -06:00
Christopher Jeffrey d04c335aa9 refactor 2013-02-22 05:20:50 -06:00
Christopher Jeffrey 17891e74c7 refactor ^c handling 2013-02-22 04:11:04 -06:00
Christopher Jeffrey f17634dfa7 more helper functions 2013-02-22 03:40:58 -06:00
Christopher Jeffrey 1988c22cab better escaping. 2013-02-21 05:39:29 -06:00
Christopher Jeffrey badfaf95aa optimzations. fix escape. 2013-02-21 03:08:39 -06:00