Hello community, here is the log from the commit of package ghc-resourcet for openSUSE:Factory checked in at 2015-08-05 06:52:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-resourcet (Old) and /work/SRC/openSUSE:Factory/.ghc-resourcet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-resourcet" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-resourcet/ghc-resourcet.changes 2015-05-26 12:36:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-resourcet.new/ghc-resourcet.changes 2015-08-05 06:52:02.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Aug 4 06:04:36 UTC 2015 - [email protected] + +- update to 1.1.6 +* Safe/Trustworthy for resourcet + +------------------------------------------------------------------- Old: ---- resourcet-1.1.5.tar.gz New: ---- resourcet-1.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-resourcet.spec ++++++ --- /var/tmp/diff_new_pack.dJTB4c/_old 2015-08-05 06:52:02.000000000 +0200 +++ /var/tmp/diff_new_pack.dJTB4c/_new 2015-08-05 06:52:02.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name resourcet Name: ghc-resourcet -Version: 1.1.5 +Version: 1.1.6 Release: 0 Summary: Deterministic allocation and freeing of scarce resources License: BSD-3-Clause ++++++ resourcet-1.1.5.tar.gz -> resourcet-1.1.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/ChangeLog.md new/resourcet-1.1.6/ChangeLog.md --- old/resourcet-1.1.5/ChangeLog.md 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/ChangeLog.md 2015-07-31 06:16:49.000000000 +0200 @@ -1,3 +1,7 @@ +## 1.1.6 + +* Safe/Trustworthy for resourcet [#220](https://github.com/snoyberg/conduit/pull/220) + ## 1.1.5 * Add pass-through instances for Alternative and MonadPlus [#214](https://github.com/snoyberg/conduit/pull/214) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/Control/Monad/Trans/Resource/Internal.hs new/resourcet-1.1.6/Control/Monad/Trans/Resource/Internal.hs --- old/resourcet-1.1.5/Control/Monad/Trans/Resource/Internal.hs 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/Control/Monad/Trans/Resource/Internal.hs 2015-07-31 06:16:49.000000000 +0200 @@ -7,6 +7,11 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE RankNTypes #-} +-- Can only turn on SafeHaskell when using a newer GHC, otherwise we get build +-- failures due to the manual Typeable instance below. +#if __GLASGOW_HASKELL__ >= 707 +{-# LANGUAGE Safe #-} +#endif module Control.Monad.Trans.Resource.Internal( InvalidAccess(..) @@ -55,7 +60,6 @@ import Control.Monad (liftM) #endif import qualified Control.Exception as E -import Control.Monad.ST (ST) import Control.Monad.Catch (MonadThrow (..), MonadCatch (..) #if MIN_VERSION_exceptions(0,6,0) , MonadMask (..) @@ -70,20 +74,6 @@ import Prelude hiding (catch) import Data.Acquire.Internal (ReleaseType (..)) -#if __GLASGOW_HASKELL__ >= 704 -import Control.Monad.ST.Unsafe (unsafeIOToST) -#else -import Control.Monad.ST (unsafeIOToST) -#endif - -#if __GLASGOW_HASKELL__ >= 704 -import qualified Control.Monad.ST.Lazy.Unsafe as LazyUnsafe -#else -import qualified Control.Monad.ST.Lazy as LazyUnsafe -#endif - -import qualified Control.Monad.ST.Lazy as Lazy - import Control.Monad.Morph -- | A @Monad@ which allows for safe resource allocation. In theory, any monad diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/Control/Monad/Trans/Resource.hs new/resourcet-1.1.6/Control/Monad/Trans/Resource.hs --- old/resourcet-1.1.5/Control/Monad/Trans/Resource.hs 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/Control/Monad/Trans/Resource.hs 2015-07-31 06:16:49.000000000 +0200 @@ -10,6 +10,9 @@ #if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE ConstraintKinds #-} #endif +#if __GLASGOW_HASKELL__ >= 707 +{-# LANGUAGE Safe #-} +#endif -- | Allocate resources which are guaranteed to be released. -- -- For more information, see <https://www.fpcomplete.com/user/snoyberg/library-documentation/resourcet>. @@ -73,27 +76,11 @@ import Data.Monoid (Monoid) import qualified Control.Exception.Lifted as L -import Control.Monad.Trans.Identity ( IdentityT) -import Control.Monad.Trans.List ( ListT ) -import Control.Monad.Trans.Maybe ( MaybeT ) -import Control.Monad.Trans.Error ( ErrorT, Error) -import Control.Monad.Trans.Reader ( ReaderT ) -import Control.Monad.Trans.State ( StateT ) -import Control.Monad.Trans.Writer ( WriterT ) import Control.Monad.Trans.Resource.Internal -import Control.Monad.Trans.RWS ( RWST ) -import qualified Control.Monad.Trans.RWS.Strict as Strict ( RWST ) -import qualified Control.Monad.Trans.State.Strict as Strict ( StateT ) -import qualified Control.Monad.Trans.Writer.Strict as Strict ( WriterT ) import Control.Concurrent (ThreadId, forkIO) -import Control.Monad.ST (ST) - -import qualified Control.Monad.ST.Lazy as Lazy - import Data.Functor.Identity (Identity, runIdentity) -import Control.Monad.Morph import Control.Monad.Catch (MonadThrow, throwM) import Control.Monad.Catch.Pure (CatchT, runCatchT) import Data.Acquire.Internal (ReleaseType (..)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/Data/Acquire/Internal.hs new/resourcet-1.1.6/Data/Acquire/Internal.hs --- old/resourcet-1.1.5/Data/Acquire/Internal.hs 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/Data/Acquire/Internal.hs 2015-07-31 06:16:49.000000000 +0200 @@ -4,6 +4,7 @@ {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE Trustworthy #-} module Data.Acquire.Internal ( Acquire (..) , Allocated (..) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/Data/Acquire.hs new/resourcet-1.1.6/Data/Acquire.hs --- old/resourcet-1.1.5/Data/Acquire.hs 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/Data/Acquire.hs 2015-07-31 06:16:49.000000000 +0200 @@ -1,3 +1,7 @@ +{-# LANGUAGE CPP #-} +#if __GLASGOW_HASKELL__ >= 707 +{-# LANGUAGE Safe #-} +#endif -- | This was previously known as the Resource monad. However, that term is -- confusing next to the ResourceT transformer, so it has been renamed. module Data.Acquire diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/resourcet-1.1.5/resourcet.cabal new/resourcet-1.1.6/resourcet.cabal --- old/resourcet-1.1.5/resourcet.cabal 2015-05-17 12:56:36.000000000 +0200 +++ new/resourcet-1.1.6/resourcet.cabal 2015-07-31 06:16:49.000000000 +0200 @@ -1,5 +1,5 @@ Name: resourcet -Version: 1.1.5 +Version: 1.1.6 Synopsis: Deterministic allocation and freeing of scarce resources. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/resourcet>. License: BSD3
