mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 13:49:54 +00:00
Two fixes for text field accessibility: 1. Fix character count being off by one due to trailing newline always being appended to the last line. Add `is_last_line` parameter to `accessibility_create_sub_text_edit_elements()` to control this. 2. Link adjacent TextRuns via `previous_on_line`/`next_on_line` so screen readers can properly navigate lines. Without these links, AccessKit treats each TextRun as a separate line, causing incorrect announcements when arrowing through multi-line text.
242 lines
19 KiB
Text
242 lines
19 KiB
Text
This file contains the expected output of --validate-extension-api when run against the extension_api.json of the
|
|
4.5-stable tag (the basename of this file).
|
|
|
|
Only lines that start with "Validate extension JSON:" matter, everything else is considered a comment and ignored. They
|
|
should instead be used to justify these changes and describe how users should work around these changes.
|
|
|
|
Add new entries at the end of the file.
|
|
|
|
## Changes between 4.5-stable and 4.6-stable
|
|
|
|
GH-107954
|
|
---------
|
|
Validate extension JSON: API was removed: classes/TCPServer/methods/is_connection_available
|
|
Validate extension JSON: API was removed: classes/TCPServer/methods/is_listening
|
|
Validate extension JSON: API was removed: classes/TCPServer/methods/stop
|
|
Validate extension JSON: API was removed: classes/StreamPeerTCP/methods/disconnect_from_host
|
|
Validate extension JSON: API was removed: classes/StreamPeerTCP/methods/get_status
|
|
Validate extension JSON: API was removed: classes/StreamPeerTCP/methods/poll
|
|
|
|
These were moved to the parent classes, and are still available.
|
|
|
|
|
|
GH-110250
|
|
---------
|
|
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/Control/methods/grab_focus': arguments
|
|
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/Control/methods/has_focus': arguments
|
|
|
|
Optional argument added. Compatibility methods registered.
|
|
|
|
|
|
GH-110867
|
|
---------
|
|
ERROR: Validate extension JSON: Missing field in current API 'classes/FileAccess/methods/get_as_text': arguments. This is a bug.
|
|
|
|
Optional argument removed. Compatibility method registered.
|
|
|
|
|
|
GH-111117
|
|
---------
|
|
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/LineEdit/methods/edit': arguments
|
|
|
|
Optional argument added. Compatibility method registered.
|
|
|
|
|
|
GH-110767
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/get_assigned_animation/return_value': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/get_autoplay/return_value': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/get_current_animation/return_value': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/get_queue/return_value': type changed value in new API, from "PackedStringArray" to "typedarray::StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/set_assigned_animation/arguments/0': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/set_autoplay/arguments/0': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/methods/set_current_animation/arguments/0': type changed value in new API, from "String" to "StringName".
|
|
Validate extension JSON: Error: Field 'classes/AnimationPlayer/signals/current_animation_changed/arguments/0': type changed value in new API, from "String" to "StringName".
|
|
|
|
Return types and parameters changed to StringName to improve performance. Compatibility methods registered; No compatibility system for signal arguments.
|
|
|
|
|
|
GH-111439
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/FileDialog/methods/add_filter/arguments': size changed value in new API, from 2 to 3.
|
|
|
|
Optional argument added. Compatibility method registered.
|
|
|
|
|
|
GH-110433
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/Performance/methods/add_custom_monitor/arguments': size changed value in new API, from 3 to 4.
|
|
|
|
Optional argument added. Compatibility method registered.
|
|
|
|
|
|
GH-110120
|
|
---------
|
|
Validate extension JSON: API was removed: classes/SpringBoneSimulator3D/enums/BoneDirection
|
|
Validate extension JSON: API was removed: classes/SpringBoneSimulator3D/enums/RotationAxis
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/get_end_bone_direction/return_value': type changed value in new API, from "enum::SpringBoneSimulator3D.BoneDirection" to "enum::SkeletonModifier3D.BoneDirection".
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/get_joint_rotation_axis/return_value': type changed value in new API, from "enum::SpringBoneSimulator3D.RotationAxis" to "enum::SkeletonModifier3D.RotationAxis".
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/get_rotation_axis/return_value': type changed value in new API, from "enum::SpringBoneSimulator3D.RotationAxis" to "enum::SkeletonModifier3D.RotationAxis".
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/set_end_bone_direction/arguments/1': type changed value in new API, from "enum::SpringBoneSimulator3D.BoneDirection" to "enum::SkeletonModifier3D.BoneDirection".
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/set_joint_rotation_axis/arguments/2': type changed value in new API, from "enum::SpringBoneSimulator3D.RotationAxis" to "enum::SkeletonModifier3D.RotationAxis".
|
|
Validate extension JSON: Error: Field 'classes/SpringBoneSimulator3D/methods/set_rotation_axis/arguments/1': type changed value in new API, from "enum::SpringBoneSimulator3D.RotationAxis" to "enum::SkeletonModifier3D.RotationAxis".
|
|
|
|
Same enum is defined in SkeletonModifier3D which is a base class of SpringBoneSimulator3D. Compatibility methods registered.
|
|
|
|
|
|
GH-112290
|
|
---------
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedByteArray/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedColorArray/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedFloat32Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedFloat64Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedInt32Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedInt64Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedStringArray/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector2Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector3Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector4Array/methods/duplicate': is_const changed value in new API, from false to true.
|
|
|
|
Duplicate method made const. Compatibility methods registered.
|
|
|
|
|
|
GH-112379
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/DisplayServer/methods/tts_speak/arguments/5': meta changed value in new API, from "int32" to "int64".
|
|
|
|
`utterance_id` argument changed from `int32` to `int64`. No compatibility method needed.
|
|
|
|
|
|
GH-90411
|
|
--------
|
|
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/SplitContainer/methods/clamp_split_offset': arguments
|
|
|
|
Optional argument added for index. Compatibility method registered.
|
|
|
|
|
|
GH-112539
|
|
---------
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedByteArray/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedColorArray/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedFloat32Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedFloat64Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedInt32Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedInt64Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedStringArray/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector2Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector3Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'builtin_classes/PackedVector4Array/methods/bsearch': is_const changed value in new API, from false to true.
|
|
|
|
bsearch method made const. Compatibility methods registered.
|
|
|
|
|
|
GH-109302
|
|
---------
|
|
|
|
Validate extension JSON: Error: Field 'classes/OpenXRExtensionWrapper/methods/_set_instance_create_info_and_get_next_pointer/arguments': size changed value in new API, from 1 to 2.
|
|
Validate extension JSON: Error: Field 'classes/OpenXRExtensionWrapper/methods/_set_instance_create_info_and_get_next_pointer/arguments/0': type changed value in new API, from "void*" to "int".
|
|
Validate extension JSON: JSON file: Field was added in a way that breaks compatibility 'classes/OpenXRExtensionWrapper/methods/_get_requested_extensions': arguments
|
|
|
|
|
|
GH-113172
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_accessors': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_additional_data': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_animation_player': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_animation_players_count': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_animations': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_base_path': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_buffer_views': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_buffers': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_cameras': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_create_animations': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_glb_data': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_handle_binary_image': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_images': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_import_as_skeleton_bones': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_json': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_lights': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_major_version': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_materials': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_meshes': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_minor_version': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_node_index': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_nodes': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_root_nodes': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_scene_name': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_scene_node': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_skeletons': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_skins': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_texture_samplers': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_textures': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_unique_animation_names': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_unique_names': is_const changed value in new API, from false to true.
|
|
Validate extension JSON: Error: Field 'classes/GLTFState/methods/get_use_named_skin_binds': is_const changed value in new API, from false to true.
|
|
|
|
GLTFState getters made const. Compatibility methods registered.
|
|
|
|
|
|
GH-111212
|
|
---------
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/add_filter
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/add_option
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/add_side_menu
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/clear_filename_filter
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/clear_filters
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_access
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_current_dir
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_current_file
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_current_path
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_display_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_file_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_filename_filter
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_filters
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_line_edit
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_option_count
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_option_default
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_option_name
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_option_values
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_selected_options
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/get_vbox
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/invalidate
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/is_showing_hidden_files
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/popup_file_dialog
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_access
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_current_dir
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_current_file
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_current_path
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_display_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_file_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_filename_filter
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_filters
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_option_count
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_option_default
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_option_name
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_option_values
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/methods/set_show_hidden_files
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/access
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/current_dir
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/current_file
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/current_path
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/display_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/file_mode
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/filters
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/option_count
|
|
Validate extension JSON: API was removed: classes/EditorFileDialog/properties/show_hidden_files
|
|
|
|
The errors are false-positives. The removed methods are now part of the new parent class.
|
|
|
|
|
|
GH-107167
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/EditorExportPreset/methods/get_script_export_mode': meta was removed.
|
|
Validate extension JSON: Error: Field 'classes/EditorExportPreset/methods/get_script_export_mode/return_value': type changed value in new API, from "int" to "enum::EditorExportPreset.ScriptExportMode".
|
|
|
|
Change return type from `int` to `EditorExportPreset.ScriptExportMode` enum. Compatibility method registered.
|
|
|
|
|
|
GH-113459
|
|
---------
|
|
Validate extension JSON: Error: Field 'classes/DisplayServer/methods/accessibility_create_sub_text_edit_elements/arguments': size changed value in new API, from 4 to 5.
|
|
|
|
Optional argument added. Compatibility method registered.
|