packages feed

haskell-gi 0.24.4 → 0.24.5

raw patch · 4 files changed

+9/−2 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,9 @@+### 0.24.5+++ Fix an accidental double free for GValues, see (issue 320)[https://github.com/haskell-gi/haskell-gi/issues/320].+++ Accept docsections in gir files, although they are currently ignored. See [issue 318](https://github.com/haskell-gi/haskell-gi/issues/318).+ ### 0.24.4  + Relax bound on ansi-terminal.
haskell-gi.cabal view
@@ -1,5 +1,5 @@ name:                haskell-gi-version:             0.24.4+version:             0.24.5 synopsis:            Generate Haskell bindings for GObject Introspection capable libraries description:         Generate Haskell bindings for GObject Introspection capable libraries. This includes most notably                      Gtk+, but many other libraries in the GObject ecosystem provide introspection data too.
lib/Data/GI/CodeGen/API.hs view
@@ -198,6 +198,7 @@           "class" -> parse APIObject parseObject           "interface" -> parse APIInterface parseInterface           "boxed" -> ns -- Unsupported+          "docsection" -> ns -- Ignored for now, see https://github.com/haskell-gi/haskell-gi/issues/318           n -> error . T.unpack $ "Unknown GIR element \"" <> n <> "\" when processing namespace \"" <> nsName <> "\", aborting."     where parse :: (a -> API) -> Parser (Name, a) -> GIRNamespace           parse wrapper parser =
lib/Data/GI/CodeGen/Transfer.hs view
@@ -43,7 +43,7 @@ basicFreeFn (TGHash _ _) = Just "unrefGHashTable" basicFreeFn (TError) = Nothing basicFreeFn (TVariant) = Nothing-basicFreeFn (TGValue) = Just "B.GValue.unsetGValue"+basicFreeFn (TGValue) = Nothing basicFreeFn (TParamSpec) = Nothing basicFreeFn (TGClosure _) = Nothing