1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-27 15:57:02 +00:00
Commit Graph

72295 Commits

Author SHA1 Message Date
alessand10
e330b79397 Fix root folder logic in the filesystem 2025-01-02 17:50:58 +01:00
Thaddeus Crews
2c9620f24c clang-format commit to .git-blame-ignore-revs 2025-01-02 10:12:02 -06:00
Thaddeus Crews
e06d83860d Style: Enforce AllowShortFunctionsOnASingleLine 2025-01-02 10:09:41 -06:00
Summersay415
8c1742c957 Fix exclusive fullscreen on Wayland 2025-01-02 21:49:49 +07:00
smix8
4184884ad1 Make NavMeshQueries use NavRegionIteration polygons directly
Removes the duplicated NavMap polygon soup. All navmesh queries now use the NavRegionIteration polygons directly.
2025-01-02 15:35:29 +01:00
HP van Braam
cccd2432c3 Refactor CommandQueueMT to use vararg templates
In order to make CommandQueueMT more maintainable this PR changes the
previous macro hell with variadic templates instead. This makes the
class far more explicit and will allow us to more easily change the way
the class functions in the future.

Furthermore this refactoring has allowed for some optimizations. In
particular by using std::forward to delay the decision of decaying the
type to as late as possible we are able to move the data from the
callsite into our Command buffer and later move it to the call.

In practice what this means is that compared to the old version instead
of copying values 3 times, we can now get away with 1 copy, and 1 move
for lvalues, and just 2 moves for rvalues. This saves quite a few
operations in a hot codepath.

We also now test to make sure that the amount of copies and moves are
what we expect. This way we can spot performance regressions in this
code easily.

Somewhat unscientifically, running TPS-demo by pressing enter and not
touching the controls average mspf, repeatable across many runs:

before: 6.467
after : 6.202
2025-01-02 15:35:08 +01:00
Marcelo Vilas Boas Correa Filho
3bb2309f6b Feature adding Windows native menu close callback 2025-01-02 10:52:09 -03:00
Anish Mishra
b50d9b7d8c Update OS.request_permission(...) description 2025-01-02 15:22:23 +05:30
bruvzg
663b90da61 [Windows] Fix StatusIndicator crash with empty tooltip (and few other similar unsafe ptr() uses). 2025-01-02 10:07:02 +02:00
Kiro
176e5f42b2 add Static assert checks 2025-01-02 09:02:43 +01:00
Silc Lizard (Tokage) Renew
d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09:00
smix8
8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
Rémi Verschelde
f2d4dac92e Thread: Re-add <new> include for std::hardware_destructive_interference_size
Somehow it would still build fine, but would crash when compiled with GCC 12.2
on Debian 12.

Also re-add wrongly removed Mutex include from `thread_safe.h`, where it's used
in macros.

Add IWYU pragma comments to prevent it from mistakenly flagging those as unused.
2025-01-01 22:43:42 +01:00
Markus Sauermann
54373160df Fix Crash with GraphNode
When using `queue_free()` on GraphNodes, `p_from` can become `nullprt`.
This PR adds a check to prevent crashes in these situations.
2025-01-01 22:20:57 +01:00
Mikael Hermansson
7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +01:00
Naoto Kondo
8c7319459b Fix incorrect Unicode key mapping on Windows 2025-01-02 04:31:49 +09:00
Nazarii
482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
AThousandShips
25ecf5ec83 [Core] Fix UID encoding
Fixes edge case where `0` encoded as `uid://` instead of `uid://a`, and
fixes the size of the temporary buffer storing encoded UID strings.
2024-12-31 15:20:09 +01:00
BlueCube3310
6f363b989a astcenc: Misc improvements and optimizations 2024-12-31 14:25:14 +01:00
Jan Haller
df66ea74d7 Fix NodePath::slice() incorrect behavior for subname indexing
Adjust slice boundaries in `NodePath` logic to correctly handle subnames.
Update test cases to reflect these changes.
2024-12-30 21:22:26 +01:00
HolonProduction
9db804f72e Jsonrpc: Convert ids to int if they are int by value 2024-12-30 20:06:02 +01:00
RedMser
bb76e721e9 Respect system user setting for (un)installing APK 2024-12-30 17:37:24 +01:00
Fabio Alessandrelli
198dd40254 [Web] Clarify JavaScriptBridge callback requirements
Clarify that the callback must take **exactly one array argument**.
2024-12-30 17:23:48 +01:00
Hendrik Brucker
751d3d5852 Fix lightmapper penumbra computation 2024-12-30 16:30:59 +01:00
ajreckof
ba3f2bf4a3 Fix dictionary editor steals focus when reloading script. 2024-12-30 16:28:06 +01:00
Thaddeus Crews
2582793d40 Merge pull request #100774 from Geometror/rm-leftover-print-lightmapper
Remove leftover debug print statement from `lightmapper_rd.cpp`
2024-12-30 08:58:58 -06:00
Thaddeus Crews
d12eeefcf4 Merge pull request #100763 from dsnopek/openxr-composition-layers-hole-punch-visibility
OpenXR: Fix hiding/showing composition layers using hole punching
2024-12-30 08:58:57 -06:00
Thaddeus Crews
e55ea94c73 Merge pull request #99800 from amarsero/bone2d-redo-crash
Fix use after free in redo of "Create Custom Bone2D(s) from Node(s)"
2024-12-30 08:58:56 -06:00
Thaddeus Crews
b98eeb3899 Merge pull request #99096 from kitbdev/bottom_panel_force_switch
Make bottom panel switch when pinned and removed
2024-12-30 08:58:55 -06:00
Thaddeus Crews
3bf4541d47 Merge pull request #99829 from miv391/larger_event_configuration_dialog
Change Event Configuration dialog wider and its input list taller for better usability
2024-12-30 08:58:54 -06:00
Thaddeus Crews
589a2b511e Merge pull request #100815 from m4gr3d/remove_install_permission_for_xr_editor
[Android Editor] Update handling of the `REQUEST_INSTALL_PACKAGES` permission
2024-12-30 08:58:53 -06:00
Thaddeus Crews
c83706fdfd Merge pull request #99904 from kitbdev/fix-load-floating-dock
Fix loading layout with floating dock in single window mode and fix `restore_windows_on_load`
2024-12-30 08:58:52 -06:00
Thaddeus Crews
13992bbf7b Merge pull request #100766 from stuartcarnie/metal_crash
Metal: Fix crash when uniform set is empty for slot binding mode
2024-12-30 08:58:51 -06:00
Thaddeus Crews
d8b1a5aac2 Merge pull request #92235 from paddy-exe/advanced-import-macbook-mouse-magnify
Add MagnifyGesture to Advanced Import dialog zooming
2024-12-30 08:58:50 -06:00
Thaddeus Crews
3994e561ea Merge pull request #100827 from OS-of-S/fixed-mold-search
Fix Mold-search in older systems
2024-12-30 08:58:49 -06:00
Thaddeus Crews
0efced3ea5 Merge pull request #100822 from BlueCube3310/gles-hdr-astc
Compatibility: Fix ASTC HDR extension detection
2024-12-30 08:58:48 -06:00
Thaddeus Crews
58b48a934e Merge pull request #100859 from StaydMcMuffin/scene-shaders-user-normal-fix
Fix User-supplied Normals Being Ignored
2024-12-30 08:58:47 -06:00
Thaddeus Crews
df2b117ec2 Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
Thaddeus Crews
e9cebfa2f3 Merge pull request #100865 from SlashScreen/fix_plugin_docs
Fix docs for `EditorContextMenuPlugin.add_context_submenu_item`
2024-12-30 08:58:39 -06:00
Thaddeus Crews
953db6e785 Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
2024-12-30 08:58:36 -06:00
Thaddeus Crews
77eb92f8f3 Merge pull request #100826 from Lielay9/csg-spin-360
Fix gaps in CSGPolygon3D spin mode at 360 degrees
2024-12-30 08:58:35 -06:00
Thaddeus Crews
1e63ed2a5b Merge pull request #99723 from YeldhamDev/script_favorite_fix
Fix error when favoriting some types of properties
2024-12-30 08:58:34 -06:00
Thaddeus Crews
d7e9971243 Merge pull request #100908 from Repiteo/style/yaml-tweaks
Style: Integrate minor pre-commit/`yaml` adjustments
2024-12-30 08:58:32 -06:00
Thaddeus Crews
9ec36eb243 Merge pull request #100916 from Hilderin/fix-embed-focus-on-debug-continue
Fix debugging embedded game does not refocus on continue
2024-12-30 08:58:31 -06:00
Thaddeus Crews
b987e906ba Merge pull request #100156 from ydeltastar/fix-doc-scroll
Fix scroll to symbol's documentation
2024-12-30 08:58:28 -06:00
Thaddeus Crews
0e00f41650 Merge pull request #100735 from tvenclovas96/tween_ignore_time_scale
Add an option for tweens to ignore `Engine.time_scale`
2024-12-30 08:58:25 -06:00
Thaddeus Crews
01c6e18963 Merge pull request #100745 from mdelorme/mdelorme/issue_100727
Assign the project manager title to the node instead of DisplayServer
2024-12-30 08:58:23 -06:00
Thaddeus Crews
888883d608 Merge pull request #100862 from Flarkk/fix_100850
Fix regression with shadows when light range is 0 or close
2024-12-30 08:58:12 -06:00
LuoZhihao
47db9c0405 ColorPicker: Fix cursor position in OKHSL wheel 2024-12-30 22:25:20 +08:00
kobewi
8e9c4e04be Assign new UID when duplicating file externally 2024-12-30 13:11:10 +01:00