osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-brick revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=52
This commit is contained in:
Peter Simons 2023-11-10 14:07:16 +00:00 committed by Git OBS Bridge
parent 7271a665dc
commit 31a634bfdb
5 changed files with 643 additions and 606 deletions

3
brick-1.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79190c167c1767e79341fd88ff4cf2deb698286cba0c67bd221b14828bdf458f
size 221757

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:463dfba63a279cac25398a1b36f36677d487f56efba6c6ce595d65e7d1157da3
size 719316

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,67 @@
-------------------------------------------------------------------
Mon Oct 23 02:30:51 UTC 2023 - Peter Simons <psimons@suse.com>
- Update brick to version 1.10 revision 1.
1.10
----
API changes:
* The `ScrollbarRenderer` type got split up into vertical and horizontal
versions, `VScrollbarRenderer` and `HScrollbarRenderer`, respectively.
Their fields are nearly identical to the original `ScrollbarRenderer`
fields except that many fields now have a `V` or `H` in them as
appropriate. As part of this change, the various `Brick.Widgets.Core`
functions that deal with the renderers got their types updated, and
the types of the default scroll bar renderers changed, too.
* The scroll bar renderers now have a field to control how much space
is allocated to a scroll bar. Previously, all scroll bars were
assumed to be exactly one row in height or one column in width. This
change is motivated by a desire to be able to control how scroll
bars are rendered adjacent to viewport contents. It isn't always
desirable to render them right up against the contents; sometimes,
spacing would be nice between the bar and contents, for example.
As part of this change, `VScrollbarRenderer` got a field called
`scrollbarWidthAllocation` and `HScrollbarRenderer` got a field called
`scrollbarHeightAllocation`. The fields specify the height (for
horizontal scroll bars) or width (for vertical ones) of the region
in which the bar is rendered, allowing scroll bar element widgets
to take up more than one row in height (for horizontal scroll bars)
or more than one column in width (for vertical ones) as desired. If
the widgets take up less space, padding is added between the scroll
bar and the viewport contents to pad the scroll bar to take up the
specified allocation.
1.9
---
API changes:
* `FocusRing` got a `Show` instance.
1.8
---
API changes:
* Added `Brick.Widgets.Core.forceAttrAllowStyle`, which is like
`forceAttr` but allows styles to be preserved rather than overridden.
Other improvements:
* The `Brick.Forms` documentation was updated to clarify how attributes
get used for form fields.
1.7
---
Package changes:
* Allow building with `base` 4.18 (GHC 9.6) (thanks Mario Lang)
API changes:
* Added a new function, `Brick.Util.style`, to create a Vty `Attr` from
a style value (thanks Amir Dekel)
Other improvements:
* `Brick.Forms.renderForm` now issues a visibility request for the
focused form field, which makes forms usable within viewports.
-------------------------------------------------------------------
Mon Oct 23 02:31:49 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.6
Version: 1.10
Release: 0
Summary: A declarative terminal user interface library
License: BSD-3-Clause
@ -38,8 +38,6 @@ BuildRequires: ghc-config-ini-devel
BuildRequires: ghc-config-ini-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-contravariant-prof
BuildRequires: ghc-data-clist-devel
BuildRequires: ghc-data-clist-prof
BuildRequires: ghc-deepseq-devel