Hello community,

here is the log from the commit of package ghc-streaming-commons for 
openSUSE:Factory checked in at 2016-04-30 23:30:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-streaming-commons (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-streaming-commons.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-streaming-commons"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-streaming-commons/ghc-streaming-commons.changes  
    2016-03-16 10:33:44.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-streaming-commons.new/ghc-streaming-commons.changes
 2016-04-30 23:30:37.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 26 08:51:19 UTC 2016 - mimi...@gmail.com
+
+- update to 0.1.15.4
+* Fix benchmarks
+
+-------------------------------------------------------------------
@@ -4 +10 @@
-- update to 0.1.15.1
+- update to 0.1.15.2

Old:
----
  streaming-commons-0.1.15.2.tar.gz

New:
----
  streaming-commons-0.1.15.4.tar.gz

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

Other differences:
------------------
++++++ ghc-streaming-commons.spec ++++++
--- /var/tmp/diff_new_pack.AG6YSR/_old  2016-04-30 23:30:37.000000000 +0200
+++ /var/tmp/diff_new_pack.AG6YSR/_new  2016-04-30 23:30:37.000000000 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:           ghc-streaming-commons
-Version:        0.1.15.2
+Version:        0.1.15.4
 Release:        0
 Summary:        Common lower-level functions needed by various streaming data 
libraries
 License:        MIT

++++++ streaming-commons-0.1.15.2.tar.gz -> streaming-commons-0.1.15.4.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.1.15.2/ChangeLog.md 
new/streaming-commons-0.1.15.4/ChangeLog.md
--- old/streaming-commons-0.1.15.2/ChangeLog.md 2016-03-03 10:57:56.000000000 
+0100
+++ new/streaming-commons-0.1.15.4/ChangeLog.md 2016-04-21 19:23:04.000000000 
+0200
@@ -1,3 +1,7 @@
+## 0.1.15.3
+
+* Fix benchmarks
+
 ## 0.1.15.2
 
 * Document child process behavior in `waitForProcess`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/streaming-commons-0.1.15.2/Data/Streaming/Network/Internal.hs 
new/streaming-commons-0.1.15.4/Data/Streaming/Network/Internal.hs
--- old/streaming-commons-0.1.15.2/Data/Streaming/Network/Internal.hs   
2016-03-03 10:57:56.000000000 +0100
+++ new/streaming-commons-0.1.15.4/Data/Streaming/Network/Internal.hs   
2016-04-24 15:29:11.000000000 +0200
@@ -39,17 +39,22 @@
 --
 -- Note: The @IsString@ instance recognizes the following special values:
 --
--- * @*@ means @HostAny@
+-- * @*@ means @HostAny@ - "any IPv4 or IPv6 hostname"
 --
--- * @*4@ means @HostIPv4@
+-- * @*4@ means @HostIPv4@ - "any IPv4 or IPv6 hostname, IPv4 preferred"
 --
--- * @!4@ means @HostIPv4Only@
+-- * @!4@ means @HostIPv4Only@ - "any IPv4 hostname"
 --
--- * @*6@ means @HostIPv6@
+-- * @*6@ means @HostIPv6@@ - "any IPv4 or IPv6 hostname, IPv6 preferred"
 --
--- * @!6@ means @HostIPv6Only@
+-- * @!6@ means @HostIPv6Only@ - "any IPv6 hostname"
 --
--- Any other values is treated as a hostname. As an example, to bind to the
+-- Note that the permissive @*@ values allow binding to an IPv4 or an
+-- IPv6 hostname, which means you might be able to successfully bind
+-- to a port more times than you expect (eg once on the IPv4 localhost
+-- 127.0.0.1 and again on the IPv6 localhost 0:0:0:0:0:0:0:1).
+--
+-- Any other value is treated as a hostname. As an example, to bind to the
 -- IPv4 local host only, use \"127.0.0.1\".
 data HostPreference =
     HostAny
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.1.15.2/bench/count-chars.hs 
new/streaming-commons-0.1.15.4/bench/count-chars.hs
--- old/streaming-commons-0.1.15.2/bench/count-chars.hs 2016-03-03 
10:57:56.000000000 +0100
+++ new/streaming-commons-0.1.15.4/bench/count-chars.hs 2016-04-21 
19:21:39.000000000 +0200
@@ -5,7 +5,7 @@
 import qualified Data.ByteString as S
 import qualified Data.ByteString.Lazy as L
 import Data.ByteString.Lazy.Internal (ByteString (..))
-import Data.Text.StreamDecoding
+import Data.Streaming.Text
 
 calcLen :: (S.ByteString -> DecodeResult)
         -> L.ByteString
@@ -36,10 +36,10 @@
 
 main :: IO ()
 main = defaultMain $ map handleEncoding
-    [ ("UTF-8", TLE.encodeUtf8, TLE.decodeUtf8, streamUtf8)
-    , ("UTF-8 pure", TLE.encodeUtf8, TLE.decodeUtf8, streamUtf8Pure)
-    , ("UTF-16LE", TLE.encodeUtf16LE, TLE.decodeUtf16LE, streamUtf16LE)
-    , ("UTF-16BE", TLE.encodeUtf16BE, TLE.decodeUtf16BE, streamUtf16BE)
-    , ("UTF-32LE", TLE.encodeUtf32LE, TLE.decodeUtf32LE, streamUtf32LE)
-    , ("UTF-32BE", TLE.encodeUtf32BE, TLE.decodeUtf32BE, streamUtf32BE)
+    [ ("UTF-8", TLE.encodeUtf8, TLE.decodeUtf8, decodeUtf8)
+    , ("UTF-8 pure", TLE.encodeUtf8, TLE.decodeUtf8, decodeUtf8Pure)
+    , ("UTF-16LE", TLE.encodeUtf16LE, TLE.decodeUtf16LE, decodeUtf16LE)
+    , ("UTF-16BE", TLE.encodeUtf16BE, TLE.decodeUtf16BE, decodeUtf16BE)
+    , ("UTF-32LE", TLE.encodeUtf32LE, TLE.decodeUtf32LE, decodeUtf32LE)
+    , ("UTF-32BE", TLE.encodeUtf32BE, TLE.decodeUtf32BE, decodeUtf32BE)
     ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/streaming-commons-0.1.15.2/bench/decode-memory-usage.hs 
new/streaming-commons-0.1.15.4/bench/decode-memory-usage.hs
--- old/streaming-commons-0.1.15.2/bench/decode-memory-usage.hs 2016-03-03 
10:57:56.000000000 +0100
+++ new/streaming-commons-0.1.15.4/bench/decode-memory-usage.hs 2016-04-21 
19:22:04.000000000 +0200
@@ -1,6 +1,6 @@
 {-# LANGUAGE OverloadedStrings #-}
 import Data.ByteString (ByteString)
-import Data.Text.StreamDecoding
+import Data.Streaming.Text
 import System.Environment (getArgs)
 
 input :: [ByteString]
@@ -11,12 +11,12 @@
     args <- getArgs
     let dec =
             case args of
-                ["16le"] -> streamUtf16LE
-                ["16be"] -> streamUtf16BE
-                ["32le"] -> streamUtf32LE
-                ["32be"] -> streamUtf32BE
-                ["8pure"] -> streamUtf8Pure
-                _ -> streamUtf8
+                ["16le"] -> decodeUtf16LE
+                ["16be"] -> decodeUtf16BE
+                ["32le"] -> decodeUtf32LE
+                ["32be"] -> decodeUtf32BE
+                ["8pure"] -> decodeUtf8Pure
+                _ -> decodeUtf8
 
     loop dec input
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/streaming-commons-0.1.15.2/streaming-commons.cabal 
new/streaming-commons-0.1.15.4/streaming-commons.cabal
--- old/streaming-commons-0.1.15.2/streaming-commons.cabal      2016-03-03 
10:57:56.000000000 +0100
+++ new/streaming-commons-0.1.15.4/streaming-commons.cabal      2016-04-24 
15:29:18.000000000 +0200
@@ -1,5 +1,5 @@
 name:                streaming-commons
-version:             0.1.15.2
+version:             0.1.15.4
 synopsis:            Common lower-level functions needed by various streaming 
data libraries
 description:         Provides low-dependency functionality commonly needed by 
various streaming data libraries, such as conduit and pipes.
 homepage:            https://github.com/fpco/streaming-commons
@@ -124,6 +124,7 @@
                   , criterion
                   , bytestring
                   , text
+                  , streaming-commons
     main-is:        count-chars.hs
     ghc-options:    -Wall -O2
 
@@ -133,6 +134,7 @@
     build-depends:  base
                   , bytestring
                   , text
+                  , streaming-commons
     main-is:        decode-memory-usage.hs
     ghc-options:    -Wall -O2 -with-rtsopts=-s
 


Reply via email to