2022-07-17 10:32:39 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Jul 9 16:24:17 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.73.
|
|
|
|
0.73
|
|
|
|
----
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* Added `Brick.Widgets.Edit.getCursorPosition` (thanks
|
|
|
|
@TristanCacqueray)
|
|
|
|
|
|
|
|
0.72
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Increased lower bound on `text-zipper` to `0.12`.
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* `handleEditorEvent` now takes a `BrickEvent` rather than just a Vty
|
|
|
|
`Event`.
|
|
|
|
* Brick editors now handle mouse clicks to change their cursor
|
|
|
|
positions.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jul 5 15:21:33 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.71.1.
|
|
|
|
0.71.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Fixed an issue where `tests/Render.hs` did not gracefully exit in the
|
|
|
|
presence of an unknown terminal.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Jul 4 16:28:56 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.71.
|
|
|
|
0.71
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Increased `vty` lower bound to `5.36`.
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* Added `tests/Render.hs` to provide a simple test of
|
|
|
|
`Brick.Main.renderWidget` (thanks @valyagolev)
|
|
|
|
* Added `Brick.Main.renderWidget` to help in golden testing contexts
|
|
|
|
(thanks @valyagolev)
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
* Various `table` documentation improvements.
|
|
|
|
|
2022-06-29 12:18:08 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Jun 19 20:13:57 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.70.1.
|
|
|
|
0.70.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Build fixes:
|
|
|
|
* Added a missing import for GHC 8.2.2.
|
|
|
|
|
|
|
|
0.70
|
|
|
|
----
|
|
|
|
|
|
|
|
Enhancements:
|
|
|
|
* The table widget now behaves much better when some or all cells are
|
|
|
|
empty.
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* BorderMaps got fixed to ensure that smart borders connect even in the
|
|
|
|
presence of empty widgets (#370). Thanks to Daniel Wagner for this
|
|
|
|
fix!
|
|
|
|
|
|
|
|
0.69.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* `table` can now deal properly with empty cells that are in left- and
|
|
|
|
top-aligned settings. Previously, empty cells in those settings would
|
|
|
|
break table rendering. (#369)
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon May 23 20:30:38 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.69.
|
|
|
|
0.69
|
|
|
|
----
|
|
|
|
|
|
|
|
New features:
|
|
|
|
* `Brick.Widgets.Core`: added `relativeTo` to support relative
|
|
|
|
positioning across layers. This allows elements in higher layers
|
|
|
|
to be positioned relative to elements in lower layers as long as
|
|
|
|
those elements have had their extents reported with `reportExtent` or
|
|
|
|
`clickable`.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Apr 1 05:03:26 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.68.1.
|
|
|
|
0.68.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Brick's internal book-keeping got a bug fix that caused mouse-click
|
|
|
|
coordinates to be wrong for clickable regions that were translated
|
|
|
|
partially off of the left or top edges of a rendered region.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Mar 7 16:33:29 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update brick to version 0.68.
|
|
|
|
0.68
|
|
|
|
----
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* Removed the "markup" feature, which included `Data.Text.Markup`,
|
|
|
|
`Brick.Markup`, and `brick-markup-demo`. This feature never performed
|
|
|
|
well and was awkward to use. I considered it experimental from the
|
|
|
|
initial release of this library. Some recent incompatibilities with
|
|
|
|
Vty changes made me realize that it was time to finally get rid of
|
|
|
|
this. If this affects you, please let me know and I am happy to work
|
|
|
|
with you to figure out an alternative. Granted, anyone is welcome to
|
|
|
|
dig up the previous code and re-use it in their own projects!
|
|
|
|
|
2022-02-09 13:44:52 +00:00
|
|
|
-------------------------------------------------------------------
|
2022-02-11 02:01:43 +00:00
|
|
|
Mon Jan 31 17:17:26 UTC 2022 - Peter Simons <psimons@suse.com>
|
2022-02-09 13:44:52 +00:00
|
|
|
|
|
|
|
- Update brick to version 0.67.
|
|
|
|
Upstream has edited the change log file since the last release in
|
|
|
|
a non-trivial way, i.e. they did more than just add a new entry
|
|
|
|
at the top. You can review the file at:
|
|
|
|
http://hackage.haskell.org/package/brick-0.67/src/CHANGELOG.md
|
|
|
|
|
2021-11-21 11:20:43 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sat Nov 20 17:30:51 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.65.
|
|
|
|
0.65
|
|
|
|
----
|
|
|
|
|
|
|
|
New features and API changes:
|
|
|
|
* Viewports got support for built-in scroll bar rendering. This
|
|
|
|
includes additions of types and functions to manage the feature
|
|
|
|
behavior. These changes enable viewports to automatically get
|
|
|
|
scroll bars drawn next to them (on any side) with customizable
|
|
|
|
attributes and drawings. As part of this change, a new demo program,
|
|
|
|
`ViewportScrollbarsDemo.hs`, was added to show off these new
|
|
|
|
features. Here are the new types and functions that got added (mostly
|
|
|
|
to `Brick.Widgets.Core`):
|
|
|
|
* `withVScrollBars` - enable display of vertical scroll bars
|
|
|
|
* `withHScrollBars` - enable display of horizontal scroll bars
|
|
|
|
* `withClickableVScrollBars` - enable mouse click reporting on
|
|
|
|
vertical scroll bar elements
|
|
|
|
* `withClickableHScrollBars` - enable mouse click reporting on
|
|
|
|
horizontal scroll bar elements
|
|
|
|
* `ClickableScrollbarElement` - the type of elements of a scroll bar
|
|
|
|
that can be clicked on and provided to the application
|
|
|
|
* `withVScrollBarHandles` - enable vertical scroll bar handle drawing
|
|
|
|
* `withHScrollBarHandles` - enable horizontal scroll bar handle
|
|
|
|
drawing
|
|
|
|
* `withVScrollBarRenderer` - customize the renderer used for vertical
|
|
|
|
scroll bars
|
|
|
|
* `withHScrollBarRenderer` - customize the renderer used for
|
|
|
|
horizontal scroll bars
|
|
|
|
* `ScrollbarRenderer(..)` - the type of scroll bar renderer
|
|
|
|
implementations
|
|
|
|
* `verticalScrollbarRenderer` - the default renderer for vertical
|
|
|
|
scrollbars, customizable with `withVScrollBarRenderer`
|
|
|
|
* `horizontalScrollbarRenderer` - the default renderer for horizontal
|
|
|
|
scrollbars, customizable with `withHScrollBarRenderer`
|
|
|
|
* `scrollbarAttr` - the base attribute of scroll bars
|
|
|
|
* `scrollbarTroughAttr` - the attribute of scroll bar troughs
|
|
|
|
* `scrollbarHandleAttr` - the attribute of scroll bar handles
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Raised `base` bounds to allow building with GHC 9.2.1 (thanks Mario
|
|
|
|
Lang)
|
|
|
|
* Stopped supporting GHC 7.10.
|
|
|
|
|
2021-11-09 08:31:50 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Nov 1 08:22:10 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.64.2.
|
|
|
|
0.64.2
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* `Brick.Themes.saveTheme` now correctly saves background colors (#338)
|
|
|
|
* `Brick.Widgets.List.listMoveToEnd` now uses the correct destination
|
|
|
|
index (#337)
|
|
|
|
|
2021-09-20 13:07:56 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Sep 20 07:11:38 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.64.1.
|
|
|
|
Upstream has edited the change log file since the last release in
|
|
|
|
a non-trivial way, i.e. they did more than just add a new entry
|
|
|
|
at the top. You can review the file at:
|
|
|
|
http://hackage.haskell.org/package/brick-0.64.1/src/CHANGELOG.md
|
|
|
|
|
2021-09-07 15:04:10 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Aug 25 10:24:53 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.64.
|
|
|
|
Upstream has edited the change log file since the last release in
|
|
|
|
a non-trivial way, i.e. they did more than just add a new entry
|
|
|
|
at the top. You can review the file at:
|
|
|
|
http://hackage.haskell.org/package/brick-0.64/src/CHANGELOG.md
|
|
|
|
|
2021-05-04 10:35:12 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Apr 30 08:28:16 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.62.
|
|
|
|
0.62
|
|
|
|
----
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* `Brick.Widgets.Core` got new functions
|
|
|
|
`crop{Left,Right,Bottom,Top}To`. Unlike the `crop...By` functions,
|
|
|
|
which crop on the specified side by a particular amount, these
|
|
|
|
`crop...To` functions crop on the specified side and take a desired
|
|
|
|
overall width of the final result and use that to determine how much
|
|
|
|
to crop. A widget `x` of width `w` could thus be cropped equivalently
|
|
|
|
with `cropLeftBy a x` and `cropLeftTo (w - a) x`.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
* Added `programs/CroppingDemo.hs` to demonstrate the new (and
|
|
|
|
preexisting) cropping functions.
|
|
|
|
|
2021-04-23 12:19:11 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Apr 9 08:54:26 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.61.
|
|
|
|
0.61
|
|
|
|
----
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* Brick.Forms got `editShowableFieldWithValidate`, a generalization
|
|
|
|
of `editShowableField` that allows the caller to specify an
|
|
|
|
additional validation function (thanks Ben Selfridge)
|
|
|
|
|
2021-04-06 10:44:44 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Apr 6 08:27:31 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.60.2 revision 1.
|
|
|
|
Upstream has revised the Cabal build instructions on Hackage.
|
|
|
|
|
2021-02-09 09:17:41 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Feb 8 05:05:28 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.60.2.
|
|
|
|
0.60.2
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Widgets reported as `clickable` are now reported as clickable even
|
|
|
|
when their renderings are cached with `cached` (#307; thanks Hari
|
|
|
|
Menon)
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Wed Feb 3 20:26:11 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.60.1.
|
|
|
|
0.60.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* `table []` no longer raises `TEUnequalRowSizes`.
|
|
|
|
|
|
|
|
0.60
|
|
|
|
----
|
|
|
|
|
|
|
|
New features:
|
|
|
|
* Added `Brick.Widgets.Table` to support drawing basic tables. See
|
|
|
|
`programs/TableDemo.hs` for a demonstration (`cabal new-run -f demos
|
|
|
|
brick-table-demo`).
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jan 29 10:26:08 UTC 2021 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.59.
|
|
|
|
0.59
|
|
|
|
----
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* `Brick.Widgets.List` got `listMoveToBeginning` and `listMoveToEnd`
|
|
|
|
functions
|
|
|
|
* `Extent`: removed the unused `extentOffset` field
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Fixed a crash in the border rewriting code that attempted to rewrite
|
|
|
|
empty images (#305) (thanks @dmwit)
|
|
|
|
|
2021-01-08 10:06:10 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Dec 29 21:16:36 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.58.1.
|
|
|
|
0.58.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Removed a defunct failing test from the List test suite
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Dec 22 12:57:43 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.58.
|
|
|
|
0.58
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Updated dependency constraints to build on GHC 9.0.1 (thanks Ondřej
|
|
|
|
Súkup)
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* The FileBrowser module now exports individual functions for
|
|
|
|
each of the events that it handles. This allows end users to
|
|
|
|
trigger the behaviors directly rather than relying on the built-in
|
|
|
|
`handleFileBrowserEvent` function. The documentation has been updated
|
|
|
|
to indicate which functions are triggered by each key event. (Thanks
|
|
|
|
David B. Lamkins)
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
* The `List` module's `listFindBy` function now attempts to find a
|
|
|
|
match anywhere in the list rather than just somewhere between the
|
|
|
|
cursor and the end of the list.
|
|
|
|
* The `FileBrowser` now positions a cursor at the beginning of the
|
|
|
|
selected entry when the file browser is focused. (thanks Mario Lang)
|
|
|
|
* The user guide's viewport visibility example got an important
|
|
|
|
syntactic fix. (thanks Mario Lang)
|
|
|
|
|
2020-12-18 12:51:45 +00:00
|
|
|
-------------------------------------------------------------------
|
2020-12-19 18:28:09 +00:00
|
|
|
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
2020-12-18 12:51:45 +00:00
|
|
|
|
2020-12-19 17:47:43 +00:00
|
|
|
- disable %{ix86} build
|
2020-12-18 12:51:45 +00:00
|
|
|
|
2020-11-17 18:44:31 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Nov 15 22:16:04 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.57.1 revision 1.
|
|
|
|
Upstream has revised the Cabal build instructions on Hackage.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Nov 15 12:26:52 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.57.1.
|
|
|
|
0.57.1
|
|
|
|
------
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* Fixed a small space leak in the main rendering loop (#260)
|
|
|
|
* Get `TailDemo` building on more versions of GHC
|
|
|
|
|
2020-10-20 09:15:29 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Oct 6 08:56:57 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.57.
|
|
|
|
0.57
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Raised lower bound on `vty` to 5.31 to get the new `strikethrough`
|
|
|
|
style.
|
|
|
|
|
|
|
|
New features:
|
|
|
|
* Added support for the `strikethrough` style in Brick theme
|
|
|
|
customization files.
|
|
|
|
|
2020-09-28 01:01:27 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Sun Sep 27 02:01:03 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.56.
|
|
|
|
0.56
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Increased upper bound for `base` to support GHC 8.10.2 (thanks Ryan
|
|
|
|
Scott)
|
|
|
|
|
|
|
|
API changes:
|
|
|
|
* Added `Brick.Forms.updateFormState` to update the state contained
|
|
|
|
within (and managed by) a Form. This function takes care of the
|
|
|
|
details of updating the form fields themselves to be consistent with
|
|
|
|
the change in underlying state.
|
|
|
|
* Added the overall window width (`windowWidth`) and height
|
|
|
|
(`windowHeight`) to `Context`, the rendering context type (thanks Tom
|
|
|
|
McLaughlin)
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
* Added `brick-tail-demo`, a demonstration program for writing a
|
|
|
|
`tail`-style output-following interface.
|
|
|
|
* Updated `Brick.Widgets.ProgressBar` so that it handles near-endpoint
|
|
|
|
cases more naturally (fixes #281)
|
|
|
|
|
2020-09-01 01:01:31 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Mon Aug 31 09:34:36 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.55 revision 1.
|
|
|
|
Upstream has revised the Cabal build instructions on Hackage.
|
|
|
|
|
2020-08-19 01:01:06 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Aug 18 10:44:11 UTC 2020 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Replace %setup -q with the more modern %autosetup macro.
|
|
|
|
|
2020-08-18 09:11:33 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Aug 18 09:11:20 UTC 2020 - Peter Simons <psimons@suse.com>
|
|
|
|
|
|
|
|
- Update Cabal file to accept latest base version.
|
|
|
|
|
2020-07-13 01:02:04 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Fri Jul 10 02:00:27 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Update brick to version 0.55.
|
|
|
|
0.55
|
|
|
|
----
|
|
|
|
|
|
|
|
Package changes:
|
|
|
|
* Increased lower bound on `vty` dependency to 5.29.
|
|
|
|
|
|
|
|
Bug fixes:
|
|
|
|
* `customMain` now restores the initial terminal input state on
|
|
|
|
shutdown. This means that changes to the input state flags in the last
|
|
|
|
`suspendAndResume` before program exit are no longer propagated to the
|
|
|
|
end user's terminal environment (which could lead to broken or garbled
|
|
|
|
terminal I/O).
|
|
|
|
|
2020-06-16 10:56:27 +00:00
|
|
|
-------------------------------------------------------------------
|
|
|
|
Tue Jun 9 09:26:18 UTC 2020 - psimons@suse.com
|
|
|
|
|
|
|
|
- Add brick at version 0.54.
|
|
|
|
|