From 014eda2535526acda0ca83d3859f8c6cbb218d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 30 Jan 2023 19:42:53 +0100 Subject: [PATCH] Revert "gdextension: Sync with upstream commit 551f5191e5dbc1d1a43f99b13d5dbbf7f598dc58 + PR 69248" This reverts commit 116678372564e9559306baf3830b30518fc5109c. It's not as simple as I thought, needs some local changes too. --- gdextension/extension_api.json | 1353 ++++++-------------------------- 1 file changed, 219 insertions(+), 1134 deletions(-) diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json index 04227f39..b44f143e 100644 --- a/gdextension/extension_api.json +++ b/gdextension/extension_api.json @@ -18978,19 +18978,6 @@ } ] }, - { - "name": "copy", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2307260970, - "arguments": [ - { - "name": "array", - "type": "Array" - } - ] - }, { "name": "insert", "return_type": "int", @@ -19379,6 +19366,20 @@ "is_static": false, "hash": 1460142086 }, + { + "name": "typed_assign", + "return_type": "bool", + "is_vararg": false, + "is_const": false, + "is_static": false, + "hash": 1485459766, + "arguments": [ + { + "name": "array", + "type": "Array" + } + ] + }, { "name": "is_typed", "return_type": "bool", @@ -30736,43 +30737,6 @@ } ] }, - { - "name": "set_input_reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_input_reset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_xfade_time", "is_const": false, @@ -30824,6 +30788,31 @@ "return_value": { "type": "Curve" } + }, + { + "name": "set_reset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "reset", + "type": "bool" + } + ] + }, + { + "name": "is_reset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } } ], "properties": [ @@ -30839,6 +30828,12 @@ "setter": "set_xfade_curve", "getter": "get_xfade_curve" }, + { + "type": "bool", + "name": "reset", + "setter": "set_reset", + "getter": "is_reset" + }, { "type": "int", "name": "input_count", @@ -70756,14 +70751,23 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1262296096, + "hash": 3871247334, "return_value": { "type": "enum::Error" }, "arguments": [ { - "name": "server_options", - "type": "TLSOptions" + "name": "key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" + }, + { + "name": "chain", + "type": "X509Certificate", + "default_value": "null" } ] }, @@ -75641,6 +75645,13 @@ } ] }, + { + "name": "DisplayServerMacOS", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "DisplayServer", + "api_type": "core" + }, { "name": "ENetConnection", "is_refcounted": true, @@ -75957,14 +75968,18 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1262296096, + "hash": 3447544237, "return_value": { "type": "enum::Error" }, "arguments": [ { - "name": "server_options", - "type": "TLSOptions" + "name": "key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" } ] }, @@ -75974,19 +75989,23 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3097527179, + "hash": 2959136280, "return_value": { "type": "enum::Error" }, "arguments": [ + { + "name": "certificate", + "type": "X509Certificate" + }, { "name": "hostname", "type": "String" }, { - "name": "client_options", - "type": "TLSOptions", - "default_value": "null" + "name": "verify", + "type": "bool", + "default_value": "true" } ] }, @@ -106764,7 +106783,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1970282951, + "hash": 2602796911, "return_value": { "type": "enum::Error" }, @@ -106780,9 +106799,14 @@ "default_value": "-1" }, { - "name": "tls_options", - "type": "TLSOptions", - "default_value": "null" + "name": "use_tls", + "type": "bool", + "default_value": "false" + }, + { + "name": "verify_host", + "type": "bool", + "default_value": "true" } ] }, @@ -107185,7 +107209,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2720304520, + "hash": 1899023990, "return_value": { "type": "enum::Error" }, @@ -107199,6 +107223,11 @@ "type": "PackedStringArray", "default_value": "PackedStringArray()" }, + { + "name": "tls_validate_domain", + "type": "bool", + "default_value": "true" + }, { "name": "method", "type": "enum::HTTPClient.Method", @@ -107217,7 +107246,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4282724657, + "hash": 3236422912, "return_value": { "type": "enum::Error" }, @@ -107231,6 +107260,11 @@ "type": "PackedStringArray", "default_value": "PackedStringArray()" }, + { + "name": "tls_validate_domain", + "type": "bool", + "default_value": "true" + }, { "name": "method", "type": "enum::HTTPClient.Method", @@ -107251,20 +107285,6 @@ "is_virtual": false, "hash": 3218959716 }, - { - "name": "set_tls_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2210231844, - "arguments": [ - { - "name": "client_options", - "type": "TLSOptions" - } - ] - }, { "name": "get_http_client_status", "is_const": true, @@ -109040,7 +109060,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4094210332, + "hash": 3422491167, "return_value": { "type": "enum::Error" }, @@ -109054,6 +109074,12 @@ "type": "enum::Image.CompressSource", "default_value": "0" }, + { + "name": "lossy_quality", + "type": "float", + "meta": "float", + "default_value": "0.7" + }, { "name": "astc_format", "type": "enum::Image.ASTCFormat", @@ -109067,7 +109093,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 279105990, + "hash": 180597543, "return_value": { "type": "enum::Error" }, @@ -109080,6 +109106,12 @@ "name": "channels", "type": "enum::Image.UsedChannels" }, + { + "name": "lossy_quality", + "type": "float", + "meta": "float", + "default_value": "0.7" + }, { "name": "astc_format", "type": "enum::Image.ASTCFormat", @@ -110098,7 +110130,7 @@ { "name": "blend_shapes", "type": "typedarray::Array", - "default_value": "Array[Array]([])" + "default_value": "[]" }, { "name": "lods", @@ -141925,958 +141957,6 @@ } ] }, - { - "name": "OpenXRAction", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "ActionType", - "is_bitfield": false, - "values": [ - { - "name": "OPENXR_ACTION_BOOL", - "value": 0 - }, - { - "name": "OPENXR_ACTION_FLOAT", - "value": 1 - }, - { - "name": "OPENXR_ACTION_VECTOR2", - "value": 2 - }, - { - "name": "OPENXR_ACTION_POSE", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_action_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1675238366, - "arguments": [ - { - "name": "action_type", - "type": "enum::OpenXRAction.ActionType" - } - ] - }, - { - "name": "get_action_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536542431, - "return_value": { - "type": "enum::OpenXRAction.ActionType" - } - }, - { - "name": "set_toplevel_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "toplevel_paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_toplevel_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name" - }, - { - "type": "int", - "name": "action_type", - "setter": "set_action_type", - "getter": "get_action_type" - }, - { - "type": "PackedStringArray", - "name": "toplevel_paths", - "setter": "set_toplevel_paths", - "getter": "get_toplevel_paths" - } - ] - }, - { - "name": "OpenXRActionMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "action_sets", - "type": "Array" - } - ] - }, - { - "name": "get_action_sets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_action_set_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1888809267, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1789580336, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2093310581, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "remove_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2093310581, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "set_interaction_profiles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "interaction_profiles", - "type": "Array" - } - ] - }, - { - "name": "get_interaction_profiles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_interaction_profile_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3095875538, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2546151210, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2697953512, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "remove_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2697953512, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "create_default_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "OpenXRActionSet", - "name": "action_sets", - "setter": "set_action_sets", - "getter": "get_action_sets" - }, - { - "type": "OpenXRInteractionProfile", - "name": "interaction_profiles", - "setter": "set_interaction_profiles", - "getter": "get_interaction_profiles" - } - ] - }, - { - "name": "OpenXRActionSet", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_action_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_actions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "actions", - "type": "Array" - } - ] - }, - { - "name": "get_actions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "add_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "remove_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name" - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority" - }, - { - "type": "OpenXRAction", - "name": "actions", - "setter": "set_actions", - "getter": "get_actions" - } - ] - }, - { - "name": "OpenXRHand", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "Hands", - "is_bitfield": false, - "values": [ - { - "name": "HAND_LEFT", - "value": 0 - }, - { - "name": "HAND_RIGHT", - "value": 1 - }, - { - "name": "HAND_MAX", - "value": 2 - } - ] - }, - { - "name": "MotionRange", - "is_bitfield": false, - "values": [ - { - "name": "MOTION_RANGE_UNOBSTRUCTED", - "value": 0 - }, - { - "name": "MOTION_RANGE_CONFORM_TO_CONTROLLER", - "value": 1 - }, - { - "name": "MOTION_RANGE_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_hand", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1849328560, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRHand.Hands" - } - ] - }, - { - "name": "get_hand", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2850644561, - "return_value": { - "type": "enum::OpenXRHand.Hands" - } - }, - { - "name": "set_hand_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "hand_skeleton", - "type": "NodePath" - } - ] - }, - { - "name": "get_hand_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_motion_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3326516003, - "arguments": [ - { - "name": "motion_range", - "type": "enum::OpenXRHand.MotionRange" - } - ] - }, - { - "name": "get_motion_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2191822314, - "return_value": { - "type": "enum::OpenXRHand.MotionRange" - } - } - ], - "properties": [ - { - "type": "int", - "name": "hand", - "setter": "set_hand", - "getter": "get_hand" - }, - { - "type": "int", - "name": "motion_range", - "setter": "set_motion_range", - "getter": "get_motion_range" - }, - { - "type": "NodePath", - "name": "hand_skeleton", - "setter": "set_hand_skeleton", - "getter": "get_hand_skeleton" - } - ] - }, - { - "name": "OpenXRIPBinding", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4072409085, - "return_value": { - "type": "OpenXRAction" - } - }, - { - "name": "get_path_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "has_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "OpenXRAction", - "name": "action", - "setter": "set_action", - "getter": "get_action" - }, - { - "type": "PackedStringArray", - "name": "paths", - "setter": "set_paths", - "getter": "get_paths" - } - ] - }, - { - "name": "OpenXRInteractionProfile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_interaction_profile_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "interaction_profile_path", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_binding_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_binding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3934429652, - "return_value": { - "type": "OpenXRIPBinding" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bindings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "bindings", - "type": "Array" - } - ] - }, - { - "name": "get_bindings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "String", - "name": "interaction_profile_path", - "setter": "set_interaction_profile_path", - "getter": "get_interaction_profile_path" - }, - { - "type": "OpenXRIPBinding", - "name": "bindings", - "setter": "set_bindings", - "getter": "get_bindings" - } - ] - }, - { - "name": "OpenXRInterface", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "XRInterface", - "api_type": "core", - "methods": [ - { - "name": "get_display_refresh_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_display_refresh_rate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "refresh_rate", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_available_display_refresh_rates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "signals": [ - { - "name": "session_begun" - }, - { - "name": "session_stopping" - }, - { - "name": "session_focussed" - }, - { - "name": "session_visible" - }, - { - "name": "pose_recentered" - } - ], - "properties": [ - { - "type": "float", - "name": "display_refresh_rate", - "setter": "set_display_refresh_rate", - "getter": "get_display_refresh_rate" - } - ] - }, { "name": "OptimizedTranslation", "is_refcounted": true, @@ -143862,7 +142942,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1801538152, + "hash": 293566484, "return_value": { "type": "enum::Error" }, @@ -143872,12 +142952,18 @@ "type": "PacketPeerUDP" }, { - "name": "hostname", - "type": "String" + "name": "validate_certs", + "type": "bool", + "default_value": "true" }, { - "name": "client_options", - "type": "TLSOptions", + "name": "for_hostname", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "valid_certificate", + "type": "X509Certificate", "default_value": "null" } ] @@ -152929,7 +152015,7 @@ { "name": "exclude", "type": "typedarray::RID", - "default_value": "Array[RID]([])" + "default_value": "[]" } ] }, @@ -153191,7 +152277,7 @@ { "name": "exclude", "type": "typedarray::RID", - "default_value": "Array[RID]([])" + "default_value": "[]" } ] }, @@ -180687,7 +179773,7 @@ { "name": "specialization_constants", "type": "typedarray::RDPipelineSpecializationConstant", - "default_value": "Array[RDPipelineSpecializationConstant]([])" + "default_value": "[]" } ] }, @@ -180726,7 +179812,7 @@ { "name": "specialization_constants", "type": "typedarray::RDPipelineSpecializationConstant", - "default_value": "Array[RDPipelineSpecializationConstant]([])" + "default_value": "[]" } ] }, @@ -180881,7 +179967,7 @@ { "name": "storage_textures", "type": "Array", - "default_value": "Array[RID]([])" + "default_value": "[]" } ] }, @@ -180946,7 +180032,7 @@ { "name": "storage_textures", "type": "typedarray::RID", - "default_value": "Array[RID]([])" + "default_value": "[]" } ] }, @@ -213582,7 +212668,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4292689651, + "hash": 2359858912, "return_value": { "type": "enum::Error" }, @@ -213592,8 +212678,17 @@ "type": "StreamPeer" }, { - "name": "server_options", - "type": "TLSOptions" + "name": "private_key", + "type": "CryptoKey" + }, + { + "name": "certificate", + "type": "X509Certificate" + }, + { + "name": "chain", + "type": "X509Certificate", + "default_value": "null" } ] }, @@ -213603,7 +212698,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1325480781, + "hash": 127827767, "return_value": { "type": "enum::Error" }, @@ -213613,12 +212708,18 @@ "type": "StreamPeer" }, { - "name": "common_name", - "type": "String" + "name": "validate_certs", + "type": "bool", + "default_value": "false" }, { - "name": "client_options", - "type": "TLSOptions", + "name": "for_hostname", + "type": "String", + "default_value": "\"\"" + }, + { + "name": "valid_certificate", + "type": "X509Certificate", "default_value": "null" } ] @@ -213652,6 +212753,39 @@ "is_static": false, "is_virtual": false, "hash": 3218959716 + }, + { + "name": "set_blocking_handshake_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "is_blocking_handshake_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "bool", + "name": "blocking_handshake", + "setter": "set_blocking_handshake_enabled", + "getter": "is_blocking_handshake_enabled" } ] }, @@ -216517,77 +215651,6 @@ } ] }, - { - "name": "TLSOptions", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "client", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3565000357, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "trusted_chain", - "type": "X509Certificate", - "default_value": "null" - }, - { - "name": "common_name_override", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "client_unsafe", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2090251749, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "trusted_chain", - "type": "X509Certificate", - "default_value": "null" - } - ] - }, - { - "name": "server", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 36969539, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "certificate", - "type": "X509Certificate" - } - ] - } - ] - }, { "name": "TabBar", "is_refcounted": false, @@ -232390,6 +231453,13 @@ } ] }, + { + "name": "TextServerFallback", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "TextServerExtension", + "api_type": "core" + }, { "name": "TextServerManager", "is_refcounted": false, @@ -259767,7 +258837,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3097527179, + "hash": 3369256093, "return_value": { "type": "enum::Error" }, @@ -259777,8 +258847,13 @@ "type": "String" }, { - "name": "tls_client_options", - "type": "TLSOptions", + "name": "verify_tls", + "type": "bool", + "default_value": "true" + }, + { + "name": "tls_certificate", + "type": "X509Certificate", "default_value": "null" } ] @@ -259789,7 +258864,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 337374795, + "hash": 2363339283, "return_value": { "type": "enum::Error" }, @@ -259805,8 +258880,13 @@ "default_value": "\"*\"" }, { - "name": "tls_server_options", - "type": "TLSOptions", + "name": "tls_key", + "type": "CryptoKey", + "default_value": "null" + }, + { + "name": "tls_certificate", + "type": "X509Certificate", "default_value": "null" } ] @@ -260115,7 +259195,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3097527179, + "hash": 3369256093, "return_value": { "type": "enum::Error" }, @@ -260125,8 +259205,13 @@ "type": "String" }, { - "name": "tls_client_options", - "type": "TLSOptions", + "name": "verify_tls", + "type": "bool", + "default_value": "true" + }, + { + "name": "trusted_tls_certificate", + "type": "X509Certificate", "default_value": "null" } ]