gi-soup 2.4.28 → 2.4.29
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~haskell-gisetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi
API changes (from Hackage documentation)
- GI.Soup.Callbacks: dynamic_ChunkAllocator :: (HasCallStack, MonadIO m, IsMessage a) => FunPtr C_ChunkAllocator -> a -> Word64 -> Ptr () -> m (Maybe Buffer)
+ GI.Soup.Callbacks: dynamic_ChunkAllocator :: (HasCallStack, MonadIO m, IsMessage a) => FunPtr C_ChunkAllocator -> a -> CSize -> Ptr () -> m (Maybe Buffer)
- GI.Soup.Callbacks: type C_ChunkAllocator = Ptr Message -> Word64 -> Ptr () -> IO (Ptr Buffer)
+ GI.Soup.Callbacks: type C_ChunkAllocator = Ptr Message -> CSize -> Ptr () -> IO (Ptr Buffer)
- GI.Soup.Callbacks: type ChunkAllocator = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. Word64 -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
+ GI.Soup.Callbacks: type ChunkAllocator = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. CSize -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
- GI.Soup.Callbacks: type ChunkAllocator_WithClosures = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. Word64 -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Message.messageSetChunkAllocator' Ptr () -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
+ GI.Soup.Callbacks: type ChunkAllocator_WithClosures = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. CSize -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Message.messageSetChunkAllocator' Ptr () -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
- GI.Soup.Objects.ContentSniffer: contentSnifferGetBufferSize :: (HasCallStack, MonadIO m, IsContentSniffer a) => a -> m Word64
+ GI.Soup.Objects.ContentSniffer: contentSnifferGetBufferSize :: (HasCallStack, MonadIO m, IsContentSniffer a) => a -> m CSize
- GI.Soup.Objects.Socket: socketRead :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, Word64)
+ GI.Soup.Objects.Socket: socketRead :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, CSize)
- GI.Soup.Objects.Socket: socketReadUntil :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Ptr () -> Word64 -> Maybe b -> m (SocketIOStatus, Word64, Bool)
+ GI.Soup.Objects.Socket: socketReadUntil :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Ptr () -> CSize -> Maybe b -> m (SocketIOStatus, CSize, Bool)
- GI.Soup.Objects.Socket: socketWrite :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, Word64)
+ GI.Soup.Objects.Socket: socketWrite :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Maybe b -> m (SocketIOStatus, CSize)
- GI.Soup.Objects.WebsocketConnection: websocketConnectionClose :: (HasCallStack, MonadIO m, IsWebsocketConnection a) => a -> Word16 -> Maybe Text -> m ()
+ GI.Soup.Objects.WebsocketConnection: websocketConnectionClose :: (HasCallStack, MonadIO m, IsWebsocketConnection a) => a -> CUShort -> Maybe Text -> m ()
- GI.Soup.Objects.WebsocketConnection: websocketConnectionGetCloseCode :: (HasCallStack, MonadIO m, IsWebsocketConnection a) => a -> m Word16
+ GI.Soup.Objects.WebsocketConnection: websocketConnectionGetCloseCode :: (HasCallStack, MonadIO m, IsWebsocketConnection a) => a -> m CUShort
- GI.Soup.Structs.Buffer: bufferNewSubbuffer :: (HasCallStack, MonadIO m) => Buffer -> Word64 -> Word64 -> m Buffer
+ GI.Soup.Structs.Buffer: bufferNewSubbuffer :: (HasCallStack, MonadIO m) => Buffer -> CSize -> CSize -> m Buffer
- GI.Soup.Structs.Buffer: getBufferLength :: MonadIO m => Buffer -> m Word64
+ GI.Soup.Structs.Buffer: getBufferLength :: MonadIO m => Buffer -> m CSize
- GI.Soup.Structs.Buffer: setBufferLength :: MonadIO m => Buffer -> Word64 -> m ()
+ GI.Soup.Structs.Buffer: setBufferLength :: MonadIO m => Buffer -> CSize -> m ()
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-soup.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 2.4.29+++ Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))+ ### 2.4.28 + Bump base lower bound
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-soup-2.4.28/docs/GI-Soup.html](https://hackage.haskell.org/package/gi-soup-2.4.28/docs/GI-Soup.html)+[https://hackage.haskell.org/package/gi-soup-2.4.29/docs/GI-Soup.html](https://hackage.haskell.org/package/gi-soup-2.4.29/docs/GI-Soup.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@ where name = "Soup" version = "2.4" pkgName = "gi-soup"- pkgVersion = "2.4.28"+ pkgVersion = "2.4.29" overridesFile = Just "Soup.overrides" verbose = False outputDir = Nothing
gi-soup.cabal view
@@ -1,5 +1,5 @@ name: gi-soup-version: 2.4.28+version: 2.4.29 synopsis: Libsoup bindings description: Bindings for Libsoup, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,7 @@ custom-setup setup-depends: base >= 4.11 && < 5, Cabal >= 1.24 && < 4,- haskell-gi >= 0.26 && < 0.27,+ haskell-gi >= 0.26.9 && < 0.27, gi-gio == 2.0.*, gi-gobject == 2.0.*, gi-glib == 2.0.*@@ -30,7 +30,7 @@ pkgconfig-depends: libsoup-2.4 build-depends: base >= 4.7 && <5, haskell-gi-base >= 0.26 && < 0.27,- haskell-gi >= 0.26 && < 0.27,+ haskell-gi >= 0.26.9 && < 0.27, haskell-gi-overloading < 1.1, gi-gio == 2.0.*, gi-gobject == 2.0.*,