1
0
Fork 0
Commit Graph

71826 Commits

Author SHA1 Message Date
Rémi Verschelde a8a1009468 Merge pull request #102641 from Riteo/modifying-spacetime-itself
Wayland: Unstuck keys with same keycode
2025-02-11 23:59:12 +01:00
Rémi Verschelde ed79fe18e6 Merge pull request #102625 from YeldhamDev/oh_those_wacky_shadows
Fix mouse input on popup shadows misbehaving with `content_scale_factor`
2025-02-11 23:59:08 +01:00
Rémi Verschelde afa068abac Merge pull request #102592 from KoBeWi/folderfolder
Navigate to folder when double-clicking favorite
2025-02-11 23:59:04 +01:00
Rémi Verschelde 83b3c1e11e Merge pull request #102389 from Meorge/bugfix/unique-name-error
Display correct symbol in warning when unique name is used without @onready annotation
2025-02-11 23:59:01 +01:00
Rémi Verschelde d967d8d9bd Merge pull request #102280 from Chaosus/fix_particles_process_shader_crash
Fix crash when assigning wrong shader to particle process material
2025-02-11 23:58:56 +01:00
Mikael Hermansson 1006fa9c42 Skip `Object::to_string` when Jolt Physics is on separate thread 2025-02-11 22:55:32 +01:00
matheusmdx 269c377075 Remove problematic file from SCU 2025-02-11 18:47:52 -03:00
Adam Johnston c82c5b0701 Prevent off-thread errors when generating resource previews for animation nodes 2025-02-11 11:19:32 -08:00
Fredia Huya-Kouadio 2a66335ec2 Address API regression from https://github.com/godotengine/godot/pull/101050 2025-02-11 10:19:47 -08:00
Rémi Verschelde bb7834390c CI: Remove outdated reference to ubuntu-20.04 2025-02-11 18:05:22 +01:00
Hugo Locurcio 65c795eb35
Clarify the behavior of `Control.layout_direction` in the documentation 2025-02-11 16:56:22 +01:00
Adam Scott cdb6fc7f74
[Web] Remove position pool system and return false when done instead 2025-02-11 10:43:34 -05:00
kobewi ac1d4f2bec Don't select invisible items in FileSystem dock 2025-02-11 16:20:31 +01:00
Thaddeus Crews 5da6deaaca
Merge pull request #102210 from Geometror/audioeffect-fix-cutout
[AudioFilterSW] Fix audio cutting out due to numerical errors
2025-02-11 09:13:24 -06:00
Thaddeus Crews 845ddb4bf3
Merge pull request #102597 from kitbdev/fix-te-line-guideline-pos
Fix CodeEdit line length guideline zoomed position
2025-02-11 09:13:23 -06:00
Thaddeus Crews cc678ec312
Merge pull request #102675 from Calinou/doc-canvasitem-draw-dashed-line
Document `CanvasItem.draw_dashed_line()`'s `dash` and `align` parameters
2025-02-11 09:13:22 -06:00
Thaddeus Crews b6894b9a45
Merge pull request #102691 from bruvzg/mix_rates
[AudioStreamGenerator] Add mixing rate presets, update docs.
2025-02-11 09:13:20 -06:00
Thaddeus Crews a0f10a28a6
Merge pull request #100933 from Synzorasize/fix_100889
Fix parsing Resource type as value type of a Dictionary
2025-02-11 09:13:18 -06:00
Thaddeus Crews c58e718cde
Merge pull request #101071 from mihe/jolt/less-query-allocations
Improve performance of certain physics queries when using Jolt Physics
2025-02-11 09:13:16 -06:00
Thaddeus Crews 427d8086f2
Merge pull request #102492 from m4gr3d/android_editor_support_game_tab
Add support for embedding game process in the Android Editor
2025-02-11 09:13:05 -06:00
Hugo Locurcio d1af005fed
Document `CanvasItem.draw_dashed_line()`'s `dash` and `align` parameters 2025-02-11 15:15:46 +01:00
Riteo 54755a27e9 Wayland: Unstuck keys with same keycode
This fixes once and for all the core issue of different Godot `keycode`s
released from the same raw XKB keycode.

The `InputEventKey` `keycode` value _should_ map to the "unmodified"
key, but unfortunately there's an ambiguity with their encoding for
"special" keys ("delete", "insert", etc.), in witch they ignore their
unicode representation. This means that a key that is special when plain
but a character when modified would never be properly picked up, so we
do indeed change its keycode. As a consequence of this exception, some
Godot keys never receive release events and get "stuck".

This patch adds an extra check through an `HashMap` to "unstuck" keys
that changed while having the same keycode.

I also could not resist simplifying a bit the regular key event
generation method but this makes things more consistent and predictable
IMO.
2025-02-11 13:16:16 +01:00
Mikael Hermansson 5d2a54e6b1 Improve performance of certain physics queries when using Jolt Physics 2025-02-11 11:52:05 +01:00
Fredia Huya-Kouadio 7495a8a02e Add support for embedding game process in the Android Editor
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 -08:00
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde 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
Rémi Verschelde b1b9a178f9 Merge pull request #102678 from KoBeWi/uid_open_dialog
Improve path handling in EditorQuickOpenDialog
2025-02-11 10:54:31 +01:00
Rémi Verschelde 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
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