Commit Graph

919 Commits

Author SHA1 Message Date
Jakub Sobon 448d494391
Merge pull request #235 from mum4k/234-tcell_test
Stub out tcell.NewScreen so tests can pass headless.
2020-06-20 14:48:08 -04:00
Jakub Sobon ccaec8f9af
Updating CHANGELOG. 2020-06-20 14:33:00 -04:00
Jakub Sobon 0f0fa8ae08
Triggering a CI build. 2020-06-20 14:31:30 -04:00
Jakub Sobon 4beaac9cca
Stub out tcell.NewScreen so tests can pass headless. 2020-06-20 14:00:05 -04:00
Jakub Sobon 42f5d613d5
Merge pull request #232 from mum4k/release-0-12-0
Release v0.12.0
2020-04-10 15:46:00 -04:00
Jakub Sobon d7aef3106b
Fixing link in CHANGELOG. 2020-04-10 15:45:25 -04:00
Jakub Sobon 601134e913
Release v0.12.0. 2020-04-10 15:38:27 -04:00
Jakub Sobon ddd5821189
Merge pull request #231 from mum4k/rename-internal
Rename `internal` directory to `private`.
2020-04-10 15:36:38 -04:00
Jakub Sobon 69063e8251
CHANGELOG entry for rename of 'internal'. 2020-04-10 15:29:04 -04:00
Jakub Sobon 06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
Jakub Sobon 254ca7d460
Renamed 'internal' directory to 'private'. 2020-04-10 15:13:15 -04:00
Jakub Sobon f1feb4935b
Merge pull request #229 from mum4k/go-modules
Migrating to Go modules.
2020-03-20 14:19:34 -04:00
Jakub Sobon 951f3e7469
Migrating to Go modules.
Fixes #228.
2020-03-20 14:10:53 -04:00
Jakub Sobon fe815c69cb
Document that devel branch is used for development. 2020-03-20 12:11:16 -04:00
Jakub Sobon 5430f4d89e
Merge pull request #225 from mum4k/release-0-11-0
## [0.11.0] - 7-Mar-2020

#### Breaking API changes

- Termdash now requires at least Go version 1.11.

### Added

- New [`tcell`](https://github.com/gdamore/tcell) based terminal implementation
  which implements the `terminalapi.Terminal` interface.
- tcell implementation supports two initialization `Option`s:
  - `ColorMode` the terminal color output mode (defaults to 256 color mode)
  - `ClearStyle` the foreground and background color style to use when clearing
     the screen (defaults to the global ColorDefault for both foreground and
     background)
2020-03-07 10:52:52 -05:00
Jakub Sobon 6c6d276c4c
Noting supported Golang version in CHANGELOG. 2020-03-07 10:37:35 -05:00
Jakub Sobon 8d150757ec Merge branch 'devel' into release-0-11-0 2020-03-07 10:36:35 -05:00
Jakub Sobon 7f90071d1d
Merge pull request #227 from mum4k/golang-support
Advancing CI to Go 1.14.
2020-03-07 10:36:07 -05:00
Jakub Sobon d0a3c4de03
Advancing CI to Go 1.14. 2020-03-07 10:35:02 -05:00
Jakub Sobon 6e497c6d89
Note Gauge coverage change in CHANGELOG. 2020-03-07 10:20:19 -05:00
Jakub Sobon cccb943eaf Merge branch 'devel' into release-0-11-0 2020-03-07 10:19:46 -05:00
Jakub Sobon a228cda6e2
Merge pull request #226 from mum4k/gauge-test-coverage
Improving test coverage of the Gauge widget.
2020-03-07 10:18:45 -05:00
Jakub Sobon 0b75d06a3f
Improving test coverage of the Gauge widget. 2020-03-07 10:10:09 -05:00
Jakub Sobon 6daa2fec19 Merge branch 'devel' into release-0-11-0 2020-03-07 09:32:16 -05:00
Jakub Sobon 3767faf476 Merge branch 'master' into devel 2020-03-07 09:31:57 -05:00
Jakub Sobon d63ce48b14
Updating CHANGELOG for release v0.11.0. 2020-03-07 09:24:54 -05:00
Jakub Sobon d279ac7476
Merge pull request #224 from kvnxiao/devel
Add Tcell implementation for terminal backend
2020-03-02 22:18:59 -05:00
kvnxiao 26f6d38c1f Add -terminal flag to switch between implementations for termdashdemo 2020-03-01 14:44:33 -05:00
kvnxiao 37ee2177ac Add missing Close() function to terminalapi.Terminal interface 2020-03-01 14:43:46 -05:00
kvnxiao 6246aba1f7 Change "invalid" to "unsupported" in comments 2020-03-01 14:24:10 -05:00
kvnxiao 95719be9f6 Make mouse event test case clearer 2020-03-01 14:23:53 -05:00
kvnxiao b420a29b30 Update CHANGELOG for new tcell terminal implementation 2020-03-01 02:15:15 -05:00
kvnxiao 95f5fe8fc9 Fix default clear style to use ColorDefault 2020-03-01 02:14:30 -05:00
kvnxiao be7995369c Fix mouse button logic and tests 2020-03-01 01:54:36 -05:00
kvnxiao 1af531975d Fix linting 2020-03-01 01:25:50 -05:00
kvnxiao c8ffedc2b8 Return nil mouseEvent for non-supported events 2020-03-01 01:19:49 -05:00
kvnxiao 1e970dcacd Return nil for non-termdash events 2020-03-01 01:14:37 -05:00
kvnxiao f7578e54cc Fix tests for ColorDefault 2020-02-29 18:46:20 -05:00
kvnxiao a0d3da0527 Fix a check in fixColor 2020-02-29 18:40:14 -05:00
kvnxiao d270c6de17 Add missing license header 2020-02-29 18:26:10 -05:00
kvnxiao 299590e784 Fix a test case for fixColors on color mode 216 2020-02-29 18:09:20 -05:00
kvnxiao 2f2b13d319 Add event.Name() to keyboard key error message 2020-02-29 18:06:55 -05:00
kvnxiao 5f5aff3a94 Add cellOptsToStyle test 2020-02-29 18:03:36 -05:00
kvnxiao c431b8c3bd Add fixColor test 2020-02-29 17:52:32 -05:00
kvnxiao 5cd12d9fce Add test for tcell options 2020-02-29 17:32:35 -05:00
kvnxiao 3fdaf659f2 Use tcell screen.Fill() to clear screen 2020-02-29 17:21:55 -05:00
kvnxiao 67c22d9015 Add license headers 2020-02-29 02:15:23 -05:00
kvnxiao 2f95ff99d1 Remove local go.mod stuff 2020-02-29 02:10:10 -05:00
kvnxiao f01148c8fd Add color mode and clear style colors 2020-02-29 02:02:05 -05:00
kvnxiao facb0e6743 Add missing comment 2020-02-29 02:02:05 -05:00