1
0
Fork 0
Commit Graph

11021 Commits

Author SHA1 Message Date
Thaddeus Crews 8868c7a329
Merge pull request #105518 from syntaxerror247/fixed-panel
Embed TouchActionsPanel directly into the Android editor UI
2025-04-21 08:24:18 -05:00
ExEago 4115b813fe Add two methods to compute the height and width of an individual line in a RichTextLabel 2025-04-21 10:25:47 +02:00
Anish Mishra 34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
Pāvels Nadtočajevs 24bb0d5c4f
Use SVGTextures for editor and default theme icons. 2025-04-19 12:48:24 +03:00
Pāvels Nadtočajevs 9f5048fb36
Implement SVGTexture auto-scalable with font oversampling. 2025-04-19 12:42:54 +03:00
Hugo Locurcio d403878a71
Document `Vector2.from_angle()` not always returning a normalized vector 2025-04-17 16:33:57 +02:00
Thaddeus Crews 09ea7bc6a3
Merge pull request #105400 from bruvzg/ov_cleanup
Remove old oversampling property from font importers.
2025-04-17 09:14:25 -05:00
Thaddeus Crews 03a44c42dd
Merge pull request #105484 from Wierdox/normalize_description_of_list_directory
Normalize description of `ResourceLoader.list_directory()`
2025-04-17 09:14:25 -05:00
Thaddeus Crews 5df4a0ae3d
Merge pull request #105291 from jaydensipe/rename-editor-setting-check-for-update
Rename editor setting `Engine Version Update Mode` to `Check for Updates`
2025-04-17 09:14:24 -05:00
Thaddeus Crews 98aced4e65
Merge pull request #99768 from dsnopek/openxr-vulkan-foveated-rendering
OpenXR: Use the `XR_FB_foveation_vulkan` extension to get the density map for VRS
2025-04-17 09:14:23 -05:00
Wierdox 0689522e61 Normalize description of ResourceLoader.list_directory() 2025-04-17 00:09:44 -07:00
Jayden Sipe 5f7e9a9198 Rename editor setting to `Check for Updates` 2025-04-16 18:04:30 -04:00
Thaddeus Crews c5c1cd4440
Merge pull request #105453 from reduz/signals-thread-safe
Add thread safety to Object signals
2025-04-16 15:39:22 -05:00
Thaddeus Crews 4d55d9865b
Merge pull request #105304 from KoBeWi/≥
Fix `exp_edit` description
2025-04-16 15:39:21 -05:00
Thaddeus Crews 0110048d46
Merge pull request #104826 from smix8/navregion_iteration_id
Add function to get navigation region iteration id from NavigationServer
2025-04-16 10:45:13 -05:00
Thaddeus Crews 7d4ba0759c
Merge pull request #105322 from bruvzg/remove_dbg_draw
Remove debug focus rect draws from MenuBar and GraphNode.
2025-04-16 10:45:12 -05:00
Thaddeus Crews 00bd421089
Merge pull request #105222 from kitbdev/fix-mouse-filter-recursive-and-rename
Fix and rename mouse filter recursive behavior and focus mode recursive behavior
2025-04-16 10:45:12 -05:00
Juan 2f39d8ebef Add thread safety to Object signals
* It turns out the majority of this work was done already by AThousandShips as part of #89451. This allows to do lock-less emitting of signals.
* This means, that only the signal map needs to be protected, making the task simple and without risk of deadlocks, or affecting performance.
* Objects can choose to not protect signals for performance (as example Node uses thread guards for protection, so these signals are not thread safe).
2025-04-16 17:14:44 +02: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
Thaddeus Crews 66c3d0d6ea
Merge pull request #104006 from Wierdox/fix_incomplete_description_for_list_directory
Fix incomplete description for `ResourceLoader.list_directory()`
2025-04-15 12:28:45 -05:00
smix8 2b8531d944 Add function to get navigation region iteration id from NavigationServer
Adds function to get navigation region iteration id from NavigationServer.
2025-04-15 19:17:45 +02:00
Hendrik Brucker 867fbd8be3 Fix GraphEdit connections not updating when a child of GraphNode goes invisible or changes size 2025-04-15 18:31:17 +02:00
Wierdox 368335bf0a Fix incomplete description for ResourceLoader.list_directory() 2025-04-15 01:51:23 -07:00
&Olga 8d796d826e
Fix typo in the description of RandomNumberGenerator.state
The second note of this doc mentions that "the value documented here is [...] not the actual default seed". I have corrected this to say that it's not the default "state" instead, since it has no reason to ever match the seed.
2025-04-15 12:14:38 +04:00
Pāvels Nadtočajevs 92e7a6ff8f
Remove old oversampling property from font importers. 2025-04-15 08:22:17 +03:00
Thaddeus Crews 6989a0897c
Merge pull request #105287 from Calinou/doc-gdscript-nan
Improve documentation on `is_nan()` and `NAN` constant
2025-04-14 19:39:49 -05:00
Pāvels Nadtočajevs 4afeca3bcf
Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
MewPurPur 6a19128a1a Improve get_cursor_shape() documentation 2025-04-13 20:11:46 +03:00
Pāvels Nadtočajevs 5688d30439
Remove debug focus rect draws from MenuBar and GraphNode. 2025-04-12 21:05:18 +03:00
kobewi 23a0b7d4d0 Fix exp_edit description 2025-04-12 11:49:26 +02:00
Thaddeus Crews 215acd52e8
Merge pull request #105054 from Mickeon/documentation-typo-packed-arrays
Fix typo in common note for packed arrays
2025-04-11 13:29:14 -05:00
Hugo Locurcio a0b796218a
Improve documentation on `is_nan()` and `NAN` constant 2025-04-11 20:25:16 +02:00
Thaddeus Crews d236bd8633
Merge pull request #99543 from KoBeWi/using_rng_to_destroy_rng
Add `create_id_for_path()` to ResourceUID
2025-04-11 09:51:12 -05:00
Thaddeus Crews 9b3e445e47
Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
Thaddeus Crews 4972a524fc
Merge pull request #96139 from Alex2782/reverting_pr_84331
Add configuration option to disable `Scroll Deadzone` on Android
2025-04-11 09:51:08 -05:00
kobewi ff1f040893 Add create_id_for_path() to ResourceUID 2025-04-11 00:53:34 +02:00
Thaddeus Crews 297650a912
Merge pull request #93466 from bruvzg/alt_oem
[TextEdit / LineEdit] Add support for OEM Alt codes input.
2025-04-10 16:53:46 -05:00
Thaddeus Crews 31bb3be5a6
Merge pull request #105145 from bruvzg/swap_pba
Add bswap methods to the `PackedByteArray` bindings.
2025-04-10 16:53:46 -05:00
Thaddeus Crews 4c66c21542
Merge pull request #103024 from cruglet/master
TabBar: Add boolean toggle for middle-click to fire `tab_close_pressed` signal.
2025-04-10 16:53:44 -05:00
Priahoud bf963e767e Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
Micky e935fb1ee2 Fix miscellaneous oddities around the class reference (part 4) 2025-04-10 17:56:58 +02:00
Thaddeus Crews cf746fd1b0
Merge pull request #105051 from Mickeon/documentation-no-differences-PhysicsDirectSpaceState
Fix differences between PhysicsDirectSpaceState2D/3D docs
2025-04-10 10:18:19 -05:00
Thaddeus Crews ed13d794a8
Merge pull request #104378 from DarkiStar/master
Documentation: Fix `hex_decode()` example in `String` and `StringName`
2025-04-10 10:18:19 -05:00
Thaddeus Crews cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
Thaddeus Crews 6eef564696
Merge pull request #105133 from ProgrammerOnCoffee/edit-material-renderpriority-doc
Fix misleading `Material::render_priority` description
2025-04-10 10:18:13 -05:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
Aaron Franke e96828673f
Allow completely opting out of name suffix magic in 3D scene import 2025-04-10 01:11:54 -07:00
Micky 16df264750 Fix differences between PhysicsDirectSpaceState2D/3D docs 2025-04-10 09:26:39 +02:00
bruvzg aa0ade5b49
[TextEdit / LineEdit] Add support for OEM Alt codes input. 2025-04-10 08:52:19 +03:00
kit d16e8b7ca4 Fix and rename mouse filter recursive behavior
and focus mode recursive behavior.
2025-04-09 23:45:03 -04:00
Thaddeus Crews 80350c5b84
Merge pull request #105075 from heyitszackb/add-clarity-to-canvas-layer-docs
Add missing word to canvas layer docs
2025-04-09 18:12:02 -05:00
Thaddeus Crews cf3f02c550
Merge pull request #94143 from Mickeon/documentation-object-connect-to-signal-too-long-didn't-read
Move and simplify Object's `connect` description slightly
2025-04-09 18:11:59 -05:00
Thaddeus Crews 7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Thaddeus Crews 997cdc47dc
Merge pull request #105126 from ProgrammerOnCoffee/fix-codeedit-typos
Fix CodeEdit typos
2025-04-09 18:11:56 -05:00
Thaddeus Crews ae80141a54
Merge pull request #103306 from Calinou/macos-intel-vulkan-disable-texture-array-reflections
Disable texture array reflections on Intel GPUs on macOS due to driver bugs
2025-04-09 18:11:52 -05:00
Pāvels Nadtočajevs 7c4d45ba3b
Add bswap methods to the `PackedByteArray` bindings. 2025-04-09 18:51:50 +03:00
Thaddeus Crews a8598cd8e2
Merge pull request #71542 from bruvzg/export_project_settings
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-09 08:51:47 -05:00
Thaddeus Crews 604e1c16cd
Merge pull request #104410 from aaronfranke/color-space-doc
Add color space alpha notes to Color documentation
2025-04-09 08:51:43 -05:00
Thaddeus Crews 217d1c6d2f
Merge pull request #105178 from bruvzg/endianess_notes
Remove misleading and incorrect notes about endianness. Fix FileAccess and StreamPeer not doing what name suggests.
2025-04-09 08:51:42 -05:00
Thaddeus Crews e6b2a42053
Merge pull request #83027 from rarysson/array-negative-indexes
Add negative index to `Array.remove_at` and `Array.insert`
2025-04-09 08:51:40 -05:00
Thaddeus Crews 2f47254d24
Merge pull request #105170 from ProgrammerOnCoffee/fix-udpserver-poll-typos
Fix typos in `UDPServer::poll` documentation
2025-04-09 08:51:40 -05:00
Thaddeus Crews 5a84a5da1d
Merge pull request #102346 from KoBeWi/folding_whalegacy
Add `FoldableContainer`
2025-04-09 08:51:38 -05:00
Cruglet 1a1711f1ee Add middle-click removing for TabBars
Added a boolean option field to enable the firing of the "tab_close_pressed" signal when middle clicking on a tab.
2025-04-09 07:56:09 -04:00
Julian Todd daf8eee9cb fix for stereo panning adding _calc_output_vol_stereo issue 103989 2025-04-09 11:02:04 +01:00
Aaron Franke f6515161e1
Add color space alpha notes to Color documentation 2025-04-09 01:25:05 -07:00
Pāvels Nadtočajevs bd98aad3fa
Remove misleading and incorrect notes about endianness. Fix FileAccess and StreamPeer not doing what name suggests. 2025-04-09 11:01:25 +03:00
ProgrammerOnCoffee 766c3482b8
Fix `UDPServer::poll` typos 2025-04-08 18:42:16 -04:00
kobewi 13741ff913 Add FoldableContainer
Co-authored-by: WhalesState <whalesstate@gmail.com>
2025-04-08 22:27:32 +02:00
bruvzg c6739f64df
[Export] Use project settings overrides with the target preset features instead of current platform features. 2025-04-08 21:22:37 +03:00
Rarysson Guilherme fe39ffeb7d Add negative index to `Array.remove_at` and `Array.insert` 2025-04-08 14:55:39 -03:00
Thaddeus Crews e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews 95dc68c8c6
Merge pull request #105107 from bruvzg/min-max-flag
Add separate `minimize_disabled` and `maximize_disabled` window flags.
2025-04-08 12:32:44 -05:00
Thaddeus Crews d98c3f5ffe
Merge pull request #104333 from Mickeon/documentation-even-more-miscellaneous-oddities
Fix *even* more miscellaneous oddities around the class reference
2025-04-08 12:32:41 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
ProgrammerOnCoffee 16d7c55c0f
Edit misleading `Material::render_priority` description 2025-04-07 20:18:09 -04:00
Pāvels Nadtočajevs 9abe2e5294
Add `uri_file_decode` to handle `+` in file names. 2025-04-07 23:49:17 +03:00
Alex cd68034e01 Add configuration option to disable `Scroll Deadzone` on Android 2025-04-07 22:15:31 +02:00
ProgrammerOnCoffee dcf6d16923 Fix CodeEdit typos 2025-04-07 13:50:13 -04:00
Pāvels Nadtočajevs f37fb49739
Add separate `minimize_disabled` and `maximize_disabled` window flags. 2025-04-07 18:58:11 +03:00
Micky 7603945d14 Fix *even* more miscellaneous oddities around the class reference 2025-04-07 17:37:08 +02:00
Thaddeus Crews 742d91bc1c
Merge pull request #105055 from Mickeon/documentation-typo-Windows-exclude-from-capture
Fix typo in Window's `exclude_from_capture`
2025-04-07 08:43:30 -05:00
Thaddeus Crews 21d00f6b9e
Merge pull request #105053 from Mickeon/documentation-typo-RenderingDevice-DataFormat
Fix incorrect data format in RenderingDevice docs
2025-04-07 08:43:30 -05:00
Thaddeus Crews 1b9f269700
Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel
Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
2025-04-07 08:43:24 -05:00
Thaddeus Crews a753cb90c1
Merge pull request #105006 from beicause/pctex-support-comp-image-astc
PortableCompressedTexture: Support ASTC format and creating directly from compressed image
2025-04-07 08:43:23 -05:00
Zack Brandon 75dd416627 add missing word to canvas layer docs 2025-04-05 19:44:37 -04:00
Anish Mishra a5c03dcd08 Add an editor setting to enable/disable TouchActionsPanel
Adds an editor setting to enable/disable TouchActionsPanel.

Automatically hide the panel when hardware keyboard is connected.
2025-04-05 19:07:46 +05:30
Micky f60c98f4e4 Fix typo in Window's `exclude_from_capture` 2025-04-05 14:22:36 +02:00
Micky 86787aeca6 Fix typo in common note for packed arrays 2025-04-05 13:46:00 +02:00
Micky a1254fe5ad Fix incorrect data format in RenderingDevice docs 2025-04-05 12:52:09 +02:00
LuoZhihao 572a15e4b2 PortableCompressedTexture: Support ASTC format and creating directly from compressed image 2025-04-05 18:44:36 +08:00
Anish Mishra b462db5adb Android: Hardware keyboard connection status callback
Adds a DisplayServer method to register hardware keyboard connection change callback.
2025-04-05 08:14:29 +05:30
Riteo 84d3adcf2f Wayland: Implement native sub-windows
The backend is now mature enough to not explode with multiple windows
but the `DisplayServer` API still cannot meet some guarantees required
by the various Wayland protocols we use. To meet those guarantees this
patch adds three new elements to the DisplayServer API, with relative
handling logic for `Window` and `Popup` nodes:

 - `WINDOW_EVENT_FORCE_CLOSE`, which tells a window to *forcefully*
close itself and ensure a proper cleanup of its references, as Wayland
enforces this behavior;

 - `WINDOW_FLAG_POPUP_WM_HINT`, which explicitly declares a window as a
"popup", as Wayland enforces this distinction and heuristics are not
reliable enough;

 - `FEATURE_SELF_FITTING_WINDOWS`, which signals that the compositor can
fit windows to the screen automatically and that nodes should not do
that themselves.

Given the size of this feature, this patch also includes various
`WaylandThread` reworks and fixes including:

 - Improvements to frame wait logic, with fixes to various stalls and a
configurable (through a `#define`) timeout amount;

 - A proper implementation of `window_can_draw`;

 - Complete overhaul of pointer and tablet handling. Now everything is
always accumulated and handled only on each respective `frame` event.
This makes their logic simpler and more robust.

 - Better handling of pointer leaving and pointer enter/exit event
sending;

 - Keyboard focus tracking;

 - More solid window references using IDs instead of raw pointers as
windows can be deleted at any time;

 - More aggressive messaging to window nodes to enforce rects imposed by
the compositor.
2025-04-04 20:23:25 +02:00
Thaddeus Crews 8bd9cdeea6
Merge pull request #104890 from HolonProduction/json-rpc-manual-bind
JSONRPC: Require manual method registration
2025-04-03 16:50:24 -05:00
HolonProduction e2c3731cdd JSONRPC: Require manual method registration 2025-04-03 17:51:03 +02:00
Silc Lizard (Tokage) Renew 96200abb97 Add p_delta argument to _process_modification() and expose advance() 2025-04-03 23:58:54 +09:00
Thaddeus Crews b6c8155439
Merge pull request #104958 from bruvzg/ok_cancel_swap
Make `swap_cancel_ok` setting 3-state instead of boolean.
2025-04-03 09:27:55 -05:00
Thaddeus Crews 2e9a99864f
Merge pull request #99631 from Mickeon/documentation-duplicate-signals-oopsie
Mention `DUPLICATE_SIGNALS` only affects `CONNECT_PERSIST` signals
2025-04-03 09:27:51 -05:00
Lukas Tenbrink 9637a9f72d Change "GDExtension example in C++" links to accommodate the new docs file structure. 2025-04-03 16:01:43 +02:00
Pāvels Nadtočajevs 2f8b96e8a2
Make `swap_cancel_ok` setting 3-state instead of boolean. 2025-04-03 13:08:11 +03:00