Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2021-11-11 21:36:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-brick (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-brick.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-brick"

Thu Nov 11 21:36:15 2021 rev:17 rq:930312 version:0.64.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes      2021-10-12 
21:50:16.487950868 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.1890/ghc-brick.changes    
2021-11-11 21:36:20.688885274 +0100
@@ -1,0 +2,12 @@
+Mon Nov  1 08:22:10 UTC 2021 - [email protected]
+
+- 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)
+
+-------------------------------------------------------------------

Old:
----
  brick-0.64.1.tar.gz

New:
----
  brick-0.64.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-brick.spec ++++++
--- /var/tmp/diff_new_pack.CKSqYt/_old  2021-11-11 21:36:21.800886084 +0100
+++ /var/tmp/diff_new_pack.CKSqYt/_new  2021-11-11 21:36:21.804886088 +0100
@@ -19,7 +19,7 @@
 %global pkg_name brick
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.64.1
+Version:        0.64.2
 Release:        0
 Summary:        A declarative terminal user interface library
 License:        BSD-3-Clause

++++++ brick-0.64.1.tar.gz -> brick-0.64.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/CHANGELOG.md 
new/brick-0.64.2/CHANGELOG.md
--- old/brick-0.64.1/CHANGELOG.md       2001-09-09 03:46:40.000000000 +0200
+++ new/brick-0.64.2/CHANGELOG.md       2001-09-09 03:46:40.000000000 +0200
@@ -2,6 +2,14 @@
 Brick changelog
 ---------------
 
+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)
+
 0.64.1
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/README.md new/brick-0.64.2/README.md
--- old/brick-0.64.1/README.md  2001-09-09 03:46:40.000000000 +0200
+++ new/brick-0.64.2/README.md  2001-09-09 03:46:40.000000000 +0200
@@ -78,6 +78,7 @@
 | [`brewsage`](https://github.com/gerdreiss/brewsage#readme) | A TUI for 
Homebrew |
 | [`sandwich`](https://codedownio.github.io/sandwich/) | A test framework with 
a TUI interface |
 | [`youbrick`](https://github.com/florentc/youbrick) | A feed aggregator and 
launcher for Youtube channels |
+| [`swarm`](https://github.com/byorgey/swarm/) | A 2D programming and resource 
gathering game |
 
 These third-party packages also extend `brick`:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/brick.cabal new/brick-0.64.2/brick.cabal
--- old/brick-0.64.1/brick.cabal        2001-09-09 03:46:40.000000000 +0200
+++ new/brick-0.64.2/brick.cabal        2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:                brick
-version:             0.64.1
+version:             0.64.2
 synopsis:            A declarative terminal user interface library
 description:
   Write terminal user interfaces (TUIs) painlessly with 'brick'! You
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/src/Brick/Focus.hs 
new/brick-0.64.2/src/Brick/Focus.hs
--- old/brick-0.64.1/src/Brick/Focus.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/brick-0.64.2/src/Brick/Focus.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,7 +1,5 @@
 -- | This module provides a type and functions for handling focus rings
 -- of values.
---
--- This interface is experimental.
 module Brick.Focus
   ( FocusRing
   , focusRing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/src/Brick/Forms.hs 
new/brick-0.64.2/src/Brick/Forms.hs
--- old/brick-0.64.1/src/Brick/Forms.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/brick-0.64.2/src/Brick/Forms.hs 2001-09-09 03:46:40.000000000 +0200
@@ -3,10 +3,7 @@
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE CPP #-}
 {-# LANGUAGE ScopedTypeVariables #-}
--- | Note - This API is experimental and will probably change. Please
--- try it out! Feedback is very much appreciated, and your patience in
--- the face of breaking API changes is also appreciated! It's also worth
--- bearing in mind that this API is designed to support a narrow range
+-- | Note - this API is designed to support a narrow (but common!) set
 -- of use cases. If you find that you need more customization than this
 -- offers, then you will need to consider building your own layout and
 -- event handling for input fields.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/src/Brick/Themes.hs 
new/brick-0.64.2/src/Brick/Themes.hs
--- old/brick-0.64.1/src/Brick/Themes.hs        2001-09-09 03:46:40.000000000 
+0200
+++ new/brick-0.64.2/src/Brick/Themes.hs        2001-09-09 03:46:40.000000000 
+0200
@@ -405,7 +405,7 @@
 attrToCustom :: Attr -> CustomAttr
 attrToCustom a =
     CustomAttr { customFg    = Just $ attrForeColor a
-               , customBg    = Just $ attrForeColor a
+               , customBg    = Just $ attrBackColor a
                , customStyle = case attrStyle a of
                    SetTo s -> Just s
                    _       -> Nothing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.64.1/src/Brick/Widgets/List.hs 
new/brick-0.64.2/src/Brick/Widgets/List.hs
--- old/brick-0.64.1/src/Brick/Widgets/List.hs  2001-09-09 03:46:40.000000000 
+0200
+++ new/brick-0.64.2/src/Brick/Widgets/List.hs  2001-09-09 03:46:40.000000000 
+0200
@@ -253,7 +253,7 @@
 listMoveToEnd :: (Foldable t, Splittable t)
               => GenericList n t e
               -> GenericList n t e
-listMoveToEnd l = listMoveTo (length $ listElements l) l
+listMoveToEnd l = listMoveTo (max 0 $ length (listElements l) - 1) l
 
 -- | The top-level attribute used for the entire list.
 listAttr :: AttrName

Reply via email to