Commit Graph

57722 Commits

Author SHA1 Message Date
Danil Alexeev e8696f9961
GDScript: Improve call analysis
* Add missing `UNSAFE_CALL_ARGUMENT` warning.
* Fix `Object` constructor.
* Display an error for non-existent static methods.
2023-09-21 13:36:39 +03:00
bruvzg 901e090e56
[macOS] Enforce non-zero window size. 2023-09-21 12:37:18 +03:00
Danil Alexeev 3c35e7f1d6
GDScript: Make array literal typed if `for` loop variable type is specified 2023-09-21 11:25:59 +03:00
bruvzg b826cd5acd [Windows] Use clear color for non exclusive fullscreen border, fix maximize for borderless window switching to exclusive fs. 2023-09-21 11:24:40 +03:00
Rémi Verschelde 59139df16e
Merge pull request #81986 from spazzylemons/master
Remove unnecessary line from Projection::get_z_far
2023-09-20 18:55:32 +02:00
Rémi Verschelde 70150bac8a
Merge pull request #81978 from MewPurPur/donut-buff
Improve the Torus icons
2023-09-20 18:55:28 +02:00
Rémi Verschelde 58750df3a3
Merge pull request #81968 from bruvzg/xc15_ld_bug
[macOS] Workaround Xcode 15 linker bug.
2023-09-20 18:55:25 +02:00
Rémi Verschelde 0c71c7cc6f
Merge pull request #81967 from Jordyfel/physics-doc
Fix example in gravity project settings doc
2023-09-20 18:55:21 +02:00
Rémi Verschelde 3cce730975
Merge pull request #81951 from bitsawer/fix_lightmap_shader_indexing
Fix LightmapGI shading sometimes being unlit or black
2023-09-20 18:55:17 +02:00
Rémi Verschelde 5fd8506e19
Merge pull request #81847 from crazyStewie/dotnet_editor_project_fix
Implemented {project} placeholder for external dotnet editor
2023-09-20 18:55:13 +02:00
Rémi Verschelde ce0fa4c691
Merge pull request #81783 from zaevi/fix-csharp-static-method
C#: make C# static methods accessible.
2023-09-20 18:55:10 +02:00
Rémi Verschelde 6df12fe187
Merge pull request #80671 from fuzzybinary/gdextension-virtuals
Add functions for non-ptr style virtual calls in GDExtension
2023-09-20 18:55:05 +02:00
Zae 67e1373e5a C#: make C# static methods accessible. 2023-09-20 22:49:33 +08:00
Matthew 9f21dfbafd
Remove unnecessary line from Projection::get_z_far
Removes a line from Projection::get_z_far that flips the normal of a plane.
While this may be required for similar code elsewhere in the file, this is
unnecessary here, as only the length of the normal is used and not the
direction. Flipping the normal does not change its magnitude and therefore is
unnecessary in this case.
2023-09-20 10:48:37 -04:00
beyarkay 73fb7f0fc0 [docs] update AABB `get_support` description
This is a simple documentation edit. It updates the description of the
get_support method in AABB to explain what a support point is.
2023-09-20 16:38:43 +02:00
crazyStewie c01a47867b Implemented {project} placeholder for external dotnet editor
Implements the {project} placeholder, available when setting an external editor
in the project settings, via Editor > Editor Settings > Text Editor > External
for the c# external editor, under Editor > Editor Settings > Dotnet > Editor,

This allows passing the project folder as a command line argument when using a
custom external editor that isn't one of the available options.

Fixes #81845
2023-09-20 10:20:45 -03:00
Rémi Verschelde 0ba19c3e4a
Merge pull request #81914 from jsjtxietian/update-mesh-list-immeditely-after-set-mesh-library
Update mesh list UI immediately after setting mesh library in gridmap
2023-09-20 15:18:28 +02:00
Rémi Verschelde 52104ded69
Merge pull request #81298 from mihe/soft-body-rendering-handler
Fix bindings of `PhysicsServer3DRenderingServerHandler`
2023-09-20 15:18:24 +02:00
Rémi Verschelde 54748f23dd
Merge pull request #74142 from bitsawer/mipmap_api
Expose and document `Image.get_mipmap_count()`
2023-09-20 15:18:15 +02:00
MewPurPur a40a2ff7d9 Improve the Torus icons 2023-09-20 15:42:37 +03:00
kobewi 07a00cf822 Don't allow transforming scene tiles 2023-09-20 14:10:21 +02:00
Rémi Verschelde 4613bfc9df
Merge pull request #81934 from Repiteo/c#-CS1591-disabled-to-suggestion
C#: CS1591 from `NoWarn` to `suggestion`
2023-09-20 13:10:12 +02:00
Rémi Verschelde f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Rémi Verschelde 73d7651784
Merge pull request #81921 from YuriSizov/gui-less-friendliness
Connect `CodeHighlighter` with `TextEdit` without friend-access
2023-09-20 13:10:00 +02:00
Rémi Verschelde c36f6f87e6
Merge pull request #81917 from AThousandShips/alloc_fix
Fix allocation size overflow check in `CowData`
2023-09-20 13:09:55 +02:00
Rémi Verschelde 12b313039d
Merge pull request #81912 from RandomShaper/polish_vk
Polish a few things in Vulkan RD
2023-09-20 13:09:52 +02:00
Rémi Verschelde 0bd49b3bda
Merge pull request #81900 from dalexeev/core-astar-grid-2d-code-style
Core: Some code style improvements to `AStarGrid2D`
2023-09-20 13:09:48 +02:00
Rémi Verschelde 888d3252ba
Merge pull request #81881 from lotuspar/patch-1
Rewrite a small comment in GDScript tokenizer code
2023-09-20 13:09:44 +02:00
Rémi Verschelde 2c125bf9c0
Merge pull request #81872 from DarioSamo/lightmapper-half-pixel-offset
Add half-pixel offset to lightmapper rasterization.
2023-09-20 13:09:40 +02:00
Rémi Verschelde 8728cac736
Merge pull request #81770 from kevincardona/add_quick_open_shortcut
Add Ctrl+P as shortcut to quick open files in addition to Shift+Alt+O
2023-09-20 13:09:37 +02:00
Rémi Verschelde 281439ce20
Merge pull request #81699 from dalexeev/gds-fix-and-improve-doc-comment-parsing
GDScript: Fix and improve doc comment parsing
2023-09-20 13:09:32 +02:00
Rémi Verschelde cc7227c98c
Merge pull request #81508 from bluenote10/bugfix/fix_audio_stream_generator
Alternative minimal fix for audio stream generators
2023-09-20 13:09:28 +02:00
Rémi Verschelde 712ebe7d8a
Merge pull request #81332 from dalexeev/gds-fix-update-array-literal-in-weak-context
GDScript: Don't make array literal typed in weak type context
2023-09-20 13:09:23 +02:00
Rémi Verschelde 971f678442
Merge pull request #79510 from dalexeev/gds-fix-const-non-metatype-subscript
GDScript: Fix subscript resolution for constant non-metatypes
2023-09-20 13:09:17 +02:00
Rémi Verschelde 21b132616b
Merge pull request #74995 from dalexeev/gds-r-strings
GDScript: Add raw string literals (r-strings)
2023-09-20 13:09:13 +02:00
Rémi Verschelde bfcfa10288
Merge pull request #71905 from ajreckof/change_CTRL_for_command_or_control
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-20 13:09:05 +02:00
jsjtxietian 12299e0f53 Ignore empty lines when commenting/uncommenting code 2023-09-20 18:55:48 +08:00
Mikael Hermansson ee9f41a12d Fix bindings of `PhysicsServer3DRenderingServerHandler` 2023-09-20 12:24:32 +02:00
bruvzg 6da8c7a662
[macOS] Workaround Xcode 15 linker bug. 2023-09-20 11:03:44 +03:00
Jordyfel 197d57af79 Fix gravity project settings doc. 2023-09-20 10:38:00 +03:00
jsjtxietian c9957d8907 Update meshes list UI immeditely after setting mesh library in gridmap 2023-09-20 10:51:19 +08:00
Jeff Ward 60851af4da Add functions for non-ptr style virtual calls in GDExtension
This adds two functions to `GDExtensionClassCreationInfo` that allow for developers to supply a generic virtual call function along with user data to be sent to that call.

If `get_virutal_call_data_func` is not null, extensions call this function to get user data to pass to a supplied `call_virtual_with_data_func`. Both must be provided is one is provided.

If `get_virtual_call_data_func` is null, Godot falls back to the old `get_virtual_func` logic.

Fixes #63275

Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-09-19 22:33:32 -04:00
bitsawer dda8846dea Fix LightmapGI shading sometimes being unlit or black 2023-09-20 01:41:32 +03:00
Yuri Sizov 4bd569be95 Replace flat buttons with flat-styled buttons with a visible pressed state 2023-09-19 22:36:29 +02:00
Danil Alexeev c35cb51d74
GDScript: Fix subscript resolution for constant non-metatypes 2023-09-19 22:26:06 +03:00
Raul Santos 5f6082a96b
C#: Generate and use compat methods
- Implements `ClassDB::get_method_list_with_compatibility` to retrieve all methods from a class including compat methods.
- C# bindings generator now also generates compat methods.
- All generated C# methods now use `ClassDB::get_method_with_compatibility`.
2023-09-19 20:35:11 +02:00
Thaddeus Crews 657d81e056
C#: CS1591 from `none` to `suggestion` 2023-09-19 13:12:06 -05:00
Yuri Sizov ef80a2b44c Allow to specify target folder when installing assets
This also changes the layout of the installer window to
better separate configuration of the installation and the
expected output.
2023-09-19 20:10:26 +02:00
Pedro J. Estébanez bda6fc5d2f Polish a few things in Vulkan RD 2023-09-19 18:10:46 +02:00