Commit Graph

46 Commits

Author SHA1 Message Date
mars 7c8e913f0d Horizontal layout (woohoo!) 2022-10-24 00:31:34 -06:00
mars 63b985d230 Lots of axis logic + min-sized based calc_sizes() 2022-10-23 23:15:55 -06:00
mars 8477e4c1f1 Add horizontal box demo 2022-10-23 22:27:41 -06:00
mars 0ec3b49eae Better box building 2022-10-23 22:24:20 -06:00
mars 847de268aa Calculate individual child block sizes 2022-10-23 20:37:53 -06:00
mars d7b465b438 Dimensions + ParseScoped 2022-10-23 19:54:49 -06:00
mars bfe3db415c Fix text block line width inconsistencies 2022-10-23 00:26:12 -06:00
mars 3d214a8230 Rudimentary layout 2022-10-23 00:10:55 -06:00
mars 8f92067869 Render text block padding 2022-10-22 22:57:25 -06:00
mars 8fb89ad70b Refactor to layout module 2022-10-22 22:23:47 -06:00
mars 2355d2c768 Add auto margins 2022-10-22 22:12:04 -06:00
mars bda4432d25 Add border kind parsing 2022-10-22 22:06:26 -06:00
mars c7ccaaa0e5 Clean up use of ParseError 2022-10-22 21:50:49 -06:00
mars 0cbff0802e Add and parse AxisSize 2022-10-22 21:18:09 -06:00
mars 88d3794eb9 Better ParseValue + Color parsing + border colors 2022-10-22 17:52:33 -06:00
mars d9dc49b584 Args parsing traits + block margins and padding 2022-10-22 17:38:17 -06:00
mars d60ee159a7 Refactor Args into args module 2022-10-22 12:58:50 -06:00
mars 293fa8af2b Refactor Source into source module 2022-10-22 12:42:46 -06:00
mars 3df84a24a1 Remove old files 2022-10-22 12:36:32 -06:00
mars 0e3b8ea611 Text layout + rendering 2022-10-13 00:49:47 -06:00
mars dfdf8d73b0 Rename styled text to tagged text + convert plain text to text layouts + figlet and code block layouts 2022-10-12 02:59:13 -06:00
mars b89496f15b Remove test lexing from main 2022-10-12 02:47:22 -06:00
mars bb11a857da Remove importing of obsolete modules 2022-10-12 01:55:38 -06:00
mars c8fd64bd79 Remove old lexpr parsing code 2022-10-12 01:54:43 -06:00
mars 461e9b6529 WIP component-based DOM 2022-10-12 01:53:48 -06:00
mars b1b5b187ba Parse number values 2022-10-11 18:54:51 -06:00
mars 5616237eea Basic styled text parsing 2022-10-11 03:42:07 -06:00
mars 3091cc09f4 Return-carriage newlines + properly aligned newline starts 2022-10-11 03:16:57 -06:00
mars 9d68e04d75 Support inline list tags + better ParseError display 2022-10-11 02:47:45 -06:00
mars 0bbc6e2a62 Display ParseErrors with source 2022-10-11 02:35:34 -06:00
mars 10a324172b Minor WithSource cleanup 2022-10-11 01:56:11 -06:00
mars a0edf84c01 Add AST parser 2022-10-11 01:34:03 -06:00
mars 8a6b714c1a WIP text module 2022-10-10 22:12:44 -06:00
mars a6cfb7c180 Parse arguments 2022-10-10 15:55:51 -06:00
mars 8cbd303510 Add more test content 2022-10-09 19:27:45 -06:00
mars ac6eac1375 Color text tags 2022-10-09 17:10:58 -06:00
mars dec3406a91 Figlet and code block layout 2022-10-09 15:44:38 -06:00
mars 04517ad670 Remove leaf tags + better child semantics 2022-10-09 15:22:45 -06:00
mars c7804d8f68 Style list bullets 2022-10-09 03:12:47 -06:00
mars d7c93ee776 Layout lists 2022-10-09 02:52:59 -06:00
mars 8ae57a2413 Fix main width 2022-10-09 02:06:16 -06:00
mars b7684c5f24 New layout architecture 2022-10-09 02:03:02 -06:00
mars 2aa36d9b02 Use the new DOM parser on the input file 2022-10-09 00:48:05 -06:00
mars 5ac8032f92 Add framework for new tag system 2022-10-09 00:31:53 -06:00
mars 618f5dffa6 Add styled header to test 2022-10-08 23:07:20 -06:00
mars 5496a7064c Initial commit 2022-10-08 22:52:24 -06:00