Commit Graph

67751 Commits

Author SHA1 Message Date
Riteo c15cd3acc4 Wayland: Simplify cursor code and fix custom cursors
Initially the WaylandThread cursor code was supposed to be as stateless
as possible but, as time went on, this wasn't possible.

This expectation made the resulting API quite convoluted, so this patch
aims to simplify it substantially bot in terms of API surface and, most
importantly, in terms of actual implementation complexity.

This patch also fixes custom cursors since I accidentally changed the
mmap flags to MAP_PRIVATE some time ago. This took me hours to notice.
2024-09-13 19:08:53 +02:00
Thaddeus Crews bf811db6c8
Style: Consolidate & migrate GDScript `.editorconfig`
• Moved to test project root so a new `.editorconfig` isn't constantly generated.
• Disable attributes only in the files which use invalid syntax deliberately
2024-09-13 11:12:17 -05:00
Fredia Huya-Kouadio 741efa632a Update the Android editor flavors to avoid vendor-specific references 2024-09-13 08:53:29 -07:00
Thaddeus Crews 41a81f5360
Style: Format yaml files 2024-09-13 08:06:53 -05:00
2750558108 ccc6e5d25f Remove Useless Viewport::gui.key_input_accepted 2024-09-13 20:52:05 +08:00
Pedro J. Estébanez e2fd88ed91 Revert "WorkerThreadPool: Enhance lifetime for more flexibility"
This reverts commit 2d1dd41ef5.
2024-09-13 14:39:11 +02:00
Pedro J. Estébanez f31867d2b9 EditorResourcePreview: Let loads complete after exit requested 2024-09-13 12:19:06 +02:00
Rémi Verschelde 74de05a01c
Merge pull request #96912 from Chaosus/shader_fix_sky
Fix broken sky shader
2024-09-13 11:49:05 +02:00
Pedro J. Estébanez e3ddf3d44a ResourceLoader: Fixup resource changed feature (no. 2) 2024-09-13 11:32:55 +02:00
Rémi Verschelde d5d6c730bf
Merge pull request #96934 from smix8/planemesh_gizmo
Fix `MeshInstance3D` gizmo redraw performance for `PlaneMesh` with larger subdiv value
2024-09-13 11:22:08 +02:00
Rémi Verschelde 84f1fe781c
Merge pull request #96910 from zaevi/improve_GraphEdit_dot_grid
GraphEdit: Improve dotted pattern grid performance
2024-09-13 11:22:05 +02:00
Rémi Verschelde f2ce94fdde
Merge pull request #96885 from LuizZak/grow_mask_sqrt_fix
Avoid expensive sqrt operation in hot loop of `BitMap.grow_mask`
2024-09-13 11:22:01 +02:00
Rémi Verschelde 0f86f30cf0
Merge pull request #96860 from kroketio/from-ext-alloc-check
Vulkan: Account for externally backed textures
2024-09-13 11:21:58 +02:00
Rémi Verschelde 97843116f6
Merge pull request #96759 from Geometror/implement-autostart-profilers
Implement autostart for all profilers
2024-09-13 11:21:54 +02:00
Rémi Verschelde b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Rémi Verschelde 0d37bc4781
Merge pull request #96532 from AThousandShips/ref_delete_null
[Core] Optionally delete `Ref` `nullptr` comparisons
2024-09-13 11:21:48 +02:00
Rémi Verschelde 9a5d0be90f
Merge pull request #96466 from object71/fix-polygon-editor-losing-toolbar-96238
Fix polygon node losing its UV toolbar
2024-09-13 11:21:44 +02:00
Rémi Verschelde ac652cf2a0
Merge pull request #96386 from AThousandShips/enum_inspector_improve
[Editor] Merge duplicate entries in enum property inspector
2024-09-13 11:21:40 +02:00
Rémi Verschelde 40d8d82b85
Merge pull request #93779 from hayahane/fix_get_property_cs
[C#] Fix `get_property_list` get wrong order of properties
2024-09-13 11:21:37 +02:00
Rémi Verschelde 04456cf42d
Merge pull request #93427 from AThousandShips/editor_setting_doc
[Editor] Expose more editor settings to documentation
2024-09-13 11:21:32 +02:00
Rémi Verschelde 5a56d11ad1
Merge pull request #96915 from Faless/mp/rpc_sort_custom
[MP] Fix broken RPCs after dictionary keys type change
2024-09-13 11:21:29 +02:00
Slashscreen 89491f4403 Add callable support for `find` and `rfind` `Array` methods 2024-09-13 00:01:53 -07:00
Chaosus 4a16a0d60c Fix broken sky shader 2024-09-13 08:53:26 +03:00
allison c46b5af06b fix astar partial path destination can be solid/disabled
* AStar2D, AStar3D and AStarGrid2D will now return a path when allow_partial_path is true even if the destination is a solid/disabled point.

# Conflicts:
#	core/math/a_star_grid_2d.cpp
#	core/math/a_star_grid_2d.h
2024-09-12 20:09:41 -07:00
clayjohn 74a1c85ba3 Add CommandQueue to Betsy 2024-09-12 13:54:24 -07:00
smix8 b8de7b72c6 Fix gizmo redraw performance for PlaneMesh with larger subdiv value
Fixes gizmo redraw performance for PlaneMesh with larger subdiv value.
2024-09-12 22:31:56 +02:00
Thaddeus Crews b3d7960df4
Core: Fix `operator[]` for typed dictionaries 2024-09-12 11:10:17 -05:00
Zae 84102af090 GraphEdit: Improve dotted pattern grid performance 2024-09-12 23:58:42 +08:00
Sander 41fdc55b05 Vulkan: account for externally backed textures (i.e., created via `texture_create_from_extension()`), as such textures lack ownership information.
More info: #96832
2024-09-12 18:15:23 +03:00
Fabio Alessandrelli 32e4ab91e8 [MP] Fix broken RPCs after dictionary keys type change
As part of RPCs processing, they need to be sorted reliably across all
peers, so that unique IDs can be assigned to greatly optimize the
network layer.

The RPC configuration nodes are stored in dictionaries which, until
recently, always casted StringName keys to String.

Since method names (keys) in the RPC configuration were StringName,
a side effect of the above change is that sorting the dictionary keys no
longer sort them alphabetically by default (StringName are compared
using their pointers).

This commit changes the RPC processing logic to use sort_custom to
provide a function that can handle the StringName comparison.
2024-09-12 16:38:14 +02:00
A Thousand Ships 7d8684fdb5
[Editor] Merge duplicate entries in enum property inspector
This helps with confusion over how selecting a key with a duplicate
value won't be selected as only the first entry with a particular value will
be selected.
2024-09-12 16:05:11 +02:00
Luiz Fernando Silva 293cc2126e Avoid expensive sqrt operation in hot loop of BitMap.grow_mask 2024-09-12 11:04:57 -03:00
A Thousand Ships dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
kobewi b36bebc6da Add SCROLL_MODE_RESERVE to ScrollContainer 2024-09-12 14:02:01 +02:00
aXu-AP 610d98f3ea Make script list default wider, minimum narrower
Give more space to the script lists by default, but makes minimum smaller than it was. Unifies script editor and shader editor to use same values.
2024-09-12 14:51:22 +03:00
A Thousand Ships df29cc696f
[Core] Optionally delete `Ref` `nullptr` comparisons
Adds an optional (default false) compile option to enable comparing
`Ref` to `nullptr` to ensure correct use, as well as future expandsion
for more general dev checks (enabled with `dev_mode`)
2024-09-12 11:26:49 +02:00
bruvzg b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +03:00
Rémi Verschelde 83d54ab2ad
Merge pull request #96708 from bruvzg/lbl3d_os
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-12 10:28:52 +02:00
Rémi Verschelde cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
Rémi Verschelde 6b9f4418bb
Merge pull request #96900 from bruvzg/fd_startup
Fix native file dialog showing on loading project in editor.
2024-09-12 09:57:35 +02:00
Rémi Verschelde a8904b9622
Merge pull request #96753 from Dowsley/realtime-animation-player-bezier-property-changes
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes
2024-09-12 09:57:29 +02:00
bruvzg 0a3a483ca7 Fix native file dialog showing on loading project in editor. 2024-09-12 10:49:50 +03:00
Dowsley 9d0944b673
Update AnimationPlayer in real-time when bezier curve properties or bezier editor changes 2024-09-12 09:34:05 +02:00
Rémi Verschelde b214aa8faf
Merge pull request #96880 from zeux/fix-vcache-nontri
Fix a crash in `ImporterMesh::create_shadow_mesh` for non-triangle surfaces
2024-09-12 09:26:01 +02:00
Rémi Verschelde ae50e9ef7b
Merge pull request #96878 from bruvzg/rtl_font_reload
[RTL] Fix font not updated for some spans.
2024-09-12 09:25:57 +02:00
Rémi Verschelde 573badf150
Merge pull request #96875 from stuartcarnie/sgc/small_optimisations
[Editor, Servers] Minor optimizations
2024-09-12 09:25:53 +02:00
Rémi Verschelde f1742991dc
Merge pull request #96870 from IntangibleMatter/patch-1
Remove "default font" from `ResourceImporterDynamicFont` Documentation
2024-09-12 09:25:50 +02:00
Rémi Verschelde 55f1ae0d41
Merge pull request #96868 from dsnopek/android-editor-launching-xr-app-fix
Fix launching XR apps from the Android editor
2024-09-12 09:25:46 +02:00
Rémi Verschelde 60ffa9645a
Merge pull request #96864 from KoBeWi/dictionerrory
Fix `Dictionary.merge()` type validation
2024-09-12 09:25:42 +02:00
Rémi Verschelde f8b29d54a3
Merge pull request #96863 from BlueCube3310/gles-align-fix
Compatibility: Fix alignment of compressed textures when retrieving
2024-09-12 09:25:39 +02:00