gi-gobject 2.0.28 → 2.0.30
raw patch · 5 files changed
+14/−5 lines, 5 filessetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- GI.GObject.Callbacks: drop_closures_ClosureMarshal :: ClosureMarshal -> ClosureMarshal_WithClosures
- GI.GObject.Callbacks: drop_closures_SignalAccumulator :: SignalAccumulator -> SignalAccumulator_WithClosures
- GI.GObject.Callbacks: drop_closures_SignalEmissionHook :: SignalEmissionHook -> SignalEmissionHook_WithClosures
- GI.GObject.Callbacks: noClosureMarshal_WithClosures :: Maybe ClosureMarshal_WithClosures
- GI.GObject.Callbacks: noSignalAccumulator_WithClosures :: Maybe SignalAccumulator_WithClosures
- GI.GObject.Callbacks: noSignalEmissionHook_WithClosures :: Maybe SignalEmissionHook_WithClosures
- GI.GObject.Callbacks: type ClosureMarshal_WithClosures = -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs GClosure () -> -- | /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return -- value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a -- value. Maybe GValue -> -- | /@paramValues@/: an array of -- @/GValues/@ holding the arguments on which to invoke the -- callback of /@closure@/ [GValue] -> -- | /@invocationHint@/: the invocation hint given as the -- last argument to 'GI.GObject.Structs.Closure.closureInvoke' Ptr () -> -- | /@userData@/: additional data specified when -- registering the marshaller, see @/g_closure_set_marshal()/@ and -- @/g_closure_set_meta_marshal()/@ Ptr () -> IO ()
- GI.GObject.Callbacks: type SignalAccumulator_WithClosures = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@returnAccu@/: Accumulator to collect callback return values in, this -- is the return value of the current signal emission. GValue -> -- | /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler. GValue -> -- | /@userData@/: Callback data that was specified when creating the signal. Ptr () -> -- | __Returns:__ The accumulator function returns whether the signal emission -- should be aborted. Returning 'P.True' will continue with -- the signal emission. Returning 'P.False' will abort the current emission. -- Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, -- emission will occur as normal in the CLEANUP stage and the handler\'s -- return value will be accumulated. IO Bool
- GI.GObject.Callbacks: type SignalEmissionHook_WithClosures = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@paramValues@/: the instance on which -- the signal was emitted, followed by the parameters of the emission. [GValue] -> -- | /@userData@/: user data associated with the hook. Ptr () -> -- | __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal -- hook is disconnected (and destroyed). IO Bool
+ GI.GObject.Flags: TypeFlagsDeprecated :: TypeFlags
+ GI.GObject.Functions: signalAddEmissionHook :: (HasCallStack, MonadIO m) => Word32 -> Word32 -> SignalEmissionHook -> m CULong
- GI.GObject.Callbacks: type ClosureMarshal = -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs GClosure () -> -- | /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return -- value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a -- value. Maybe GValue -> -- | /@paramValues@/: an array of -- @/GValues/@ holding the arguments on which to invoke the -- callback of /@closure@/ [GValue] -> -- | /@invocationHint@/: the invocation hint given as the -- last argument to 'GI.GObject.Structs.Closure.closureInvoke' Ptr () -> IO ()
+ GI.GObject.Callbacks: type ClosureMarshal = -- | /@closure@/: the t'GI.GObject.Structs.Closure.Closure' to which the marshaller belongs GClosure () -> -- | /@returnValue@/: a t'GI.GObject.Structs.Value.Value' to store the return -- value. May be 'P.Nothing' if the callback of /@closure@/ doesn\'t return a -- value. Maybe GValue -> -- | /@paramValues@/: an array of -- @/GValues/@ holding the arguments on which to invoke the -- callback of /@closure@/ [GValue] -> -- | /@invocationHint@/: the invocation hint given as the -- last argument to 'GI.GObject.Structs.Closure.closureInvoke' Ptr () -> -- | /@marshalData@/: additional data specified when -- registering the marshaller, see @/g_closure_set_marshal()/@ and -- @/g_closure_set_meta_marshal()/@ Ptr () -> IO ()
- GI.GObject.Callbacks: type SignalAccumulator = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@returnAccu@/: Accumulator to collect callback return values in, this -- is the return value of the current signal emission. GValue -> -- | /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler. GValue -> -- | __Returns:__ The accumulator function returns whether the signal emission -- should be aborted. Returning 'P.True' will continue with -- the signal emission. Returning 'P.False' will abort the current emission. -- Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, -- emission will occur as normal in the CLEANUP stage and the handler\'s -- return value will be accumulated. IO Bool
+ GI.GObject.Callbacks: type SignalAccumulator = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@returnAccu@/: Accumulator to collect callback return values in, this -- is the return value of the current signal emission. GValue -> -- | /@handlerReturn@/: A t'GI.GObject.Structs.Value.Value' holding the return value of the signal handler. GValue -> -- | /@data@/: Callback data that was specified when creating the signal. Ptr () -> -- | __Returns:__ The accumulator function returns whether the signal emission -- should be aborted. Returning 'P.True' will continue with -- the signal emission. Returning 'P.False' will abort the current emission. -- Since 2.62, returning 'P.False' will skip to the CLEANUP stage. In this case, -- emission will occur as normal in the CLEANUP stage and the handler\'s -- return value will be accumulated. IO Bool
- GI.GObject.Callbacks: type SignalEmissionHook = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@paramValues@/: the instance on which -- the signal was emitted, followed by the parameters of the emission. [GValue] -> -- | __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal -- hook is disconnected (and destroyed). IO Bool
+ GI.GObject.Callbacks: type SignalEmissionHook = -- | /@ihint@/: Signal invocation hint, see t'GI.GObject.Structs.SignalInvocationHint.SignalInvocationHint'. SignalInvocationHint -> -- | /@paramValues@/: the instance on which -- the signal was emitted, followed by the parameters of the emission. [GValue] -> -- | /@data@/: user data associated with the hook. Ptr () -> -- | __Returns:__ whether it wants to stay connected. If it returns 'P.False', the signal -- hook is disconnected (and destroyed). IO Bool
- GI.GObject.Callbacks: wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal_WithClosures -> C_ClosureMarshal
+ GI.GObject.Callbacks: wrap_ClosureMarshal :: Maybe (Ptr (FunPtr C_ClosureMarshal)) -> ClosureMarshal -> C_ClosureMarshal
- GI.GObject.Callbacks: wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator_WithClosures -> C_SignalAccumulator
+ GI.GObject.Callbacks: wrap_SignalAccumulator :: Maybe (Ptr (FunPtr C_SignalAccumulator)) -> SignalAccumulator -> C_SignalAccumulator
- GI.GObject.Callbacks: wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook_WithClosures -> C_SignalEmissionHook
+ GI.GObject.Callbacks: wrap_SignalEmissionHook :: Maybe (Ptr (FunPtr C_SignalEmissionHook)) -> SignalEmissionHook -> C_SignalEmissionHook
- GI.GObject.Functions: typeName :: (HasCallStack, MonadIO m) => GType -> m Text
+ GI.GObject.Functions: typeName :: (HasCallStack, MonadIO m) => GType -> m (Maybe Text)
Files
- ChangeLog.md +8/−0
- GObject.overrides +1/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-gobject.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,11 @@+### 2.0.30+++ Bump base lower bound++### 2.0.29+++ Bump base lower bound+ ### 2.0.28 + Relax constraint on text
GObject.overrides view
@@ -28,6 +28,7 @@ set-attr GObject/signal_handlers_block_matched/@parameters/data closure -1 set-attr GObject/signal_handlers_disconnect_matched/@parameters/data closure -1 set-attr GObject/signal_handler_find/@parameters/data closure -1+set-attr GObject/signal_add_emission_hook/@parameters/hook_data closure -1 # Generated from gobject 2.48.0 with xsltproc Nullable.xslt GObject-2.0.gir set-attr GObject/BindingTransformFunc/@parameters/user_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-gobject-2.0.28/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.28/docs/GI-GObject.html)+[https://hackage.haskell.org/package/gi-gobject-2.0.30/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.30/docs/GI-GObject.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
@@ -10,7 +10,7 @@ where name = "GObject" version = "2.0" pkgName = "gi-gobject"- pkgVersion = "2.0.28"+ pkgVersion = "2.0.30" overridesFile = Just "GObject.overrides" verbose = False outputDir = Nothing
gi-gobject.cabal view
@@ -1,5 +1,5 @@ name: gi-gobject-version: 2.0.28+version: 2.0.30 synopsis: GObject bindings description: Bindings for GObject, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -14,8 +14,8 @@ extra-source-files: README.md ChangeLog.md stack.yaml GObject.overrides custom-setup- setup-depends: base >= 4.9 && < 5,- Cabal >= 1.24,+ setup-depends: base >= 4.11 && < 5,+ Cabal >= 1.24 && < 4, haskell-gi >= 0.26 && < 0.27, gi-glib == 2.0.*