[vala/staging] webkit2gtk-4.0: Update to 2.23.90
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] webkit2gtk-4.0: Update to 2.23.90
- Date: Sat, 16 Feb 2019 09:04:34 +0000 (UTC)
commit 8a2e9e0f01b82bd81ab9ddf895733c6bf551fccc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Feb 16 09:50:53 2019 +0100
webkit2gtk-4.0: Update to 2.23.90
vapi/javascriptcoregtk-4.0.vapi | 76 +++++++++++++++++++++++++++++++
vapi/metadata/JavaScriptCore-4.0.metadata | 3 ++
vapi/webkit2gtk-4.0.vapi | 19 ++++++--
3 files changed, 94 insertions(+), 4 deletions(-)
---
diff --git a/vapi/javascriptcoregtk-4.0.vapi b/vapi/javascriptcoregtk-4.0.vapi
index 3b2c2eb37..cfb3a413c 100644
--- a/vapi/javascriptcoregtk-4.0.vapi
+++ b/vapi/javascriptcoregtk-4.0.vapi
@@ -151,6 +151,68 @@ namespace JS {
}
[CCode (cprefix = "JSC", gir_namespace = "JavaScriptCore", gir_version = "4.0", lower_case_cprefix = "jsc_")]
namespace JSC {
+ namespace Options {
+ [CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_OPTIONS_USE_DFG")]
+ [Version (since = "2.24")]
+ public const string USE_DFG;
+ [CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_OPTIONS_USE_FTL")]
+ [Version (since = "2.24")]
+ public const string USE_FTL;
+ [CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_OPTIONS_USE_JIT")]
+ [Version (since = "2.24")]
+ public const string USE_JIT;
+ [CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_OPTIONS_USE_LLINT")]
+ [Version (since = "2.24")]
+ public const string USE_LLINT;
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static void @foreach (JSC.OptionsFunc function);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_boolean (string option, out bool value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_double (string option, out double value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_int (string option, out int value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static GLib.OptionGroup get_option_group ();
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_range_string (string option, out string value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_size (string option, out size_t value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_string (string option, out string value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool get_uint (string option, out uint value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_boolean (string option, bool value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_double (string option, double value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_int (string option, int value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_range_string (string option, string value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_size (string option, size_t value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_string (string option, string value);
+ [CCode (cheader_filename = "jsc/jsc.h")]
+ [Version (since = "2.24")]
+ public static bool set_uint (string option, uint value);
+ }
[CCode (cheader_filename = "jsc/jsc.h", type_id = "jsc_class_get_type ()")]
public class Class : GLib.Object {
[CCode (has_construct_function = false)]
@@ -300,6 +362,17 @@ namespace JSC {
OUT_OF_MEMORY_ERROR,
STACK_OVERFLOW_ERROR
}
+ [CCode (cheader_filename = "jsc/jsc.h", cprefix = "JSC_OPTION_", has_type_id = false)]
+ [Version (since = "2.24")]
+ public enum OptionType {
+ BOOLEAN,
+ INT,
+ UINT,
+ SIZE,
+ DOUBLE,
+ STRING,
+ RANGE_STRING
+ }
[CCode (cheader_filename = "jsc/jsc.h", cprefix = "JSC_VALUE_PROPERTY_", has_type_id = false)]
[Flags]
public enum ValuePropertyFlags {
@@ -319,6 +392,9 @@ namespace JSC {
public delegate bool ClassSetPropertyFunction (JSC.Class jsc_class, JSC.Context context, void*
instance, string name, JSC.Value value);
[CCode (cheader_filename = "jsc/jsc.h", instance_pos = 2.9)]
public delegate void ExceptionHandler (JSC.Context context, JSC.Exception exception);
+ [CCode (cheader_filename = "jsc/jsc.h", instance_pos = 3.9)]
+ [Version (since = "2.24")]
+ public delegate bool OptionsFunc (string option, JSC.OptionType type, string? description);
[CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_MAJOR_VERSION")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "jsc/jsc.h", cname = "JSC_MICRO_VERSION")]
diff --git a/vapi/metadata/JavaScriptCore-4.0.metadata b/vapi/metadata/JavaScriptCore-4.0.metadata
index c410f2aa6..c0b9e071b 100644
--- a/vapi/metadata/JavaScriptCore-4.0.metadata
+++ b/vapi/metadata/JavaScriptCore-4.0.metadata
@@ -1,3 +1,6 @@
+options_* parent="JSC.Options" name="options_(.+)"
+OPTIONS_* parent="JSC.Options" name="OPTIONS_(.+)"
+
Class
.add_property.getter closure=-1 destroy=-1 owned=false
.add_property.setter closure=-1 destroy=-1 owned=false
diff --git a/vapi/webkit2gtk-4.0.vapi b/vapi/webkit2gtk-4.0.vapi
index e966646b4..269050839 100644
--- a/vapi/webkit2gtk-4.0.vapi
+++ b/vapi/webkit2gtk-4.0.vapi
@@ -635,6 +635,8 @@ namespace WebKit {
public bool get_draw_compositing_indicators ();
[Version (since = "2.2")]
public bool get_enable_accelerated_2d_canvas ();
+ [Version (since = "2.24")]
+ public bool get_enable_back_forward_navigation_gestures ();
public bool get_enable_caret_browsing ();
public bool get_enable_developer_extras ();
public bool get_enable_dns_prefetching ();
@@ -647,6 +649,8 @@ namespace WebKit {
public bool get_enable_hyperlink_auditing ();
public bool get_enable_java ();
public bool get_enable_javascript ();
+ [Version (since = "2.24")]
+ public bool get_enable_javascript_markup ();
[Version (since = "2.22")]
public bool get_enable_media_capabilities ();
[Version (since = "2.4")]
@@ -701,6 +705,8 @@ namespace WebKit {
public void set_draw_compositing_indicators (bool enabled);
[Version (since = "2.2")]
public void set_enable_accelerated_2d_canvas (bool enabled);
+ [Version (since = "2.24")]
+ public void set_enable_back_forward_navigation_gestures (bool enabled);
public void set_enable_caret_browsing (bool enabled);
public void set_enable_developer_extras (bool enabled);
public void set_enable_dns_prefetching (bool enabled);
@@ -713,6 +719,8 @@ namespace WebKit {
public void set_enable_hyperlink_auditing (bool enabled);
public void set_enable_java (bool enabled);
public void set_enable_javascript (bool enabled);
+ [Version (since = "2.24")]
+ public void set_enable_javascript_markup (bool enabled);
[Version (since = "2.22")]
public void set_enable_media_capabilities (bool enabled);
[Version (since = "2.4")]
@@ -768,6 +776,8 @@ namespace WebKit {
public bool draw_compositing_indicators { get; set construct; }
[Version (since = "2.2")]
public bool enable_accelerated_2d_canvas { get; set construct; }
+ [Version (since = "2.24")]
+ public bool enable_back_forward_navigation_gestures { get; set construct; }
public bool enable_caret_browsing { get; set construct; }
public bool enable_developer_extras { get; set construct; }
public bool enable_dns_prefetching { get; set construct; }
@@ -780,6 +790,8 @@ namespace WebKit {
public bool enable_hyperlink_auditing { get; set construct; }
public bool enable_java { get; set construct; }
public bool enable_javascript { get; set construct; }
+ [Version (since = "2.24")]
+ public bool enable_javascript_markup { get; set construct; }
[Version (since = "2.22")]
public bool enable_media_capabilities { get; set construct; }
[Version (since = "2.4")]
@@ -944,8 +956,6 @@ namespace WebKit {
public async GLib.List<WebKit.Plugin> get_plugins (GLib.Cancellable? cancellable) throws
GLib.Error;
[Version (since = "2.4")]
public WebKit.ProcessModel get_process_model ();
- [Version (since = "2.24")]
- public bool get_sandbox_enabled ();
public unowned WebKit.SecurityManager get_security_manager ();
public bool get_spell_checking_enabled ();
[CCode (array_length = false, array_null_terminated = true)]
@@ -973,8 +983,6 @@ namespace WebKit {
public void set_preferred_languages ([CCode (array_length = false, array_null_terminated =
true)] string[]? languages);
[Version (since = "2.4")]
public void set_process_model (WebKit.ProcessModel process_model);
- [Version (since = "2.24")]
- public void set_sandbox_enabled (bool enabled);
public void set_spell_checking_enabled (bool enabled);
public void set_spell_checking_languages ([CCode (array_length = false, array_null_terminated
= true)] string[] languages);
public void set_tls_errors_policy (WebKit.TLSErrorsPolicy policy);
@@ -1620,6 +1628,9 @@ namespace WebKit {
[CCode (cheader_filename = "webkit2/webkit2.h")]
public static uint get_minor_version ();
[CCode (cheader_filename = "webkit2/webkit2.h")]
+ [Version (since = "2.24")]
+ public static string? uri_for_display (string uri);
+ [CCode (cheader_filename = "webkit2/webkit2.h")]
[Version (since = "2.8")]
public static bool user_media_permission_is_for_audio_device (WebKit.UserMediaPermissionRequest
request);
[CCode (cheader_filename = "webkit2/webkit2.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]