2019-02-23 17:52:37 -07:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
|
|
|
2019-07-15 13:40:41 -06:00
|
|
|
## [3.1.0] - 2019-07-15
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Added Tree widget [#237]
|
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## [3.0.0] - 2019-03-07
|
2019-03-07 03:00:36 -07:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Added sync.Locker interface to Drawable interface
|
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-03-01
|
2019-03-01 15:00:31 -07:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Change scroll method names in List widget
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fix List widget scrolling
|
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-02-28
|
2019-02-28 19:47:54 -07:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add `ColumnResizer` to table which allows for custom column sizing
|
|
|
|
- Add widget padding
|
2019-02-23 17:54:20 -07:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2019-02-23 18:15:42 -07:00
|
|
|
- Change various widget field names
|
2019-02-28 19:47:54 -07:00
|
|
|
- s/`TextParse`/`ParseStyles`
|
|
|
|
- Remove `AddColorMap` in place of modifying `StyleParserColorMap` directly
|
2019-02-23 17:54:20 -07:00
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-01-31
|
2019-02-23 17:52:37 -07:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add more scrolling options to List
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Make list scroll automatically
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-01-26
|
2019-02-23 17:52:37 -07:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add scrolling to List widget
|
|
|
|
- Add WrapText option to Paragraph
|
|
|
|
- controls if text should wrap automatically
|
2019-01-23 21:12:10 -07:00
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-01-24
|
2019-01-24 08:56:22 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add image widget [#126]
|
|
|
|
|
|
|
|
### Changed
|
2019-01-24 08:56:22 -07:00
|
|
|
|
|
|
|
- Change LineChart to Plot
|
|
|
|
- Added ScatterPlot mode which plots points instead of lines between points
|
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2019-01-23
|
2019-01-23 21:12:10 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
### Added
|
2019-01-24 05:19:47 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
- Add `Canvas` which allows for drawing braille lines to a `Buffer`
|
2019-01-24 05:19:47 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
### Changed
|
2019-01-24 05:19:47 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
- Set `termbox-go` backend to 256 colors by default
|
|
|
|
- Moved widgets to `github.com/gizak/termui/widgets`
|
|
|
|
- Rewrote widgets (check examples and code)
|
|
|
|
- Rewrote grid
|
2019-01-23 21:12:10 -07:00
|
|
|
- grids are instantiated locally instead of through `termui.Body`
|
|
|
|
- grids can be nested
|
2019-02-23 17:52:37 -07:00
|
|
|
- change grid layout mechanism
|
2019-01-23 21:12:10 -07:00
|
|
|
- columns and rows can be arbitrarily nested
|
|
|
|
- column and row size is now specified as a ratio of the available space
|
|
|
|
- `Cell`s now contain a `Style` which holds a `Fg`, `Bg`, and `Modifier`
|
|
|
|
- Change `Bufferer` interface to `Drawable`
|
|
|
|
- Add `GetRect` and `SetRect` methods to control widget sizing
|
|
|
|
- Change `Buffer` method to `Draw`
|
|
|
|
- `Draw` takes a `Buffer` and draws to it instead of returning a new `Buffer`
|
2019-02-23 17:52:37 -07:00
|
|
|
- Refactor `Theme`
|
2019-01-23 21:12:10 -07:00
|
|
|
- `Theme` is now a large struct which holds the default `Styles` of everything
|
2019-02-23 17:52:37 -07:00
|
|
|
- Combine `TermWidth` and `TermHeight` functions into `TerminalDimensions`
|
|
|
|
- Rework `Block`
|
|
|
|
- Rework `Buffer` methods
|
|
|
|
- Decremente color numbers by 1 to match xterm colors
|
|
|
|
- Change text parsing
|
|
|
|
- change style items from `fg-color` to `fg:color`
|
|
|
|
- adde mod item like `mod:reverse`
|
2019-01-23 21:12:10 -07:00
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2018-11-29
|
2018-11-29 13:19:29 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
### Changed
|
|
|
|
|
2018-11-29 13:19:29 -07:00
|
|
|
- Move Tabpane from termui/extra to termui and rename it to TabPane
|
2018-11-29 16:15:57 -07:00
|
|
|
- Rename PollEvent to PollEvents
|
2018-11-29 13:19:29 -07:00
|
|
|
|
2019-03-07 03:50:35 -07:00
|
|
|
## 2018-11-28
|
2018-11-28 22:13:29 -07:00
|
|
|
|
2019-02-23 17:52:37 -07:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Migrate from Dep to vgo
|
|
|
|
- Overhaul the event system
|
2018-11-29 09:49:07 -07:00
|
|
|
- check the wiki/examples for details
|
2019-02-23 17:52:37 -07:00
|
|
|
- Rename Par widget to Paragraph
|
|
|
|
- Rename MBarChart widget to StackedBarChart
|
|
|
|
|
2019-07-15 13:40:41 -06:00
|
|
|
[#237]: https://github.com/gizak/termui/pull/237
|
2019-02-23 17:52:37 -07:00
|
|
|
[#126]: https://github.com/gizak/termui/pull/126
|
|
|
|
|
2019-07-15 13:40:41 -06:00
|
|
|
[Unreleased]: https://github.com/gizak/termui/compare/v3.1.0...HEAD
|
|
|
|
[3.1.0]: https://github.com/gizak/termui/compare/v3.0.0...v3.1.0
|
2019-03-07 03:53:16 -07:00
|
|
|
[3.0.0]: https://github.com/gizak/termui/compare/v2.3.0...v3.0.0
|