packages feed

gi-gdkpixbuf 2.0.14 → 2.0.15

raw patch · 5 files changed

+26/−18 lines, 5 filesdep ~haskell-gidep ~haskell-gi-basedep ~haskell-gi-overloadingPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: haskell-gi, haskell-gi-base, haskell-gi-overloading

API changes (from Hackage documentation)

- GI.GdkPixbuf.PkgInfo: flags :: [(String, Bool)]
- GI.GdkPixbuf.PkgInfo: pkgConfigVersions :: [(String, String)]
- GI.GdkPixbuf.Structs.Pixdata: clearPixdataPixelData :: MonadIO m => Pixdata -> m ()
- GI.GdkPixbuf.Structs.Pixdata: getPixdataPixelData :: MonadIO m => Pixdata -> m (Maybe (Ptr Word8))
- GI.GdkPixbuf.Structs.Pixdata: instance tag ~ 'Data.GI.Base.Attributes.AttrSet => Data.GI.Base.Constructible.Constructible GI.GdkPixbuf.Structs.Pixdata.Pixdata tag
- GI.GdkPixbuf.Structs.Pixdata: setPixdataPixelData :: MonadIO m => Pixdata -> Ptr Word8 -> m ()
+ GI.GdkPixbuf.Structs.Pixdata: instance (tag ~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.GdkPixbuf.Structs.Pixdata.Pixdata tag
- GI.GdkPixbuf.Callbacks: type PixbufDestroyNotify = Ptr Word8 -> IO ()
+ GI.GdkPixbuf.Callbacks: type PixbufDestroyNotify = Ptr Word8 /@pixels@/: The pixel array of the pixbuf that is being finalized. -> IO ()
- GI.GdkPixbuf.Callbacks: type PixbufDestroyNotify_WithClosures = Ptr Word8 -> Ptr () -> IO ()
+ GI.GdkPixbuf.Callbacks: type PixbufDestroyNotify_WithClosures = Ptr Word8 /@pixels@/: The pixel array of the pixbuf that is being finalized. -> Ptr () /@data@/: User closure data. -> IO ()
- GI.GdkPixbuf.Callbacks: type PixbufSaveFunc = ByteString -> IO ((Bool, GError))
+ GI.GdkPixbuf.Callbacks: type PixbufSaveFunc = ByteString /@buf@/: bytes to be written. -> IO ((Bool, GError)) __Returns:__ 'True' if successful, 'False' (with /@error@/ set) if failed.
- GI.GdkPixbuf.Callbacks: type PixbufSaveFunc_WithClosures = ByteString -> Ptr () -> IO ((Bool, GError))
+ GI.GdkPixbuf.Callbacks: type PixbufSaveFunc_WithClosures = ByteString /@buf@/: bytes to be written. -> Ptr () /@data@/: user data passed to @/gdk_pixbuf_save_to_callback()/@. -> IO ((Bool, GError)) __Returns:__ 'True' if successful, 'False' (with /@error@/ set) if failed.
- GI.GdkPixbuf.Callbacks: wrap_PixbufDestroyNotify :: Maybe (Ptr (FunPtr C_PixbufDestroyNotify)) -> PixbufDestroyNotify_WithClosures -> Ptr Word8 -> Ptr () -> IO ()
+ GI.GdkPixbuf.Callbacks: wrap_PixbufDestroyNotify :: Maybe (Ptr (FunPtr C_PixbufDestroyNotify)) -> PixbufDestroyNotify_WithClosures -> C_PixbufDestroyNotify
- GI.GdkPixbuf.Callbacks: wrap_PixbufSaveFunc :: Maybe (Ptr (FunPtr C_PixbufSaveFunc)) -> PixbufSaveFunc_WithClosures -> Ptr Word8 -> Word64 -> Ptr (Ptr GError) -> Ptr () -> IO CInt
+ GI.GdkPixbuf.Callbacks: wrap_PixbufSaveFunc :: Maybe (Ptr (FunPtr C_PixbufSaveFunc)) -> PixbufSaveFunc_WithClosures -> C_PixbufSaveFunc
- GI.GdkPixbuf.Objects.Pixbuf: pixbufCompositeColorSimple :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> Int32 -> Int32 -> InterpType -> Int32 -> Int32 -> Word32 -> Word32 -> m Pixbuf
+ GI.GdkPixbuf.Objects.Pixbuf: pixbufCompositeColorSimple :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> Int32 -> Int32 -> InterpType -> Int32 -> Int32 -> Word32 -> Word32 -> m (Maybe Pixbuf)
- GI.GdkPixbuf.Objects.Pixbuf: pixbufCopy :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> m Pixbuf
+ GI.GdkPixbuf.Objects.Pixbuf: pixbufCopy :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> m (Maybe Pixbuf)
- GI.GdkPixbuf.Objects.Pixbuf: pixbufNew :: (HasCallStack, MonadIO m) => Colorspace -> Bool -> Int32 -> Int32 -> Int32 -> m Pixbuf
+ GI.GdkPixbuf.Objects.Pixbuf: pixbufNew :: (HasCallStack, MonadIO m) => Colorspace -> Bool -> Int32 -> Int32 -> Int32 -> m (Maybe Pixbuf)
- GI.GdkPixbuf.Objects.Pixbuf: pixbufScaleSimple :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> Int32 -> Int32 -> InterpType -> m Pixbuf
+ GI.GdkPixbuf.Objects.Pixbuf: pixbufScaleSimple :: (HasCallStack, MonadIO m, IsPixbuf a) => a -> Int32 -> Int32 -> InterpType -> m (Maybe Pixbuf)
- GI.GdkPixbuf.Objects.PixbufLoader: type PixbufLoaderAreaUpdatedCallback = Int32 -> Int32 -> Int32 -> Int32 -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: type PixbufLoaderAreaUpdatedCallback = Int32 /@x@/: X offset of upper-left corner of the updated area. -> Int32 /@y@/: Y offset of upper-left corner of the updated area. -> Int32 /@width@/: Width of updated area. -> Int32 /@height@/: Height of updated area. -> IO ()
- GI.GdkPixbuf.Objects.PixbufLoader: type PixbufLoaderSizePreparedCallback = Int32 -> Int32 -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: type PixbufLoaderSizePreparedCallback = Int32 /@width@/: the original width of the image -> Int32 /@height@/: the original height of the image -> IO ()
- GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderAreaPreparedCallback :: PixbufLoaderAreaPreparedCallback -> Ptr () -> Ptr () -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderAreaPreparedCallback :: PixbufLoaderAreaPreparedCallback -> C_PixbufLoaderAreaPreparedCallback
- GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderAreaUpdatedCallback :: PixbufLoaderAreaUpdatedCallback -> Ptr () -> Int32 -> Int32 -> Int32 -> Int32 -> Ptr () -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderAreaUpdatedCallback :: PixbufLoaderAreaUpdatedCallback -> C_PixbufLoaderAreaUpdatedCallback
- GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderClosedCallback :: PixbufLoaderClosedCallback -> Ptr () -> Ptr () -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderClosedCallback :: PixbufLoaderClosedCallback -> C_PixbufLoaderClosedCallback
- GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderSizePreparedCallback :: PixbufLoaderSizePreparedCallback -> Ptr () -> Int32 -> Int32 -> Ptr () -> IO ()
+ GI.GdkPixbuf.Objects.PixbufLoader: wrap_PixbufLoaderSizePreparedCallback :: PixbufLoaderSizePreparedCallback -> C_PixbufLoaderSizePreparedCallback

Files

ChangeLog.md view
@@ -0,0 +1,7 @@+### 2.0.15+++ Remove enable-overloading flags, and use instead explicit CPP checks for 'haskell-gi-overloading-1.0', see [how to disable overloading](https://github.com/haskell-gi/haskell-gi/wiki/Overloading\#disabling-overloading).++### 2.0.15+++ Fix introspection info for [pixbufNew](https://hackage.haskell.org/package/gi-gdkpixbuf/docs/GI-GdkPixbuf-Objects-Pixbuf.html#v:pixbufNew), [pixbufCopy](https://hackage.haskell.org/package/gi-gdkpixbuf/docs/GI-GdkPixbuf-Objects-Pixbuf.html#v:pixbufCopy), [pixbufCompositeColorSimple](https://hackage.haskell.org/package/gi-gdkpixbuf/docs/GI-GdkPixbuf-Objects-Pixbuf.html#v:pixbufCompositeColorSimple) and [pixbufScaleSimple](https://hackage.haskell.org/package/gi-gdkpixbuf/docs/GI-GdkPixbuf-Objects-Pixbuf.html#v:pixbufScaleSimple). The return values in all these cases can be null, but were not marked as such. See https://github.com/haskell-gi/haskell-gi/issues/127.
GdkPixbuf.overrides view
@@ -13,6 +13,13 @@    endif endif +# Missing from the introspection data, see+# https://github.com/haskell-gi/haskell-gi/issues/127+set-attr GdkPixbuf/Pixbuf/new/@return-value nullable 1+set-attr GdkPixbuf/Pixbuf/copy/@return-value nullable 1+set-attr GdkPixbuf/Pixbuf/scale_simple/@return-value nullable 1+set-attr GdkPixbuf/Pixbuf/composite_color_simple/@return-value nullable 1+ # Generated from gdk-pixbuf 2.34.0 with xsltproc Nullable.xslt GdkPixbuf-2.0.gir set-attr GdkPixbuf/Pixbuf/new_from_data/@parameters/destroy_fn nullable 1 set-attr GdkPixbuf/Pixbuf/new_from_data/@parameters/destroy_fn_data nullable 1
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gdkpixbuf-2.0.14/docs/GI-GdkPixbuf.html](https://hackage.haskell.org/package/gi-gdkpixbuf-2.0.14/docs/GI-GdkPixbuf.html)+[https://hackage.haskell.org/package/gi-gdkpixbuf-2.0.15/docs/GI-GdkPixbuf.html](https://hackage.haskell.org/package/gi-gdkpixbuf-2.0.15/docs/GI-GdkPixbuf.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).
gi-gdkpixbuf.cabal view
@@ -1,5 +1,5 @@ name:                 gi-gdkpixbuf-version:              2.0.14+version:              2.0.15 synopsis:             GdkPixbuf bindings description:          Bindings for GdkPixbuf, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -16,11 +16,7 @@ custom-setup       setup-depends: base >= 4.7 && < 5,                      Cabal >= 1.24,-                     haskell-gi >= 0.20.1 && < 1--Flag enable-overloading-      Description: Enable support for overloaded labels.-      Default: True+                     haskell-gi == 0.21.*  library       default-language: Haskell2010@@ -28,16 +24,11 @@       other-extensions: PatternSynonyms, ViewPatterns       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations -      if flag(enable-overloading)-         cpp-options: -DENABLE_OVERLOADING-         build-depends: haskell-gi-overloading == 1.0.*-      else-         build-depends: haskell-gi-overloading == 0.0-       pkgconfig-depends: gdk-pixbuf-2.0       build-depends: base >= 4.7 && <5,-                     haskell-gi-base >= 0.20 && < 1,-                     haskell-gi >= 0.20.1 && < 1,+                     haskell-gi-base == 0.21.*,+                     haskell-gi == 0.21.*,+                     haskell-gi-overloading < 1.1,                      gi-gio == 2.0.*,                      gi-gobject == 2.0.*,                      gi-glib == 2.0.*,@@ -45,3 +36,8 @@                      containers >= 0.5 && < 1,                      text >= 1.0 && < 2,                      transformers >= 0.4 && < 1++      -- Disable overloading when compiling under GHC 8.2.x+      -- see https://ghc.haskell.org/trac/ghc/ticket/14382+      if impl(ghc == 8.2.*)+              build-depends: haskell-gi-overloading == 0.0
stack.yaml view
@@ -1,5 +1,3 @@ packages: - '.'-explicit-setup-deps:-  ! '*': true-resolver: nightly-2016-12-05+resolver: lts-9.21