Commit Graph

549 Commits

Author SHA1 Message Date
Jakub Sobon 5018a08b1f
Adding ValueCapacity method to BarChart. 2019-03-03 17:59:30 -05:00
Jakub Sobon aa688e223e
Merge pull request #166 from mum4k/padding-and-margin
Containers now support padding and margin
2019-03-03 03:03:02 -05:00
Jakub Sobon bbb960ad1b
Re-enabling coverage on push. 2019-03-03 02:51:26 -05:00
Jakub Sobon 9b27e22af7
Updating CHANGELOG.
And using the options in termdashdemo.
2019-03-03 02:42:19 -05:00
Jakub Sobon 74769824a4
Support margin around containers. 2019-03-03 02:38:35 -05:00
Jakub Sobon 9a021b52b1
Containers now support padding of their content. 2019-03-03 01:16:36 -05:00
Jakub Sobon 09503103a7
Utilities that safely shrink an area. 2019-03-03 00:18:41 -05:00
Jakub Sobon 0240298ea8
Merge pull request #163 from mum4k/widgetapi
Moving widgetapi out of internal
2019-03-02 22:15:56 -05:00
Jakub Sobon 768d5132b0
Updating CHANGELOG. 2019-03-02 22:03:14 -05:00
Jakub Sobon b020770733
Moving widgetapi out of internal.
This will allow external users to develop their own widgets.
2019-03-02 22:00:07 -05:00
Jakub Sobon 45d677cf51
Merge pull request #161 from mum4k/termdash-test-race
The termdash_test now waits until events are processed.
2019-03-02 18:54:01 -05:00
Jakub Sobon f16d9ec293 Merge branch 'devel' into termdash-test-race 2019-03-02 18:24:58 -05:00
Jakub Sobon bfcbf70008
Merge pull request #160 from mum4k/word-wrap
The text widget can now wrap its content at word boundaries.
2019-03-02 18:24:31 -05:00
Jakub Sobon 4465dced2d
Wait for subscribers to process events. 2019-03-02 18:24:10 -05:00
Jakub Sobon 2742487fc0
The text widget now wraps at words. 2019-03-02 17:56:37 -05:00
Jakub Sobon c43e453038
Text validation moved to the wrap package. 2019-03-02 17:46:03 -05:00
Jakub Sobon f102632bd4
Implementing AtWords wrapping mode. 2019-03-02 16:44:54 -05:00
Jakub Sobon 87cab66617
Simplifying the text widget.
This results in a better line wrapping abstraction which now works on
cells. Cells contain both the rune and the cell options which were
awkward to track separately.
2019-02-28 00:50:16 -05:00
Jakub Sobon 61aca3fb62
Removing Text's dependency on wrap.Needed.
It was rune based and thus incompatible with word wrapping.
2019-02-25 00:33:27 -05:00
Jakub Sobon 54c5dff63e
Factoring the line wrapping logic out of the text widget.
It will be needed for the Table too.
2019-02-24 23:10:52 -05:00
Jakub Sobon 80843ae031
Merge pull request #157 from mum4k/api-docs
Moving fakewidget to the internal subdirectory.
2019-02-24 22:42:39 -05:00
Jakub Sobon 50c00a2c8f
Moving fakewidget to the internal subdirectory. 2019-02-24 22:36:09 -05:00
Jakub Sobon cc460d43b7
Fixing one typo and adding two missing error checks. 2019-02-24 18:42:10 -05:00
Jakub Sobon a31a1ca7b4
Merge pull request #154 from mum4k/internal-refactor
Refactoring packages that contained a mix of internal and public types.
2019-02-24 16:47:54 -05:00
Jakub Sobon fb95437256
Updating CHANGELOG. 2019-02-24 16:40:32 -05:00
Jakub Sobon 2b7bbf2391
Adding tests for keyboard and mouse enums. 2019-02-24 16:35:19 -05:00
Jakub Sobon 290944c42c
Adding licences. 2019-02-24 16:30:05 -05:00
Jakub Sobon 984f37245d
Factoring private type buffer out of cell. 2019-02-24 16:29:44 -05:00
Jakub Sobon 0938ae91d8
Refactoring internal functions from align to internal/alignfor. 2019-02-24 15:44:13 -05:00
Jakub Sobon ffbf88caed
Finishing unfinished comment. 2019-02-24 02:39:00 -05:00
Jakub Sobon 614d6ed820
Merge pull request #153 from mum4k/release-0-7-1
Release v0.7.1
2019-02-24 02:16:25 -05:00
Jakub Sobon 85902cf11a
Button is internal. 2019-02-24 02:09:27 -05:00
Jakub Sobon b25d20c8ae
Mouse and keyboard are also public. 2019-02-24 02:08:48 -05:00
Jakub Sobon 99f9ddb047
Adding licences. 2019-02-24 02:01:31 -05:00
Jakub Sobon 5d35c92e12 Merge branch 'master' into release-0-7-1 2019-02-24 01:59:31 -05:00
Jakub Sobon bd6e3db7c1
Formatting CHANGELOG. 2019-02-24 01:58:12 -05:00
Jakub Sobon ba4256139d
Updating CHANGELOG. 2019-02-24 01:56:48 -05:00
Jakub Sobon 98394c921a
Moving draw back to internal.
Adding test for linestyle.
2019-02-24 01:54:37 -05:00
Jakub Sobon e4726e4240
Changing all call sites to linestyle. 2019-02-24 01:51:50 -05:00
Jakub Sobon ff614b89e7
Factoring linestyle into its own package.
So that draw can be made internal.
2019-02-24 01:42:34 -05:00
Jakub Sobon b74f46509b
Moving runewidth, segdisp and testdraw to internal. 2019-02-24 01:27:17 -05:00
Jakub Sobon bf61ca1479
Moving draw out of internal. 2019-02-24 01:20:03 -05:00
Jakub Sobon 97ec73069f
Moving align, cell and terminalapi back from internal. 2019-02-24 01:13:26 -05:00
Jakub Sobon 6a7f3ff886
Fixing lint issue in button. 2019-02-24 01:10:29 -05:00
Jakub Sobon 8df9e3307c
Moving faketerm to internal. 2019-02-24 01:09:23 -05:00
Jakub Sobon bf38f10d25
Moving terminal back to public. 2019-02-24 01:04:57 -05:00
Jakub Sobon c861ecef30
Merge pull request #152 from mum4k/release-0-7-0
Release v0.7.0
2019-02-24 00:34:52 -05:00
Jakub Sobon f7a68709e9
Changes to CHANGELOG. 2019-02-24 00:28:18 -05:00
Jakub Sobon fbf8bf91b4
Merge pull request #151 from mum4k/api-docs
Refactoring the codebase to clearly mark internal libraries.
2019-02-24 00:22:37 -05:00
Jakub Sobon 7e34138a78
Adjusting headings 2019-02-23 23:54:10 -05:00