capnp 0.10.0.0 → 0.10.0.1
raw patch · 18 files changed
+19/−2 lines, 18 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- capnp.cabal +1/−1
- examples/gen/lib/Capnp/Gen/ById/X85150b117366d14b.hs +1/−0
- examples/gen/lib/Capnp/Gen/ById/X85150b117366d14b/Pure.hs +1/−0
- examples/gen/lib/Capnp/Gen/ById/Xd0a87f36fa0182f5.hs +1/−0
- examples/gen/lib/Capnp/Gen/ById/Xd0a87f36fa0182f5/Pure.hs +1/−0
- examples/gen/lib/Capnp/Gen/Calculator.hs +1/−0
- examples/gen/lib/Capnp/Gen/Calculator/Pure.hs +1/−0
- examples/gen/lib/Capnp/Gen/Echo.hs +1/−0
- examples/gen/lib/Capnp/Gen/Echo/Pure.hs +1/−0
- gen/tests/Capnp/Gen/Aircraft.hs +1/−0
- gen/tests/Capnp/Gen/Aircraft/Pure.hs +1/−0
- gen/tests/Capnp/Gen/ById/X832bcc6686a26d56.hs +1/−0
- gen/tests/Capnp/Gen/ById/X832bcc6686a26d56/Pure.hs +1/−0
- gen/tests/Capnp/Gen/ById/Xb6421fb8e478d144.hs +1/−0
- gen/tests/Capnp/Gen/ById/Xb6421fb8e478d144/Pure.hs +1/−0
- gen/tests/Capnp/Gen/Generics.hs +1/−0
- gen/tests/Capnp/Gen/Generics/Pure.hs +1/−0
- lib/Capnp/Message.hs +2/−1
capnp.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: capnp-version: 0.10.0.0+version: 0.10.0.1 category: Data, Serialization, Network, Rpc copyright: 2016-2020 haskell-capnp contributors (see CONTRIBUTORS file). author: Ian Denhardt
examples/gen/lib/Capnp/Gen/ById/X85150b117366d14b.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.X85150b117366d14b(module Capnp.Gen.Calculator) where import Capnp.Gen.Calculator import qualified Prelude as Std_
examples/gen/lib/Capnp/Gen/ById/X85150b117366d14b/Pure.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.X85150b117366d14b.Pure(module Capnp.Gen.Calculator.Pure) where import Capnp.Gen.Calculator.Pure import qualified Prelude as Std_
examples/gen/lib/Capnp/Gen/ById/Xd0a87f36fa0182f5.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.Xd0a87f36fa0182f5(module Capnp.Gen.Echo) where import Capnp.Gen.Echo import qualified Prelude as Std_
examples/gen/lib/Capnp/Gen/ById/Xd0a87f36fa0182f5/Pure.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.Xd0a87f36fa0182f5.Pure(module Capnp.Gen.Echo.Pure) where import Capnp.Gen.Echo.Pure import qualified Prelude as Std_
examples/gen/lib/Capnp/Gen/Calculator.hs view
@@ -10,6 +10,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Calculator where import qualified Capnp.Message as Message import qualified Capnp.Untyped as Untyped
examples/gen/lib/Capnp/Gen/Calculator/Pure.hs view
@@ -13,6 +13,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Calculator.Pure(Capnp.Gen.ById.X85150b117366d14b.Operator(..) ,Calculator(..) ,Calculator'server_(..)
examples/gen/lib/Capnp/Gen/Echo.hs view
@@ -10,6 +10,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Echo where import qualified Capnp.Message as Message import qualified Capnp.Untyped as Untyped
examples/gen/lib/Capnp/Gen/Echo/Pure.hs view
@@ -13,6 +13,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Echo.Pure(Echo(..) ,Echo'server_(..) ,export_Echo
gen/tests/Capnp/Gen/Aircraft.hs view
@@ -10,6 +10,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Aircraft where import qualified Capnp.Message as Message import qualified Capnp.Untyped as Untyped
gen/tests/Capnp/Gen/Aircraft/Pure.hs view
@@ -13,6 +13,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Aircraft.Pure(Capnp.Gen.ById.X832bcc6686a26d56.Airport(..) ,constDate ,constList
gen/tests/Capnp/Gen/ById/X832bcc6686a26d56.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.X832bcc6686a26d56(module Capnp.Gen.Aircraft) where import Capnp.Gen.Aircraft import qualified Prelude as Std_
gen/tests/Capnp/Gen/ById/X832bcc6686a26d56/Pure.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.X832bcc6686a26d56.Pure(module Capnp.Gen.Aircraft.Pure) where import Capnp.Gen.Aircraft.Pure import qualified Prelude as Std_
gen/tests/Capnp/Gen/ById/Xb6421fb8e478d144.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.Xb6421fb8e478d144(module Capnp.Gen.Generics) where import Capnp.Gen.Generics import qualified Prelude as Std_
gen/tests/Capnp/Gen/ById/Xb6421fb8e478d144/Pure.hs view
@@ -3,6 +3,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.ById.Xb6421fb8e478d144.Pure(module Capnp.Gen.Generics.Pure) where import Capnp.Gen.Generics.Pure import qualified Prelude as Std_
gen/tests/Capnp/Gen/Generics.hs view
@@ -10,6 +10,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Generics where import qualified Capnp.Message as Message import qualified Capnp.Untyped as Untyped
gen/tests/Capnp/Gen/Generics/Pure.hs view
@@ -13,6 +13,7 @@ {-# OPTIONS_GHC -Wno-unused-matches #-} {-# OPTIONS_GHC -Wno-orphans #-} {-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-}+{-# OPTIONS_GHC -Wno-name-shadowing #-} module Capnp.Gen.Generics.Pure(Maybe(..) ,Either(..) ,Pair(..)
lib/Capnp/Message.hs view
@@ -515,9 +515,10 @@ Nothing -> do -- Not enough space in the current segment; allocate a new one. -- the new segment's size should match the total size of existing segments+ -- but `maxSegmentSize` bounds how large it can get. WordCount totalAllocation <- sum <$> traverse (getSegment msg >=> numWords) [0..segIndex]- ( newSegIndex, _ ) <- newSegment msg (max totalAllocation sizeInt)+ ( newSegIndex, _ ) <- newSegment msg (min (max totalAllocation sizeInt) maxSegmentSize) -- This is guaranteed to succeed, since we just made a segment with -- at least size available space: fromJust <$> allocInSeg msg newSegIndex size