gi-webkit2 4.0.28 → 4.0.29
raw patch · 4 files changed
+13/−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.WebKit2.Enums: AnotherWebExtensionMode :: Int -> WebExtensionMode
+ GI.WebKit2.Enums: WebExtensionModeManifestv2 :: WebExtensionMode
+ GI.WebKit2.Enums: WebExtensionModeManifestv3 :: WebExtensionMode
+ GI.WebKit2.Enums: WebExtensionModeNone :: WebExtensionMode
+ GI.WebKit2.Enums: data WebExtensionMode
+ GI.WebKit2.Enums: instance Data.GI.Base.BasicTypes.BoxedEnum GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance Data.GI.Base.BasicTypes.TypedObject GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance Data.GI.Base.Overloading.HasParentTypes GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance GHC.Classes.Eq GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance GHC.Classes.Ord GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance GHC.Enum.Enum GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Enums: instance GHC.Show.Show GI.WebKit2.Enums.WebExtensionMode
+ GI.WebKit2.Objects.Settings: constructSettingsEnableWebrtc :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
+ GI.WebKit2.Objects.Settings: getSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> m Bool
+ GI.WebKit2.Objects.Settings: setSettingsEnableWebrtc :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
+ GI.WebKit2.Objects.Settings: settingsGetEnableWebrtc :: (HasCallStack, MonadIO m, IsSettings a) => a -> m Bool
+ GI.WebKit2.Objects.Settings: settingsSetEnableWebrtc :: (HasCallStack, MonadIO m, IsSettings a) => a -> Bool -> m ()
+ GI.WebKit2.Objects.URISchemeRequest: uRISchemeRequestFinishWithResponse :: (HasCallStack, MonadIO m, IsURISchemeRequest a, IsURISchemeResponse b) => a -> b -> m ()
+ GI.WebKit2.Objects.URISchemeRequest: uRISchemeRequestGetHttpHeaders :: (HasCallStack, MonadIO m, IsURISchemeRequest a) => a -> m MessageHeaders
+ GI.WebKit2.Objects.URISchemeRequest: uRISchemeRequestGetHttpMethod :: (HasCallStack, MonadIO m, IsURISchemeRequest a) => a -> m Text
+ GI.WebKit2.Objects.URISchemeResponse: URISchemeResponse :: ManagedPtr URISchemeResponse -> URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: class (GObject o, IsDescendantOf URISchemeResponse o) => IsURISchemeResponse o
+ GI.WebKit2.Objects.URISchemeResponse: constructURISchemeResponseStream :: (IsURISchemeResponse o, MonadIO m, IsInputStream a) => a -> m (GValueConstruct o)
+ GI.WebKit2.Objects.URISchemeResponse: constructURISchemeResponseStreamLength :: (IsURISchemeResponse o, MonadIO m) => Int64 -> m (GValueConstruct o)
+ GI.WebKit2.Objects.URISchemeResponse: instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse o) => GI.WebKit2.Objects.URISchemeResponse.IsURISchemeResponse o
+ GI.WebKit2.Objects.URISchemeResponse: instance Data.GI.Base.BasicTypes.GObject GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: instance Data.GI.Base.BasicTypes.TypedObject GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse)
+ GI.WebKit2.Objects.URISchemeResponse: instance Data.GI.Base.Overloading.HasParentTypes GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: instance GHC.Classes.Eq GI.WebKit2.Objects.URISchemeResponse.URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: newtype URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: toURISchemeResponse :: (MonadIO m, IsURISchemeResponse o) => o -> m URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: uRISchemeResponseNew :: (HasCallStack, MonadIO m, IsInputStream a) => a -> Int64 -> m URISchemeResponse
+ GI.WebKit2.Objects.URISchemeResponse: uRISchemeResponseSetContentType :: (HasCallStack, MonadIO m, IsURISchemeResponse a) => a -> Text -> m ()
+ GI.WebKit2.Objects.URISchemeResponse: uRISchemeResponseSetHttpHeaders :: (HasCallStack, MonadIO m, IsURISchemeResponse a) => a -> MessageHeaders -> m ()
+ GI.WebKit2.Objects.URISchemeResponse: uRISchemeResponseSetStatus :: (HasCallStack, MonadIO m, IsURISchemeResponse a) => a -> Word32 -> Maybe Text -> m ()
+ GI.WebKit2.Objects.WebContext: constructWebContextTimeZoneOverride :: (IsWebContext o, MonadIO m) => Text -> m (GValueConstruct o)
+ GI.WebKit2.Objects.WebContext: getWebContextTimeZoneOverride :: (MonadIO m, IsWebContext o) => o -> m Text
+ GI.WebKit2.Objects.WebContext: webContextGetTimeZoneOverride :: (HasCallStack, MonadIO m, IsWebContext a) => a -> m Text
+ GI.WebKit2.Objects.WebView: constructWebViewDefaultContentSecurityPolicy :: (IsWebView o, MonadIO m) => Text -> m (GValueConstruct o)
+ GI.WebKit2.Objects.WebView: constructWebViewWebExtensionMode :: (IsWebView o, MonadIO m) => WebExtensionMode -> m (GValueConstruct o)
+ GI.WebKit2.Objects.WebView: getWebViewDefaultContentSecurityPolicy :: (MonadIO m, IsWebView o) => o -> m (Maybe Text)
+ GI.WebKit2.Objects.WebView: getWebViewWebExtensionMode :: (MonadIO m, IsWebView o) => o -> m WebExtensionMode
+ GI.WebKit2.Objects.WebView: webViewGetDefaultContentSecurityPolicy :: (HasCallStack, MonadIO m, IsWebView a) => a -> m (Maybe Text)
+ GI.WebKit2.Objects.WebView: webViewGetWebExtensionMode :: (HasCallStack, MonadIO m, IsWebView a) => a -> m WebExtensionMode
+ GI.WebKit2.Objects.WebView: webViewRunAsyncJavascriptFunctionInWorld :: (HasCallStack, MonadIO m, IsWebView a, IsCancellable b) => a -> Text -> GVariant -> Text -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- GI.WebKit2.Callbacks: type URISchemeRequestCallback = URISchemeRequest " /@request@/: the t'GI.WebKit2.Objects.URISchemeRequest.URISchemeRequest'" -> IO ()
+ GI.WebKit2.Callbacks: type URISchemeRequestCallback = -- | /@request@/: the t'GI.WebKit2.Objects.URISchemeRequest.URISchemeRequest' URISchemeRequest -> IO ()
- GI.WebKit2.Callbacks: type URISchemeRequestCallback_WithClosures = URISchemeRequest " /@request@/: the t'GI.WebKit2.Objects.URISchemeRequest.URISchemeRequest'" -> Ptr () " /@userData@/: user data passed to the callback" -> IO ()
+ GI.WebKit2.Callbacks: type URISchemeRequestCallback_WithClosures = -- | /@request@/: the t'GI.WebKit2.Objects.URISchemeRequest.URISchemeRequest' URISchemeRequest -> -- | /@userData@/: user data passed to the callback Ptr () -> IO ()
- GI.WebKit2.Objects.AuthenticationRequest: type AuthenticationRequestAuthenticatedCallback = Credential " /@credential@/: the t'GI.WebKit2.Structs.Credential.Credential' accepted" -> IO ()
+ GI.WebKit2.Objects.AuthenticationRequest: type AuthenticationRequestAuthenticatedCallback = -- | /@credential@/: the t'GI.WebKit2.Structs.Credential.Credential' accepted Credential -> IO ()
- GI.WebKit2.Objects.AutomationSession: type AutomationSessionCreateWebViewCallback = IO WebView " __Returns:__ a t'GI.WebKit2.Objects.WebView.WebView' widget."
+ GI.WebKit2.Objects.AutomationSession: type AutomationSessionCreateWebViewCallback = -- | __Returns:__ a t'GI.WebKit2.Objects.WebView.WebView' widget. IO WebView
- GI.WebKit2.Objects.BackForwardList: type BackForwardListChangedCallback = Maybe BackForwardListItem " /@itemAdded@/: the t'GI.WebKit2.Objects.BackForwardListItem.BackForwardListItem' added or 'P.Nothing'" -> Ptr () " /@itemsRemoved@/: a t'GI.GLib.Structs.List.List' of t'GI.WebKit2.Objects.BackForwardListItem.BackForwardListItem's" -> IO ()
+ GI.WebKit2.Objects.BackForwardList: type BackForwardListChangedCallback = -- | /@itemAdded@/: the t'GI.WebKit2.Objects.BackForwardListItem.BackForwardListItem' added or 'P.Nothing' Maybe BackForwardListItem -> -- | /@itemsRemoved@/: a t'GI.GLib.Structs.List.List' of t'GI.WebKit2.Objects.BackForwardListItem.BackForwardListItem's Ptr () -> IO ()
- GI.WebKit2.Objects.Download: type DownloadCreatedDestinationCallback = Text " /@destination@/: the destination URI" -> IO ()
+ GI.WebKit2.Objects.Download: type DownloadCreatedDestinationCallback = -- | /@destination@/: the destination URI Text -> IO ()
- GI.WebKit2.Objects.Download: type DownloadDecideDestinationCallback = Text " /@suggestedFilename@/: the filename suggested for the download" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.Download: type DownloadDecideDestinationCallback = -- | /@suggestedFilename@/: the filename suggested for the download Text -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.Download: type DownloadFailedCallback = GError " /@error@/: the t'GError' that was triggered" -> IO ()
+ GI.WebKit2.Objects.Download: type DownloadFailedCallback = -- | /@error@/: the t'GError' that was triggered GError -> IO ()
- GI.WebKit2.Objects.Download: type DownloadReceivedDataCallback = Word64 " /@dataLength@/: the length of data received in bytes" -> IO ()
+ GI.WebKit2.Objects.Download: type DownloadReceivedDataCallback = -- | /@dataLength@/: the length of data received in bytes Word64 -> IO ()
- GI.WebKit2.Objects.FaviconDatabase: type FaviconDatabaseFaviconChangedCallback = Text " /@pageUri@/: the URI of the Web page containing the icon" -> Text " /@faviconUri@/: the URI of the favicon" -> IO ()
+ GI.WebKit2.Objects.FaviconDatabase: type FaviconDatabaseFaviconChangedCallback = -- | /@pageUri@/: the URI of the Web page containing the icon Text -> -- | /@faviconUri@/: the URI of the favicon Text -> IO ()
- GI.WebKit2.Objects.FindController: type FindControllerCountedMatchesCallback = Word32 " /@matchCount@/: the number of matches of the search text" -> IO ()
+ GI.WebKit2.Objects.FindController: type FindControllerCountedMatchesCallback = -- | /@matchCount@/: the number of matches of the search text Word32 -> IO ()
- GI.WebKit2.Objects.FindController: type FindControllerFoundTextCallback = Word32 " /@matchCount@/: the number of matches found of the search text" -> IO ()
+ GI.WebKit2.Objects.FindController: type FindControllerFoundTextCallback = -- | /@matchCount@/: the number of matches found of the search text Word32 -> IO ()
- GI.WebKit2.Objects.GeolocationManager: type GeolocationManagerStartCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.GeolocationManager: type GeolocationManagerStartCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.InputMethodContext: type InputMethodContextCommittedCallback = Text " /@text@/: the string result" -> IO ()
+ GI.WebKit2.Objects.InputMethodContext: type InputMethodContextCommittedCallback = -- | /@text@/: the string result Text -> IO ()
- GI.WebKit2.Objects.InputMethodContext: type InputMethodContextDeleteSurroundingCallback = Int32 " /@offset@/: the character offset from the cursor position of the text to be deleted." -> Word32 " /@nChars@/: the number of characters to be deleted" -> IO ()
+ GI.WebKit2.Objects.InputMethodContext: type InputMethodContextDeleteSurroundingCallback = -- | /@offset@/: the character offset from the cursor position of the text to be deleted. Int32 -> -- | /@nChars@/: the number of characters to be deleted Word32 -> IO ()
- GI.WebKit2.Objects.Plugin: pluginGetDescription :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
+ GI.WebKit2.Objects.Plugin: pluginGetDescription :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
- GI.WebKit2.Objects.Plugin: pluginGetName :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
+ GI.WebKit2.Objects.Plugin: pluginGetName :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
- GI.WebKit2.Objects.Plugin: pluginGetPath :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m Text
+ GI.WebKit2.Objects.Plugin: pluginGetPath :: (HasCallStack, MonadIO m, IsPlugin a) => a -> m (Maybe Text)
- GI.WebKit2.Objects.PrintCustomWidget: type PrintCustomWidgetUpdateCallback = PageSetup " /@pageSetup@/: actual page setup" -> PrintSettings " /@printSettings@/: actual print settings" -> IO ()
+ GI.WebKit2.Objects.PrintCustomWidget: type PrintCustomWidgetUpdateCallback = -- | /@pageSetup@/: actual page setup PageSetup -> -- | /@printSettings@/: actual print settings PrintSettings -> IO ()
- GI.WebKit2.Objects.PrintOperation: type PrintOperationCreateCustomWidgetCallback = IO PrintCustomWidget " __Returns:__ A t'GI.WebKit2.Objects.PrintCustomWidget.PrintCustomWidget' that will be embedded in the dialog."
+ GI.WebKit2.Objects.PrintOperation: type PrintOperationCreateCustomWidgetCallback = -- | __Returns:__ A t'GI.WebKit2.Objects.PrintCustomWidget.PrintCustomWidget' that will be embedded in the dialog. IO PrintCustomWidget
- GI.WebKit2.Objects.PrintOperation: type PrintOperationFailedCallback = GError " /@error@/: the t'GError' that was triggered" -> IO ()
+ GI.WebKit2.Objects.PrintOperation: type PrintOperationFailedCallback = -- | /@error@/: the t'GError' that was triggered GError -> IO ()
- GI.WebKit2.Objects.UserContentManager: type UserContentManagerScriptMessageReceivedCallback = JavascriptResult " /@jsResult@/: the t'GI.WebKit2.Structs.JavascriptResult.JavascriptResult' holding the value received from the JavaScript world." -> IO ()
+ GI.WebKit2.Objects.UserContentManager: type UserContentManagerScriptMessageReceivedCallback = -- | /@jsResult@/: the t'GI.WebKit2.Structs.JavascriptResult.JavascriptResult' holding the value received from the JavaScript world. JavascriptResult -> IO ()
- GI.WebKit2.Objects.WebContext: type WebContextAutomationStartedCallback = AutomationSession " /@session@/: the t'GI.WebKit2.Objects.AutomationSession.AutomationSession' associated with this event" -> IO ()
+ GI.WebKit2.Objects.WebContext: type WebContextAutomationStartedCallback = -- | /@session@/: the t'GI.WebKit2.Objects.AutomationSession.AutomationSession' associated with this event AutomationSession -> IO ()
- GI.WebKit2.Objects.WebContext: type WebContextDownloadStartedCallback = Download " /@download@/: the t'GI.WebKit2.Objects.Download.Download' associated with this event" -> IO ()
+ GI.WebKit2.Objects.WebContext: type WebContextDownloadStartedCallback = -- | /@download@/: the t'GI.WebKit2.Objects.Download.Download' associated with this event Download -> IO ()
- GI.WebKit2.Objects.WebContext: type WebContextUserMessageReceivedCallback = UserMessage " /@message@/: the t'GI.WebKit2.Objects.UserMessage.UserMessage' received" -> IO Bool " __Returns:__ 'P.True' if the message was handled, or 'P.False' otherwise."
+ GI.WebKit2.Objects.WebContext: type WebContextUserMessageReceivedCallback = -- | /@message@/: the t'GI.WebKit2.Objects.UserMessage.UserMessage' received UserMessage -> -- | __Returns:__ 'P.True' if the message was handled, or 'P.False' otherwise. IO Bool
- GI.WebKit2.Objects.WebInspector: type WebInspectorAttachCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebInspector: type WebInspectorAttachCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebInspector: type WebInspectorBringToFrontCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebInspector: type WebInspectorBringToFrontCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebInspector: type WebInspectorDetachCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebInspector: type WebInspectorDetachCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebInspector: type WebInspectorOpenWindowCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebInspector: type WebInspectorOpenWindowCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebResource: type WebResourceFailedCallback = GError " /@error@/: the t'GError' that was triggered" -> IO ()
+ GI.WebKit2.Objects.WebResource: type WebResourceFailedCallback = -- | /@error@/: the t'GError' that was triggered GError -> IO ()
- GI.WebKit2.Objects.WebResource: type WebResourceFailedWithTlsErrorsCallback = TlsCertificate " /@certificate@/: a t'GI.Gio.Objects.TlsCertificate.TlsCertificate'" -> [TlsCertificateFlags] " /@errors@/: a t'GI.Gio.Flags.TlsCertificateFlags' with the verification status of /@certificate@/" -> IO ()
+ GI.WebKit2.Objects.WebResource: type WebResourceFailedWithTlsErrorsCallback = -- | /@certificate@/: a t'GI.Gio.Objects.TlsCertificate.TlsCertificate' TlsCertificate -> -- | /@errors@/: a t'GI.Gio.Flags.TlsCertificateFlags' with the verification status of /@certificate@/ [TlsCertificateFlags] -> IO ()
- GI.WebKit2.Objects.WebResource: type WebResourceReceivedDataCallback = Word64 " /@dataLength@/: the length of data received in bytes" -> IO ()
+ GI.WebKit2.Objects.WebResource: type WebResourceReceivedDataCallback = -- | /@dataLength@/: the length of data received in bytes Word64 -> IO ()
- GI.WebKit2.Objects.WebResource: type WebResourceSentRequestCallback = URIRequest " /@request@/: a t'GI.WebKit2.Objects.URIRequest.URIRequest'" -> URIResponse " /@redirectedResponse@/: a t'GI.WebKit2.Objects.URIResponse.URIResponse', or 'P.Nothing'" -> IO ()
+ GI.WebKit2.Objects.WebResource: type WebResourceSentRequestCallback = -- | /@request@/: a t'GI.WebKit2.Objects.URIRequest.URIRequest' URIRequest -> -- | /@redirectedResponse@/: a t'GI.WebKit2.Objects.URIResponse.URIResponse', or 'P.Nothing' URIResponse -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewAuthenticateCallback = AuthenticationRequest " /@request@/: a t'GI.WebKit2.Objects.AuthenticationRequest.AuthenticationRequest'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewAuthenticateCallback = -- | /@request@/: a t'GI.WebKit2.Objects.AuthenticationRequest.AuthenticationRequest' AuthenticationRequest -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewContextMenuCallback = ContextMenu " /@contextMenu@/: the proposed t'GI.WebKit2.Objects.ContextMenu.ContextMenu'" -> Event " /@event@/: the t'GI.Gdk.Unions.Event.Event' that triggered the context menu" -> HitTestResult " /@hitTestResult@/: a t'GI.WebKit2.Objects.HitTestResult.HitTestResult'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewContextMenuCallback = -- | /@contextMenu@/: the proposed t'GI.WebKit2.Objects.ContextMenu.ContextMenu' ContextMenu -> -- | /@event@/: the t'GI.Gdk.Unions.Event.Event' that triggered the context menu Event -> -- | /@hitTestResult@/: a t'GI.WebKit2.Objects.HitTestResult.HitTestResult' HitTestResult -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewCreateCallback = NavigationAction " /@navigationAction@/: a t'GI.WebKit2.Structs.NavigationAction.NavigationAction'" -> IO Widget " __Returns:__ a newly allocated t'GI.WebKit2.Objects.WebView.WebView' widget or 'P.Nothing' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewCreateCallback = -- | /@navigationAction@/: a t'GI.WebKit2.Structs.NavigationAction.NavigationAction' NavigationAction -> -- | __Returns:__ a newly allocated t'GI.WebKit2.Objects.WebView.WebView' widget -- or 'P.Nothing' to propagate the event further. IO Widget
- GI.WebKit2.Objects.WebView: type WebViewDecidePolicyCallback = PolicyDecision " /@decision@/: the t'GI.WebKit2.Objects.PolicyDecision.PolicyDecision'" -> PolicyDecisionType " /@decisionType@/: a t'GI.WebKit2.Enums.PolicyDecisionType' denoting the type of /@decision@/" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewDecidePolicyCallback = -- | /@decision@/: the t'GI.WebKit2.Objects.PolicyDecision.PolicyDecision' PolicyDecision -> -- | /@decisionType@/: a t'GI.WebKit2.Enums.PolicyDecisionType' denoting the type of /@decision@/ PolicyDecisionType -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewEnterFullscreenCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to continue emission of the event."
+ GI.WebKit2.Objects.WebView: type WebViewEnterFullscreenCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to continue emission of the event. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewInsecureContentDetectedCallback = InsecureContentEvent " /@event@/: the t'GI.WebKit2.Enums.InsecureContentEvent'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewInsecureContentDetectedCallback = -- | /@event@/: the t'GI.WebKit2.Enums.InsecureContentEvent' InsecureContentEvent -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewLeaveFullscreenCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to continue emission of the event."
+ GI.WebKit2.Objects.WebView: type WebViewLeaveFullscreenCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to continue emission of the event. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewLoadChangedCallback = LoadEvent " /@loadEvent@/: the t'GI.WebKit2.Enums.LoadEvent'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewLoadChangedCallback = -- | /@loadEvent@/: the t'GI.WebKit2.Enums.LoadEvent' LoadEvent -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewLoadFailedCallback = LoadEvent " /@loadEvent@/: the t'GI.WebKit2.Enums.LoadEvent' of the load operation" -> Text " /@failingUri@/: the URI that failed to load" -> GError " /@error@/: the t'GError' that was triggered" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewLoadFailedCallback = -- | /@loadEvent@/: the t'GI.WebKit2.Enums.LoadEvent' of the load operation LoadEvent -> -- | /@failingUri@/: the URI that failed to load Text -> -- | /@error@/: the t'GError' that was triggered GError -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewLoadFailedWithTlsErrorsCallback = Text " /@failingUri@/: the URI that failed to load" -> TlsCertificate " /@certificate@/: a t'GI.Gio.Objects.TlsCertificate.TlsCertificate'" -> [TlsCertificateFlags] " /@errors@/: a t'GI.Gio.Flags.TlsCertificateFlags' with the verification status of /@certificate@/" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewLoadFailedWithTlsErrorsCallback = -- | /@failingUri@/: the URI that failed to load Text -> -- | /@certificate@/: a t'GI.Gio.Objects.TlsCertificate.TlsCertificate' TlsCertificate -> -- | /@errors@/: a t'GI.Gio.Flags.TlsCertificateFlags' with the verification status of /@certificate@/ [TlsCertificateFlags] -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewMouseTargetChangedCallback = HitTestResult " /@hitTestResult@/: a t'GI.WebKit2.Objects.HitTestResult.HitTestResult'" -> Word32 " /@modifiers@/: a bitmask of t'GI.Gdk.Flags.ModifierType'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewMouseTargetChangedCallback = -- | /@hitTestResult@/: a t'GI.WebKit2.Objects.HitTestResult.HitTestResult' HitTestResult -> -- | /@modifiers@/: a bitmask of t'GI.Gdk.Flags.ModifierType' Word32 -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewPermissionRequestCallback = PermissionRequest " /@request@/: the t'GI.WebKit2.Interfaces.PermissionRequest.PermissionRequest'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewPermissionRequestCallback = -- | /@request@/: the t'GI.WebKit2.Interfaces.PermissionRequest.PermissionRequest' PermissionRequest -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewPrintCallback = PrintOperation " /@printOperation@/: the t'GI.WebKit2.Objects.PrintOperation.PrintOperation' that will handle the print request" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewPrintCallback = -- | /@printOperation@/: the t'GI.WebKit2.Objects.PrintOperation.PrintOperation' that will handle the print request PrintOperation -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewResourceLoadStartedCallback = WebResource " /@resource@/: a t'GI.WebKit2.Objects.WebResource.WebResource'" -> URIRequest " /@request@/: a t'GI.WebKit2.Objects.URIRequest.URIRequest'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewResourceLoadStartedCallback = -- | /@resource@/: a t'GI.WebKit2.Objects.WebResource.WebResource' WebResource -> -- | /@request@/: a t'GI.WebKit2.Objects.URIRequest.URIRequest' URIRequest -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewRunColorChooserCallback = ColorChooserRequest " /@request@/: a t'GI.WebKit2.Objects.ColorChooserRequest.ColorChooserRequest'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewRunColorChooserCallback = -- | /@request@/: a t'GI.WebKit2.Objects.ColorChooserRequest.ColorChooserRequest' ColorChooserRequest -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewRunFileChooserCallback = FileChooserRequest " /@request@/: a t'GI.WebKit2.Objects.FileChooserRequest.FileChooserRequest'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewRunFileChooserCallback = -- | /@request@/: a t'GI.WebKit2.Objects.FileChooserRequest.FileChooserRequest' FileChooserRequest -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewScriptDialogCallback = ScriptDialog " /@dialog@/: the t'GI.WebKit2.Structs.ScriptDialog.ScriptDialog' to show" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewScriptDialogCallback = -- | /@dialog@/: the t'GI.WebKit2.Structs.ScriptDialog.ScriptDialog' to show ScriptDialog -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewShowNotificationCallback = Notification " /@notification@/: a t'GI.WebKit2.Objects.Notification.Notification'" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked. 'P.False' otherwise."
+ GI.WebKit2.Objects.WebView: type WebViewShowNotificationCallback = -- | /@notification@/: a t'GI.WebKit2.Objects.Notification.Notification' Notification -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked. 'P.False' otherwise. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewShowOptionMenuCallback = OptionMenu " /@menu@/: the t'GI.WebKit2.Objects.OptionMenu.OptionMenu'" -> Event " /@event@/: the t'GI.Gdk.Unions.Event.Event' that triggered the menu, or 'P.Nothing'" -> Rectangle " /@rectangle@/: the option element area" -> IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewShowOptionMenuCallback = -- | /@menu@/: the t'GI.WebKit2.Objects.OptionMenu.OptionMenu' OptionMenu -> -- | /@event@/: the t'GI.Gdk.Unions.Event.Event' that triggered the menu, or 'P.Nothing' Event -> -- | /@rectangle@/: the option element area Rectangle -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewSubmitFormCallback = FormSubmissionRequest " /@request@/: a t'GI.WebKit2.Objects.FormSubmissionRequest.FormSubmissionRequest'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewSubmitFormCallback = -- | /@request@/: a t'GI.WebKit2.Objects.FormSubmissionRequest.FormSubmissionRequest' FormSubmissionRequest -> IO ()
- GI.WebKit2.Objects.WebView: type WebViewUserMessageReceivedCallback = UserMessage " /@message@/: the t'GI.WebKit2.Objects.UserMessage.UserMessage' received" -> IO Bool " __Returns:__ 'P.True' if the message was handled, or 'P.False' otherwise."
+ GI.WebKit2.Objects.WebView: type WebViewUserMessageReceivedCallback = -- | /@message@/: the t'GI.WebKit2.Objects.UserMessage.UserMessage' received UserMessage -> -- | __Returns:__ 'P.True' if the message was handled, or 'P.False' otherwise. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewWebProcessCrashedCallback = IO Bool " __Returns:__ 'P.True' to stop other handlers from being invoked for the event. 'P.False' to propagate the event further."
+ GI.WebKit2.Objects.WebView: type WebViewWebProcessCrashedCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
- GI.WebKit2.Objects.WebView: type WebViewWebProcessTerminatedCallback = WebProcessTerminationReason " /@reason@/: the a t'GI.WebKit2.Enums.WebProcessTerminationReason'" -> IO ()
+ GI.WebKit2.Objects.WebView: type WebViewWebProcessTerminatedCallback = -- | /@reason@/: the a t'GI.WebKit2.Enums.WebProcessTerminationReason' WebProcessTerminationReason -> IO ()
- GI.WebKit2.Structs.MimeInfo: mimeInfoGetDescription :: (HasCallStack, MonadIO m) => MimeInfo -> m Text
+ GI.WebKit2.Structs.MimeInfo: mimeInfoGetDescription :: (HasCallStack, MonadIO m) => MimeInfo -> m (Maybe Text)
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-webkit2.cabal +7/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 4.0.29+++ Relax constraint on text+ ### 4.0.28 + 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-webkit2-4.0.28/docs/GI-WebKit2.html](https://hackage.haskell.org/package/gi-webkit2-4.0.28/docs/GI-WebKit2.html)+[https://hackage.haskell.org/package/gi-webkit2-4.0.29/docs/GI-WebKit2.html](https://hackage.haskell.org/package/gi-webkit2-4.0.29/docs/GI-WebKit2.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
@@ -18,7 +18,7 @@ where name = "WebKit2" version = "4.0" pkgName = "gi-webkit2"- pkgVersion = "4.0.28"+ pkgVersion = "4.0.29" overridesFile = Just "WebKit2.overrides" verbose = False outputDir = Nothing
gi-webkit2.cabal view
@@ -1,5 +1,5 @@ name: gi-webkit2-version: 4.0.28+version: 4.0.29 synopsis: WebKit2 bindings description: Bindings for WebKit2, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -29,7 +29,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 @@ -49,7 +49,7 @@ gi-atk == 2.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@@ -109,6 +109,7 @@ GI.WebKit2.Objects.URIRequest, GI.WebKit2.Objects.URIResponse, GI.WebKit2.Objects.URISchemeRequest,+ GI.WebKit2.Objects.URISchemeResponse, GI.WebKit2.Objects.UserContentFilterStore, GI.WebKit2.Objects.UserContentManager, GI.WebKit2.Objects.UserMediaPermissionRequest,@@ -130,6 +131,7 @@ GI.WebKit2.Structs.ITPThirdParty, GI.WebKit2.Structs.InputMethodUnderline, GI.WebKit2.Structs.JavascriptResult,+ GI.WebKit2.Structs.MemoryPressureSettings, GI.WebKit2.Structs.MimeInfo, GI.WebKit2.Structs.NavigationAction, GI.WebKit2.Structs.NetworkProxySettings,@@ -188,6 +190,7 @@ GI.WebKit2.Objects.URIRequest, GI.WebKit2.Objects.URIResponse, GI.WebKit2.Objects.URISchemeRequest,+ GI.WebKit2.Objects.URISchemeResponse, GI.WebKit2.Objects.UserContentFilterStore, GI.WebKit2.Objects.UserContentManager, GI.WebKit2.Objects.UserMediaPermissionRequest,@@ -209,6 +212,7 @@ GI.WebKit2.Structs.ITPThirdParty, GI.WebKit2.Structs.InputMethodUnderline, GI.WebKit2.Structs.JavascriptResult,+ GI.WebKit2.Structs.MemoryPressureSettings, GI.WebKit2.Structs.MimeInfo, GI.WebKit2.Structs.NavigationAction, GI.WebKit2.Structs.NetworkProxySettings,