1
0
Fork 0
Commit Graph

71847 Commits

Author SHA1 Message Date
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 62d22ffa6b Merge pull request #98216 from pafuent/fixing_log_rotation
Fix file logging log rotation
2025-02-11 10:54:01 +01:00
Pāvels Nadtočajevs 3965bdfd62 [AudioStreamGenerator] Add mixing rate presets, update docs. 2025-02-11 11:22:34 +02:00
Pāvels Nadtočajevs ecff011671 [FileDialog] Update filename/buttons state when first item is selected on folder/filter change. 2025-02-11 11:18:23 +02:00
HolonProduction 62eebf1266 Autocompletion: Account for invalid annotations when making arghint 2025-02-11 09:17:22 +01:00
Caleb Cassady 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
Riteo 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
Hugo Locurcio 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
Stuart Carnie 90b2d4b844 2D: Fix free of invalid ID 2025-02-11 08:17:29 +11:00
kobewi 7f0d81c433 Improve path handling in EditorQuickOpenDialog 2025-02-10 22:16:24 +01:00
Pablo Andres Fuente 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
Rémi Verschelde 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 9c7a42b7be
Merge pull request #102659 from AThousandShips/fix_tooltip_crash
[Editor] Prevent deferred tooltip update crash
2025-02-10 12:21:29 -06:00
Thaddeus Crews 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
Thaddeus Crews 66b0effe82
Merge pull request #101989 from MartinMajewski/master
Git-ignore built `Godot.app` package
2025-02-10 12:21:27 -06:00
Raul Santos 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
Giganzo cedcc2444e Add changeable freelook speed in Game Window 2025-02-10 17:18:52 +01:00
kobewi 266b569641 Silence missing icon error if UID cache is missing 2025-02-10 17:09:34 +01:00
Travis Lange 5e2fd7b1d7 fix android mono export causing conflicts 2025-02-10 10:09:52 -05:00
Michael Alexsander a32d3663c4
Fix popup shadows misbehaving with `content_scale_factor` 2025-02-10 11:55:08 -03:00
AThousandShips 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
A Thousand Ships 5dcab0e606
Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
SheepYhangCN c0eec97e98 macOS: Implement fallback from Metal to Vulkan for x86_64 2025-02-10 13:23:46 +01:00
lawnjelly 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
havi05 e43756c559 Itemlist - fix `text_overrun` when using `fixed_icon_size` 2025-02-10 11:34:45 +01:00
lawnjelly 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 9136878617 Merge pull request #102596 from KoBeWi/fixed_15_minutes_after_report
Fix empty Command Palette
2025-02-10 10:49:42 +01:00
Rémi Verschelde eb4538b8a2 Merge pull request #102590 from syntaxerror247/custom-snackbar
Android: Add Snackbar UI component
2025-02-10 10:49:38 +01:00
Rémi Verschelde db7f9a033a Merge pull request #102572 from Z0rb14n/icon
Fix script class icons not inheriting parent
2025-02-10 10:49:35 +01:00
Rémi Verschelde d24a805eda Merge pull request #102555 from KoBeWi/historical_fix
Fix History Dock default state
2025-02-10 10:49:31 +01:00
Rémi Verschelde 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
Rémi Verschelde 94b7399176 Merge pull request #102513 from Hilderin/fix-accessing-uid-before-first-scan
Fix accessing UID before first scan
2025-02-10 10:49:24 +01:00
Rémi Verschelde e01ab79249 Merge pull request #102494 from dsnopek/java-class-wrapper-error-non-static-methods
JavaClassWrapper: Give additional error when trying to call non-static method directly on the class
2025-02-10 10:49:19 +01:00