Commit Graph

73532 Commits

Author SHA1 Message Date
1a70a06a43 Change RID_Owner::get_owned_list. 2025-04-21 01:04:27 +08:00
2d3bdcac35 Merge pull request #105470 from clayjohn/RID-owner-limit
Increase chunk limit for known problematic RID_Owners.
2025-04-18 12:21:30 -05:00
1bf9d8e628 Merge pull request #105501 from darksylinc/graph-align-ubsan
Fix UBSAN alignment issues in the render graph
2025-04-18 12:21:29 -05:00
d3ee6af73c Merge pull request #105524 from yahkr/bbcode_br
Add [br] to bbcode parsing for `rich_text_label`
2025-04-18 12:21:29 -05:00
7e7c5244c2 Merge pull request #102289 from Chaosus/shader_fix_constants_in_hint_range
[Shaders] Allow constants and expressions in `hint_range`
2025-04-18 12:21:28 -05:00
c77174b346 Merge pull request #105310 from BlueCube3310/tex-preview-unify
TextureEditorPlugin: Add borders to 3D and Layered editors
2025-04-18 12:21:27 -05:00
1e8b7fe5a0 Merge pull request #101582 from Flynsarmy/recursive_transition_wording
Improve wording on recursive transition detection warning
2025-04-18 12:21:26 -05:00
2ddd9be11f Merge pull request #105486 from beicause/csharp-stringname-alloc-obj-free
C#: Avoid StringName allocation in `GodotObject.Free`
2025-04-18 12:21:26 -05:00
b743eb96e3 Merge pull request #98760 from ze2j/optimize_texture_create_shared_from_slice
Optimize shared texture creations
2025-04-18 12:21:25 -05:00
146e405c48 Merge pull request #105412 from bruvzg/fix_fixedsize_img_fonts
Fix fixed size image fonts incorrectly getting oversampling applied if set to native size.
2025-04-18 12:21:24 -05:00
e61a0e8c61 Merge pull request #105344 from the-loki/master
Fix LSP not returning expected localization for API docs.
2025-04-18 12:21:23 -05:00
fc051c8b36 Add [br] to bbcode parsing for rich_Text_label 2025-04-18 09:59:47 -04:00
96bad4ad04 Fix UBSAN alignment issues in the render graph
Follow up to PR #100325
2025-04-17 14:40:06 -03:00
5a14ab7c39 [Shaders] Allow constants and expressions in hint_range 2025-04-17 17:43:01 +03: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
b0348d0e58 C#: Avoid StringName allocation in GodotObject.Free 2025-04-17 20:10:34 +08: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
941ad15724 Increase chunk limit for known problematic RID_Owners.
The default limit is fine for most RID_Owners but 3d instances, CanvasItems, and physics bodies need a higher limit.

There is a small memory cost to increasing the limit, so it should only be done where needed.
2025-04-16 17:03:47 -07: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