Commit Graph

71581 Commits

Author SHA1 Message Date
65c795eb35 Clarify the behavior of Control.layout_direction in the documentation 2025-02-11 16:56:22 +01:00
172fc62c80 Merge pull request #102698 from HolonProduction/no-null-safety
Autocompletion: Account for invalid annotations when making arghint
2025-02-11 10:54:42 +01:00
65b81646a4 Merge pull request #102688 from caleb98/master
Fix TileMapLayer bug where dirty cells could be marked twice
2025-02-11 10:54:39 +01:00
dd8a55d899 Merge pull request #102683 from Calinou/editor-input-map-keep-focus-on-new-entry
Fix focus being lost after adding a new input map entry in the editor
2025-02-11 10:54:35 +01:00
b1b9a178f9 Merge pull request #102678 from KoBeWi/uid_open_dialog
Improve path handling in EditorQuickOpenDialog
2025-02-11 10:54:31 +01:00
e912241f4d Merge pull request #102674 from Riteo/waiting-for-frame
Wayland: Fix engine stalls while waiting frames
2025-02-11 10:54:28 +01:00
f9c233c369 Merge pull request #102673 from akien-mga/linux-wayland-so_wrap-disabled
Wayland: Fix build config with `so_wrap` disabled
2025-02-11 10:54:24 +01:00
5460fe3994 Merge pull request #102653 from lawnjelly/fti_fix_client_ticking_4
Physics Interpolation - Fix client interpolation pump
2025-02-11 10:54:21 +01:00
ea0226c65d Merge pull request #102652 from lawnjelly/fti_auto_reset_mode_change_4
Physics Interpolation - Auto-reset on `set_physics_interpolation_mode()`
2025-02-11 10:54:18 +01:00
0d4d70d5a6 Merge pull request #102587 from bruvzg/s_pa_tst
[Tests] Add `Packed*Array` `to_byte_array` variant call tests.
2025-02-11 10:54:14 +01:00
3a44dc9894 Merge pull request #102397 from bruvzg/fd_select
[FileDialog] Update filename/buttons state when first item is selected on folder/filter change.
2025-02-11 10:54:11 +01:00
f3e20342f9 Merge pull request #102332 from Maran23/escape-close
Fix Escape does not work the first time when pressed at the Find(Replace)Bar
2025-02-11 10:54:07 +01:00
62d22ffa6b Merge pull request #98216 from pafuent/fixing_log_rotation
Fix file logging log rotation
2025-02-11 10:54:01 +01:00
ecff011671 [FileDialog] Update filename/buttons state when first item is selected on folder/filter change. 2025-02-11 11:18:23 +02:00
62eebf1266 Autocompletion: Account for invalid annotations when making arghint 2025-02-11 09:17:22 +01:00
7404873b66 Fix TileMapLayer bug where dirty cells could be marked twice
When using runtime data in a TileMapLayer, calling notify_runtime_tile_update
can cause error messages to be printed to the console if the same cell has been
set or erased in the same frame. This could be partially worked around by using
call_deferred on notify_runtime_tile_update, but the problem could re-emerge if
those updates were being made in coroutines.

This commit addresses the issue by adding an additional check to the dirty cell
marking of the TileMapLayer when notify_runtime_tile_update is called. This
check ensures that the cell has not already been added to the dirty cell list,
preventing the condition that causes the error message.
2025-02-10 22:18:10 -05:00
cbd68eb403 Wayland: Fix engine stalls wihle waiting frames
There were two edge cases in the frame waiting logic (aka manual frame
throttling or emulated vsync) which would cause the editor to stall in
one way or another:

 1. Waiting right after starting the editor would cause a deadlock
between both threads until something happened in the Wayland event
queue, in turn unblocking the Wayland thread and kickstartin the whole
thing;

 2. Starting the editor (and probably other long-loading stuff) without
low consumption mode would suspend the window and never commit its
surfaces, thus never signaling the compositor that we want frame events.
2025-02-11 01:33:36 +01:00
5c9569cd35 Fix focus being lost after adding a new input map entry in the editor
This allows adding multiple actions in a row by pressing Enter
after each action, without needing to click the field again
every time.
2025-02-11 00:59:30 +01:00
7f0d81c433 Improve path handling in EditorQuickOpenDialog 2025-02-10 22:16:24 +01:00
d1338528f9 Fix file loggin log rotation
Fixes #97066

`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00
19a30bb723 Wayland: Fix build config with so_wrap disabled
We should only include the vendored headers for Wayland and libdecor-0 when
we use `so_wrap`, i.e. when we *don't* build against system libraries.

The libdecor-0 pkg-config file includes the `libdecor-0/` prefix already,
so its header should be included without it, and likewise in our so wrappers.
Fixes #102671.
2025-02-10 21:42:25 +01:00
296de7da83 Merge pull request #102614 from jrouwe/102544
[Jolt Physics] Fix ghost collision issue on dense triangle meshes
2025-02-10 12:21:36 -06:00
4bac259ced Merge pull request #101435 from YYF233333/remote_tree_fix2
Return fast for built-in class icon
2025-02-10 12:21:35 -06:00
c89ded23a6 Merge pull request #102603 from havi05/itemlist-fix-textoverrun-fixed-icon
Itemlist: Fix `text_overrun` when using `fixed_icon_size`
2025-02-10 12:21:34 -06:00
4b644ed1f5 Merge pull request #102341 from SheepYhangCN/rendering-driver-fallback-moltenvk
Implement Fallback to Vulkan for MoltenVK
2025-02-10 12:21:33 -06:00
c90fd7f3da Merge pull request #98066 from TCROC/fix-android-mono-export
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 -06:00
6a3bf28197 Merge pull request #88114 from AThousandShips/dupli_fix
Prevent some internal nodes being duplicated in Controls
2025-02-10 12:21:31 -06:00
0b9fd7e190 Merge pull request #102627 from raulsntos/dotnet/android-export-validate-tfm
C#: Validate project TFM for Android template exports
2025-02-10 12:21:30 -06:00
9c7a42b7be Merge pull request #102659 from AThousandShips/fix_tooltip_crash
[Editor] Prevent deferred tooltip update crash
2025-02-10 12:21:29 -06:00
db986ee9e3 Merge pull request #102664 from KoBeWi/calm_down_it's_just_a_missing_icon_bro
Silence missing icon error if UID cache is missing
2025-02-10 12:21:28 -06:00
66b0effe82 Merge pull request #101989 from MartinMajewski/master
Git-ignore built `Godot.app` package
2025-02-10 12:21:27 -06:00
70ff213de5 C#: Validate project TFM for Android template exports
The C# Android export template includes `.jar` dependencies from .NET 8.0, so other TFMs are not supported.
2025-02-10 17:19:05 +01:00
266b569641 Silence missing icon error if UID cache is missing 2025-02-10 17:09:34 +01:00
5e2fd7b1d7 fix android mono export causing conflicts 2025-02-10 10:09:52 -05:00
4b4bfe7d0e [Editor] Prevent deferred tooltip update crash
Caused by `TreeItem`s being accessed after clearing the tree on reset.
2025-02-10 15:18:04 +01:00
5dcab0e606 Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
c0eec97e98 macOS: Implement fallback from Metal to Vulkan for x86_64 2025-02-10 13:23:46 +01:00
3286b7fb37 Physics Interpolation - fix client interpolation pump
Client interpolation pump is moved AFTER the physics tick, after physics objects have been moved.
This is necessary because the `current` transform is also updated during the pump.
2025-02-10 10:40:23 +00:00
e43756c559 Itemlist - fix text_overrun when using fixed_icon_size 2025-02-10 11:34:45 +01:00
e46993f0db Physics Interpolation - Auto-reset on set_physics_interpolation_mode()
Fixes historical bug where auto-reset wasn't working correctly.
Also fixes process modes on Cameras when mode is changed.
2025-02-10 10:19:54 +00:00
261e7d32d3 Merge pull request #102649 from bruvzg/fb_loc
Use fallback locale from project settings instead of hardcoded "en" for TextServer.
2025-02-10 10:50:02 +01:00
271c9874a4 Merge pull request #102647 from bruvzg/el_space
[TextServer] Use all available space when string is too short for ellipsis.
2025-02-10 10:49:58 +01:00
fa85645c1a Merge pull request #102618 from Hilderin/fix-slow-resize-embedded-game-v2
Fix lag when resizing Floating Game Window
2025-02-10 10:49:54 +01:00
9666695772 Merge pull request #102608 from dalexeev/editor-option-disable-doc-tooltips
Script Editor: Add option to disable documentation tooltips
2025-02-10 10:49:51 +01:00
82e66ac1f4 Merge pull request #102602 from adamscott/fix-fr+oss-layout-mk2
Fix `fr+oss` layout issues with KP period
2025-02-10 10:49:46 +01:00
9136878617 Merge pull request #102596 from KoBeWi/fixed_15_minutes_after_report
Fix empty Command Palette
2025-02-10 10:49:42 +01:00
eb4538b8a2 Merge pull request #102590 from syntaxerror247/custom-snackbar
Android: Add Snackbar UI component
2025-02-10 10:49:38 +01:00
db7f9a033a Merge pull request #102572 from Z0rb14n/icon
Fix script class icons not inheriting parent
2025-02-10 10:49:35 +01:00
d24a805eda Merge pull request #102555 from KoBeWi/historical_fix
Fix History Dock default state
2025-02-10 10:49:31 +01:00
ed2582e07a Merge pull request #102553 from amarsero/double-name-set
Fix double `set_name` in renaming node
2025-02-10 10:49:28 +01:00