Commit graph

57518 commits

Author SHA1 Message Date
Rémi Verschelde
c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde
1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
Rémi Verschelde
3408aab7c6
Merge pull request #76027 from AThousandShips/focus_direction
Expose finding valid focus neighbors of a `Control` by side
2023-09-25 17:17:33 +02:00
Rémi Verschelde
df0a822323
Merge pull request #82236 from Chubercik/item_list_separator_fix
Remove the separator from ItemList's thumbnails mode
2023-09-24 23:37:20 +02:00
Rémi Verschelde
7287df4633
Merge pull request #82218 from YuriSizov/themes-vary-vary-duck-duck-goose
Check for type variations in inherited themes
2023-09-24 23:36:56 +02:00
Rémi Verschelde
37d5e1e0e3
Merge pull request #82210 from YuriSizov/editor-animation-uiux-cleanup
Fix theme access and improve UX in AnimationTree editor
2023-09-24 23:36:33 +02:00
Rémi Verschelde
0b4959bdf0
Merge pull request #82203 from KoBeWi/shortcuts_under_pressure
Make InputEventShortcut always pressed
2023-09-24 23:36:09 +02:00
Rémi Verschelde
d8c31155a8
Merge pull request #82191 from dsnopek/gdextension-redundant-hash-check
GDExtension: Remove redundant method bind hash check
2023-09-24 23:35:45 +02:00
Rémi Verschelde
9e011c3950
Merge pull request #82190 from BlueCube3310/aabb-import-shadows-disable
Disable bounding box shadows for advanced scene importer
2023-09-24 23:35:22 +02:00
Rémi Verschelde
810021c7cd
Merge pull request #82181 from Chaosus/curve_fix_crash
Fix CurveEdit crash when dragging the curve if it is null
2023-09-24 23:34:58 +02:00
Rémi Verschelde
04317bc784
Merge pull request #82171 from timothyqiu/sep-leak
Fix leak when calling `remove_control_from_menu_panel`
2023-09-24 23:34:35 +02:00
Rémi Verschelde
64cde8ae8b
Merge pull request #82168 from Supreeeme/ext-fix
Expose `texture_create_from_extension` to GDExtension
2023-09-24 23:34:06 +02:00
Rémi Verschelde
6d8b33f5d4
Merge pull request #82131 from jsjtxietian/fix-skeleton-editor-deleted-in-wrong-container
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 23:33:42 +02:00
Rémi Verschelde
317b925d97
Merge pull request #82050 from chokomancarr/patch-1
docs: Fix incorrect GL format code for 16 bit float formats
2023-09-24 23:33:18 +02:00
Rémi Verschelde
2e109b1598
Merge pull request #82008 from KoTeYkA23/render-selector-restart-fix
Make all render driver project settings require restart
2023-09-24 23:32:55 +02:00
Rémi Verschelde
8788b20ea0
Merge pull request #81775 from darksylinc/matias-taa-msaa
Fix massive validation errors when enabling TAA + MSAA
2023-09-24 23:32:31 +02:00
Rémi Verschelde
5b6bf2aa2a
Merge pull request #81675 from Calinou/editor-filter-nodes-type-clarify
Clarify filtering by node type and group in the Scene tree dock
2023-09-24 23:32:07 +02:00
Rémi Verschelde
684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde
b8238ec919
Merge pull request #81251 from aitorciki/nvidia-profile-multiapp
[Windows] Fix not applying NVIDIA profile to new executables
2023-09-24 23:31:20 +02:00
Rémi Verschelde
42fb795eb8
Merge pull request #80227 from raulsntos/get_tab_bar
Expose the `TabBar` of a `TabContainer`
2023-09-24 23:30:56 +02:00
Rémi Verschelde
98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Rémi Verschelde
40b48b13ee
Merge pull request #78580 from Bromeon/feature/gdextension-stringname-ctor
Add GDExtension function to construct StringName directly from char*
2023-09-24 23:30:04 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
Rémi Verschelde
2048fe5df5
Merge pull request #82245 from akien-mga/sync-gamecontrollerdb
Sync controller mappings DB with SDL2 community repo
2023-09-24 21:06:47 +02:00
Jan Haller
c770937db5 More precise documentation for GDExtension String constructors (bytes vs. character count) 2023-09-24 20:57:58 +02:00
Jan Haller
43be9fa0c8 Fix platform-dependent hashing for char* and wchar_t*
Since char/wchar_t can be either signed or unsigned, its conversion to uint32_t leads to different values depending on platform.
In particular, the same string represented as char* (Latin-1; StringName direct construction) or uint32_t (UTF-8; constructed
via String) previously resulted in different hashes.
2023-09-24 20:57:57 +02:00
Jan Haller
ed3015e979 GDExtension: construct StringName directly from char*
So far, an indirection via String was necessary, causing at least 2 allocations and copies (String; String inside StringName).
Since StringNames often refer to string literals, this allows them to be directly constructed from C strings.

There are two formats: Latin-1 and UTF-8.

The Latin-1 constructor also provides the `p_is_static` flag: when the source has static storage duration, no copy/allocation will be needed.
However, the extension developer needs to uphold this lifetime guarantee.
2023-09-24 18:18:05 +02:00
Rémi Verschelde
e40b0b3ed8
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@fc4b33c872
2023-09-24 15:51:12 +02:00
Jakub Marcowski
2e28fb7cdd Remove the separator from ItemList's thumbnail mode 2023-09-24 13:06:11 +02:00
jsjtxietian
2679118d51 Fix skeleton 3d editor's toolbar ui deleted from wrong container 2023-09-24 11:28:46 +08:00
Yuri Sizov
98f9ef5f88 Check for type variations in inherited themes 2023-09-24 02:54:52 +02:00
Haoyu Qiu
2d67ce4e60 Fix leak when calling remove_control_from_menu_panel 2023-09-24 08:35:45 +08:00
Shawn Wallace
b12ed82c04 Expose texture_create_from_extension to GDExtension 2023-09-23 16:57:12 -04:00
Yuri Sizov
b351cffddf Fix theme access and improve UX in AnimationTree editor 2023-09-23 21:47:27 +02:00
kobewi
90a0b19301 Make InputEventShortcut always pressed 2023-09-23 19:43:07 +02:00
David Snopek
0967fe6217 GDExtension: Remove redundant method bind hash check 2023-09-23 08:48:33 -05:00
Wilson E. Alvarez
c844988e40
Expose EditorInspector::get_edited_object to GDScript 2023-09-23 09:47:07 -04:00
BlueCube3310
1121c7bbaf Disable bounding box shadows for advanced scene importer 2023-09-23 15:18:57 +02:00
Yuri Rubinsky
6d9e4e9704 Fix CurveEdit crash when dragging the curve if it is null 2023-09-23 11:44:54 +03:00
Hugo Locurcio
edade7db23
Clarify filtering by node type and group in the Scene tree dock
This functionality has been available since 4.0, but was difficult
to discover since there was no tooltip and the placeholder didn't
mention it.
2023-09-22 23:09:35 +02:00
Rémi Verschelde
c12d63556b
Merge pull request #82116 from EIREXE/gdscript-docs-fix
Fix `--gdscript-docs` tool failing when autoloads are used in the project.
2023-09-22 22:05:58 +02:00
Rémi Verschelde
1c10ff37b3
Merge pull request #82098 from dalexeev/gds-prevent-engine-singleton-inheritance
GDScript: Prevent constructing and inheriting engine singletons
2023-09-22 22:05:34 +02:00
Rémi Verschelde
f795e45868
Merge pull request #82088 from DennisManaa/qbie/expand-ports
Visual Shaders: Make output-ports for vector types expandable by default
2023-09-22 22:05:10 +02:00
Rémi Verschelde
d65d379d22
Merge pull request #81802 from Nomad1/vs2022_mac_fix
Fixed VS 2022 Mac compatibility
2023-09-22 22:04:46 +02:00
Rémi Verschelde
525c72ec6d
Merge pull request #81350 from DarioSamo/mipmap-bias
Fix mipmap bias behavior by refactoring how samplers are created by Material Storage.
2023-09-22 22:04:22 +02:00
Rémi Verschelde
bafcd32f15
Merge pull request #81716 from akien-mga/web-disable-raycast-embree
Web: Disable raycast module by default (no occlusion culling)
2023-09-22 22:03:55 +02:00
Rémi Verschelde
6fc1d50db3
Merge pull request #81521 from dsnopek/method-bind-default-argument-hash-fix
Fix method hashes with default arguments
2023-09-22 22:03:30 +02:00
Rémi Verschelde
6094738059
Merge pull request #61910 from Calinou/lightmapgi-static-directional-fix-brightness
Fix directional LightmapGI being too dark with static lights
2023-09-22 22:03:01 +02:00
Aitor Guevara
6263774aec [Windows] Fix not applying NVIDIA profile to new executables
An NVIDIA profile is applied to the current executable to disable
threaded OpenGL optimizations on Windows (see #71472). But because the
application is only added to the profile upon the profile creation,
newer executables won't be added to the profile (e.g. if the profile is
created on first launch of Godot_v4.1-stable_win64.exe, when users
update the editor and launch Godot_v4.2-stable_win64.exe, the profile
will never be applied to this new executable).
This patch fixes that scenario by splitting creating the profile (if it
doesn't exist) and adding the application (if it doesn't have a profile
applied) into two separate steps.
Applications that have been manually added to a different profile aren't
overriden to avoid confusing users who know what they're doing.
2023-09-22 20:51:12 +02:00
Raul Santos
408a08f2c1
Expose the TabBar of a TabContainer
Add `TabContainer::get_tab_bar` method to retrieve the `TabBar` of a `TabContainer`.
2023-09-22 20:08:28 +02:00