Commit Graph

238 Commits

Author SHA1 Message Date
Jakub Sobon 4f86e6da85
Don't return from Run() while the goroutine is still running.
Fixes #60
2018-07-02 23:05:38 -04:00
Jakub Sobon 2942aa165f
Merge pull request #42 from mum4k/sparkline
Implementing the SparkLine widget.
2018-07-02 22:57:21 -04:00
Jakub Sobon e5db7eff21
Responding to comments from @chipmunkie. 2018-07-02 22:28:17 -04:00
Jakub Sobon 7655941fc5 Merge branch 'devel' into sparkline 2018-07-02 22:22:01 -04:00
Jakub Sobon 1246e53f2c
Re-adding the licences. 2018-07-01 18:15:49 -04:00
Jakub Sobon ef1661e366
Self-review. 2018-07-01 18:13:29 -04:00
Jakub Sobon 20c66d49db Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 17:42:34 -04:00
Jakub Sobon 8a1d6ddadf
Self-review. 2018-07-01 17:41:32 -04:00
Jakub Sobon 244dcf02ea
Adding licences. 2018-07-01 17:33:20 -04:00
Jakub Sobon 09cda09f4f Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 17:32:58 -04:00
Jakub Sobon f9cc89400f Merge branch 'devel' into 10-braille-canvas-copyto 2018-07-01 17:32:44 -04:00
Jakub Sobon f4687ed919
The WRITE argument is second, not third. 2018-07-01 17:32:23 -04:00
Jakub Sobon 9aa3bf9787 Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 17:24:16 -04:00
Jakub Sobon 1b8150e76d Merge branch 'devel' into 10-braille-canvas-copyto 2018-07-01 17:23:59 -04:00
Jakub Sobon 85100462a1
Enabling autogen for licences again. 2018-07-01 17:23:35 -04:00
Jakub Sobon 25690e78aa
Using public git URL. 2018-07-01 17:17:42 -04:00
Jakub Sobon c45c83e14d
Execute the script directly. 2018-07-01 17:11:26 -04:00
Jakub Sobon 7a98d3f34a
Exact path to the autogen script. 2018-07-01 16:50:10 -04:00
Jakub Sobon 7d15d24d2f Merge branch '10-braille-canvas-copyto' into 20-braille-canvas 2018-07-01 16:16:31 -04:00
Jakub Sobon d3ad056468 Merge branch 'devel' into 10-braille-canvas-copyto 2018-07-01 16:16:16 -04:00
Jakub Sobon 4cefd0b77f
Travis now checks for missing licences in files. 2018-07-01 16:15:52 -04:00
Jakub Sobon 11c9dbab24
Adding a higher resolution canvas.
This canvas uses the braille pattern characters.
2018-07-01 00:12:28 -04:00
Jakub Sobon 30068668d0
The copied-to canvas is always zero-based.
At least from the point of view of the widget.
2018-06-30 22:07:39 -04:00
Jakub Sobon 750d7159e3
Ability to copy a canvas.
Allows one canvas to be copied onto another, potentially with an offset.
2018-06-30 21:39:02 -04:00
Jakub Sobon 9f7a598f1a
Fixing documentation. 2018-06-27 22:36:27 -04:00
Jakub Sobon c89ed6042b
Self review. 2018-06-25 00:07:33 -04:00
Jakub Sobon 3bfc5b554c Merge branch 'devel' into draw-line 2018-06-24 23:53:22 -04:00
Jakub Sobon 38c288b077 Merge branch 'devel' into sparkline 2018-06-24 23:53:09 -04:00
Jakub Sobon 8e43506e75
Merge pull request #41 from mum4k/barchart
Implementing a BarChart widget.
2018-06-25 04:52:45 +01:00
Jakub Sobon 5d5c7c1e38
Adding missing licences. 2018-06-24 23:51:26 -04:00
Jakub Sobon df60341164
Implementing code that draws line crossings. 2018-06-24 23:50:52 -04:00
Jakub Sobon 1bc6a7ccd4
Skeleton for function that draws lines.
- tests.
- testdraw wrapper.
- basic functionality that just draws lines, not crossings yet.
2018-06-24 21:49:30 -04:00
Jakub Sobon eb0d305f91 Merge branch 'devel' into sparkline 2018-06-23 20:55:27 -04:00
Jakub Sobon 8a8b91d8bd Merge branch 'devel' into barchart 2018-06-23 20:55:12 -04:00
Jakub Sobon 31f3862524
Removing two races in termdash_test.
- run the after() func after the event queue is emptied.
- close termdash before comparing the content of the fake terminal,
the background redraw() function could still race with the faketerm.Diff
function which isn't thread safe.
2018-06-23 20:52:32 -04:00
Jakub Sobon dd57b316b0
Fix incorrect color in the SparkLine demo. 2018-06-22 20:48:50 -04:00
Jakub Sobon 35f2672cae
Merge branch 'devel' into sparkline 2018-06-22 16:37:00 -04:00
Jakub Sobon b281b0506f
Merge branch 'devel' into barchart 2018-06-22 16:36:41 -04:00
Jakub Sobon 1ee2c7bae2
Merge pull request #40 from mum4k/triggered_redraw
Support for manually triggered redraw of terminal.
2018-06-22 16:35:24 -04:00
Jakub Sobon 4da5097d66
Fixing the SparkLine demo. 2018-06-22 16:33:05 -04:00
Jakub Sobon f4d2edc3f9
Adding licenses. 2018-06-22 16:30:50 -04:00
Jakub Sobon 9d02f43c6f
Self-review. 2018-06-22 16:27:23 -04:00
Jakub Sobon a9813c4c76
Implementation of the SparkLine widget.
And completing the demo.
2018-06-22 09:40:41 -04:00
Jakub Sobon 2ce014d35a
Fix for compatibility with Go 1.8.
Local implementation of math.Round.
2018-06-21 22:19:17 -04:00
Jakub Sobon d430638eb0
More test cases for the SparkLine widget. 2018-06-21 22:12:13 -04:00
Jakub Sobon 630151301f
Code that determines which sparks runes to use. 2018-06-21 22:11:57 -04:00
Jakub Sobon 40bee03bc2
Fixing incorrect func name in test output. 2018-06-21 17:05:05 -04:00
Jakub Sobon 27f6d76dc6
Skeleton of the SparkLine widget, tests and demo. 2018-06-21 17:04:19 -04:00
Jakub Sobon 6a320ac68c
Adding colors to the demo. 2018-06-19 23:12:28 -04:00
Jakub Sobon a0f55ccf01
Improving the demo. 2018-06-19 23:02:15 -04:00