gi-glib 2.0.27 → 2.0.29
raw patch · 5 files changed
+15/−21 lines, 5 filessetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- GI.GLib.Callbacks: drop_closures_CopyFunc :: CopyFunc -> CopyFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_HookCheckMarshaller :: HookCheckMarshaller -> HookCheckMarshaller_WithClosures
- GI.GLib.Callbacks: drop_closures_HookFindFunc :: HookFindFunc -> HookFindFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_HookMarshaller :: HookMarshaller -> HookMarshaller_WithClosures
- GI.GLib.Callbacks: drop_closures_IOFunc :: IOFunc -> IOFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_NodeForeachFunc :: NodeForeachFunc -> NodeForeachFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_NodeTraverseFunc :: NodeTraverseFunc -> NodeTraverseFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_OptionArgFunc :: OptionArgFunc -> OptionArgFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_OptionErrorFunc :: OptionErrorFunc -> OptionErrorFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_OptionParseFunc :: OptionParseFunc -> OptionParseFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_SequenceIterCompareFunc :: SequenceIterCompareFunc -> SequenceIterCompareFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_SpawnChildSetupFunc :: SpawnChildSetupFunc -> SpawnChildSetupFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_ThreadFunc :: ThreadFunc -> ThreadFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_TranslateFunc :: TranslateFunc -> TranslateFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_TraverseFunc :: TraverseFunc -> TraverseFunc_WithClosures
- GI.GLib.Callbacks: drop_closures_TraverseNodeFunc :: TraverseNodeFunc -> TraverseNodeFunc_WithClosures
- GI.GLib.Callbacks: noCopyFunc_WithClosures :: Maybe CopyFunc_WithClosures
- GI.GLib.Callbacks: noHookCheckMarshaller_WithClosures :: Maybe HookCheckMarshaller_WithClosures
- GI.GLib.Callbacks: noHookFindFunc_WithClosures :: Maybe HookFindFunc_WithClosures
- GI.GLib.Callbacks: noHookMarshaller_WithClosures :: Maybe HookMarshaller_WithClosures
- GI.GLib.Callbacks: noIOFunc_WithClosures :: Maybe IOFunc_WithClosures
- GI.GLib.Callbacks: noNodeForeachFunc_WithClosures :: Maybe NodeForeachFunc_WithClosures
- GI.GLib.Callbacks: noNodeTraverseFunc_WithClosures :: Maybe NodeTraverseFunc_WithClosures
- GI.GLib.Callbacks: noOptionArgFunc_WithClosures :: Maybe OptionArgFunc_WithClosures
- GI.GLib.Callbacks: noOptionErrorFunc_WithClosures :: Maybe OptionErrorFunc_WithClosures
- GI.GLib.Callbacks: noOptionParseFunc_WithClosures :: Maybe OptionParseFunc_WithClosures
- GI.GLib.Callbacks: noSequenceIterCompareFunc_WithClosures :: Maybe SequenceIterCompareFunc_WithClosures
- GI.GLib.Callbacks: noSpawnChildSetupFunc_WithClosures :: Maybe SpawnChildSetupFunc_WithClosures
- GI.GLib.Callbacks: noThreadFunc_WithClosures :: Maybe ThreadFunc_WithClosures
- GI.GLib.Callbacks: noTranslateFunc_WithClosures :: Maybe TranslateFunc_WithClosures
- GI.GLib.Callbacks: noTraverseFunc_WithClosures :: Maybe TraverseFunc_WithClosures
- GI.GLib.Callbacks: noTraverseNodeFunc_WithClosures :: Maybe TraverseNodeFunc_WithClosures
- GI.GLib.Callbacks: type CopyFunc_WithClosures = -- | /@src@/: A pointer to the data which should be copied Ptr () -> -- | /@userData@/: Additional data Ptr () -> -- | __Returns:__ A pointer to the copy IO (Ptr ())
- GI.GLib.Callbacks: type HookCheckMarshaller_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.False' if /@hook@/ should be destroyed IO Bool
- GI.GLib.Callbacks: type HookFindFunc_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data passed to @/g_hook_find_func()/@ Ptr () -> -- | __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found IO Bool
- GI.GLib.Callbacks: type HookMarshaller_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data Ptr () -> IO ()
- GI.GLib.Callbacks: type IOFunc_WithClosures = -- | /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source IOChannel -> -- | /@condition@/: the condition which has been satisfied [IOCondition] -> -- | /@userData@/: user data set in @/g_io_add_watch()/@ or 'GI.GLib.Functions.ioAddWatch' Ptr () -> -- | __Returns:__ the function should return 'P.False' if the event source -- should be removed IO Bool
- GI.GLib.Callbacks: type NodeForeachFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@userData@/: user data passed to @/g_node_children_foreach()/@. Ptr () -> IO ()
- GI.GLib.Callbacks: type NodeTraverseFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@userData@/: user data passed to @/g_node_traverse()/@. Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal. IO Bool
- GI.GLib.Callbacks: type OptionArgFunc_WithClosures = -- | /@optionName@/: The name of the option being parsed. This will be either a -- single dash followed by a single letter (for a short name) or two dashes -- followed by a long option name. Text -> -- | /@value@/: The value to be parsed. Text -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionErrorFunc_WithClosures = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionParseFunc_WithClosures = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type SequenceIterCompareFunc_WithClosures = -- | /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ zero if the iterators are equal, a negative value if /@a@/ -- comes before /@b@/, and a positive value if /@b@/ comes before /@a@/. IO Int32
- GI.GLib.Callbacks: type SpawnChildSetupFunc_WithClosures = -- | /@userData@/: user data to pass to the function. Ptr () -> IO ()
- GI.GLib.Callbacks: type ThreadFunc_WithClosures = -- | /@userData@/: data passed to the thread Ptr () -> -- | __Returns:__ the return value of the thread IO (Ptr ())
- GI.GLib.Callbacks: type TranslateFunc_WithClosures = -- | /@str@/: the untranslated string Text -> -- | /@userData@/: user data specified when installing the function, e.g. -- in 'GI.GLib.Structs.OptionGroup.optionGroupSetTranslateFunc' Ptr () -> -- | __Returns:__ a translation of the string for the current locale. -- The returned string is owned by GLib and must not be freed. IO Text
- GI.GLib.Callbacks: type TraverseFunc_WithClosures = -- | /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | /@userData@/: user data passed to @/g_tree_traverse()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Callbacks: type TraverseNodeFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode' TreeNode -> -- | /@userData@/: user data passed to @/g_tree_foreach_node()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Structs.BookmarkFile: instance Data.GI.Base.BasicTypes.BoxedPtr GI.GLib.Structs.BookmarkFile.BookmarkFile
+ GI.GLib.Constants: pattern C_STD_VERSION :: Int32
+ GI.GLib.Enums: UnicodeScriptKawi :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptNagMundari :: UnicodeScript
+ GI.GLib.Functions: alignedFreeSized :: (HasCallStack, MonadIO m) => Ptr () -> Word64 -> Word64 -> m ()
+ GI.GLib.Functions: freeSized :: (HasCallStack, MonadIO m) => Ptr () -> Word64 -> m ()
+ GI.GLib.Functions: ucs4ToUtf16 :: (HasCallStack, MonadIO m) => [Char] -> m (Word16, CLong, CLong)
+ GI.GLib.Functions: ucs4ToUtf8 :: (HasCallStack, MonadIO m) => [Char] -> m (Text, CLong, CLong)
+ GI.GLib.Functions: utf16ToUcs4 :: (HasCallStack, MonadIO m) => [Word16] -> m (Char, CLong, CLong)
+ GI.GLib.Functions: utf16ToUtf8 :: (HasCallStack, MonadIO m) => [Word16] -> m (Text, CLong, CLong)
+ GI.GLib.Functions: utf8ToUcs4 :: (HasCallStack, MonadIO m) => Text -> CLong -> m (Char, CLong, CLong)
+ GI.GLib.Functions: utf8ToUcs4Fast :: (HasCallStack, MonadIO m) => Text -> CLong -> m (Char, CLong)
+ GI.GLib.Functions: utf8ToUtf16 :: (HasCallStack, MonadIO m) => Text -> CLong -> m (Word16, CLong, CLong)
+ GI.GLib.Structs.BookmarkFile: bookmarkFileCopy :: (HasCallStack, MonadIO m) => BookmarkFile -> m BookmarkFile
+ GI.GLib.Structs.BookmarkFile: bookmarkFileNew :: (HasCallStack, MonadIO m) => m BookmarkFile
+ GI.GLib.Structs.BookmarkFile: instance Data.GI.Base.BasicTypes.GBoxed GI.GLib.Structs.BookmarkFile.BookmarkFile
+ GI.GLib.Structs.BookmarkFile: instance Data.GI.Base.BasicTypes.TypedObject GI.GLib.Structs.BookmarkFile.BookmarkFile
+ GI.GLib.Structs.BookmarkFile: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.GLib.Structs.BookmarkFile.BookmarkFile)
+ GI.GLib.Structs.BookmarkFile: instance Data.GI.Base.Overloading.HasParentTypes GI.GLib.Structs.BookmarkFile.BookmarkFile
+ GI.GLib.Structs.MarkupParseContext: markupParseContextGetPosition :: (HasCallStack, MonadIO m) => MarkupParseContext -> m (Int32, Int32)
+ GI.GLib.Structs.PathBuf: PathBuf :: ManagedPtr PathBuf -> PathBuf
+ GI.GLib.Structs.PathBuf: instance (tag GHC.Types.~ 'Data.GI.Base.Attributes.AttrSet) => Data.GI.Base.Constructible.Constructible GI.GLib.Structs.PathBuf.PathBuf tag
+ GI.GLib.Structs.PathBuf: instance Data.GI.Base.BasicTypes.BoxedPtr GI.GLib.Structs.PathBuf.PathBuf
+ GI.GLib.Structs.PathBuf: instance Data.GI.Base.BasicTypes.CallocPtr GI.GLib.Structs.PathBuf.PathBuf
+ GI.GLib.Structs.PathBuf: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.GLib.Structs.PathBuf.PathBuf
+ GI.GLib.Structs.PathBuf: instance GHC.Classes.Eq GI.GLib.Structs.PathBuf.PathBuf
+ GI.GLib.Structs.PathBuf: newZeroPathBuf :: MonadIO m => m PathBuf
+ GI.GLib.Structs.PathBuf: newtype PathBuf
+ GI.GLib.Structs.PathBuf: pathBufClear :: (HasCallStack, MonadIO m) => PathBuf -> m ()
+ GI.GLib.Structs.PathBuf: pathBufClearToPath :: (HasCallStack, MonadIO m) => PathBuf -> m (Maybe [Char])
+ GI.GLib.Structs.PathBuf: pathBufEqual :: (HasCallStack, MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Structs.PathBuf: pathBufFree :: (HasCallStack, MonadIO m) => PathBuf -> m ()
+ GI.GLib.Structs.PathBuf: pathBufFreeToPath :: (HasCallStack, MonadIO m) => PathBuf -> m (Maybe [Char])
+ GI.GLib.Structs.PathBuf: pathBufInit :: (HasCallStack, MonadIO m) => PathBuf -> m PathBuf
+ GI.GLib.Structs.PathBuf: pathBufInitFromPath :: (HasCallStack, MonadIO m) => PathBuf -> Maybe [Char] -> m PathBuf
+ GI.GLib.Structs.PathBuf: pathBufPop :: (HasCallStack, MonadIO m) => PathBuf -> m Bool
+ GI.GLib.Structs.PathBuf: pathBufPush :: (HasCallStack, MonadIO m) => PathBuf -> [Char] -> m PathBuf
+ GI.GLib.Structs.PathBuf: pathBufSetExtension :: (HasCallStack, MonadIO m) => PathBuf -> Maybe [Char] -> m Bool
+ GI.GLib.Structs.PathBuf: pathBufSetFilename :: (HasCallStack, MonadIO m) => PathBuf -> [Char] -> m Bool
+ GI.GLib.Structs.PathBuf: pathBufToPath :: (HasCallStack, MonadIO m) => PathBuf -> m (Maybe [Char])
+ GI.GLib.Structs.String: stringFreeAndSteal :: (HasCallStack, MonadIO m) => String -> m Text
- GI.GLib.Callbacks: type CopyFunc = -- | /@src@/: A pointer to the data which should be copied Ptr () -> -- | __Returns:__ A pointer to the copy IO (Ptr ())
+ GI.GLib.Callbacks: type CopyFunc = -- | /@src@/: A pointer to the data which should be copied Ptr () -> -- | /@data@/: Additional data Ptr () -> -- | __Returns:__ A pointer to the copy IO (Ptr ())
- GI.GLib.Callbacks: type HookCheckMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | __Returns:__ 'P.False' if /@hook@/ should be destroyed IO Bool
+ GI.GLib.Callbacks: type HookCheckMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@marshalData@/: user data Ptr () -> -- | __Returns:__ 'P.False' if /@hook@/ should be destroyed IO Bool
- GI.GLib.Callbacks: type HookFindFunc = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found IO Bool
+ GI.GLib.Callbacks: type HookFindFunc = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@data@/: user data passed to @/g_hook_find_func()/@ Ptr () -> -- | __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found IO Bool
- GI.GLib.Callbacks: type HookMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> IO ()
+ GI.GLib.Callbacks: type HookMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@marshalData@/: user data Ptr () -> IO ()
- GI.GLib.Callbacks: type IOFunc = -- | /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source IOChannel -> -- | /@condition@/: the condition which has been satisfied [IOCondition] -> -- | __Returns:__ the function should return 'P.False' if the event source -- should be removed IO Bool
+ GI.GLib.Callbacks: type IOFunc = -- | /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source IOChannel -> -- | /@condition@/: the condition which has been satisfied [IOCondition] -> -- | /@data@/: user data set in @/g_io_add_watch()/@ or 'GI.GLib.Functions.ioAddWatch' Ptr () -> -- | __Returns:__ the function should return 'P.False' if the event source -- should be removed IO Bool
- GI.GLib.Callbacks: type NodeForeachFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> IO ()
+ GI.GLib.Callbacks: type NodeForeachFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@data@/: user data passed to @/g_node_children_foreach()/@. Ptr () -> IO ()
- GI.GLib.Callbacks: type NodeTraverseFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | __Returns:__ 'P.True' to stop the traversal. IO Bool
+ GI.GLib.Callbacks: type NodeTraverseFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@data@/: user data passed to @/g_node_traverse()/@. Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal. IO Bool
- GI.GLib.Callbacks: type OptionArgFunc = -- | /@optionName@/: The name of the option being parsed. This will be either a -- single dash followed by a single letter (for a short name) or two dashes -- followed by a long option name. Text -> -- | /@value@/: The value to be parsed. Text -> -- | __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type OptionArgFunc = -- | /@optionName@/: The name of the option being parsed. This will be either a -- single dash followed by a single letter (for a short name) or two dashes -- followed by a long option name. Text -> -- | /@value@/: The value to be parsed. Text -> -- | /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it -- was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionErrorFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type OptionErrorFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it -- was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionParseFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type OptionParseFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it -- was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type SequenceIterCompareFunc = -- | /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | __Returns:__ zero if the iterators are equal, a negative value if /@a@/ -- comes before /@b@/, and a positive value if /@b@/ comes before /@a@/. IO Int32
+ GI.GLib.Callbacks: type SequenceIterCompareFunc = -- | /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@data@/: user data Ptr () -> -- | __Returns:__ zero if the iterators are equal, a negative value if /@a@/ -- comes before /@b@/, and a positive value if /@b@/ comes before /@a@/. IO Int32
- GI.GLib.Callbacks: type SpawnChildSetupFunc = IO ()
+ GI.GLib.Callbacks: type SpawnChildSetupFunc = -- | /@data@/: user data passed to the function. Ptr () -> IO ()
- GI.GLib.Callbacks: type ThreadFunc = -- | __Returns:__ the return value of the thread IO (Ptr ())
+ GI.GLib.Callbacks: type ThreadFunc = -- | /@data@/: data passed to the thread Ptr () -> -- | __Returns:__ the return value of the thread IO (Ptr ())
- GI.GLib.Callbacks: type TranslateFunc = -- | /@str@/: the untranslated string Text -> -- | __Returns:__ a translation of the string for the current locale. -- The returned string is owned by GLib and must not be freed. IO Text
+ GI.GLib.Callbacks: type TranslateFunc = -- | /@str@/: the untranslated string Text -> -- | /@data@/: user data specified when installing the function, e.g. -- in 'GI.GLib.Structs.OptionGroup.optionGroupSetTranslateFunc' Ptr () -> -- | __Returns:__ a translation of the string for the current locale. -- The returned string is owned by GLib and must not be freed. IO Text
- GI.GLib.Callbacks: type TraverseFunc = -- | /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
+ GI.GLib.Callbacks: type TraverseFunc = -- | /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | /@data@/: user data passed to @/g_tree_traverse()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Callbacks: type TraverseNodeFunc = -- | /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode' TreeNode -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
+ GI.GLib.Callbacks: type TraverseNodeFunc = -- | /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode' TreeNode -> -- | /@data@/: user data passed to @/g_tree_foreach_node()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Callbacks: wrap_CopyFunc :: Maybe (Ptr (FunPtr C_CopyFunc)) -> CopyFunc_WithClosures -> C_CopyFunc
+ GI.GLib.Callbacks: wrap_CopyFunc :: Maybe (Ptr (FunPtr C_CopyFunc)) -> CopyFunc -> C_CopyFunc
- GI.GLib.Callbacks: wrap_HookCheckMarshaller :: Maybe (Ptr (FunPtr C_HookCheckMarshaller)) -> HookCheckMarshaller_WithClosures -> C_HookCheckMarshaller
+ GI.GLib.Callbacks: wrap_HookCheckMarshaller :: Maybe (Ptr (FunPtr C_HookCheckMarshaller)) -> HookCheckMarshaller -> C_HookCheckMarshaller
- GI.GLib.Callbacks: wrap_HookFindFunc :: Maybe (Ptr (FunPtr C_HookFindFunc)) -> HookFindFunc_WithClosures -> C_HookFindFunc
+ GI.GLib.Callbacks: wrap_HookFindFunc :: Maybe (Ptr (FunPtr C_HookFindFunc)) -> HookFindFunc -> C_HookFindFunc
- GI.GLib.Callbacks: wrap_HookMarshaller :: Maybe (Ptr (FunPtr C_HookMarshaller)) -> HookMarshaller_WithClosures -> C_HookMarshaller
+ GI.GLib.Callbacks: wrap_HookMarshaller :: Maybe (Ptr (FunPtr C_HookMarshaller)) -> HookMarshaller -> C_HookMarshaller
- GI.GLib.Callbacks: wrap_IOFunc :: Maybe (Ptr (FunPtr C_IOFunc)) -> IOFunc_WithClosures -> C_IOFunc
+ GI.GLib.Callbacks: wrap_IOFunc :: Maybe (Ptr (FunPtr C_IOFunc)) -> IOFunc -> C_IOFunc
- GI.GLib.Callbacks: wrap_NodeForeachFunc :: Maybe (Ptr (FunPtr C_NodeForeachFunc)) -> NodeForeachFunc_WithClosures -> C_NodeForeachFunc
+ GI.GLib.Callbacks: wrap_NodeForeachFunc :: Maybe (Ptr (FunPtr C_NodeForeachFunc)) -> NodeForeachFunc -> C_NodeForeachFunc
- GI.GLib.Callbacks: wrap_NodeTraverseFunc :: Maybe (Ptr (FunPtr C_NodeTraverseFunc)) -> NodeTraverseFunc_WithClosures -> C_NodeTraverseFunc
+ GI.GLib.Callbacks: wrap_NodeTraverseFunc :: Maybe (Ptr (FunPtr C_NodeTraverseFunc)) -> NodeTraverseFunc -> C_NodeTraverseFunc
- GI.GLib.Callbacks: wrap_SequenceIterCompareFunc :: Maybe (Ptr (FunPtr C_SequenceIterCompareFunc)) -> SequenceIterCompareFunc_WithClosures -> C_SequenceIterCompareFunc
+ GI.GLib.Callbacks: wrap_SequenceIterCompareFunc :: Maybe (Ptr (FunPtr C_SequenceIterCompareFunc)) -> SequenceIterCompareFunc -> C_SequenceIterCompareFunc
- GI.GLib.Callbacks: wrap_SpawnChildSetupFunc :: Maybe (Ptr (FunPtr C_SpawnChildSetupFunc)) -> SpawnChildSetupFunc_WithClosures -> C_SpawnChildSetupFunc
+ GI.GLib.Callbacks: wrap_SpawnChildSetupFunc :: Maybe (Ptr (FunPtr C_SpawnChildSetupFunc)) -> SpawnChildSetupFunc -> C_SpawnChildSetupFunc
- GI.GLib.Callbacks: wrap_ThreadFunc :: Maybe (Ptr (FunPtr C_ThreadFunc)) -> ThreadFunc_WithClosures -> C_ThreadFunc
+ GI.GLib.Callbacks: wrap_ThreadFunc :: Maybe (Ptr (FunPtr C_ThreadFunc)) -> ThreadFunc -> C_ThreadFunc
- GI.GLib.Callbacks: wrap_TranslateFunc :: Maybe (Ptr (FunPtr C_TranslateFunc)) -> TranslateFunc_WithClosures -> C_TranslateFunc
+ GI.GLib.Callbacks: wrap_TranslateFunc :: Maybe (Ptr (FunPtr C_TranslateFunc)) -> TranslateFunc -> C_TranslateFunc
- GI.GLib.Callbacks: wrap_TraverseFunc :: Maybe (Ptr (FunPtr C_TraverseFunc)) -> TraverseFunc_WithClosures -> C_TraverseFunc
+ GI.GLib.Callbacks: wrap_TraverseFunc :: Maybe (Ptr (FunPtr C_TraverseFunc)) -> TraverseFunc -> C_TraverseFunc
- GI.GLib.Callbacks: wrap_TraverseNodeFunc :: Maybe (Ptr (FunPtr C_TraverseNodeFunc)) -> TraverseNodeFunc_WithClosures -> C_TraverseNodeFunc
+ GI.GLib.Callbacks: wrap_TraverseNodeFunc :: Maybe (Ptr (FunPtr C_TraverseNodeFunc)) -> TraverseNodeFunc -> C_TraverseNodeFunc
- GI.GLib.Functions: unicodeCanonicalOrdering :: (HasCallStack, MonadIO m) => Char -> Word64 -> m ()
+ GI.GLib.Functions: unicodeCanonicalOrdering :: (HasCallStack, MonadIO m) => [Char] -> m ()
- GI.GLib.Structs.IOChannel: iOChannelGetLineTerm :: (HasCallStack, MonadIO m) => IOChannel -> Int32 -> m Text
+ GI.GLib.Structs.IOChannel: iOChannelGetLineTerm :: (HasCallStack, MonadIO m) => IOChannel -> m (Text, Int32)
- GI.GLib.Structs.Regex: regexEscapeString :: (HasCallStack, MonadIO m) => [Text] -> m Text
+ GI.GLib.Structs.Regex: regexEscapeString :: (HasCallStack, MonadIO m) => Text -> Int32 -> m Text
- GI.GLib.Structs.TimeZone: timeZoneAdjustTime :: (HasCallStack, MonadIO m) => TimeZone -> TimeType -> Int64 -> m Int32
+ GI.GLib.Structs.TimeZone: timeZoneAdjustTime :: (HasCallStack, MonadIO m) => TimeZone -> TimeType -> Int64 -> m (Int32, Int64)
Files
- ChangeLog.md +8/−0
- GLib.overrides +0/−16
- README.md +1/−1
- Setup.hs +1/−1
- gi-glib.cabal +5/−3
ChangeLog.md view
@@ -1,3 +1,11 @@+### 2.0.29+++ Bump base lower bound++### 2.0.28+++ Bump base lower bound+ ### 2.0.27 + Relax constraint on text
GLib.overrides view
@@ -6,24 +6,8 @@ # The test_data argument is not marked as a closure. ignore test_add_data_func_full -# "items_read" and "items_written" are out parameters, but they are-# marked as in parameters the introspection data.-ignore utf16_to_ucs4-ignore utf16_to_utf8-ignore utf8_to_ucs4-ignore utf8_to_ucs4_fast-ignore utf8_to_utf16- # "result" parameter is an array, but it is not marked as such. ignore unichar_fully_decompose--# The first argument is marked as g_unichar, but it is really an array-# of g_unichar.-ignore ucs4_to_utf16-ignore ucs4_to_utf8--# "line_number" is not marked as out.-ignore MarkupParseContext.get_position # These require more complex logic. ignore base64_decode_step
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-glib-2.0.27/docs/GI-GLib.html](https://hackage.haskell.org/package/gi-glib-2.0.27/docs/GI-GLib.html)+[https://hackage.haskell.org/package/gi-glib-2.0.29/docs/GI-GLib.html](https://hackage.haskell.org/package/gi-glib-2.0.29/docs/GI-GLib.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
@@ -9,7 +9,7 @@ where name = "GLib" version = "2.0" pkgName = "gi-glib"- pkgVersion = "2.0.27"+ pkgVersion = "2.0.29" overridesFile = Just "GLib.overrides" verbose = False outputDir = Nothing
gi-glib.cabal view
@@ -1,5 +1,5 @@ name: gi-glib-version: 2.0.27+version: 2.0.29 synopsis: GLib bindings description: Bindings for GLib, 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 GLib.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 library@@ -84,6 +84,7 @@ GI.GLib.Structs.OptionContext, GI.GLib.Structs.OptionEntry, GI.GLib.Structs.OptionGroup,+ GI.GLib.Structs.PathBuf, GI.GLib.Structs.PatternSpec, GI.GLib.Structs.PollFD, GI.GLib.Structs.PtrArray,@@ -166,6 +167,7 @@ GI.GLib.Structs.OptionContext, GI.GLib.Structs.OptionEntry, GI.GLib.Structs.OptionGroup,+ GI.GLib.Structs.PathBuf, GI.GLib.Structs.PatternSpec, GI.GLib.Structs.PollFD, GI.GLib.Structs.PtrArray,