From 363ae36db2814c49bede47788d547768ad15ae56 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 8 Dec 2020 20:39:30 +0100 Subject: sync with webkit2-2.30.3 & latest glib2.0 --- NEWS | 2 +- fake_packages/GObject.pm | 4 ++ fake_packages/Gio.pm | 10 +++ fake_packages/Glib/IO.pm | 10 +++ fake_packages/Gtk3/WebKit2.pm | 138 +++++++++++++++++++++++++++++++++++++++++- 5 files changed, 161 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index e570d1c..e28622d 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ - fake packages: - o sync Gtk3 fake package with gtk+3.0-3.24.24 + o sync Glib*/Gtk3*/WebKit fake packages o sync Gtk4 fake package with gtk4-3.99.5 Version 1.2.40 - 4 September 2020, by Thierry Vignaud diff --git a/fake_packages/GObject.pm b/fake_packages/GObject.pm index dcaa085..5ae4af2 100644 --- a/fake_packages/GObject.pm +++ b/fake_packages/GObject.pm @@ -12,6 +12,7 @@ sub TYPE_RESERVED_BSE_LAST { } sub TYPE_RESERVED_GLIB_FIRST { } sub TYPE_RESERVED_GLIB_LAST { } sub TYPE_RESERVED_USER_FIRST { } +sub VALUE_INTERNED_STRING { } sub VALUE_NOCOPY_CONTENTS { } sub boxed_copy { } sub boxed_free { } @@ -99,6 +100,7 @@ sub signal_handlers_destroy { } sub signal_handlers_disconnect_matched { } sub signal_handlers_unblock_matched { } sub signal_has_handler_pending { } +sub signal_is_valid_name { } sub signal_list_ids { } sub signal_lookup { } sub signal_name { } @@ -329,6 +331,7 @@ sub get_name_quark { } sub get_nick { } sub get_qdata { } sub get_redirect_target { } +sub is_valid_name { } sub set_qdata { } sub sink { } sub steal_qdata { } @@ -510,6 +513,7 @@ sub set_gtype { } sub set_instance { } sub set_int { } sub set_int64 { } +sub set_interned_string { } sub set_long { } sub set_object { } sub set_param { } diff --git a/fake_packages/Gio.pm b/fake_packages/Gio.pm index c55c81e..bfafe93 100644 --- a/fake_packages/Gio.pm +++ b/fake_packages/Gio.pm @@ -221,6 +221,7 @@ sub resources_unregister { } sub settings_schema_source_get_default { } sub simple_async_report_gerror_in_idle { } sub tls_backend_get_default { } +sub tls_channel_binding_error_quark { } sub tls_client_connection_new { } sub tls_error_quark { } sub tls_file_database_new { } @@ -245,6 +246,7 @@ sub unix_mount_guess_should_display { } sub unix_mount_guess_symbolic_icon { } sub unix_mount_is_readonly { } sub unix_mount_is_system_internal { } +sub unix_mount_point_at { } sub unix_mount_points_changed_since { } sub unix_mount_points_get { } sub unix_mounts_changed_since { } @@ -1231,6 +1233,7 @@ sub close_async { } sub close_finish { } sub emit_accept_certificate { } sub get_certificate { } +sub get_channel_binding_data { } sub get_database { } sub get_interaction { } sub get_negotiated_protocol { } @@ -1254,6 +1257,7 @@ sub shutdown_finish { } package Gio::DtlsConnectionInterface; sub accept_certificate { } sub g_iface { } +sub get_binding_data { } sub get_negotiated_protocol { } sub handshake { } sub handshake_async { } @@ -3147,6 +3151,9 @@ sub padding { } sub parent_class { } sub verify { } +package Gio::TlsChannelBindingError; +sub quark { } + package Gio::TlsClientConnection; sub copy_session_state { } sub get_accepted_cas { } @@ -3166,6 +3173,7 @@ package Gio::TlsConnection; our @ISA = qw(Gio::IOStream); sub emit_accept_certificate { } sub get_certificate { } +sub get_channel_binding_data { } sub get_database { } sub get_interaction { } sub get_negotiated_protocol { } @@ -3187,6 +3195,7 @@ sub set_use_system_certdb { } package Gio::TlsConnectionClass; sub accept_certificate { } +sub get_binding_data { } sub handshake { } sub handshake_async { } sub handshake_finish { } @@ -3362,6 +3371,7 @@ sub new { } sub set_rate_limit { } package Gio::UnixMountPoint; +sub at { } sub compare { } sub copy { } sub free { } diff --git a/fake_packages/Glib/IO.pm b/fake_packages/Glib/IO.pm index f74a352..cd57ab5 100644 --- a/fake_packages/Glib/IO.pm +++ b/fake_packages/Glib/IO.pm @@ -221,6 +221,7 @@ sub resources_unregister { } sub settings_schema_source_get_default { } sub simple_async_report_gerror_in_idle { } sub tls_backend_get_default { } +sub tls_channel_binding_error_quark { } sub tls_client_connection_new { } sub tls_error_quark { } sub tls_file_database_new { } @@ -245,6 +246,7 @@ sub unix_mount_guess_should_display { } sub unix_mount_guess_symbolic_icon { } sub unix_mount_is_readonly { } sub unix_mount_is_system_internal { } +sub unix_mount_point_at { } sub unix_mount_points_changed_since { } sub unix_mount_points_get { } sub unix_mounts_changed_since { } @@ -1231,6 +1233,7 @@ sub close_async { } sub close_finish { } sub emit_accept_certificate { } sub get_certificate { } +sub get_channel_binding_data { } sub get_database { } sub get_interaction { } sub get_negotiated_protocol { } @@ -1254,6 +1257,7 @@ sub shutdown_finish { } package Glib::IO::DtlsConnectionInterface; sub accept_certificate { } sub g_iface { } +sub get_binding_data { } sub get_negotiated_protocol { } sub handshake { } sub handshake_async { } @@ -3147,6 +3151,9 @@ sub padding { } sub parent_class { } sub verify { } +package Glib::IO::TlsChannelBindingError; +sub quark { } + package Glib::IO::TlsClientConnection; sub copy_session_state { } sub get_accepted_cas { } @@ -3166,6 +3173,7 @@ package Glib::IO::TlsConnection; our @ISA = qw(Glib::IO::IOStream); sub emit_accept_certificate { } sub get_certificate { } +sub get_channel_binding_data { } sub get_database { } sub get_interaction { } sub get_negotiated_protocol { } @@ -3187,6 +3195,7 @@ sub set_use_system_certdb { } package Glib::IO::TlsConnectionClass; sub accept_certificate { } +sub get_binding_data { } sub handshake { } sub handshake_async { } sub handshake_finish { } @@ -3362,6 +3371,7 @@ sub new { } sub set_rate_limit { } package Glib::IO::UnixMountPoint; +sub at { } sub compare { } sub copy { } sub free { } diff --git a/fake_packages/Gtk3/WebKit2.pm b/fake_packages/Gtk3/WebKit2.pm index 4e4f515..d422c94 100644 --- a/fake_packages/Gtk3/WebKit2.pm +++ b/fake_packages/Gtk3/WebKit2.pm @@ -4,6 +4,7 @@ sub EDITING_COMMAND_CREATE_LINK { } sub EDITING_COMMAND_CUT { } sub EDITING_COMMAND_INSERT_IMAGE { } sub EDITING_COMMAND_PASTE { } +sub EDITING_COMMAND_PASTE_AS_PLAIN_TEXT { } sub EDITING_COMMAND_REDO { } sub EDITING_COMMAND_SELECT_ALL { } sub EDITING_COMMAND_UNDO { } @@ -25,6 +26,7 @@ sub uri_for_display { } sub user_content_filter_error_quark { } sub user_media_permission_is_for_audio_device { } sub user_media_permission_is_for_video_device { } +sub user_message_error_quark { } package Gtk3::WebKit2::ApplicationInfo; sub get_name { } @@ -44,8 +46,11 @@ sub get_port { } sub get_proposed_credential { } sub get_realm { } sub get_scheme { } +sub get_security_origin { } sub is_for_proxy { } sub is_retry { } +sub set_can_save_credentials { } +sub set_proposed_credential { } package Gtk3::WebKit2::AuthenticationRequestClass; sub _webkit_reserved0 { } @@ -340,6 +345,63 @@ sub _webkit_reserved2 { } sub _webkit_reserved3 { } sub parent_class { } +package Gtk3::WebKit2::ITPFirstParty; +sub get_domain { } +sub get_last_update_time { } +sub get_website_data_access_allowed { } +sub ref { } +sub unref { } + +package Gtk3::WebKit2::ITPThirdParty; +sub get_domain { } +sub get_first_parties { } +sub ref { } +sub unref { } + +package Gtk3::WebKit2::InputMethodContext; +sub filter_key_event { } +sub get_input_hints { } +sub get_input_purpose { } +sub get_preedit { } +sub notify_cursor_area { } +sub notify_focus_in { } +sub notify_focus_out { } +sub notify_surrounding { } +sub reset { } +sub set_enable_preedit { } +sub set_input_hints { } +sub set_input_purpose { } + +package Gtk3::WebKit2::InputMethodContextClass; +sub _webkit_reserved0 { } +sub _webkit_reserved1 { } +sub _webkit_reserved2 { } +sub _webkit_reserved3 { } +sub _webkit_reserved4 { } +sub _webkit_reserved5 { } +sub _webkit_reserved6 { } +sub _webkit_reserved7 { } +sub committed { } +sub delete_surrounding { } +sub filter_key_event { } +sub get_preedit { } +sub notify_cursor_area { } +sub notify_focus_in { } +sub notify_focus_out { } +sub notify_surrounding { } +sub parent_class { } +sub preedit_changed { } +sub preedit_finished { } +sub preedit_started { } +sub reset { } +sub set_enable_preedit { } + +package Gtk3::WebKit2::InputMethodUnderline; +sub copy { } +sub free { } +sub new { } +sub set_color { } + package Gtk3::WebKit2::InstallMissingMediaPluginsPermissionRequest; sub get_description { } @@ -468,10 +530,18 @@ sub parent_class { } package Gtk3::WebKit2::PluginError; sub quark { } +package Gtk3::WebKit2::PointerLockPermissionRequestClass; +sub _webkit_reserved0 { } +sub _webkit_reserved1 { } +sub _webkit_reserved2 { } +sub _webkit_reserved3 { } +sub parent_class { } + package Gtk3::WebKit2::PolicyDecision; sub download { } sub ignore { } sub Gtk3::WebKit2::PolicyDecision::use { } +sub use_with_policies { } package Gtk3::WebKit2::PolicyDecisionClass; sub _webkit_reserved0 { } @@ -575,6 +645,7 @@ sub font_size_to_pixels { } sub font_size_to_points { } sub get_allow_file_access_from_file_urls { } sub get_allow_modal_dialogs { } +sub get_allow_top_navigation_to_data_urls { } sub get_allow_universal_access_from_file_urls { } sub get_auto_load_images { } sub get_cursive_font_family { } @@ -620,6 +691,7 @@ sub get_hardware_acceleration_policy { } sub get_javascript_can_access_clipboard { } sub get_javascript_can_open_windows_automatically { } sub get_load_icons_ignoring_image_load_setting { } +sub get_media_content_types_requiring_hardware_support { } sub get_media_playback_allows_inline { } sub get_media_playback_requires_user_gesture { } sub get_minimum_font_size { } @@ -633,6 +705,7 @@ sub get_zoom_text_only { } sub new { } sub set_allow_file_access_from_file_urls { } sub set_allow_modal_dialogs { } +sub set_allow_top_navigation_to_data_urls { } sub set_allow_universal_access_from_file_urls { } sub set_auto_load_images { } sub set_cursive_font_family { } @@ -678,6 +751,7 @@ sub set_hardware_acceleration_policy { } sub set_javascript_can_access_clipboard { } sub set_javascript_can_open_windows_automatically { } sub set_load_icons_ignoring_image_load_setting { } +sub set_media_content_types_requiring_hardware_support { } sub set_media_playback_allows_inline { } sub set_media_playback_requires_user_gesture { } sub set_minimum_font_size { } @@ -802,6 +876,24 @@ sub _webkit_reserved2 { } sub _webkit_reserved3 { } sub parent_class { } +package Gtk3::WebKit2::UserMessage; +sub get_fd_list { } +sub get_name { } +sub get_parameters { } +sub new { } +sub new_with_fd_list { } +sub send_reply { } + +package Gtk3::WebKit2::UserMessageClass; +sub _webkit_reserved0 { } +sub _webkit_reserved1 { } +sub _webkit_reserved2 { } +sub _webkit_reserved3 { } +sub parent_class { } + +package Gtk3::WebKit2::UserMessageError; +sub quark { } + package Gtk3::WebKit2::UserScript; sub new { } sub new_for_world { } @@ -833,6 +925,7 @@ sub get_security_manager { } sub get_spell_checking_enabled { } sub get_spell_checking_languages { } sub get_tls_errors_policy { } +sub get_use_system_appearance_for_scrollbars { } sub get_web_process_count_limit { } sub get_website_data_manager { } sub initialize_notification_permissions { } @@ -843,6 +936,7 @@ sub new_ephemeral { } sub new_with_website_data_manager { } sub prefetch_dns { } sub register_uri_scheme { } +sub send_message_to_all_extensions { } sub set_additional_plugins_directory { } sub set_automation_allowed { } sub set_cache_model { } @@ -855,6 +949,7 @@ sub set_sandbox_enabled { } sub set_spell_checking_enabled { } sub set_spell_checking_languages { } sub set_tls_errors_policy { } +sub set_use_system_appearance_for_scrollbars { } sub set_web_extensions_directory { } sub set_web_extensions_initialization_user_data { } sub set_web_process_count_limit { } @@ -863,12 +958,12 @@ package Gtk3::WebKit2::WebContextClass; sub _webkit_reserved0 { } sub _webkit_reserved1 { } sub _webkit_reserved2 { } -sub _webkit_reserved3 { } sub automation_started { } sub download_started { } sub initialize_notification_permissions { } sub initialize_web_extensions { } sub parent { } +sub user_message_received { } package Gtk3::WebKit2::WebInspector; sub attach { } @@ -910,6 +1005,7 @@ sub can_show_mime_type { } sub download_uri { } sub execute_editing_command { } sub execute_editing_command_with_argument { } +sub get_automation_presentation_type { } sub get_back_forward_list { } sub get_background_color { } sub get_context { } @@ -918,7 +1014,9 @@ sub get_editor_state { } sub get_estimated_load_progress { } sub get_favicon { } sub get_find_controller { } +sub get_input_method_context { } sub get_inspector { } +sub get_is_muted { } sub get_main_resource { } sub get_page_id { } sub get_session_state { } @@ -930,6 +1028,7 @@ sub get_tls_info { } sub get_uri { } sub get_user_content_manager { } sub get_website_data_manager { } +sub get_website_policies { } sub get_window_properties { } sub get_zoom_level { } sub go_back { } @@ -964,9 +1063,13 @@ sub save { } sub save_finish { } sub save_to_file { } sub save_to_file_finish { } +sub send_message_to_page { } +sub send_message_to_page_finish { } sub set_background_color { } sub set_custom_charset { } sub set_editable { } +sub set_input_method_context { } +sub set_is_muted { } sub set_settings { } sub set_zoom_level { } sub stop_loading { } @@ -981,7 +1084,6 @@ sub parentClass { } package Gtk3::WebKit2::WebViewClass; sub _webkit_reserved0 { } -sub _webkit_reserved1 { } sub authenticate { } sub close { } sub context_menu { } @@ -1007,6 +1109,7 @@ sub script_dialog { } sub show_notification { } sub show_option_menu { } sub submit_form { } +sub user_message_received { } sub web_process_crashed { } sub web_process_terminated { } @@ -1023,6 +1126,17 @@ sub get_types { } sub ref { } sub unref { } +package Gtk3::WebKit2::WebsiteDataAccessPermissionRequest; +sub get_current_domain { } +sub get_requesting_domain { } + +package Gtk3::WebKit2::WebsiteDataAccessPermissionRequestClass; +sub _webkit_reserved0 { } +sub _webkit_reserved1 { } +sub _webkit_reserved2 { } +sub _webkit_reserved3 { } +sub parent_class { } + package Gtk3::WebKit2::WebsiteDataManager; sub clear { } sub clear_finish { } @@ -1032,15 +1146,24 @@ sub get_base_cache_directory { } sub get_base_data_directory { } sub get_cookie_manager { } sub get_disk_cache_directory { } +sub get_dom_cache_directory { } sub get_hsts_cache_directory { } sub get_indexeddb_directory { } +sub get_itp_directory { } +sub get_itp_enabled { } +sub get_itp_summary { } +sub get_itp_summary_finish { } sub get_local_storage_directory { } sub get_offline_application_cache_directory { } +sub get_persistent_credential_storage_enabled { } +sub get_service_worker_registrations_directory { } sub get_websql_directory { } sub is_ephemeral { } sub new_ephemeral { } sub remove { } sub remove_finish { } +sub set_itp_enabled { } +sub set_persistent_credential_storage_enabled { } package Gtk3::WebKit2::WebsiteDataManagerClass; sub _webkit_reserved0 { } @@ -1049,6 +1172,17 @@ sub _webkit_reserved2 { } sub _webkit_reserved3 { } sub parent_class { } +package Gtk3::WebKit2::WebsitePolicies; +sub get_autoplay_policy { } +sub new { } + +package Gtk3::WebKit2::WebsitePoliciesClass; +sub _webkit_reserved0 { } +sub _webkit_reserved1 { } +sub _webkit_reserved2 { } +sub _webkit_reserved3 { } +sub parent_class { } + package Gtk3::WebKit2::WindowProperties; sub get_fullscreen { } sub get_geometry { } -- cgit v1.2.1