packages feed

gi-handy 1.0.1 → 1.0.2

raw patch · 4 files changed

+11/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: text

API changes (from Hackage documentation)

+ GI.Handy.Enums: AnotherColorScheme :: Int -> ColorScheme
+ GI.Handy.Enums: ColorSchemeDefault :: ColorScheme
+ GI.Handy.Enums: ColorSchemeForceDark :: ColorScheme
+ GI.Handy.Enums: ColorSchemeForceLight :: ColorScheme
+ GI.Handy.Enums: ColorSchemePreferDark :: ColorScheme
+ GI.Handy.Enums: ColorSchemePreferLight :: ColorScheme
+ GI.Handy.Enums: data ColorScheme
+ GI.Handy.Enums: instance Data.GI.Base.BasicTypes.BoxedEnum GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance Data.GI.Base.BasicTypes.TypedObject GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance Data.GI.Base.Overloading.HasParentTypes GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance GHC.Classes.Eq GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance GHC.Classes.Ord GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance GHC.Enum.Enum GI.Handy.Enums.ColorScheme
+ GI.Handy.Enums: instance GHC.Show.Show GI.Handy.Enums.ColorScheme
+ GI.Handy.Objects.StyleManager: StyleManager :: ManagedPtr StyleManager -> StyleManager
+ GI.Handy.Objects.StyleManager: class (GObject o, IsDescendantOf StyleManager o) => IsStyleManager o
+ GI.Handy.Objects.StyleManager: constructStyleManagerColorScheme :: (IsStyleManager o, MonadIO m) => ColorScheme -> m (GValueConstruct o)
+ GI.Handy.Objects.StyleManager: constructStyleManagerDisplay :: (IsStyleManager o, MonadIO m, IsDisplay a) => a -> m (GValueConstruct o)
+ GI.Handy.Objects.StyleManager: getStyleManagerColorScheme :: (MonadIO m, IsStyleManager o) => o -> m ColorScheme
+ GI.Handy.Objects.StyleManager: getStyleManagerDark :: (MonadIO m, IsStyleManager o) => o -> m Bool
+ GI.Handy.Objects.StyleManager: getStyleManagerDisplay :: (MonadIO m, IsStyleManager o) => o -> m Display
+ GI.Handy.Objects.StyleManager: getStyleManagerHighContrast :: (MonadIO m, IsStyleManager o) => o -> m Bool
+ GI.Handy.Objects.StyleManager: getStyleManagerSystemSupportsColorSchemes :: (MonadIO m, IsStyleManager o) => o -> m Bool
+ GI.Handy.Objects.StyleManager: instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.Handy.Objects.StyleManager.StyleManager o) => GI.Handy.Objects.StyleManager.IsStyleManager o
+ GI.Handy.Objects.StyleManager: instance Data.GI.Base.BasicTypes.GObject GI.Handy.Objects.StyleManager.StyleManager
+ GI.Handy.Objects.StyleManager: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.Handy.Objects.StyleManager.StyleManager
+ GI.Handy.Objects.StyleManager: instance Data.GI.Base.BasicTypes.TypedObject GI.Handy.Objects.StyleManager.StyleManager
+ GI.Handy.Objects.StyleManager: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.Handy.Objects.StyleManager.StyleManager)
+ GI.Handy.Objects.StyleManager: instance Data.GI.Base.Overloading.HasParentTypes GI.Handy.Objects.StyleManager.StyleManager
+ GI.Handy.Objects.StyleManager: instance GHC.Classes.Eq GI.Handy.Objects.StyleManager.StyleManager
+ GI.Handy.Objects.StyleManager: newtype StyleManager
+ GI.Handy.Objects.StyleManager: setStyleManagerColorScheme :: (MonadIO m, IsStyleManager o) => o -> ColorScheme -> m ()
+ GI.Handy.Objects.StyleManager: styleManagerGetColorScheme :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> m ColorScheme
+ GI.Handy.Objects.StyleManager: styleManagerGetDark :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> m Bool
+ GI.Handy.Objects.StyleManager: styleManagerGetDefault :: (HasCallStack, MonadIO m) => m StyleManager
+ GI.Handy.Objects.StyleManager: styleManagerGetDisplay :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> m Display
+ GI.Handy.Objects.StyleManager: styleManagerGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m StyleManager
+ GI.Handy.Objects.StyleManager: styleManagerGetHighContrast :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> m Bool
+ GI.Handy.Objects.StyleManager: styleManagerGetSystemSupportsColorSchemes :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> m Bool
+ GI.Handy.Objects.StyleManager: styleManagerSetColorScheme :: (HasCallStack, MonadIO m, IsStyleManager a) => a -> ColorScheme -> m ()
+ GI.Handy.Objects.StyleManager: toStyleManager :: (MonadIO m, IsStyleManager o) => o -> m StyleManager
- GI.Handy.Callbacks: type AvatarImageLoadFunc = Int32 " /@size@/: the required size of the avatar" -> IO (Maybe Pixbuf) " __Returns:__ the t'GI.GdkPixbuf.Objects.Pixbuf.Pixbuf' to use as a custom avatar or 'P.Nothing' to fallback to the generated avatar."
+ GI.Handy.Callbacks: type AvatarImageLoadFunc = -- | /@size@/: the required size of the avatar Int32 -> -- | __Returns:__ the pixbuf to use as a custom avatar or -- @NULL@ to fallback to the generated avatar IO (Maybe Pixbuf)
- GI.Handy.Callbacks: type AvatarImageLoadFunc_WithClosures = Int32 " /@size@/: the required size of the avatar" -> Ptr () " /@userData@/: user data" -> IO (Maybe Pixbuf) " __Returns:__ the t'GI.GdkPixbuf.Objects.Pixbuf.Pixbuf' to use as a custom avatar or 'P.Nothing' to fallback to the generated avatar."
+ GI.Handy.Callbacks: type AvatarImageLoadFunc_WithClosures = -- | /@size@/: the required size of the avatar Int32 -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ the pixbuf to use as a custom avatar or -- @NULL@ to fallback to the generated avatar IO (Maybe Pixbuf)
- GI.Handy.Callbacks: type ComboRowGetEnumValueNameFunc = EnumValueObject " /@value@/: the value from the enum from which to get a name" -> IO Text " __Returns:__ a newly allocated displayable name that represents /@value@/"
+ GI.Handy.Callbacks: type ComboRowGetEnumValueNameFunc = -- | /@value@/: the value from the enum from which to get a name EnumValueObject -> -- | __Returns:__ a displayable name that represents /@value@/ IO Text
- GI.Handy.Callbacks: type ComboRowGetEnumValueNameFunc_WithClosures = EnumValueObject " /@value@/: the value from the enum from which to get a name" -> Ptr () " /@userData@/: user data" -> IO Text " __Returns:__ a newly allocated displayable name that represents /@value@/"
+ GI.Handy.Callbacks: type ComboRowGetEnumValueNameFunc_WithClosures = -- | /@value@/: the value from the enum from which to get a name EnumValueObject -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ a displayable name that represents /@value@/ IO Text
- GI.Handy.Callbacks: type ComboRowGetNameFunc = Object " /@item@/: the item from the model from which to get a name" -> IO Text " __Returns:__ a newly allocated displayable name that represents /@item@/"
+ GI.Handy.Callbacks: type ComboRowGetNameFunc = -- | /@item@/: the item from the model from which to get a name Object -> -- | __Returns:__ a displayable name that represents /@item@/ IO Text
- GI.Handy.Callbacks: type ComboRowGetNameFunc_WithClosures = Object " /@item@/: the item from the model from which to get a name" -> Ptr () " /@userData@/: user data" -> IO Text " __Returns:__ a newly allocated displayable name that represents /@item@/"
+ GI.Handy.Callbacks: type ComboRowGetNameFunc_WithClosures = -- | /@item@/: the item from the model from which to get a name Object -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ a displayable name that represents /@item@/ IO Text
- GI.Handy.Interfaces.Swipeable: type SwipeableChildSwitchedCallback = Word32 " /@index@/: the index of the child to switch to" -> Int64 " /@duration@/: Animation duration in milliseconds" -> IO ()
+ GI.Handy.Interfaces.Swipeable: type SwipeableChildSwitchedCallback = -- | /@index@/: the index of the child to switch to Word32 -> -- | /@duration@/: animation duration, in milliseconds Int64 -> IO ()
- GI.Handy.Objects.Carousel: type CarouselPageChangedCallback = Word32 " /@index@/: Current page" -> IO ()
+ GI.Handy.Objects.Carousel: type CarouselPageChangedCallback = -- | /@index@/: the current page Word32 -> IO ()
- GI.Handy.Objects.SwipeTracker: type SwipeTrackerBeginSwipeCallback = NavigationDirection " /@direction@/: The direction of the swipe" -> Bool " /@direct@/: 'P.True' if the swipe is directly triggered by a gesture, 'P.False' if it\'s triggered via a t'GI.Handy.Objects.SwipeGroup.SwipeGroup'" -> IO ()
+ GI.Handy.Objects.SwipeTracker: type SwipeTrackerBeginSwipeCallback = -- | /@direction@/: the direction of the swipe NavigationDirection -> -- | /@direct@/: @TRUE@ if the swipe is directly triggered by a gesture, -- @FALSE@ if it\'s triggered via a [class/@swipeGroup@/] Bool -> IO ()
- GI.Handy.Objects.SwipeTracker: type SwipeTrackerEndSwipeCallback = Int64 " /@duration@/: Snap-back animation duration in milliseconds" -> Double " /@to@/: The progress value to animate to" -> IO ()
+ GI.Handy.Objects.SwipeTracker: type SwipeTrackerEndSwipeCallback = -- | /@duration@/: snap-back animation duration, in milliseconds Int64 -> -- | /@to@/: the progress value to animate to Double -> IO ()
- GI.Handy.Objects.SwipeTracker: type SwipeTrackerUpdateSwipeCallback = Double " /@progress@/: The current animation progress value" -> IO ()
+ GI.Handy.Objects.SwipeTracker: type SwipeTrackerUpdateSwipeCallback = -- | /@progress@/: the current animation progress value Double -> IO ()
- GI.Handy.Objects.TabBar: type TabBarExtraDragDataReceivedCallback = TabPage " /@page@/: the t'GI.Handy.Objects.TabPage.TabPage' matching the tab the content was dropped onto" -> DragContext " /@context@/: the drag context" -> SelectionData " /@data@/: the received data" -> Word32 " /@info@/: the info that has been registered with the target in the t'GI.Gtk.Structs.TargetList.TargetList'" -> Word32 " /@time@/: the timestamp at which the data was received" -> IO ()
+ GI.Handy.Objects.TabBar: type TabBarExtraDragDataReceivedCallback = -- | /@page@/: the tab page matching the tab the content was dropped onto TabPage -> -- | /@context@/: the drag context DragContext -> -- | /@data@/: the received data SelectionData -> -- | /@info@/: the info that has been registered with the target in the -- [struct/@gtk@/.TargetList] Word32 -> -- | /@time@/: the timestamp at which the data was received Word32 -> IO ()
- GI.Handy.Objects.TabView: type TabViewClosePageCallback = TabPage " /@page@/: a page of /@self@/" -> IO Bool
+ GI.Handy.Objects.TabView: type TabViewClosePageCallback = -- | /@page@/: a page of the view TabPage -> IO Bool
- GI.Handy.Objects.TabView: type TabViewCreateWindowCallback = IO (Maybe TabView) " __Returns:__ the t'GI.Handy.Objects.TabView.TabView' from the new window"
+ GI.Handy.Objects.TabView: type TabViewCreateWindowCallback = -- | __Returns:__ the [class/@tabView@/] from the new -- window IO (Maybe TabView)
- GI.Handy.Objects.TabView: type TabViewIndicatorActivatedCallback = TabPage " /@page@/: a page of /@self@/" -> IO ()
+ GI.Handy.Objects.TabView: type TabViewIndicatorActivatedCallback = -- | /@page@/: a page of the view TabPage -> IO ()
- GI.Handy.Objects.TabView: type TabViewPageAttachedCallback = TabPage " /@page@/: a page of /@self@/" -> Int32 " /@position@/: the position of the page, starting from 0" -> IO ()
+ GI.Handy.Objects.TabView: type TabViewPageAttachedCallback = -- | /@page@/: a page of the view TabPage -> -- | /@position@/: the position of the page, starting from 0 Int32 -> IO ()
- GI.Handy.Objects.TabView: type TabViewPageDetachedCallback = TabPage " /@page@/: a page of /@self@/" -> Int32 " /@position@/: the position of the removed page, starting from 0" -> IO ()
+ GI.Handy.Objects.TabView: type TabViewPageDetachedCallback = -- | /@page@/: a page of the view TabPage -> -- | /@position@/: the position of the removed page, starting from 0 Int32 -> IO ()
- GI.Handy.Objects.TabView: type TabViewPageReorderedCallback = TabPage " /@page@/: a page of /@self@/" -> Int32 " /@position@/: the position /@page@/ was moved to, starting at 0" -> IO ()
+ GI.Handy.Objects.TabView: type TabViewPageReorderedCallback = -- | /@page@/: a page of the view TabPage -> -- | /@position@/: the position /@page@/ was moved to, starting at 0 Int32 -> IO ()
- GI.Handy.Objects.TabView: type TabViewSetupMenuCallback = TabPage " /@page@/: a page of /@self@/, or 'P.Nothing'" -> IO ()
+ GI.Handy.Objects.TabView: type TabViewSetupMenuCallback = -- | /@page@/: a page of /@self@/ TabPage -> IO ()

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.2+++ Relax constraint on text+ ### 1.0.1  + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy.html](https://hackage.haskell.org/package/gi-handy-1.0.1/docs/GI-Handy.html)+[https://hackage.haskell.org/package/gi-handy-1.0.2/docs/GI-Handy.html](https://hackage.haskell.org/package/gi-handy-1.0.2/docs/GI-Handy.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
@@ -17,7 +17,7 @@   where name = "Handy"         version = "1"         pkgName = "gi-handy"-        pkgVersion = "1.0.1"+        pkgVersion = "1.0.2"         overridesFile = Just "Handy.overrides"         verbose = False         outputDir = Nothing
gi-handy.cabal view
@@ -1,5 +1,5 @@ name:                 gi-handy-version:              1.0.1+version:              1.0.2 synopsis:             libhandy bindings description:          Bindings for libhandy, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -28,7 +28,7 @@  library       default-language: Haskell2010-      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators       other-extensions: PatternSynonyms, ViewPatterns, TypeApplications       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -47,7 +47,7 @@                      gi-pango == 1.0.*,                      bytestring >= 0.10 && < 1,                      containers >= 0.5 && < 1,-                     text >= 1.0 && < 2,+                     text >= 1.0 && < 3,                      transformers >= 0.4 && < 1        -- Disable overloading when compiling under GHC 8.2.x@@ -93,6 +93,7 @@                        GI.Handy.Objects.SearchBar,                        GI.Handy.Objects.Squeezer,                        GI.Handy.Objects.StatusPage,+                       GI.Handy.Objects.StyleManager,                        GI.Handy.Objects.SwipeGroup,                        GI.Handy.Objects.SwipeTracker,                        GI.Handy.Objects.TabBar,@@ -138,6 +139,7 @@                        GI.Handy.Objects.SearchBar,                        GI.Handy.Objects.Squeezer,                        GI.Handy.Objects.StatusPage,+                       GI.Handy.Objects.StyleManager,                        GI.Handy.Objects.SwipeGroup,                        GI.Handy.Objects.SwipeTracker,                        GI.Handy.Objects.TabBar,