packages feed

gi-pango 1.0.29 → 1.0.30

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.Pango.Objects.FontFamily: getFontFamilyIsMonospace :: (MonadIO m, IsFontFamily o) => o -> m Bool
+ GI.Pango.Objects.FontFamily: getFontFamilyIsVariable :: (MonadIO m, IsFontFamily o) => o -> m Bool
+ GI.Pango.Objects.FontFamily: getFontFamilyName :: (MonadIO m, IsFontFamily o) => o -> m Text
+ GI.Pango.Objects.FontMap: fontMapReloadFont :: (HasCallStack, MonadIO m, IsFontMap a, IsFont b, IsContext c) => a -> b -> Double -> Maybe c -> Maybe Text -> m Font
- GI.Pango.Objects.Font: fontGetFontMap :: (HasCallStack, MonadIO m, IsFont a) => a -> m (Maybe FontMap)
+ GI.Pango.Objects.Font: fontGetFontMap :: (HasCallStack, MonadIO m, IsFont a) => Maybe a -> m (Maybe FontMap)
- GI.Pango.Objects.Font: fontGetGlyphExtents :: (HasCallStack, MonadIO m, IsFont a) => a -> Word32 -> m (Rectangle, Rectangle)
+ GI.Pango.Objects.Font: fontGetGlyphExtents :: (HasCallStack, MonadIO m, IsFont a) => Maybe a -> Word32 -> m (Rectangle, Rectangle)
- GI.Pango.Objects.Font: fontGetMetrics :: (HasCallStack, MonadIO m, IsFont a) => a -> Maybe Language -> m FontMetrics
+ GI.Pango.Objects.Font: fontGetMetrics :: (HasCallStack, MonadIO m, IsFont a) => Maybe a -> Maybe Language -> m FontMetrics
- GI.Pango.Structs.AttrList: attrListCopy :: (HasCallStack, MonadIO m) => AttrList -> m (Maybe AttrList)
+ GI.Pango.Structs.AttrList: attrListCopy :: (HasCallStack, MonadIO m) => Maybe AttrList -> m (Maybe AttrList)
- GI.Pango.Structs.AttrList: attrListRef :: (HasCallStack, MonadIO m) => AttrList -> m AttrList
+ GI.Pango.Structs.AttrList: attrListRef :: (HasCallStack, MonadIO m) => Maybe AttrList -> m AttrList
- GI.Pango.Structs.AttrList: attrListUnref :: (HasCallStack, MonadIO m) => AttrList -> m ()
+ GI.Pango.Structs.AttrList: attrListUnref :: (HasCallStack, MonadIO m) => Maybe AttrList -> m ()
- GI.Pango.Structs.AttrShape: getAttrShapeDestroyFunc :: MonadIO m => AttrShape -> m (Maybe DestroyNotify)
+ GI.Pango.Structs.AttrShape: getAttrShapeDestroyFunc :: MonadIO m => AttrShape -> m (Maybe DestroyNotify_WithClosures)
- GI.Pango.Structs.Color: colorCopy :: (HasCallStack, MonadIO m) => Color -> m (Maybe Color)
+ GI.Pango.Structs.Color: colorCopy :: (HasCallStack, MonadIO m) => Maybe Color -> m (Maybe Color)
- GI.Pango.Structs.Color: colorFree :: (HasCallStack, MonadIO m) => Color -> m ()
+ GI.Pango.Structs.Color: colorFree :: (HasCallStack, MonadIO m) => Maybe Color -> m ()
- GI.Pango.Structs.Color: colorParse :: (HasCallStack, MonadIO m) => Color -> Text -> m Bool
+ GI.Pango.Structs.Color: colorParse :: (HasCallStack, MonadIO m) => Maybe Color -> Text -> m Bool
- GI.Pango.Structs.Color: colorParseWithAlpha :: (HasCallStack, MonadIO m) => Color -> Text -> m (Bool, Word16)
+ GI.Pango.Structs.Color: colorParseWithAlpha :: (HasCallStack, MonadIO m) => Maybe Color -> Text -> m (Bool, Word16)
- GI.Pango.Structs.FontDescription: fontDescriptionCopy :: (HasCallStack, MonadIO m) => FontDescription -> m (Maybe FontDescription)
+ GI.Pango.Structs.FontDescription: fontDescriptionCopy :: (HasCallStack, MonadIO m) => Maybe FontDescription -> m (Maybe FontDescription)
- GI.Pango.Structs.FontDescription: fontDescriptionCopyStatic :: (HasCallStack, MonadIO m) => FontDescription -> m (Maybe FontDescription)
+ GI.Pango.Structs.FontDescription: fontDescriptionCopyStatic :: (HasCallStack, MonadIO m) => Maybe FontDescription -> m (Maybe FontDescription)
- GI.Pango.Structs.FontDescription: fontDescriptionFree :: (HasCallStack, MonadIO m) => FontDescription -> m ()
+ GI.Pango.Structs.FontDescription: fontDescriptionFree :: (HasCallStack, MonadIO m) => Maybe FontDescription -> m ()
- GI.Pango.Structs.FontMetrics: fontMetricsRef :: (HasCallStack, MonadIO m) => FontMetrics -> m (Maybe FontMetrics)
+ GI.Pango.Structs.FontMetrics: fontMetricsRef :: (HasCallStack, MonadIO m) => Maybe FontMetrics -> m (Maybe FontMetrics)
- GI.Pango.Structs.FontMetrics: fontMetricsUnref :: (HasCallStack, MonadIO m) => FontMetrics -> m ()
+ GI.Pango.Structs.FontMetrics: fontMetricsUnref :: (HasCallStack, MonadIO m) => Maybe FontMetrics -> m ()
- GI.Pango.Structs.GlyphItem: glyphItemCopy :: (HasCallStack, MonadIO m) => GlyphItem -> m (Maybe GlyphItem)
+ GI.Pango.Structs.GlyphItem: glyphItemCopy :: (HasCallStack, MonadIO m) => Maybe GlyphItem -> m (Maybe GlyphItem)
- GI.Pango.Structs.GlyphItem: glyphItemFree :: (HasCallStack, MonadIO m) => GlyphItem -> m ()
+ GI.Pango.Structs.GlyphItem: glyphItemFree :: (HasCallStack, MonadIO m) => Maybe GlyphItem -> m ()
- GI.Pango.Structs.GlyphItemIter: glyphItemIterCopy :: (HasCallStack, MonadIO m) => GlyphItemIter -> m (Maybe GlyphItemIter)
+ GI.Pango.Structs.GlyphItemIter: glyphItemIterCopy :: (HasCallStack, MonadIO m) => Maybe GlyphItemIter -> m (Maybe GlyphItemIter)
- GI.Pango.Structs.GlyphItemIter: glyphItemIterFree :: (HasCallStack, MonadIO m) => GlyphItemIter -> m ()
+ GI.Pango.Structs.GlyphItemIter: glyphItemIterFree :: (HasCallStack, MonadIO m) => Maybe GlyphItemIter -> m ()
- GI.Pango.Structs.GlyphString: glyphStringCopy :: (HasCallStack, MonadIO m) => GlyphString -> m (Maybe GlyphString)
+ GI.Pango.Structs.GlyphString: glyphStringCopy :: (HasCallStack, MonadIO m) => Maybe GlyphString -> m (Maybe GlyphString)
- GI.Pango.Structs.GlyphString: glyphStringFree :: (HasCallStack, MonadIO m) => GlyphString -> m ()
+ GI.Pango.Structs.GlyphString: glyphStringFree :: (HasCallStack, MonadIO m) => Maybe GlyphString -> m ()
- GI.Pango.Structs.Item: itemCopy :: (HasCallStack, MonadIO m) => Item -> m (Maybe Item)
+ GI.Pango.Structs.Item: itemCopy :: (HasCallStack, MonadIO m) => Maybe Item -> m (Maybe Item)
- GI.Pango.Structs.Item: itemFree :: (HasCallStack, MonadIO m) => Item -> m ()
+ GI.Pango.Structs.Item: itemFree :: (HasCallStack, MonadIO m) => Maybe Item -> m ()
- GI.Pango.Structs.Language: languageGetSampleString :: (HasCallStack, MonadIO m) => Language -> m Text
+ GI.Pango.Structs.Language: languageGetSampleString :: (HasCallStack, MonadIO m) => Maybe Language -> m Text
- GI.Pango.Structs.Language: languageGetScripts :: (HasCallStack, MonadIO m) => Language -> m (Maybe [Script])
+ GI.Pango.Structs.Language: languageGetScripts :: (HasCallStack, MonadIO m) => Maybe Language -> m (Maybe [Script])
- GI.Pango.Structs.Language: languageIncludesScript :: (HasCallStack, MonadIO m) => Language -> Script -> m Bool
+ GI.Pango.Structs.Language: languageIncludesScript :: (HasCallStack, MonadIO m) => Maybe Language -> Script -> m Bool
- GI.Pango.Structs.Language: languageMatches :: (HasCallStack, MonadIO m) => Language -> Text -> m Bool
+ GI.Pango.Structs.Language: languageMatches :: (HasCallStack, MonadIO m) => Maybe Language -> Text -> m Bool
- GI.Pango.Structs.LayoutIter: layoutIterCopy :: (HasCallStack, MonadIO m) => LayoutIter -> m (Maybe LayoutIter)
+ GI.Pango.Structs.LayoutIter: layoutIterCopy :: (HasCallStack, MonadIO m) => Maybe LayoutIter -> m (Maybe LayoutIter)
- GI.Pango.Structs.LayoutIter: layoutIterFree :: (HasCallStack, MonadIO m) => LayoutIter -> m ()
+ GI.Pango.Structs.LayoutIter: layoutIterFree :: (HasCallStack, MonadIO m) => Maybe LayoutIter -> m ()
- GI.Pango.Structs.LayoutLine: layoutLineRef :: (HasCallStack, MonadIO m) => LayoutLine -> m (Maybe LayoutLine)
+ GI.Pango.Structs.LayoutLine: layoutLineRef :: (HasCallStack, MonadIO m) => Maybe LayoutLine -> m (Maybe LayoutLine)
- GI.Pango.Structs.Matrix: matrixCopy :: (HasCallStack, MonadIO m) => Matrix -> m (Maybe Matrix)
+ GI.Pango.Structs.Matrix: matrixCopy :: (HasCallStack, MonadIO m) => Maybe Matrix -> m (Maybe Matrix)
- GI.Pango.Structs.Matrix: matrixFree :: (HasCallStack, MonadIO m) => Matrix -> m ()
+ GI.Pango.Structs.Matrix: matrixFree :: (HasCallStack, MonadIO m) => Maybe Matrix -> m ()
- GI.Pango.Structs.Matrix: matrixGetFontScaleFactor :: (HasCallStack, MonadIO m) => Matrix -> m Double
+ GI.Pango.Structs.Matrix: matrixGetFontScaleFactor :: (HasCallStack, MonadIO m) => Maybe Matrix -> m Double
- GI.Pango.Structs.Matrix: matrixGetFontScaleFactors :: (HasCallStack, MonadIO m) => Matrix -> m (Double, Double)
+ GI.Pango.Structs.Matrix: matrixGetFontScaleFactors :: (HasCallStack, MonadIO m) => Maybe Matrix -> m (Double, Double)
- GI.Pango.Structs.Matrix: matrixTransformDistance :: (HasCallStack, MonadIO m) => Matrix -> Double -> Double -> m (Double, Double)
+ GI.Pango.Structs.Matrix: matrixTransformDistance :: (HasCallStack, MonadIO m) => Maybe Matrix -> Double -> Double -> m (Double, Double)
- GI.Pango.Structs.Matrix: matrixTransformPixelRectangle :: (HasCallStack, MonadIO m) => Matrix -> Maybe Rectangle -> m ()
+ GI.Pango.Structs.Matrix: matrixTransformPixelRectangle :: (HasCallStack, MonadIO m) => Maybe Matrix -> Maybe Rectangle -> m ()
- GI.Pango.Structs.Matrix: matrixTransformPoint :: (HasCallStack, MonadIO m) => Matrix -> Double -> Double -> m (Double, Double)
+ GI.Pango.Structs.Matrix: matrixTransformPoint :: (HasCallStack, MonadIO m) => Maybe Matrix -> Double -> Double -> m (Double, Double)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.30+++ Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))+ ### 1.0.29  + 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-pango-1.0.29/docs/GI-Pango.html](https://hackage.haskell.org/package/gi-pango-1.0.29/docs/GI-Pango.html)+[https://hackage.haskell.org/package/gi-pango-1.0.30/docs/GI-Pango.html](https://hackage.haskell.org/package/gi-pango-1.0.30/docs/GI-Pango.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
@@ -13,7 +13,7 @@   where name = "Pango"         version = "1.0"         pkgName = "gi-pango"-        pkgVersion = "1.0.29"+        pkgVersion = "1.0.30"         overridesFile = Just "Pango.overrides"         verbose = False         outputDir = Nothing
gi-pango.cabal view
@@ -1,5 +1,5 @@ name:                 gi-pango-version:              1.0.29+version:              1.0.30 synopsis:             Pango bindings description:          Bindings for Pango, 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-gobject == 2.0.*,                      gi-gio == 2.0.*,                      gi-glib == 2.0.*,@@ -31,7 +31,7 @@       pkgconfig-depends: pango >= 1.0 && < 2       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-gobject == 2.0.*,                      gi-gio == 2.0.*,