Commit Graph

73512 Commits

Author SHA1 Message Date
dd5460c32a Style: Declare inline macros as attributes 2025-04-18 12:04:40 -05:00
09ea7bc6a3 Merge pull request #105400 from bruvzg/ov_cleanup
Remove old oversampling property from font importers.
2025-04-17 09:14:25 -05:00
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
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
20b2674cfd Merge pull request #105481 from bruvzg/rtl_title_sort
Fix incorrect title bar sorting in RTL layout.
2025-04-17 09:14:23 -05:00
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
0689522e61 Normalize description of ResourceLoader.list_directory() 2025-04-17 00:09:44 -07:00
5355fcae62 Fix incorrect title bar sorting in RTL layout. 2025-04-17 09:31:14 +03:00
5f7e9a9198 Rename editor setting to Check for Updates 2025-04-16 18:04:30 -04:00
c5c1cd4440 Merge pull request #105453 from reduz/signals-thread-safe
Add thread safety to Object signals
2025-04-16 15:39:22 -05:00
6448ddf37e Merge pull request #105460 from Zylann/basis_abs
Use `Math::abs` to avoid ambiguity with integer abs
2025-04-16 15:39:22 -05:00
4d55d9865b Merge pull request #105304 from KoBeWi/≥
Fix `exp_edit` description
2025-04-16 15:39:21 -05:00
5e6df6a196 Use Math::abs to avoid ambiguity with integer abs 2025-04-16 20:41:36 +02:00
3c0652699a Merge pull request #103967 from HolonProduction/window-focus
GUI: Fix focus cycle through window
2025-04-16 10:45:17 -05:00
11cb8140b8 Merge pull request #105370 from yuantianle/fix-graphnodes-connected-to-headers-rather-than-ports
Fix GraphNode frag/vert port positions misaligned
2025-04-16 10:45:16 -05:00
d07c162d10 Merge pull request #105430 from bruvzg/fix_llvm20_mingw_crash
Fix crash in release build with llvm-mingw.
2025-04-16 10:45:16 -05:00
1a454b6527 Merge pull request #105427 from Calinou/force-angle-rename-macros
Rename `BLOCK_DEVICE()` macro to `FORCE_ANGLE()` in `main.cpp`
2025-04-16 10:45:15 -05:00
500a2243df Merge pull request #105428 from mason1920/array-insert-test
Test for insertion at array's size
2025-04-16 10:45:14 -05:00
485406b5e0 Merge pull request #104819 from m4gr3d/setup_godot_tools_lib_maven_central
Add maven publishing configuration for Godot tools
2025-04-16 10:45:14 -05:00
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
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
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
adf41e06fe Merge pull request #105446 from r3square/fix-editor-scale-nan
Fix division by zero when scaling
2025-04-16 10:45:11 -05:00
5f74f726a0 Merge pull request #105445 from m4gr3d/require_khr_loader_init
OpenXR: Request the `XR_KHR_loader_init` extension
2025-04-16 10:45:10 -05:00
6a9f46931a Merge pull request #104480 from BlueCube3310/image-unsuported-format
Renderer: Warn when images need to be converted due to their formats being unsupported by hardware
2025-04-16 10:44:52 -05:00
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
b28e95c8b0 Request the XR_KHR_LOADER_INIT_EXTENSION_NAME extension 2025-04-15 17:51:57 -07:00
b278cc4837 Fix division by zero when scaling 2025-04-16 02:30:25 +02:00
6e1fb68f65 Fix GraphNode frag/vert port positions misaligned
Issue conclusion: GraphNode port connections appear misaligned when switching between vertex and fragment modes, only realigning after zoom or layout refresh.

Investigation: The root cause was due to port positions being calculated before child layouts had finalized, resulting in inaccurate Y positions for ports. The original implementation relied on Control::position.y, which was not yet updated during the initial layout pass.

Explaination: This fix computes vertical offset using titlebar and stylebox sizes instead, ensuring port alignment is correct immediately after layout, without relying on zoom-triggered re-layouts.

Resolves: #105232

Add layout mode check to distinguish GraphEditor and ShaderGraphEditor

Fix port position calculation by distinguishing between GraphEditor and ShaderGraphEditor layouts.

Due to differences in layout flow and update timing (CPU vs GPU), ShaderGraphEditor requires manual vertical offset calculation, while standard GraphEditor can directly get the actual child positions after layout in run time.

This change adds a layout mode check (`is_using_resort_layout) to determine the appropriate method for computing port positions.

Fixed nits using cached values and removed redundant condition variable definition.

Add comment for the condition checking.
2025-04-15 14:25:05 -07:00
dbddc9ef29 Merge pull request #105408 from bruvzg/fix_bmp_scale
Fix bitmap font scaling.
2025-04-15 12:06:20 -07:00
6b9641d364 Fix focus cycle through window 2025-04-15 20:24:32 +02:00
039d9ffd30 Merge pull request #104317 from pafuent/fixing_wrong_focus_style_clipping_on_scroll_container
Fix `ScrollContainer` focus border issue
2025-04-15 12:28:50 -05:00
c6341f49a1 Merge pull request #105337 from L2750558108/pr-fix-duplicate-in-node
Replace duplicate code of `is_ancestor_of()` in node.cpp
2025-04-15 12:28:49 -05:00
df4ac6b237 Merge pull request #105200 from Monstrofil/fix-dds-mipmap-size-compressed-v2
Fix importing compressed dds textures with non-power-of-two width or height
2025-04-15 12:28:48 -05:00
aba5841b34 Merge pull request #105323 from bruvzg/rtl_right_trim
[RTL] Fix VC_GLYPHS_RTL visible character trimming mode.
2025-04-15 12:28:48 -05:00
29970af190 Merge pull request #105321 from passivestar/audio-bus-theming
Allow theming audio buses
2025-04-15 12:28:47 -05:00
9906016959 Merge pull request #105301 from syntaxerror247/fix-decimal-keyboard
Android: Fix decimal keyboard
2025-04-15 12:28:46 -05:00
c76e7024c9 Merge pull request #105288 from bruvzg/uid_custom_scene
Fix custom scene argument if it's referenced as UID.
2025-04-15 12:28:45 -05:00
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
86b1fc7205 Merge pull request #104774 from Cykyrios/fix-center-bbcode-ansi-tag
Add missing "/" to "center" tag in `__print_line_rich()`
2025-04-15 12:28:44 -05:00
0737ebeb17 Merge pull request #105409 from timoschwarzer/fix/typo-oversampling
Fix typo ovrsampling → oversampling
2025-04-15 12:28:43 -05:00
309177a3a1 Merge pull request #105404 from andOlga/patch-1
Fix typo in the description of RandomNumberGenerator.state
2025-04-15 12:28:43 -05:00
e8b703a80e Merge pull request #105148 from salianifo/contrib-upstream
Fix exported Node/Resource variables resetting when extending script in the SceneTreeDock
2025-04-15 12:28:42 -05:00
e508573183 Merge pull request #105140 from syntaxerror247/actions-panel-improvements
Android Editor: Add new actions and enhancements to `TouchActionsPanel`
2025-04-15 12:28:42 -05:00
29dcead192 Merge pull request #105394 from Zylann/quaternion_abs
Use Math::abs to avoid ambiguity with integer abs
2025-04-15 12:28:41 -05:00
b8950a4662 Merge pull request #105392 from aaronp64/array_min_max
Optimize `Array` `min`/`max` methods
2025-04-15 12:28:40 -05:00
fa5dd77566 Merge pull request #105262 from raulsntos/dotnet/android-no-copy
[.NET] Add a preload hook to load .NET assemblies from the APK
2025-04-15 12:28:40 -05:00
87f986ae67 Merge pull request #97837 from basicer/fix-update-timer
SceneImportSettings update_timer should be a oneshot.
2025-04-15 12:28:39 -05:00
2bf96fe18c Merge pull request #105257 from smix8/navbuilder_linkpolys
Remove no longer needed link polygons from NavMapBuilder
2025-04-15 12:28:38 -05:00
5f6c49af96 Merge pull request #104349 from jaydensipe/scroll-high-refresh-rate-fix
Fix smooth scrolling being tied to physics process
2025-04-15 12:28:38 -05:00