Commit Graph

77006 Commits

Author SHA1 Message Date
Lukas Tenbrink 6c82cf0737 Optimize text rendering by caching UBreakIterator instances. 2025-01-29 14:03:03 +01:00
风青山 7230932dba Fix ui navigation break
Use `is_visible_in_tree()` instead of `is_visible()` to check for
invisible controls.
2025-01-29 20:57:59 +08:00
风青山 343b37dfc1 Add unit tests for control focus navigation
Users can navigate focus between controls using `ui_focus_next` or
`ui_focus_prev actions`. Add unit tests for these behaviors.
2025-01-29 20:51:02 +08:00
Jakub Marcowski 104857687c Update ucaps.h to contain proper case matchings 2025-01-29 12:37:33 +01:00
Pedro J. Estébanez a20934c8e4 Optimize enumeration of global classes in create dialog and autocomplete 2025-01-29 09:39:50 +01:00
Pedro J. Estébanez 318af42020 Include more attributes in the global class names cache 2025-01-29 09:39:50 +01:00
MathdudeMan 964cd6525e Fix: Mass property particle shader error 2025-01-28 21:00:26 -05:00
Thaddeus Crews a013481b09 Merge pull request #102133 from DarioSamo/particles-clear-color-fix
Fix framebuffer clear for particle collider heightfield.
2025-01-28 16:08:59 -06:00
Thaddeus Crews 3c3ff85d33 Merge pull request #101913 from Giganzo/color-hide-button
Fix ColorPicker hide save/load swatches for presets_visible
2025-01-28 16:08:58 -06:00
Thaddeus Crews 3c80c14092 Merge pull request #101924 from adamscott/game-editor-non-cached-mouse-mode
Delegate handling `mouse_mode` to the `DisplayServer`
2025-01-28 16:08:56 -06:00
Thaddeus Crews ab67fd7dee Merge pull request #102042 from ChildLearningClub/master
Change if false to if true "Emoji and Symbols" menu is enabled.
2025-01-28 16:08:55 -06:00
Pāvels Nadtočajevs d9bba03392 [Windows] Remove unused code from godot_windows.cpp. 2025-01-28 20:12:47 +02:00
Justin Sasso 8a4bc9881f Add linux-bionic RID Export Option
Adds an export option to enable the linux-bionic RID so Android can export with NativeAOT enabled.
2025-01-28 12:54:10 -05:00
ChildLearningClub 2710c359d6 Changed if false to if true "Emoji and Symbols" menu is enabled. 2025-01-28 18:42:05 +01:00
DarioSamo 5c7fd16eea Fix framebuffer clear for particle collider heightfield. 2025-01-28 14:22:30 -03:00
Lukas Tenbrink f52c9e342c Optimize Font calculations by avoiding unnecessary copy-on-write. 2025-01-28 18:15:59 +01:00
David Snopek e904c0c014 Fix memory leak when ClassDB::bind_method_custom() fails 2025-01-28 11:10:35 -06:00
Adam Scott 47f553ae0b Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
2025-01-28 11:22:27 -05:00
Fabio Alessandrelli a2f5eb9cf0 [WS] Fix wslay multi-frame message parsing (again)
We incorrectly assumed that the `payload_length` in the recv start
callback of wslay was the final message size, but according to the
WebSocket  protocol, the payload length always refers to the current
frame's payload size.

The protocol, in fact, do not include a "message payload" length on
purpose to allow sending messages of unknown size without forcing the
sender to buffer the whole message (RFC6455 Section 5.4).

This means a receiving peer has no way to know beforehand how long a
message will be, and needs instead to keep track of the length of each
frame until the FIN one is received to properly reconstruct the message
at the end.
2025-01-28 16:26:11 +01:00
Thaddeus Crews 71d80b26a4 Merge pull request #100371 from larspet/audio-bus-uid
Fix default `AudioBusLayout` not loading correctly if path is set in Project Settings
2025-01-28 09:03:44 -06:00
Thaddeus Crews 998a21782f Merge pull request #101768 from KoBeWi/just_spread_the_code_with_another_layer_of_hacks_what_can_go_wrong_huh
Fix inspector jumping when gaining focus
2025-01-28 09:03:43 -06:00
Thaddeus Crews d571eeaec1 Merge pull request #101933 from KoBeWi/embedded_problems_require_embedded_solutions
Fix ProgressDialog in single window mode
2025-01-28 09:03:42 -06:00
Thaddeus Crews b7deb853c9 Merge pull request #102029 from mihe/jolt/area-mass-properties
Override mass properties for `Area3D` when using Jolt Physics
2025-01-28 09:03:40 -06:00
Thaddeus Crews 808c25f453 Merge pull request #102089 from adamscott/fix-curve-texture-web
Add check for float texture linear filtering support
2025-01-28 09:03:39 -06:00
Thaddeus Crews 1d11751b15 Merge pull request #101899 from havi05/itemlist-fix-textoverrun
ItemList: Fix `text_overrun_behavior`
2025-01-28 09:03:38 -06:00
Thaddeus Crews d421cccf0b Merge pull request #102099 from mihe/pck-patch-bug
Fix patch PCKs incorrectly marking imported resources for removal
2025-01-28 09:03:36 -06:00
Thaddeus Crews 5ac6bce58d Merge pull request #102105 from clayjohn/SDFGI-unflip-normal
Avoid flipping normal based on facing direction when calculating SDF
2025-01-28 09:03:34 -06:00
Thaddeus Crews 1aed2f577e Merge pull request #100904 from kiroxas/fixVariantMSVCWorkaround
Fix MSVC Variant Workaround
2025-01-28 09:03:33 -06:00
Thaddeus Crews 55c9dbc043 Merge pull request #102003 from Meorge/app-bundle-date
Update the app bundle's access and modified times to match the build time on macOS
2025-01-28 09:03:32 -06:00
Thaddeus Crews ef4940c429 Merge pull request #101918 from Yelloween10/fix-subresources-shortcut
Fix Make Sub-Resources Unique shortcut focus
2025-01-28 09:03:31 -06:00
Thaddeus Crews b238fe25e1 Merge pull request #101996 from syntaxerror247/fix-swipe-to-dismiss
Android: Keep swipe-to-dismiss disabled by default
2025-01-28 09:03:30 -06:00
Thaddeus Crews 108e662bea Merge pull request #102006 from Hilderin/fix-embedded-game-paused
Fix flickering in embedded game when paused
2025-01-28 09:03:19 -06:00
Dario d0c29faa15 Mark pipeline compilation of ubershaders as high priority. 2025-01-28 11:40:05 -03:00
Dario 655e98b2ea Fix default SDFGI variant not being compiled in time. 2025-01-28 10:24:46 -03:00
kleonc 24b502b13a Fix Y-sorted root item having modulation applied twice 2025-01-28 14:21:36 +01:00
Robert Yevdokimov c7fd0bb740 Make save confirmation a child of last exclusive window of EditorNode before popup 2025-01-28 11:28:48 +04:00
Kayne Ruse a3728cb387 Specified max_slides must be greater than zero 2025-01-28 17:40:39 +11:00
Adam Scott 60913170c6 Add check for float texture linear filtering support
Co-authored-by: Clay John <claynjohn@gmail.com>
2025-01-27 22:12:08 -05:00
clayjohn a525e30c27 Avoid flipping normal based on facing direction when calculation SDF. This shader runs for multiple directions, so the flip direction won't be accurate and just creates bad normals 2025-01-27 16:48:29 -08:00
kobewi 7a85b19e5a Fix ProgressDialog in single window mode 2025-01-27 22:57:14 +01:00
kobewi cc2ea339d8 Mark main screen plugin names for translation 2025-01-27 22:31:47 +01:00
Hilderin 3580509fee Fix flickering in embedded game when paused 2025-01-27 16:21:08 -05:00
Mikael Hermansson fddf30d028 Fix patch PCKs incorrectly marking imported resources for removal 2025-01-27 21:00:06 +01:00
Silc Lizard (Tokage) Renew cb7085340e Add saving flag hack to Skeleton and revert reset timing of animation 2025-01-28 03:52:01 +09:00
Anish Mishra 6df21a8fdc Android: Keep swipe-to-dismiss disabled by default 2025-01-27 23:45:58 +05:30
Hugo Locurcio daa6198925 Add built-in GUI to display license notices
Press Ctrl/Cmd + Shift + L (`ui_toggle_licenses_dialog` built-in action)
to show/hide the notices dialog.

The dialog can be shown via script using
`SceneTree.licenses_dialog_visible = true|false`.

Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2025-01-27 18:35:04 +01:00
kobewi 9226424401 Fix inspector jumping when gaining focus 2025-01-27 17:41:18 +01:00
风青山 f7397a0fee Remove confusing Control::is_top_level_control()
It's hard to tell at first glance under what circumstances `is_top_level_control()`
returns `true`. So it's hard to decide when to use this method. And it seems to be
just a helper function for `Control::get_root_parent_control()`.

`is_top_level_control()` seems to only return `true` during entry and exit of canvas.
2025-01-28 00:29:23 +08:00
Thaddeus Crews 6dc78c8aa1 Merge pull request #101771 from bruvzg/lbl_line_valign
Fix Label vertical line alignment.
2025-01-27 09:46:27 -06:00
Thaddeus Crews 2776715ace Merge pull request #101970 from raulsntos/dotnet/signal-obsolete-everything
[.NET] Add Obsolete attribute to signal trampolines and emitter functions
2025-01-27 09:46:26 -06:00