406 Commits

Author SHA1 Message Date
poohcom1 79f450faaa fix: typo in C# string interp in TYPE_STRING doc 2026-05-01 17:04:12 +07:00
Aaron Franke badab3cfc9 Clarify intrinsic/local Euler rotation order in 3D documentation 2026-03-29 22:24:11 -07:00
Hugo Locurcio 01a5f03461 Clarify PROPERTY_HINT_RANGE and PROPERTY_HINT_LINK in class reference 2026-03-25 23:45:46 +01:00
Rémi Verschelde 0f0f9cae41 Merge pull request #117227 from EdwardChanCH/fix_doc_globalscope_log
Fix doc formatting issue in `@GlobalScope.log()`, `OS.shell_open()`, `JavaScriptBridge.is_js_buffer()`, and `Signal`
2026-03-23 22:34:26 +01:00
Rémi Verschelde 1c3962640d Merge pull request #114796 from KoBeWi/🎭
Improve `KEY_CODE`/`MODIFIER_MASK` description
2026-03-23 12:57:42 +01:00
Edward Chan b27f6a7ef2 Removed existing nested tags and added warnings for nested tags. 2026-03-17 11:50:06 -04:00
Pāvels Nadtočajevs 1306221592 Move accessibility methods/enums from DisplayServer to the AccessibilityServer dedicated singleton. 2026-03-02 13:48:29 +02:00
Ashton Meuser 99cc3f7d51 Add integer limit constants to @GlobalScope 2026-02-18 17:54:39 -08:00
Thaddeus Crews bcbdd73ab9 Merge pull request #116418 from oCHIKIo/master
Input: Add SDL `misc2`-`misc6` gamepad button constants
2026-02-18 17:28:16 -06:00
CHIKI Badreddine bea703ae12 Input: Add missing MISC2-MISC6 gamepad button constants
The MISC2-MISC6 button strings are recognized by SDL3 but were not
mapped in Godot's JoyButton enum, causing 'Unrecognized output string'
warnings for controllers that use these buttons.

This adds:
- JoyButton::MISC2-MISC6 enum values (21-25)
- 'misc2'-'misc6' string mappings in _joy_buttons array
- GDScript bindings for JOY_BUTTON_MISC2 through JOY_BUTTON_MISC6
- Documentation entries in @GlobalScope.xml
- Updates JoyButton::SDL_MAX from 21 to 26
2026-02-17 21:12:23 +00:00
HolonProduction 47bc8f002f LSP: Fix singleton registration 2026-02-16 21:40:19 +01:00
kobewi b8c3f9086c Improve KEY_CODE/MODIFIER_MASK description 2026-01-09 15:09:36 +01:00
Hugo Locurcio 0ec97ce1eb Document suffix hint in PROPERTY_HINT_RANGE 2025-12-17 19:04:48 +01:00
Thaddeus Crews d5df25fdc6 Changed typeof() example to include typeof()
Co-Authored-By: Leftyluupy <99181178+leftyluupy@users.noreply.github.com>
2025-12-08 11:40:48 -06:00
Adam Scott 10c7cb878a Add new monospace related hint strings
- Add hint string `monospace` for `PROPERTY_HINT_{NONE,PASSWORD,PLACEHOLDER_TEXT}` to set the `LineEdit` font monospaced.
- Add hint string `monospace` for `PROPERTY_HINT_MULTILINE_TEXT` to set the `TextEdit` font monospaced.
- Add hint string `no_wrap` for `PROPERTY_HINT_MULTILINE_TEXT` to make the `TextEdit` not wrap lines automatically.

Also:
- Fix issue with `EditorPropertyMultilineText` not updating font properly.
- Add `EditorPropertyMultilineText` tweak flags.
- Add support with GDScript `@export_multiline`.
2025-12-03 12:57:40 -05:00
Thaddeus Crews 791565dc35 Merge pull request #112486 from Calinou/doc-globalscope-instance-from-id-fix-code
Fix GDScript code sample for `@GlobalScope.instance_from_id()`
2025-11-10 08:20:20 -06:00
Hugo Locurcio 5243016bcd Fix GDScript code sample for @GlobalScope.instance_from_id()
The C# version is already correct.
2025-11-07 00:26:24 +01:00
Thaddeus Crews 98bdc37c02 Merge pull request #112066 from KoBeWi/boiler_room_with_arrays_or_something
Improve `PROPERTY_USAGE_ARRAY` description
2025-11-06 08:13:11 -06:00
kobewi b71ed0da92 Improve PROPERTY_USAGE_ARRAY description 2025-11-06 15:04:26 +01:00
Haoyu Qiu 86bf1d95fc Fix StringName not documented for enum hint 2025-11-03 20:25:56 +08:00
smix8 419fc6e22d Make NavigationServer backend engine selectable
Adds engine backend selection for NavigationServers, aka allows to swap navigation module for other backend implementations.
2025-10-30 08:59:06 +01:00
Michael Alexsander f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
Haoyu Qiu a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08:00
Haoyu Qiu 0e5b06c26d Fix various errors in the class reference 2025-06-13 21:14:55 +08:00
Rémi Verschelde 22702244f8 Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Danil Alexeev a7cf2069d5 GDScript: Add abstract methods
Co-authored-by: ryanabx <ryanbrue@hotmail.com>
2025-06-09 20:11:58 +03:00
Hugo Locurcio 5404d98d9f Clarify parameters in @GlobalScope.wrap() being inclusive/exclusive 2025-06-06 19:19:26 +02:00
kobewi 13f642d959 Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Pāvels Nadtočajevs 617e12a6b4 [Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
Logan Detrick 1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Thaddeus Crews 1c4b660312 Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
Thaddeus Crews 3b4cf41ea4 Merge pull request #105368 from lodetrick/editor-typed-hint
Add inspector support for typed property hint formats
2025-04-29 11:24:11 -05:00
Haoyu Qiu fc1488ffdb Fix typo in sqrt classref 2025-04-29 15:30:46 +08:00
Dynamic-Pistol c8fed1e1d0 Add PROPERTY_HINT_INPUT_NAME
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
Logan Detrick 294303eac9 Add inspector support for typed property hints 2025-04-22 01:26:42 -07:00
cier ebe9370724 Add enable checkboxes to editor sections
Fixes https://github.com/godotengine/godot-proposals/issues/4173
2025-04-15 13:49:41 -07:00
Hugo Locurcio a0b796218a Improve documentation on is_nan() and NAN constant 2025-04-11 20:25:16 +02:00
Thaddeus Crews 49cc57a75d Merge pull request #100926 from abstractionfactory/godot-4.4-dictionary-docs
Add explanation for the `PROPERTY_HINT_DICTIONARY_TYPE` data format
2025-03-12 13:17:16 -05:00
David Snopek e0370b9596 Bind new core METHOD_FLAG_VIRTUAL_REQUIRED bitfield 2025-02-25 16:46:50 -06:00
AbstractionFactory 0f419898d7 Adding explanation for the PROPERTY_HINT_DICTIONARY_TYPE data format
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-02-16 16:04:37 +01:00
Micky ca4b29b18d Standardize all "Prints" comments in documentation 2024-12-23 21:26:00 +01:00
Thaddeus Crews b97c8b37f6 Merge pull request #98441 from Yelloween10/fix-modifier-mask
Fix incorrect `KEY_MODIFIER_MASK` value
2024-12-23 11:15:17 -06:00
Raul Santos 072ff85f82 [.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
Yelloween 0153cb8c16 Fix incorrect MODIFIER_MASK value
Updated key modifier mask and documented API change

Changed the old value

Changed the old value inside the .expected file

Resolved Conflicts

Moved changes to the end
2024-12-18 02:59:29 +03:00
Rémi Verschelde 66b8101cef Merge pull request #95460 from m4gr3d/enable_mouse_forward_back_buttons
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-12-17 22:59:20 +01:00
Thaddeus Crews 9c9af038d5 Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
Danil Alexeev 80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
HP van Braam 6f7525c396 Improve Scene Tree editor performance
We now cache the Node*<>TreeItem* mapping in the SceneTreeEditor. This
allows us to make targeted updates to the Tree used to display the scene
tree in the editor.

Previously on almost all changes to the scene tree the editor would
rebuild the entire widget, causing a large number of deallocations an
allocations. We now carefully manipulate the Tree widget in-situ saving
a large number of these allocations.

In order to know what Nodes need to be updated we add a
editor_state_changed signal to Node, this is a TOOLS_ENABLED,
editor-only signal fired when changes to Node happen that are relevant
to editor state.

We also now make sure that when nodes are moved/renamed we don't check
expensive properties that cannot contain NodePaths. This saves a lot of
time when SceneTreeDock renames a node in a scene with a lot of
MeshInstances. This makes renaming nodes go from ~27 seconds to ~2
seconds on large scenes.

SceneTreeEditor instances will now also not do all of the potentially
expensive update work if they are invisible. This behavior is turned off
by default so it won't affect existing users. This change allows the
editor to only update SceneTreeEditors that actually in view. In
practice this means that for most changes instead of updating 6
SceneTreeEditors we only update 1 instantly, and the others only when
they become visible.

There is definitely more that could be done, but this is already a
massive improvement. In complex scenes we see an improvement of 10x,
things that used to take ~30 seconds now only take 2.

This fixes #83460

I want to thank KoBeWi, TokisanGames, a-johnston, aniel080400 for
their tireless testing. And AeioMuch for their testing and providing a
fix for the hover issue.
2024-12-12 22:47:05 +01:00
Thaddeus Crews 473c28b1ad Merge pull request #98118 from bruvzg/escape_colors
Add support for 24-bit color escape sequences, simplify `print_rich` BBCode parsing.
2024-12-09 14:33:25 -06:00