Commit Graph

80742 Commits

Author SHA1 Message Date
Thaddeus Crews 4950deeea0 Merge pull request #104726 from Meorge/bugfix/reversed-buttons-do-not-spark-joy-con
Fix Apple's incorrect mapping of Joy-Con (L) and Joy-Con (R) face buttons
2025-03-31 12:03:46 -05:00
Thaddeus Crews e8b56aac8c Merge pull request #104725 from Meorge/gamecontroller-avoid-joystick-code-duplication
Make reusable functions for GameController joystick and trigger input
2025-03-31 12:03:46 -05:00
Thaddeus Crews e99dc63fdc Merge pull request #103764 from kleonc/multi_node_edit_update_on_property_list_changed
Update `MultiNodeEdit` property list on edited nodes' property list changed
2025-03-31 12:03:45 -05:00
Thaddeus Crews f704113abe Merge pull request #104649 from Ivorforce/move-semantics-ref-array-dict
Add move semantics to `Ref`
2025-03-31 12:03:44 -05:00
Thaddeus Crews 64f80ca0e9 Merge pull request #104810 from kiroxas/utf8_cleanup
Replace `append_utfx` with direct `String::utfx`
2025-03-31 12:03:44 -05:00
Thaddeus Crews 19afe67ebb Merge pull request #101026 from Ivorforce/localvector-erase-unordered
Add `LocalVector.erase_unordered`, mimicking `erase` but with `remove_at_unordered`, to remove duplicate logic.
2025-03-31 12:03:27 -05:00
Michael Alexsander d607fc7221 Fix remote object inspector through DAP 2025-03-31 10:55:13 -03:00
chocola-mint 19e8faae30 Add null check for SpriteFramesEditor's SpriteFrames 2025-03-31 22:16:49 +09:00
David Snopek 79f5a4d9fe OpenXR: Use the XR_FB_foveation_vulkan extension to get the density map for VRS 2025-03-31 07:21:58 -05:00
Lukas Tenbrink ccdc5862e9 Add LocalVector.erase_unordered, mimicking erase but with remove_at_unordered, to remove duplicate logic.
`erase_unordered` should be preferred over `erase` where order is not important, for its performance benefits.

Co-authored-by: smix8 <smix8@users.noreply.github.com>
2025-03-31 13:31:53 +02:00
A Thousand Ships b79c2221f0 [Navigation] Fix typo in performance 2025-03-31 11:19:26 +02:00
Filipe Alexandre Francisco Costa ca57fe1db4 Fix #100536: Control set_position resizes offsets/anchors
The set_position method computes the anchors/offsets to match a
rectangle at the given position with size "size_cache". However, when
the Control's combined minimum size is larger than the size obtained
through the offsets and anchors, "size_cache" is set to be as large as
the combined minimum size. Therefore, when position is set while the
combined minimum size is larger than the rectangle given by the anchors
and offsets, it would resize these two fields, which would then stop
the Control from shrinking when its combined minimum size decreased. To
fix this, set_position now uses the size given by the offsets and
anchors instead of the "size_cache" field. This way, the rectangle
denoted by the offsets and anchors is simply moved, without being
resized, enabling the Control to shrink automatically when its combined
minimum size decreases. I also added a test case to ensure that the
Control shrinks correctly after setting its position while it has a
larger custom minimum size than the one obtained through the offsets
and anchors.
2025-03-31 08:50:00 +01:00
Malcolm Anderson 0f897f8c7e Make reusable functions for GameController joystick and trigger input
Update drivers/apple/joypad_apple.mm

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2025-03-30 21:04:30 -07:00
Aaron Franke 674c2dc9ee GLTF: Fix importing files with invalid buffer view byte strides 2025-03-30 18:38:22 -07:00
Aaron Franke c1acc839a8 Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
Kiro 23129a66ed Replace append_utfx with direct String::utfx 2025-03-30 19:56:38 +02:00
Thaddeus Crews 58d49cf087 CI: Validate scons-cache via action output 2025-03-30 10:30:50 -05:00
smix8 5e83618183 Deprecate NavigationServer map_force_update()
Deprecates map_force_update() function as it is incompatible with async updates.
2025-03-30 17:18:33 +02:00
Thaddeus Crews e585e6a3eb Merge pull request #104797 from beicause/rm-deprecated-version-macro
Android: Replace the deprecated version macro
2025-03-30 09:06:03 -05:00
Thaddeus Crews 3b1a481f13 Merge pull request #97843 from detomon/optimize-a-star-grid-2d-solve
Reduce allocations when solving path in `AStarGrid2D`
2025-03-30 09:06:02 -05:00
Thaddeus Crews e471465d39 Merge pull request #104370 from BrotherShort/no-arrow-no-root-offset
Tree: Fix offset relationship lines with Hide Folding
2025-03-30 09:06:02 -05:00
Thaddeus Crews 6fed7a3000 Merge pull request #104745 from BlueCube3310/rgb565-typo-fix
Image: Fix typo at `_set_color_at_ofs` with `FORMAT_RGB565`
2025-03-30 09:06:01 -05:00
Thaddeus Crews bc5c739ff8 Merge pull request #104708 from Alex2782/tree_cleanup
`Tree`: apply comment style guidelines and remove unused variables.
2025-03-30 09:06:00 -05:00
Thaddeus Crews ac13efc822 Merge pull request #101443 from Repiteo/ci/replace-pytest
CI: Replace pytest with pre-commit hook
2025-03-30 09:06:00 -05:00
Thaddeus Crews 4b796b068a Merge pull request #104768 from Rudolph-B/Issue-104763
Fix corrupted negative values for signed BC6
2025-03-30 09:05:59 -05:00
Thaddeus Crews 8b2952a71c Merge pull request #101504 from AThousandShips/nav_split_new
[Navigation] Create a dedicated 2D navigation server
2025-03-30 09:05:43 -05:00
LuoZhihao 138e990262 Replace the deprecated version macro 2025-03-30 18:00:19 +08:00
smix8 6a54d2d552 Fix EditorNode3DGizmo::add_solid_box() GPU stalling
Fixes EditorNode3DGizmo::add_solid_box() stalling the GPU because it used a function that queries the mesh arrays from the GPU.
2025-03-29 21:42:28 +01:00
Robert Yevdokimov 943eed575b Fix GridMap shortcuts being triggered during freelook (mouse captured) 2025-03-30 00:30:38 +04:00
Cyril B. de5c1f9707 Add missing / for center tag in __print_line_rich 2025-03-29 20:21:31 +01:00
Thaddeus Crews 32de6285a8 SCons: Modernize shader builders 2025-03-29 11:51:54 -05:00
BlueCube3310 647b99c6d0 Image: Fix typo at _set_color_at_ofs with FORMAT_RGB565 2025-03-29 17:51:31 +01:00
Thaddeus Crews adc63c6149 CI: Replace pytest with pre-commit hook 2025-03-29 11:40:36 -05:00
Rudolph Bester 040cc3d5ec Fix corrupted negative values for signed BC6 2025-03-29 17:26:54 +02:00
Thaddeus Crews ba3482926d Merge pull request #104444 from Delsin-Yu/fix-disabled-recursive-behavior-not-applied-on-ready
[GUI] Fix reparenting control does not update recursive mode cache properly
2025-03-29 10:16:35 -05:00
Thaddeus Crews 152c14b053 Merge pull request #104597 from bruvzg/path_check
Implement `DirAccess.is_equivalent` method.
2025-03-29 10:16:34 -05:00
Thaddeus Crews ff1858ad2c Merge pull request #102101 from KoBeWi/2d_3d_skrypt_gra_biblioteka_zasobów
Mark main screen plugin names for translation
2025-03-29 10:16:33 -05:00
Thaddeus Crews 780cf03051 Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Thaddeus Crews 6bab3c07fc Merge pull request #104746 from zaevi/fix_color_html
Fix reversed hex order in `Color::to_html`
2025-03-29 10:16:32 -05:00
Thaddeus Crews 08615299b7 Merge pull request #104744 from Repiteo/scons/ensure-mingw-fallback
SCons: Ensure MinGW as fallback if missing MSVC
2025-03-29 10:16:31 -05:00
Thaddeus Crews afe5b8991b Merge pull request #104741 from BlueCube3310/image-invisible-impr
Image: Improve `is_invisible` function
2025-03-29 10:16:31 -05:00
Thaddeus Crews 7a28334596 SCons: Ensure MinGW as fallback if missing MSVC 2025-03-29 10:14:20 -05:00
Aaron Franke aeece9d5fb GLTF: Only pad zeros when exporting numbered images 2025-03-29 04:18:16 -07:00
A Thousand Ships 5cc0539961 [Navigation] Create a dedicated 2D navigation server
* Add a dedicated 2D server
* Create dedicated tests
* Split performance metrics between 2D and 3D
* Rename the 3D only server module
2025-03-29 12:10:50 +01:00
Aaron Franke a5de242a2f Place a hard limit on the max_contacts_reported property 2025-03-29 01:17:55 -07:00
风青山 0a1851032b Use the correct root inspector when making elements moved in an array visible 2025-03-29 12:40:26 +08:00
DE YU 04608fae4a [GUI] Fix an issue where setting a control's recursive mode to disabled does not work on ready. 2025-03-29 06:34:11 +08:00
Zae e7f7823236 Fix reversed hex order in Color::to_html 2025-03-29 06:06:09 +08:00
BlueCube3310 dd47d9173e Image: Improve is_invisible function 2025-03-28 22:42:37 +01:00
Nolkaloid 410d6eee45 Limit error messages in CodeTextEditor to 2 lines length 2025-03-28 22:27:43 +01:00