Commit Graph

9389 Commits

Author SHA1 Message Date
Yuri Sizov
1437b3a226 Merge pull request #81599 from ShadowApex/shadowapex/fix-extendparser-signals
Fix dumping of signal API parameters
2023-09-14 15:21:56 +02:00
Yuri Sizov
495b89ece9 Merge pull request #81561 from BastiaanOlij/fix_openxr_blend_modes
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-14 15:21:49 +02:00
Yuri Sizov
ded139384e Merge pull request #81536 from BastiaanOlij/fix_openxr_not_running_error_spam
OpenXR: Fix error spam if session hasn't started yet
2023-09-14 15:21:41 +02:00
Yuri Sizov
223fc3cdd3 Merge pull request #81440 from ryanabx/features/warn-strict-supertype-only
Remove `REDUNDANT_FOR_VARIABLE_TYPE` warning
2023-09-14 15:21:33 +02:00
Danil Alexeev
b1eb737719
GDScript: Fix some lambda bugs 2023-09-14 14:22:23 +03:00
Raul Santos
5f6524ad44
C#: Check if JetBrains Rider editor path is empty 2023-09-14 01:55:51 +02:00
Bastiaan Olij
3806d964e3 Fix issue with OpenXR environment blend mode not being applied properly 2023-09-13 14:07:23 +10:00
William Edwards
188132884d Fix dumping of signal API parameters 2023-09-12 18:43:31 -07:00
ryanabx
ceda960131 Remove REDUNDANT_FOR_VARIABLE_TYPE
Remove REDUNDANT_FOR_VARIABLE_TYPE
2023-09-12 20:04:32 -05:00
kobewi
015953a3d9 Add helper for 3D gizmos and unify box 2023-09-12 18:08:02 +02:00
ocean (they/them)
d330f5642e GDScript: Fix compilation of expressions compiling other classes
This PR is part of ongoing work on fixing cyclic dependencies in the GDScript
compiler.
2023-09-12 11:18:33 -04:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
0545ed5c71
Merge pull request #81355 from ryanabx/features/enforce-static-typing
Add an optional `untyped_declaration` warning
2023-09-12 08:49:57 +02:00
Rémi Verschelde
b539bfb263
Merge pull request #81201 from anvilfolk/rpc
GDScript: Fix subclass methods not inheriting RPC info
2023-09-12 08:49:33 +02:00
Danil Alexeev
4b5daf06ef
Editor: Improve signal callback generation 2023-09-11 18:45:39 +03:00
Danil Alexeev
2964c7d51c
GDScript: Add raw string literals (r-strings) 2023-09-11 18:34:33 +03:00
ocean (they/them)
711ffabcfe GDScript: fix subclass methods not inheriting RPC info 2023-09-11 11:10:07 -04:00
BooksBaum
0202a36a7a Language Server: Improve hovered symbol resolution, fix renaming bugs, implement reference lookup
Co-Authored-By: Ryan Brue <56272643+ryanabx@users.noreply.github.com>
Co-Authored-By: BooksBaum <15612932+booksbaum@users.noreply.github.com>
2023-09-11 09:46:34 -05:00
ryanabx
14edf044af Add "untyped_declaration" warning 2023-09-11 09:39:10 -05:00
Rémi Verschelde
221884e6bc
Merge pull request #81534 from BastiaanOlij/fix_openxr_huawei_default_profile
OpenXR: Fix missing add profile for Huawei
2023-09-11 15:40:52 +02:00
Rémi Verschelde
2081b1d549
Merge pull request #81501 from Dragoncraft89/zipreader_signature
Use pass by reference in ZIPPacker & ZIPReader signatures
2023-09-11 15:39:41 +02:00
Rémi Verschelde
13f0ab88f2
Merge pull request #81079 from dalexeev/gds-fix-get-method-list
GDScript: Fix `get_*_list()` methods return incorrect info
2023-09-11 15:36:52 +02:00
Bastiaan Olij
b1548e8b19 OpenXR fix error spam if session hasn't started yet 2023-09-11 14:12:34 +10:00
Bastiaan Olij
c5e4f3eb74 OpenXR fix missing add profile for hauwei 2023-09-11 13:44:03 +10:00
Geoffroy Warin
5f3cbcb55d fix some keys triggering their actions twice in GridMap 2023-09-11 03:04:25 +02:00
Florian Kothmeier
a41ae7d69c
Use pass by reference in ZIPPacker & ZIPReader signatures 2023-09-10 00:22:53 +02:00
Aaron Franke
6f7eccc758
Add a type conversion method to Variant Utility and expose to scripting 2023-09-08 10:12:48 -05:00
Rémi Verschelde
31a7fd1951
Merge pull request #81406 from bruvzg/ts_dict_chk2
[TextServer] Pass Dictionary properties by value and check property values instead of references.
2023-09-08 09:11:23 +02:00
Rémi Verschelde
cfd292939c
Haiku: Remove remnants of past WIP platform port
The Haiku platform port was never finalized, and moved to a separate repo in
Godot 3.2 days: https://github.com/godotengine/godot-platform-haiku

Sadly it didn't garner more interest there and is bitrotting. It was never
ported to Godot 4 so the bits of Haiku support left in Mono aren't useful.
2023-09-07 16:37:51 +02:00
Rémi Verschelde
08c578c54c
Merge pull request #81416 from akien-mga/uwp-ce-nest-qu-un-au-revoir
UWP: Remove platform port, needs to be redone from scratch for 4.x
2023-09-07 16:33:40 +02:00
Rémi Verschelde
0b9ffdfc02
Merge pull request #81414 from akien-mga/codestyle-get-back-in-das-Auto
Codestyle: Don't use auto where not warranted
2023-09-07 16:33:17 +02:00
Rémi Verschelde
0f38fdf9c3
Merge pull request #78032 from BastiaanOlij/expose_openxr_hand_tracking_data
Expose OpenXR raw hand tracking data
2023-09-07 16:31:42 +02:00
Rémi Verschelde
11518665b7
Codestyle: Don't use auto where not warranted
We allow using auto for lambdas or complex macros where a return type
may change based on the parameters. But where the type is clear, we
should be explicit.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-07 16:15:18 +02:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.

So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Bastiaan Olij
58df9bd8a4 Expose OpenXR raw hand tracking data 2023-09-07 22:55:21 +10:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
Rémi Verschelde
632bbc66b6
Merge pull request #81361 from bruvzg/ntdir
[TextServer] Use locale or first span language to select preferred direction for neutral text.
2023-09-07 13:52:57 +02:00
bruvzg
1ced1f9c99
[TextServer] Pass Dictionary properties by value and check property values instead of references.. 2023-09-07 11:59:51 +03:00
Yuri Sizov
d8ff69d53c Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.

This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
356624ce6d Merge pull request #80807 from aaronfranke/gltf-skin-mesh-comment
GLTF: Add a comment for skinned mesh tree placement
2023-09-06 14:49:06 +02:00
Yuri Sizov
3c63dce3cd Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
bruvzg
1cb63fc719
[TextServer] Use locale or first span language to select preferred direction for neutral text. 2023-09-06 08:50:08 +03:00
Aaron Franke
908716529d
GLTF: Add a comment for skinned mesh tree placement
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-05 12:19:31 -05:00
Yuri Sizov
d90918194f Merge pull request #81295 from aaronfranke/fix-compile-no-3d
Fix compiling with 3D disabled due to unused navigation variable
2023-09-05 15:14:17 +02:00
Yuri Sizov
c9bf824124 Merge pull request #79166 from bruvzg/ts_dict_chk
[TextServer] Remove excessive Dictionary checks.
2023-09-05 15:14:14 +02:00
Danil Alexeev
242d3d81e9
GDScript: Don't make array literal typed in weak type context 2023-09-05 11:32:16 +03:00
Aaron Franke
93cf3391bd
Fix compiling with 3D disabled due to unused navigation variable 2023-09-04 03:16:55 -05:00
Rémi Verschelde
00e14f39fd
Merge pull request #81230 from SamiKalliomaki/array-dispose
Fix double unregistration on dispose of Array.
2023-09-04 09:08:35 +02:00
Rémi Verschelde
0215d53a10
Merge pull request #81229 from raulsntos/dotnet/arc-hyperbolic
C#: Expose `asinh`, `acosh` and `atanh` in Mathf
2023-09-04 09:08:12 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
bruvzg
31a8a9b2e1
[TextServer] Remove excessive Dictionary checks. 2023-09-04 09:47:55 +03:00
Danil Alexeev
462d8f4752
GDScript: Fix get_*_list() methods return incorrect info 2023-09-04 00:21:03 +03:00
kobewi
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
Sami Kalliomäki
43a6748dfd Do not call Array default constructor when not necessary.
This fixes a bug where Array would get registered twice with the
DisposablesTracker causing an exception on shutdown.

Fixes #81231
2023-09-03 11:25:23 +01:00
Aaron Franke
5b7001dccf
GLTF: Improve logic for keeping track of the real root node 2023-09-03 03:35:29 -05:00
Aaron Franke
c1bc4fbd20
GLTF: Change "Camera3D" generated node name to "Camera" 2023-09-03 02:47:34 -05:00
Rémi Verschelde
d18963485e
Merge pull request #81106 from garychia/gridmap_visibility
GridMap: Ensure the visibility is updated when entering the tree
2023-09-02 14:29:48 +02:00
Rémi Verschelde
2e71e5516e
Merge pull request #80632 from Repiteo/C#-editor-docstring
C#: Dereference editor types in core documentation
2023-09-02 14:28:35 +02:00
Rémi Verschelde
7f3dbe81ed
Merge pull request #80270 from aaronfranke/gltf-scene-name-assignment
Fix doubly-reserved unique names in GLTF scene name assignment
2023-09-02 14:28:11 +02:00
Raul Santos
f90005072c
C#: Expose asinh, acosh and atanh in Mathf 2023-09-02 12:00:02 +02:00
Thaddeus Crews
cbf17b5ac1
C#: Dereference editor types in core documentation 2023-09-01 15:17:13 -05:00
Rémi Verschelde
07f6fa8ff9
Merge pull request #80629 from Repiteo/C#-CS0419
C#: Include argument types in generated methods
2023-09-01 16:01:24 +02:00
Rémi Verschelde
549fcce5f8
Merge pull request #81175 from raulsntos/dotnet/project_settings_changed
C#: Replace usage of deprecated `project_settings_changed` signal
2023-08-31 08:56:55 +02:00
Rémi Verschelde
59f3ab0c0d
Merge pull request #81157 from azuloo/webrtcpeerconnection-typo-fix
Fix typo in WebRTCPeerConnection documentation
2023-08-31 08:56:27 +02:00
Rémi Verschelde
98f6844554
Merge pull request #81136 from Faless/mp/replication_mode
[MP] Improve SceneReplicationConfig editor UX + optimizations
2023-08-31 08:55:17 +02:00
Rémi Verschelde
1594acc64e
Merge pull request #81073 from raulsntos/dotnet/cached-string-names
C#: Replace `StringNameCache` with `SNAME`
2023-08-31 08:54:53 +02:00
Yuri Rubinsky
35802374ac Add coloring for completion of vector components 2023-08-30 21:13:25 +03:00
Raul Santos
cde9dc6c3c
C#: Replace usage of deprecated project_settings_changed signal
Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`.
2023-08-30 19:45:41 +02:00
Fabio Alessandrelli
c1c6911b5c [MP] Improve ReplicationEditor UX
Use an option button for the replication mode making sync and watch (now
"Always" and "On Change") mutually exclusive.
2023-08-30 15:37:42 +02:00
Fabio Alessandrelli
711e96edc4 [MP] Make replication mode an enum + optimizations
REPLICATION_MODE_ALWAYS (sync) and REPLICATION_MODE_ON_CHANGE (watch)
are now mutually exclusive.

Prevent invalid NodePath from being added to the config.

Optimize the replication config loading by composing the lists on
demand.
2023-08-30 15:00:39 +02:00
azuloo
7ab0582625 Fix typo in WebRTCPeerConnection documentation 2023-08-30 14:02:33 +03:00
Rémi Verschelde
a0d12cf93f
Merge pull request #65558 from the-sink/replication-editor
Allow enter key to add properties to replication editor list
2023-08-30 12:15:38 +02:00
Rémi Verschelde
3f7c1bccef
Merge pull request #81103 from bruvzg/svg_em
[TextServer] Fix SVG emoji placement.
2023-08-30 08:46:39 +02:00
Rémi Verschelde
34a4885579
Merge pull request #79570 from BastiaanOlij/new_pico_interactions
Change to new PICO interaction profiles
2023-08-30 08:45:04 +02:00
Rémi Verschelde
8edc0b43b9
Merge pull request #78634 from Sauermann/fix-notification-order
Fix `Object::notification` order
2023-08-30 08:44:36 +02:00
the-sink
8f80ebc035 Allow enter key to add properties to replication editor list 2023-08-29 19:29:01 -07:00
Bastiaan Olij
3a89bb388d Change to new PICO interaction profiles 2023-08-30 10:25:35 +10:00
Markus Sauermann
c4705a590b Fix Object::notification order
Previously the `p_reversed` parameter didn't influence the order
in a correct way.
Also script overridden _notification functions were not called in
the correct order.

To fix this some `notification` functions had to add a `p_reversed`
parameter.

This made it necessary to adjust cpp-bindings.

Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-08-30 00:15:55 +02:00
BlueCube3310
cbbcaa31d5
Fix grayscale dds loading 2023-08-29 19:24:22 +02:00
clayjohn
0045dc204c Revert "Implement loading DDS textures at run-time"
This reverts commit 34ab1c8a36.
2023-08-29 14:25:16 +02:00
Rémi Verschelde
76d318dbd1
Merge pull request #75778 from KoBeWi/_vp
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
Chia-Hsiang Cheng
3a3ebbf4c9 Ensure the visibility is updated when entering the tree 2023-08-29 15:11:57 +08:00
bruvzg
29bad2928a
[TS] Fix SVG emoji placement. 2023-08-29 08:46:15 +03:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Raul Santos
6d7d083254
C#: Replace StringNameCache with SNAME 2023-08-28 15:41:26 +02:00
kobewi
67db4693eb Expose _validate_property() for scripting 2023-08-28 15:18:48 +02:00
Rémi Verschelde
fc37fd7b98
Merge pull request #81039 from MewPurPur/fix-hex-number-highlighting-after-separator
Fix highlighting of hex numbers with separators
2023-08-28 12:10:11 +02:00
Rémi Verschelde
75bc6866a4
Merge pull request #81037 from AThousandShips/openxr_register
Ensure OpenXR classes are declared properly
2023-08-28 12:09:47 +02:00
Rémi Verschelde
231daee7b4
Merge pull request #81033 from Faless/mp/fix_watch_prop_remove
[MP] Fix watch properties not being correctly removed
2023-08-28 12:09:01 +02:00
Rémi Verschelde
ea3c5f96e5
Merge pull request #80998 from MewPurPur/fix-my-little-oopsie-daisy
Move the new RegEx icons into their respective module
2023-08-28 12:06:16 +02:00
Rémi Verschelde
359bb38330
Merge pull request #80862 from BlueCube3310/dds-grayscale-load-fix
Make DDS loading code only check for R channel bitmask when loading grayscale images
2023-08-28 12:05:29 +02:00
A Thousand Ships
c23bd8b143 Ensure OpenXR classes are declared properly
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-08-28 09:37:04 +02:00
MewPurPur
d3946242f4 Fix highlighting of hex numbers with separators 2023-08-28 09:52:40 +03:00
Fabio Alessandrelli
3860f2e366 [MP] Fix watch properties not being correctly removed 2023-08-27 10:53:04 +02:00
Yuri Sizov
b6c4efe1b1 Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types
GDScript: Allow use local constants as types
2023-08-25 21:26:44 +02:00
MewPurPur
3f79c69d70 Move the new RegEx icons into their respective module 2023-08-25 18:08:45 +03:00
Danil Alexeev
68a567bd13
GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
Danil Alexeev
89429b0273
GDScript: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
Yuri Sizov
2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00