Commit Graph

30 Commits (81c6196dc488d73c9c47e5ccf94e6e8c94e75ad4)

Author SHA1 Message Date
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson d5c5a1389d ui.gadgets.paragraphs: pref-dim of { 0 0 } if no children. 2015-09-20 09:45:05 -07:00
Doug Coleman af90d77fc2 wrap.words: rename wrap.words:word to wrapping-word. this ``wrapping-word`` is loaded by default and now this trivial vocabulary won't cause a naming conflict with the builtin ``word`` and one of the most used symbols and concepts in the entire language. 2015-07-20 01:15:48 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
John Benediktsson 14b3261bef ui: cleanup some using lists. 2015-01-29 11:41:18 -08:00
John Benediktsson 5e57a8258d ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -07:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson 8e3c79b841 ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00
Doug Coleman 0f104af192 forgot a sigma 2009-10-29 14:34:31 -05:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Slava Pestov ce76331fd6 Fixing more unit tests 2009-04-17 15:50:03 -05:00
Slava Pestov d67f08549c New baseline alignment algorithm uses cap-height/2 as graphics baseline instead of ascent/2 2009-02-17 13:41:19 -06:00
Slava Pestov c7dc4f1080 Split off baseline alignment code into ui.baseline-alignment, and add cap-height generic word 2009-02-17 06:10:02 -06:00
Slava Pestov d5d9c65859 Remove new-gadget since it was just an alias for new 2009-02-16 04:04:32 -06:00
Slava Pestov 4d69475cac Add support for Joe's "graphics baseline" idea 2009-02-12 16:52:24 -06:00
Slava Pestov 699ac62bc9 ui.gadgets.paragraphs: update for wrap.words API 2009-02-09 01:47:41 -06:00
Slava Pestov e1260031b6 Grid layout now respects baselines when fill attribute is off
Paragraph gadgets now compute a baseline
2009-02-04 00:50:04 -06:00
Slava Pestov 3ed8d9ccce Correctly compute pref-dim of gadgets with baseline alignment 2009-02-02 15:14:46 -06:00
Slava Pestov 193be29964 Working on baseline alignment 2009-02-02 13:45:06 -06:00
Slava Pestov abb6c01a62 Refactor ui.gadgets.paragraphs to use wrap 2009-02-02 03:32:13 -06:00
Slava Pestov d31b902f96 Add horizontal and vertical orientation constants, working on baseline alignment 2009-02-02 00:02:55 -06:00
Slava Pestov 3e25d14e54 Code cleanup: refactoring usages of rot and -rot to use newer idioms instead 2008-11-30 17:47:29 -06:00
Slava Pestov b7610e0bf7 Fix ridiculous indentation, over (>>foo), and other crap in UI 2008-09-27 14:36:04 -05:00
Doug Coleman 065c9eb93e new accessors 2008-09-01 22:44:54 -05:00
Eduardo Cavazos 7535c1d256 Another big accessors batch update 2008-08-31 01:42:30 -05:00
Eduardo Cavazos 04f8eaf220 ui.*: Use new accessors 2008-08-29 18:44:19 -05:00
Eduardo Cavazos 7402cd2ab7 Move 'ui' to basis 2008-08-07 21:12:50 -05:00