Commit graph

53714 commits

Author SHA1 Message Date
Rémi Verschelde
dfee04ae2a
Merge pull request #74632 from davthedev/tabs-hover
Add theming support for hovered tabs
2023-04-24 16:42:38 +02:00
sodaJar
464a299d2e Fix wrong file on function call error 2023-04-24 15:30:51 +02:00
bitsawer
723f2f342f Optimize HashMap size 2023-04-24 16:18:58 +03:00
Juan Linietsky
a37c30dfc9 Fix thread IDs.
On Linux, thread IDs were not properly assigned with the current approach.
The line:
`std::thread new_thread(&Thread::callback, _thread_id_hash(thread.get_id()), p_settings, p_callback, p_user);`
does not work because the thread ID is not assigned until the thread starts.

This PR changes the behavior to use manually generated thread IDs. Additionally, if a thread is (or may have been created) outside Godot, the method `Thread::attach_external_thread` was added.
2023-04-24 15:13:58 +02:00
bruvzg
628f3b2f79
[OS] Implement and expose to scripting APIs get_memory_info method instead of old get_free_static_memory. 2023-04-24 14:08:55 +03:00
Pedro J. Estébanez
882b869220 Fix issues with Vulkan layout transitions 2023-04-24 12:24:24 +02:00
Rindbee
23d6225c1e Fix line_spacing in code editor will not take effect immediately on change
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.
2023-04-24 17:11:38 +08:00
bruvzg
fd3e7e25e8
[macOS] Bump min. version to 10.13, and remove deprecated code. 2023-04-24 10:52:50 +03:00
Fredia Huya-Kouadio
f178cad04a
Merge pull request #75703 from m4gr3d/fix_tab_close_button_main
Fix UI responsiveness to touch taps
2023-04-23 18:24:50 -07:00
kobewi
da8d6734fb Fix typed array export... again 2023-04-23 20:08:30 +02:00
Emmanouil Papadeas
0a6a4969dc Add more signals to TabContainer that TabBar already has 2023-04-23 18:50:35 +03:00
Fredia Huya-Kouadio
aa7a4d56f0 Make EditorPropertyLayersGrid responsive to touch taps 2023-04-23 07:09:51 -07:00
Haoyu Qiu
9f38a68a59 Make create folder popup support nested folders 2023-04-23 21:10:04 +08:00
Haoyu Qiu
dfc628bc54 Fix layout list not resizing in editor layout dialog 2023-04-23 18:44:05 +08:00
Haoyu Qiu
997ff8f14a Translate undo/redo messages in settings dialogs 2023-04-23 17:49:55 +08:00
Ninni Pipping
16a1465380 Add information about how Engine.time_scale affects Timers 2023-04-23 10:21:18 +02:00
Haoyu Qiu
a15126915d Fix TouchScreenButton not redrawn when texture changes 2023-04-23 14:35:12 +08:00
Fredia Huya-Kouadio
7325ffdd46 Make tab's close button responsive to touch taps 2023-04-22 20:32:00 -07:00
VolTer
048f94f662 Add missing PhysicalBone2D icon 2023-04-23 01:52:05 +02:00
Aaron Franke
290b09b36c
Expose determinant in Transform2D, rename internal method 2023-04-22 13:44:14 -05:00
Adam Scott
10fe6f14bb Fix GDScript LSP variable rename 2023-04-22 14:35:34 -04:00
Samuele Panzeri
b6abb34759 Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash 2023-04-22 18:34:36 +02:00
kobewi
14cb9b5b26 Add center_grabber property to Slider 2023-04-22 17:53:17 +02:00
Rémi Verschelde
24cb43a874
Merge pull request #76331 from clayjohn/PM-crash
Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users
2023-04-22 13:20:21 +02:00
Rémi Verschelde
220d44eff4
Merge pull request #76325 from m4gr3d/downgrade_agp_main
Downgrade android gradle plugin to version 7.2.1.
2023-04-22 13:19:57 +02:00
Rémi Verschelde
898873b91e
Merge pull request #76309 from Calinou/custom-mouse-cursor-error-compressed
Add support for VRAM-compressed custom mouse cursor images
2023-04-22 13:19:34 +02:00
Rémi Verschelde
66d9a6acde
Merge pull request #75960 from ShadyChibinko/tab_metadata
Add tab Metadata to TabBar & TabContainer
2023-04-22 13:19:04 +02:00
clayjohn
48ebae7812 Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users 2023-04-21 16:51:57 -07:00
Fredia Huya-Kouadio
4507d3a38c Downgrade android gradle plugin to version 7.2.1.
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.
2023-04-21 14:34:07 -07:00
Hugo Locurcio
303bf247de
Add support for VRAM-compressed custom mouse cursor images
No memory is actually saved when using this, so lossless modes are
still recommended as they look better and load faster.
2023-04-21 18:01:47 +02:00
ocean (they/them)
6783ff69c0 Improve and fix GDScript documentation generation & behavior
Removes documentation generation (docgen) from the GDScript compiler to
its own file. Adds support for GDScript enums and signal parameters and
quite a few other assorted fixes and improvements.
2023-04-21 10:17:30 -04:00
Rémi Verschelde
65d8659eb6
Merge pull request #76314 from pkowal1982/lerp_error_message
Fix lerp error message
2023-04-21 15:51:36 +02:00
Rémi Verschelde
c6f5e78c89
Merge pull request #76308 from Calinou/doc-custom-mouse-cursor
Document custom mouse cursors larger than 128×128 potentially having issues
2023-04-21 15:51:13 +02:00
Rémi Verschelde
8d13620874
Merge pull request #76298 from akien-mga/ci-static-fix-fallback
CI: Fix checks fallback logic when changed files listing is missing
2023-04-21 15:50:50 +02:00
Rémi Verschelde
77fc22d6e2
Merge pull request #76290 from JohanAR/light_is_directional_spatial
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-21 15:50:27 +02:00
Rémi Verschelde
1a6d198759
Merge pull request #76282 from smix8/node_3d_gizmo_split_4.x
Split Node3DGizmos into dedicated files
2023-04-21 15:50:02 +02:00
Rémi Verschelde
65cd565a85
Merge pull request #76306 from KoBeWi/help_is_dead,_long_live_the_help!
Fix EditorHelp failing to load
2023-04-21 15:49:33 +02:00
ocean (they/them)
4bfd539f99 Fix @export variable tooltips not showing up in Inspector when there is
an inner class
2023-04-21 08:39:47 -04:00
Paweł
899da22002 Fix lerp error message 2023-04-21 10:01:59 +02:00
Hugo Locurcio
92730fb07d
Document custom mouse cursors larger than 128×128 potentially having issues 2023-04-21 02:05:22 +02:00
kobewi
15442b54a8 Fix EditorHelp failing to load 2023-04-21 01:25:47 +02:00
TheSecondReal0
d829b43ab5 Add option for ButtonGroups to be unpressed
Add an option for ButtonGroups to be unpressed

Apply suggestions from code review

Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: Yuri Rubinsky <chaosus89@gmail.com>
Co-Authored-By: kleonc <9283098+kleonc@users.noreply.github.com>
2023-04-20 17:09:39 -06:00
Manuel Dun
fa7e6ddb83 Fix auto-indentation in typed arrays, comments, and after colon
Now the editor won't add indentation when pressing enter, is
declaring typed variables and there is a colon in the comment

example:
var a:=0#:[press enter]
no indentation
2023-04-20 18:48:21 -04:00
smix8
808af8e837 Split Node3DGizmos into dedicated files
Splits Node3DGizmos into dedicated files.
2023-04-20 20:12:47 +02:00
Rémi Verschelde
39d24ee80b
CI: Fix checks fallback logic when changed files listing is missing
The file would be one byte (newline) so the check with '-s' failed.
2023-04-20 18:22:48 +02:00
Rémi Verschelde
6f1a52b017
Merge pull request #76296 from akien-mga/ci-static-fixup-merge
CI: Fixup failure to get changed files on merge
2023-04-20 18:09:34 +02:00
Rémi Verschelde
4abb7a6bac
Merge pull request #76288 from RedworkDE/net-glue-no-doccache
C#: Do not use DocCache when generating glue code
2023-04-20 18:09:10 +02:00
Rémi Verschelde
bf62af334b
Merge pull request #76286 from MystMagus/gdscript-mixed-tabs-and-spaces-fix
Fix for mixed tabs and spaces in gdscript
2023-04-20 18:08:47 +02:00
Rémi Verschelde
9a790024b6
Merge pull request #76269 from KoBeWi/let's_wrap_this_up
Add shortcut for quick-toggling word wrap
2023-04-20 18:08:22 +02:00
Rémi Verschelde
a1d2396ab9
Merge pull request #76065 from dalexeev/gds-check-tool-and-icon
GDScript: Add some checks for `@tool` and `@icon`
2023-04-20 18:07:52 +02:00