Commit graph

57424 commits

Author SHA1 Message Date
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
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
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
Mikael Hermansson
ee9f41a12d Fix bindings of PhysicsServer3DRenderingServerHandler 2023-09-20 12:24:32 +02: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
Danil Alexeev
c35cb51d74
GDScript: Fix subscript resolution for constant non-metatypes 2023-09-19 22:26:06 +03:00
Thaddeus Crews
657d81e056
C#: CS1591 from none to suggestion 2023-09-19 13:12:06 -05:00
Pedro J. Estébanez
bda6fc5d2f Polish a few things in Vulkan RD 2023-09-19 18:10:46 +02:00
Danil Alexeev
1621110e2d
Core: Some code style improvements to AStarGrid2D 2023-09-19 17:20:38 +03:00
A Thousand Ships
c48b189e14 Fix allocation size overflow check in CowData 2023-09-19 16:12:02 +02:00
kobewi
3f43044a40 Make UIDs clickable in the script editor 2023-09-19 15:59:03 +02:00
Gio
b6f1dbb340 Rewrite a bit of comment in tokenizer code
gdscript_tokenizer.cpp: `change` -> `changes`
2023-09-19 21:38:52 +08:00
Gilles Roudière
83f1e31483 Fix TileMap editor so that pressing control deselects cells correctly 2023-09-19 15:12:03 +02:00
Yuri Sizov
fee1fb8290 Connect CodeHighlighter with TextEdit without friend-access 2023-09-19 14:36:38 +02:00
bitsawer
16c3a19d91 Expose and document Image.get_mipmap_count() 2023-09-19 14:34:59 +03:00
ajreckof
6afadbaa9f Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform 2023-09-19 10:29:07 +02:00
Rémi Verschelde
571cd0eb79
Merge pull request #81885 from rmmh/fix-curve3d-twisting
Fix Curve3D baking up vectors for nontrivial curves.
2023-09-19 09:05:17 +02:00
Rémi Verschelde
f0a9931eb7
Merge pull request #81869 from akien-mga/web-fix-lto-scalbnf-version-check
Web: Fix version check for missing scalbnf LTO workaround
2023-09-19 09:04:53 +02:00
Rémi Verschelde
e207595de9
Merge pull request #81844 from ryanabx/features/specify-lsp-port
Add `--lsp-port` as a command line argument
2023-09-19 09:04:30 +02:00
Rémi Verschelde
c78d0e2eb0
Merge pull request #81819 from Chaosus/cs_max_min_vectors
Add Vector2/3/4i.MAX and MIN (C#)
2023-09-19 09:04:05 +02:00
Rémi Verschelde
3d3a9ee827
Merge pull request #81808 from anvilfolk/super-virtual
GDScript: Add check for `super()` methods not being implemented
2023-09-19 09:03:42 +02:00
Rémi Verschelde
9a1b4f338b
Merge pull request #81160 from paddy-exe/canvas-uv-world-space
Add render mode to use world coordinates in canvas item shader
2023-09-19 09:03:18 +02:00
Rémi Verschelde
8dfc3f1864
Merge pull request #79005 from maiself/gde-custom-callable
Allow CallableCustom objects to be created from GDExtensions (extended)
2023-09-19 09:02:49 +02:00
Ryan Hitchman
734b9d2379 Fix Curve3D baking up vectors for nontrivial curves.
The code was modified in 42aa539 to have a different basis vector, but
this line was missed and caused up vectors to invert sometimes.

Fixes #81879
2023-09-18 18:50:36 -06:00
Dario
ddc3126bbf Add half-pixel offset to lightmapper rasterization.
Add half-pixel offset to lightmapper to fix issues where the ray would be generated from the wrong spot corresponding to the pixel and causing light leaks. Fixes Issue #69126.
2023-09-18 11:56:04 -03:00
Rémi Verschelde
50161808c2
Web: Fix version check for missing scalbnf LTO workaround
The check needs to happen after we set `env["CXX"]`.
Follow-up to #81340.
2023-09-18 16:32:20 +02:00
ryanabx
a5b7c4c415 Add --lsp-port as a command line argument 2023-09-18 08:51:15 -05:00
Rémi Verschelde
e3e2528ba7
Merge pull request #81834 from MewPurPur/canvas-texture-icon
Add CanvasTexture icon
2023-09-18 10:38:32 +02:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00