Hello community,

here is the log from the commit of package ghc-vty for openSUSE:Factory checked 
in at 2017-06-22 10:39:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-vty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-vty"

Thu Jun 22 10:39:40 2017 rev:4 rq:504120 version:5.15.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vty/ghc-vty.changes  2017-06-04 
01:59:12.333485283 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-vty.new/ghc-vty.changes     2017-06-22 
10:39:42.675389770 +0200
@@ -1,0 +2,5 @@
+Wed May 31 14:05:43 UTC 2017 - [email protected]
+
+- Update to version 5.15.1 revision 1.
+
+-------------------------------------------------------------------

Old:
----
  vty-5.15.tar.gz

New:
----
  vty-5.15.1.tar.gz

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

Other differences:
------------------
++++++ ghc-vty.spec ++++++
--- /var/tmp/diff_new_pack.QJ2Pqr/_old  2017-06-22 10:39:43.811229631 +0200
+++ /var/tmp/diff_new_pack.QJ2Pqr/_new  2017-06-22 10:39:43.811229631 +0200
@@ -19,7 +19,7 @@
 %global pkg_name vty
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        5.15
+Version:        5.15.1
 Release:        0
 Summary:        A simple terminal UI library
 License:        BSD-3-Clause
@@ -117,13 +117,9 @@
 %doc LICENSE
 %{_bindir}/vty-demo
 %{_bindir}/vty-mode-demo
-%dir %{_datadir}/%{pkg_name}-%{version}
-%{_datadir}/%{pkg_name}-%{version}/README.md
-%{_datadir}/%{pkg_name}-%{version}/AUTHORS
-%{_datadir}/%{pkg_name}-%{version}/CHANGELOG.md
-%{_datadir}/%{pkg_name}-%{version}/LICENSE
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc AUTHORS CHANGELOG.md README.md
 
 %changelog

++++++ vty-5.15.tar.gz -> vty-5.15.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-5.15/CHANGELOG.md new/vty-5.15.1/CHANGELOG.md
--- old/vty-5.15/CHANGELOG.md   2017-01-24 20:46:18.000000000 +0100
+++ new/vty-5.15.1/CHANGELOG.md 2017-05-20 17:41:54.000000000 +0200
@@ -1,3 +1,11 @@
+5.15.1
+Package changes:
+  - Documentation files are now marked accordingly (thanks Michal
+    Suchánek)
+
+Bug fixes:
+  - translateX/Y: fix negative translations
+
 5.15
 Package changes:
   - Discontinued support for GHC versions prior to 7.10.1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/verify-attribute-opsStub.hs
 
new/vty-5.15.1/dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/verify-attribute-opsStub.hs
--- 
old/vty-5.15/dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/verify-attribute-opsStub.hs
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/verify-attribute-opsStub.hs
 2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyAttributeOps ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-crop-span-generationStub/verify-crop-span-generationStub-tmp/verify-crop-span-generationStub.hs
 
new/vty-5.15.1/dist/build/verify-crop-span-generationStub/verify-crop-span-generationStub-tmp/verify-crop-span-generationStub.hs
--- 
old/vty-5.15/dist/build/verify-crop-span-generationStub/verify-crop-span-generationStub-tmp/verify-crop-span-generationStub.hs
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-crop-span-generationStub/verify-crop-span-generationStub-tmp/verify-crop-span-generationStub.hs
    2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyCropSpanGeneration ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-display-attributesStub/verify-display-attributesStub-tmp/verify-display-attributesStub.hs
 
new/vty-5.15.1/dist/build/verify-display-attributesStub/verify-display-attributesStub-tmp/verify-display-attributesStub.hs
--- 
old/vty-5.15/dist/build/verify-display-attributesStub/verify-display-attributesStub-tmp/verify-display-attributesStub.hs
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-display-attributesStub/verify-display-attributesStub-tmp/verify-display-attributesStub.hs
  2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyDisplayAttributes ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-empty-image-propsStub/verify-empty-image-propsStub-tmp/verify-empty-image-propsStub.hs
 
new/vty-5.15.1/dist/build/verify-empty-image-propsStub/verify-empty-image-propsStub-tmp/verify-empty-image-propsStub.hs
--- 
old/vty-5.15/dist/build/verify-empty-image-propsStub/verify-empty-image-propsStub-tmp/verify-empty-image-propsStub.hs
       1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-empty-image-propsStub/verify-empty-image-propsStub-tmp/verify-empty-image-propsStub.hs
     2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyEmptyImageProps ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-eval-terminfo-capsStub/verify-eval-terminfo-capsStub-tmp/verify-eval-terminfo-capsStub.hs
 
new/vty-5.15.1/dist/build/verify-eval-terminfo-capsStub/verify-eval-terminfo-capsStub-tmp/verify-eval-terminfo-capsStub.hs
--- 
old/vty-5.15/dist/build/verify-eval-terminfo-capsStub/verify-eval-terminfo-capsStub-tmp/verify-eval-terminfo-capsStub.hs
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-eval-terminfo-capsStub/verify-eval-terminfo-capsStub-tmp/verify-eval-terminfo-capsStub.hs
  2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyEvalTerminfoCaps ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-image-opsStub/verify-image-opsStub-tmp/verify-image-opsStub.hs
 
new/vty-5.15.1/dist/build/verify-image-opsStub/verify-image-opsStub-tmp/verify-image-opsStub.hs
--- 
old/vty-5.15/dist/build/verify-image-opsStub/verify-image-opsStub-tmp/verify-image-opsStub.hs
       1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-image-opsStub/verify-image-opsStub-tmp/verify-image-opsStub.hs
     2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyImageOps ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-image-transStub/verify-image-transStub-tmp/verify-image-transStub.hs
 
new/vty-5.15.1/dist/build/verify-image-transStub/verify-image-transStub-tmp/verify-image-transStub.hs
--- 
old/vty-5.15/dist/build/verify-image-transStub/verify-image-transStub-tmp/verify-image-transStub.hs
 1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-image-transStub/verify-image-transStub-tmp/verify-image-transStub.hs
       2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyImageTrans ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-inlineStub/verify-inlineStub-tmp/verify-inlineStub.hs
 
new/vty-5.15.1/dist/build/verify-inlineStub/verify-inlineStub-tmp/verify-inlineStub.hs
--- 
old/vty-5.15/dist/build/verify-inlineStub/verify-inlineStub-tmp/verify-inlineStub.hs
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-inlineStub/verify-inlineStub-tmp/verify-inlineStub.hs
      2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyInline ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-layers-span-generationStub/verify-layers-span-generationStub-tmp/verify-layers-span-generationStub.hs
 
new/vty-5.15.1/dist/build/verify-layers-span-generationStub/verify-layers-span-generationStub-tmp/verify-layers-span-generationStub.hs
--- 
old/vty-5.15/dist/build/verify-layers-span-generationStub/verify-layers-span-generationStub-tmp/verify-layers-span-generationStub.hs
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-layers-span-generationStub/verify-layers-span-generationStub-tmp/verify-layers-span-generationStub.hs
      2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyLayersSpanGeneration ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-parse-terminfo-capsStub/verify-parse-terminfo-capsStub-tmp/verify-parse-terminfo-capsStub.hs
 
new/vty-5.15.1/dist/build/verify-parse-terminfo-capsStub/verify-parse-terminfo-capsStub-tmp/verify-parse-terminfo-capsStub.hs
--- 
old/vty-5.15/dist/build/verify-parse-terminfo-capsStub/verify-parse-terminfo-capsStub-tmp/verify-parse-terminfo-capsStub.hs
 1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-parse-terminfo-capsStub/verify-parse-terminfo-capsStub-tmp/verify-parse-terminfo-capsStub.hs
       2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyParseTerminfoCaps ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-simple-span-generationStub/verify-simple-span-generationStub-tmp/verify-simple-span-generationStub.hs
 
new/vty-5.15.1/dist/build/verify-simple-span-generationStub/verify-simple-span-generationStub-tmp/verify-simple-span-generationStub.hs
--- 
old/vty-5.15/dist/build/verify-simple-span-generationStub/verify-simple-span-generationStub-tmp/verify-simple-span-generationStub.hs
        1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-simple-span-generationStub/verify-simple-span-generationStub-tmp/verify-simple-span-generationStub.hs
      2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifySimpleSpanGeneration ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-terminalStub/verify-terminalStub-tmp/verify-terminalStub.hs
 
new/vty-5.15.1/dist/build/verify-terminalStub/verify-terminalStub-tmp/verify-terminalStub.hs
--- 
old/vty-5.15/dist/build/verify-terminalStub/verify-terminalStub-tmp/verify-terminalStub.hs
  1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-terminalStub/verify-terminalStub-tmp/verify-terminalStub.hs
        2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyOutput ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-using-mock-terminalStub/verify-using-mock-terminalStub-tmp/verify-using-mock-terminalStub.hs
 
new/vty-5.15.1/dist/build/verify-using-mock-terminalStub/verify-using-mock-terminalStub-tmp/verify-using-mock-terminalStub.hs
--- 
old/vty-5.15/dist/build/verify-using-mock-terminalStub/verify-using-mock-terminalStub-tmp/verify-using-mock-terminalStub.hs
 1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-using-mock-terminalStub/verify-using-mock-terminalStub-tmp/verify-using-mock-terminalStub.hs
       2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyUsingMockTerminal ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/vty-5.15/dist/build/verify-utf8-widthStub/verify-utf8-widthStub-tmp/verify-utf8-widthStub.hs
 
new/vty-5.15.1/dist/build/verify-utf8-widthStub/verify-utf8-widthStub-tmp/verify-utf8-widthStub.hs
--- 
old/vty-5.15/dist/build/verify-utf8-widthStub/verify-utf8-widthStub-tmp/verify-utf8-widthStub.hs
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/vty-5.15.1/dist/build/verify-utf8-widthStub/verify-utf8-widthStub-tmp/verify-utf8-widthStub.hs
  2017-05-20 17:41:54.000000000 +0200
@@ -0,0 +1,5 @@
+module Main ( main ) where
+import Distribution.Simple.Test.LibV09 ( stubMain )
+import VerifyUtf8Width ( tests )
+main :: IO ()
+main = stubMain tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-5.15/src/Graphics/Vty/Image.hs 
new/vty-5.15.1/src/Graphics/Vty/Image.hs
--- old/vty-5.15/src/Graphics/Vty/Image.hs      2017-01-24 20:46:18.000000000 
+0100
+++ new/vty-5.15.1/src/Graphics/Vty/Image.hs    2017-05-20 17:41:54.000000000 
+0200
@@ -242,6 +242,7 @@
 -- | Translates an image by padding or cropping its left side.
 translateX :: Int -> Image -> Image
 translateX x i
+    | x < 0 && (abs x > imageWidth i) = emptyImage
     | x < 0     = let s = abs x in CropLeft i s (imageWidth i - s) 
(imageHeight i)
     | x == 0    = i
     | otherwise = let h = imageHeight i in HorizJoin (BGFill x h) i 
(imageWidth i + x) h
@@ -249,6 +250,7 @@
 -- | Translates an image by padding or cropping its top.
 translateY :: Int -> Image -> Image
 translateY y i
+    | y < 0 && (abs y > imageHeight i) = emptyImage
     | y < 0     = let s = abs y in CropTop i s (imageWidth i) (imageHeight i - 
s)
     | y == 0    = i
     | otherwise = let w = imageWidth i in VertJoin (BGFill w y) i w 
(imageHeight i + y)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-5.15/vty.cabal new/vty-5.15.1/vty.cabal
--- old/vty-5.15/vty.cabal      2017-01-24 20:46:18.000000000 +0100
+++ new/vty-5.15.1/vty.cabal    2017-05-20 17:41:54.000000000 +0200
@@ -1,5 +1,5 @@
 name:                vty
-version:             5.15
+version:             5.15.1
 license:             BSD3
 license-file:        LICENSE
 author:              AUTHORS
@@ -26,7 +26,7 @@
   &#169; Jonathan Daugherty; BSD3 license.
 cabal-version:       >= 1.18
 build-type:          Simple
-data-files:          README.md,
+extra-doc-files:     README.md,
                      AUTHORS,
                      CHANGELOG.md,
                      LICENSE

++++++ vty.cabal ++++++
--- /var/tmp/diff_new_pack.QJ2Pqr/_old  2017-06-22 10:39:43.923213843 +0200
+++ /var/tmp/diff_new_pack.QJ2Pqr/_new  2017-06-22 10:39:43.923213843 +0200
@@ -1,5 +1,5 @@
 name:                vty
-version:             5.15
+version:             5.15.1
 x-revision: 1
 license:             BSD3
 license-file:        LICENSE
@@ -27,7 +27,7 @@
   &#169; Jonathan Daugherty; BSD3 license.
 cabal-version:       >= 1.18
 build-type:          Simple
-data-files:          README.md,
+extra-doc-files:     README.md,
                      AUTHORS,
                      CHANGELOG.md,
                      LICENSE


Reply via email to