Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-vty-unix for openSUSE:Factory 
checked in at 2026-11-06 19:50:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty-unix (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-vty-unix.new.3759290 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-vty-unix"

Fri Nov  6 19:50:40 2026 rev:3 rq:1395581 version:0.5.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vty-unix/ghc-vty-unix.changes        
2026-06-22 17:44:44.433936176 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-vty-unix.new.3759290/ghc-vty-unix.changes   
2026-11-06 19:57:44.561593648 +0100
@@ -1,0 +2,23 @@
+Sun Oct 11 02:42:36 UTC 2026 - Peter Simons <[email protected]>
+
+- Update vty-unix to version 0.5.0.0.
+  0.5.0.0
+  =======
+
+  Enhancements:
+
+  * Overall performance has been improved due to a change from the lazy to
+    CPS-based Writer monad. (thanks Andrzej Rybczak)
+  * Terminal titles are now UTF-8 encoded. (thanks Andrzej Rybczak)
+
+-------------------------------------------------------------------
+Wed Aug 19 03:37:21 UTC 2026 - Peter Simons <[email protected]>
+
+- Update vty-unix to version 0.4.0.0.
+  0.4.0.0
+  =======
+
+  * Added support for terminfo operators "*", "/", and "m" (thanks Chris
+    Forno)
+
+-------------------------------------------------------------------

Old:
----
  vty-unix-0.3.0.0.tar.gz

New:
----
  vty-unix-0.5.0.0.tar.gz

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

Other differences:
------------------
++++++ ghc-vty-unix.spec ++++++
--- /var/tmp/diff_new_pack.TD0hQr/_old  2026-11-06 19:57:45.801645557 +0100
+++ /var/tmp/diff_new_pack.TD0hQr/_new  2026-11-06 19:57:45.805645725 +0100
@@ -19,7 +19,7 @@
 %global pkg_name vty-unix
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.3.0.0
+Version:        0.5.0.0
 Release:        0
 Summary:        Unix backend for Vty
 License:        BSD-3-Clause

++++++ vty-unix-0.3.0.0.tar.gz -> vty-unix-0.5.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-unix-0.3.0.0/CHANGELOG.md 
new/vty-unix-0.5.0.0/CHANGELOG.md
--- old/vty-unix-0.3.0.0/CHANGELOG.md   2001-09-09 03:46:40.000000000 +0200
+++ new/vty-unix-0.5.0.0/CHANGELOG.md   2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,19 @@
 
+0.5.0.0
+=======
+
+Enhancements:
+
+* Overall performance has been improved due to a change from the lazy to
+  CPS-based Writer monad. (thanks Andrzej Rybczak)
+* Terminal titles are now UTF-8 encoded. (thanks Andrzej Rybczak)
+
+0.4.0.0
+=======
+
+* Added support for terminfo operators "*", "/", and "m" (thanks Chris
+  Forno)
+
 0.3.0.0
 =======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-unix-0.3.0.0/src/Data/Terminfo/Eval.hs 
new/vty-unix-0.5.0.0/src/Data/Terminfo/Eval.hs
--- old/vty-unix-0.3.0.0/src/Data/Terminfo/Eval.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/vty-unix-0.5.0.0/src/Data/Terminfo/Eval.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -16,7 +16,7 @@
 
 import Control.Monad
 import Control.Monad.State.Strict
-import Control.Monad.Writer
+import Control.Monad.Writer.CPS
 
 import Data.Bits ((.|.), (.&.), xor)
 import Data.List
@@ -120,6 +120,18 @@
     v1 <- pop
     v0 <- pop
     push $ v0 - v1
+writeCapOp ArithMult = do
+    v1 <- pop
+    v0 <- pop
+    push $ v0 * v1
+writeCapOp ArithDiv = do
+    v1 <- pop
+    v0 <- pop
+    push $ v0 `div` v1
+writeCapOp ArithMod = do
+    v1 <- pop
+    v0 <- pop
+    push $ v0 `mod` v1
 writeCapOp CompareEq = do
     v1 <- pop
     v0 <- pop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-unix-0.3.0.0/src/Data/Terminfo/Parse.hs 
new/vty-unix-0.5.0.0/src/Data/Terminfo/Parse.hs
--- old/vty-unix-0.3.0.0/src/Data/Terminfo/Parse.hs     2001-09-09 
03:46:40.000000000 +0200
+++ new/vty-unix-0.5.0.0/src/Data/Terminfo/Parse.hs     2001-09-09 
03:46:40.000000000 +0200
@@ -61,7 +61,7 @@
       , conditionalParts :: ![(CapOps, CapOps)]
       }
     | BitwiseOr | BitwiseXOr | BitwiseAnd
-    | ArithPlus | ArithMinus
+    | ArithPlus | ArithMinus | ArithMult | ArithDiv | ArithMod
     | CompareEq | CompareLt | CompareGt
     deriving (Show, Eq)
 
@@ -75,6 +75,9 @@
     rnf BitwiseAnd = ()
     rnf ArithPlus = ()
     rnf ArithMinus = ()
+    rnf ArithMult = ()
+    rnf ArithDiv = ()
+    rnf ArithMod = ()
     rnf CompareEq = ()
     rnf CompareLt = ()
     rnf CompareGt = ()
@@ -256,6 +259,9 @@
 arithOpParser
     =   plusOp
     <|> minusOp
+    <|> multOp
+    <|> divOp
+    <|> modOp
     where
         plusOp = do
             _ <- char '+'
@@ -265,6 +271,18 @@
             _ <- char '-'
             incOffset 1
             return $ BuildResults 0 [ ArithMinus ] [ ]
+        multOp = do
+            _ <- char '*'
+            incOffset 1
+            return $ BuildResults 0 [ ArithMult ] [ ]
+        divOp = do
+            _ <- char '/'
+            incOffset 1
+            return $ BuildResults 0 [ ArithDiv ] [ ]
+        modOp = do
+            _ <- char 'm'
+            incOffset 1
+            return $ BuildResults 0 [ ArithMod ] [ ]
 
 literalIntOpParser :: CapParser BuildResults
 literalIntOpParser = do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-unix-0.3.0.0/src/Graphics/Vty/Platform/Unix/Output/XTermColor.hs 
new/vty-unix-0.5.0.0/src/Graphics/Vty/Platform/Unix/Output/XTermColor.hs
--- old/vty-unix-0.3.0.0/src/Graphics/Vty/Platform/Unix/Output/XTermColor.hs    
2001-09-09 03:46:40.000000000 +0200
+++ new/vty-unix-0.5.0.0/src/Graphics/Vty/Platform/Unix/Output/XTermColor.hs    
2001-09-09 03:46:40.000000000 +0200
@@ -18,6 +18,7 @@
 import Blaze.ByteString.Builder.Word (writeWord8)
 
 import qualified Data.ByteString.Char8 as BS8
+import qualified Data.ByteString.UTF8 as UTF8
 import Data.ByteString.Char8 (ByteString)
 import Foreign.Ptr (castPtr)
 
@@ -148,5 +149,5 @@
         sanitize = concatMap sanitizeChar
         sanitizeChar c | not (isPrint c) = showLitChar c ""
                        | otherwise = [c]
-    let buf = BS8.pack $ "\ESC]2;" <> sanitize title <> "\007"
+    let buf = UTF8.fromString $ "\ESC]2;" <> sanitize title <> "\007"
     outputByteBuffer o buf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-unix-0.3.0.0/vty-unix.cabal 
new/vty-unix-0.5.0.0/vty-unix.cabal
--- old/vty-unix-0.3.0.0/vty-unix.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/vty-unix-0.5.0.0/vty-unix.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      3.0
 name:               vty-unix
-version:            0.3.0.0
+version:            0.5.0.0
 synopsis:           Unix backend for Vty
 description:        This package provides Unix terminal support for Vty.
 license:            BSD-3-Clause
@@ -8,7 +8,7 @@
 author:             Jonathan Daugherty
 maintainer:         [email protected]
 category:           User Interfaces
-copyright:          (c) 2023 Jonathan Daugherty
+copyright:          (c) 2023-2026 Jonathan Daugherty
 build-type:         Simple
 extra-doc-files:    CHANGELOG.md
 extra-source-files: cbits/gwinsz.h
@@ -50,7 +50,7 @@
     build-depends:    base >= 4.8 && < 5,
                       blaze-builder,
                       bytestring,
-                      mtl,
+                      mtl >= 2.3,
                       unix,
                       terminfo,
                       vty >= 6.6,

Reply via email to