Hello community, here is the log from the commit of package ghc-fast-logger for openSUSE:Factory checked in at 2015-08-25 07:19:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-fast-logger (Old) and /work/SRC/openSUSE:Factory/.ghc-fast-logger.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-fast-logger" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-fast-logger/ghc-fast-logger.changes 2015-05-22 09:50:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-fast-logger.new/ghc-fast-logger.changes 2015-08-25 08:48:16.000000000 +0200 @@ -1,0 +2,10 @@ +Sun Aug 16 17:44:04 UTC 2015 - [email protected] + +- update to 2.4.1 + +------------------------------------------------------------------- +Fri Aug 7 07:06:21 UTC 2015 - [email protected] + +- update to 2.4.0 + +------------------------------------------------------------------- Old: ---- fast-logger-2.3.1.tar.gz New: ---- fast-logger-2.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-fast-logger.spec ++++++ --- /var/tmp/diff_new_pack.AgnCab/_old 2015-08-25 08:48:16.000000000 +0200 +++ /var/tmp/diff_new_pack.AgnCab/_new 2015-08-25 08:48:16.000000000 +0200 @@ -19,8 +19,8 @@ %bcond_with tests -Name: ghc-%{pkg_name} -Version: 2.3.1 +Name: ghc-fast-logger +Version: 2.4.1 Release: 0 Summary: A fast logging system Group: System/Libraries ++++++ fast-logger-2.3.1.tar.gz -> fast-logger-2.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/File.hs new/fast-logger-2.4.1/System/Log/FastLogger/File.hs --- old/fast-logger-2.3.1/System/Log/FastLogger/File.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger/File.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,3 +1,5 @@ +{-# LANGUAGE Safe #-} + module System.Log.FastLogger.File where import Control.Monad (unless, when) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/IO.hs new/fast-logger-2.4.1/System/Log/FastLogger/IO.hs --- old/fast-logger-2.3.1/System/Log/FastLogger/IO.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger/IO.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,4 +1,5 @@ {-# LANGUAGE BangPatterns #-} +{-# LANGUAGE Trustworthy #-} module System.Log.FastLogger.IO where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/IORef.hs new/fast-logger-2.4.1/System/Log/FastLogger/IORef.hs --- old/fast-logger-2.3.1/System/Log/FastLogger/IORef.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger/IORef.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,4 +1,5 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE Safe #-} module System.Log.FastLogger.IORef ( IORef diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/LogStr.hs new/fast-logger-2.4.1/System/Log/FastLogger/LogStr.hs --- old/fast-logger-2.3.1/System/Log/FastLogger/LogStr.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger/LogStr.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,5 +1,6 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE Safe #-} module System.Log.FastLogger.LogStr ( Builder @@ -13,11 +14,13 @@ import Data.ByteString.Builder (Builder) import qualified Data.ByteString.Builder as B +import Data.ByteString (ByteString) import qualified Data.ByteString as BS import qualified Data.ByteString.Char8 as S8 -import Data.ByteString.Internal (ByteString(..)) import qualified Data.ByteString.Lazy as BL +#if __GLASGOW_HASKELL__ < 709 import Data.Monoid (Monoid, mempty, mappend) +#endif #if MIN_VERSION_base(4,5,0) import Data.Monoid ((<>)) #endif @@ -38,7 +41,11 @@ toBuilder = B.byteString fromBuilder :: Builder -> ByteString +#if MIN_VERSION_bytestring(0,10,0) fromBuilder = BL.toStrict . B.toLazyByteString +#else +fromBuilder = BS.concat . BL.toChunks . B.toLazyByteString +#endif ---------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger/Logger.hs new/fast-logger-2.4.1/System/Log/FastLogger/Logger.hs --- old/fast-logger-2.3.1/System/Log/FastLogger/Logger.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger/Logger.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,4 +1,5 @@ {-# LANGUAGE BangPatterns, CPP #-} +{-# LANGUAGE Safe #-} module System.Log.FastLogger.Logger ( Logger(..) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/System/Log/FastLogger.hs new/fast-logger-2.4.1/System/Log/FastLogger.hs --- old/fast-logger-2.3.1/System/Log/FastLogger.hs 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/System/Log/FastLogger.hs 2015-08-12 14:53:42.000000000 +0200 @@ -1,6 +1,7 @@ -- | This module provides a fast logging system which -- scales on multicore environments (i.e. +RTS -N\<x\>). {-# LANGUAGE BangPatterns, CPP #-} +{-# LANGUAGE Safe #-} module System.Log.FastLogger ( -- * Creating a logger set @@ -22,13 +23,16 @@ , logStrLength -- * Writing a log message , pushLogStr + , pushLogStrLn -- * Flushing buffered log messages , flushLogStr -- * File rotation , module System.Log.FastLogger.File ) where +#if __GLASGOW_HASKELL__ < 709 import Control.Applicative ((<$>)) +#endif import Control.Debounce (mkDebounce, defaultDebounceSettings, debounceAction) import Control.Concurrent (getNumCapabilities, myThreadId, threadCapability, takeMVar) import Control.Monad (when, replicateM) @@ -106,6 +110,10 @@ pushLog fd logger logmsg flush +-- | Same as 'pushLogStr' but also appends a newline. +pushLogStrLn :: LoggerSet -> LogStr -> IO () +pushLogStrLn loggerSet logStr = pushLogStr loggerSet (logStr <> toLogStr "\n") + -- | Flushing log messages in buffers. -- This function must be called explicitly when the program is -- being terminated. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fast-logger-2.3.1/fast-logger.cabal new/fast-logger-2.4.1/fast-logger.cabal --- old/fast-logger-2.3.1/fast-logger.cabal 2015-03-28 12:51:35.000000000 +0100 +++ new/fast-logger-2.4.1/fast-logger.cabal 2015-08-12 14:53:42.000000000 +0200 @@ -1,5 +1,5 @@ Name: fast-logger -Version: 2.3.1 +Version: 2.4.1 Author: Kazu Yamamoto <[email protected]> Maintainer: Kazu Yamamoto <[email protected]> License: BSD3 @@ -19,7 +19,7 @@ System.Log.FastLogger.IORef System.Log.FastLogger.LogStr System.Log.FastLogger.Logger - Build-Depends: base >= 4 && < 5 + Build-Depends: base >= 4.4 && < 5 , array , auto-update >= 0.1.2 , bytestring
