Paul Joannon
af5f695a99
Fix comparison warnings in StringExtensions.cs
2024-05-10 09:42:58 +02:00
Rémi Verschelde
1cf9f37589
thorvg: Update to 0.13.3, add webp loader
...
Remove embedded png loader, we use the external (libpng) one.
2024-05-10 09:30:57 +02:00
David Snopek
a8a7110b90
Fix layer_viewport
getting cleared on OpenXRCompositionLayer
in editor
2024-05-09 14:05:20 -05:00
Paul Joannon
1d7085571e
CSharpScript should not own base script signals
2024-05-09 13:46:25 +02:00
Haoyu Qiu
a35ff3c737
Fix memory leak when ASTC compression fails
2024-05-09 14:41:35 +08:00
Gaoyao Massimo Hu
06b716d8b3
Fix C# Hint NodeType and ResourceType HintString
2024-05-08 16:22:52 +01:00
Rémi Verschelde
2042420bd7
Merge pull request #91709 from KoBeWi/deawkwarding_labels
...
Improve transition enabled header in interactive music editor
2024-05-08 14:35:48 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
kobewi
a880b2dcba
Improve transition enabled header in interactive music editor
2024-05-08 14:19:11 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find
with contains/has
where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
9ef50524d0
Merge pull request #91696 from akien-mga/style-file-format
...
Style: Trim trailing whitespace and ensure newline at EOF
2024-05-08 12:31:32 +02:00
Rémi Verschelde
f349418fc0
Merge pull request #91693 from timothyqiu/interactive-editor
...
Fix i18n in AudioStreamInteractive transition editor
2024-05-08 12:31:30 +02:00
Rémi Verschelde
c4cf2a8f90
Merge pull request #91686 from dsnopek/openxr-fix-composition-layers
...
OpenXR: Fix composition layers not having correct play space
2024-05-08 12:31:26 +02:00
Rémi Verschelde
6533c52706
Merge pull request #91670 from paulloz/dotnet/fix-godottools-openvisualstudio
...
C#: Specify a runtime rollforward for OpenVisualStudio
2024-05-08 12:31:23 +02:00
Haoyu Qiu
4a316c4ac8
Fix i18n in AudioStreamInteractive transition editor
...
- Don't translate user-defined clip names.
- Add missing i18n for some UI strings.
- Also fixed error when selecting top-right "From/To" cell.
- Also removed unused header includes.
2024-05-08 17:15:38 +08:00
Rémi Verschelde
7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
...
Found by apply the file_format checks again via #91597 .
2024-05-08 10:12:46 +02:00
David Snopek
de654d9846
OpenXR: Fix composition layers not having correct play space
2024-05-07 20:49:46 -05:00
Thaddeus Crews
34fb3f7730
SCons: Generate all scripts natively
2024-05-07 15:30:45 -05:00
Rémi Verschelde
316b87dc5f
Merge pull request #91485 from dsnopek/openxr-composition-layers-hole-punch
...
OpenXR: Allow composition layers to enable hole punching
2024-05-07 21:52:49 +02:00
Rémi Verschelde
d83586f1e4
Merge pull request #84492 from HolonProduction/reduce-const-arrays
...
Autocompletion: Mark datatype as constant for constant arrays
2024-05-07 21:52:40 +02:00
Paul Joannon
c2d72a691f
Specify a runtime rollforward for OpenVisualStudio
...
Use `LatestMajor`
Fixes #91638
2024-05-07 19:40:25 +02:00
David Snopek
666bf60e36
OpenXR: Allow composition layers to enable hole punching
2024-05-07 10:02:32 -05:00
Rémi Verschelde
ff018079a1
Merge pull request #84706 from HolonProduction/completion-get-child
...
Fix autocompletion after DOLLAR token
2024-05-07 16:49:13 +02:00
Rémi Verschelde
4db9103c2b
Merge pull request #91650 from akien-mga/codespell
...
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Rémi Verschelde
82e77eab35
Merge pull request #91529 from bqqbarbhg/ufbx-warnings
...
FBX: Print ufbx load warnings on import
2024-05-07 13:48:56 +02:00
Rémi Verschelde
e8d5bdd95d
Merge pull request #91528 from bqqbarbhg/ufbx-v0.14.0
...
FBX: Update ufbx to v0.14.0
2024-05-07 13:48:52 +02:00
Rémi Verschelde
0404e3a85e
Merge pull request #84148 from KANAjetzt/fix_crash_take_over_path_named_class
...
Fix crash when extending taken-over named class
2024-05-07 13:48:36 +02:00
bqqbarbhg
5cd7ae198d
Update ufbx to v0.14.0
2024-05-07 14:27:21 +03:00
bqqbarbhg
04db5cf063
Print ufbx load warnings on import
2024-05-07 12:43:48 +03:00
HolonProduction
d131064841
Autocompletion: Analyze CLASS types as they are encountered
2024-05-07 10:45:28 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
...
Using 2.2.7.dev217+g10c2abcf.
Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
2576addc28
Merge pull request #91636 from akien-mga/miniupnpc-disable-SET_SOCKET_TIMEOUT
...
miniupnpc: Disable socket timeout on Windows, matching upstream
2024-05-07 09:04:51 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Kai
f4192aad6f
Fix crash when extending taken-over named class
...
Added error handling in `_prepare_compilation()` to address cases where the `base_type` cannot be found, preventing a crash.
2024-05-07 08:07:11 +02:00
Rémi Verschelde
f695de7c68
miniupnpc: Disable socket timeout on Windows, matching upstream
...
Fixes #88471 .
2024-05-06 23:30:09 +02:00
A Thousand Ships
86de59d60a
[Core] Add LocalVector::has
for convenience
2024-05-06 18:03:37 +02:00
Haoyu Qiu
7355e672ae
Fix crash when executing Image.save_jpg_to_buffer
2024-05-05 23:37:22 +08:00
huisedenanhai
c313312ff5
CSharpScript should not own method infos of the base class
2024-05-04 18:54:37 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
A Thousand Ships
aff2e47bff
[C#] Unexpose GodotSharp
...
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +02:00
Rémi Verschelde
4313524ae3
Merge pull request #91526 from bqqbarbhg/ufbx-bad-skin-fix
...
FBX: Fix handling missing skins using ufbx importer
2024-05-04 11:52:38 +02:00
Rémi Verschelde
9ed8399514
Merge pull request #91509 from akien-mga/dotnet-fix-generating-glue-in-project-folder
...
.NET: Prevent generating mono glue in project folder
2024-05-04 11:52:32 +02:00
Rémi Verschelde
629e91acff
Merge pull request #91479 from Repiteo/dotnet/sln-csproj-attributes
...
C#: Fix attributes for `sln`/`csproj` files
2024-05-04 11:52:29 +02:00
Rémi Verschelde
458106a73e
Merge pull request #91203 from pirey0/stringcomp_fix
...
C#: Fix `StringExtensions.CompareTo` IndexOutOfRangeException
2024-05-04 11:52:25 +02:00
Rémi Verschelde
a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
...
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +02:00
bqqbarbhg
b9ab0e46e2
Fix handling missing skins using ufbx importer
...
Previously, _asset_parse_skins() would mess with the order of skin indices.
However, the rest of the code expected these to match to ufbx skin indices.
To fix this, retain the original skin indices in FBXState::original_skin_indices.
2024-05-03 20:46:26 +03:00
Thaddeus Crews
64f2e8b64f
Dotnet: Fix attributes for sln
/csproj
files
2024-05-03 12:21:51 -05:00
Rémi Verschelde
baec8da3b3
.NET: Prevent generating mono glue in project folder
...
Fixes #83128 .
2024-05-03 14:24:35 +02:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
...
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
Luca Martinelli (laptop)
c02540bd66
fixed StringExtensions.CompareTo IndexOutOfRangeException
...
fixes #91118
marked CompareTo obsolete
dropped CompareTo [-1,1] range
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-05-03 10:13:06 +02:00
Bastiaan Olij
9042ddf19f
Improvements to VRS/Foveated rendering
2024-05-03 17:20:30 +10:00
Rémi Verschelde
4d43fe1c96
Merge pull request #91472 from vnen/gdscript-default-static-variables-non-tool
...
GDScript: Initialize static variables with defaults in-editor
2024-05-03 01:21:40 +02:00
Rémi Verschelde
25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
...
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
MJacred
717513a62d
Add is_valid_letter() to TextServer
2024-05-02 21:32:20 +02:00
George Marques
22236380c0
GDScript: Initialize static variables with defaults in-editor
...
When the script is not marked as `@tool` the static constructor is not
called and thus the variables contain `null` by default. But since some
validated operations requires a valid value, this would cause a crash.
This commit solves this by initializing the static variables with a
default value based on their types in the editor, when they are not
marked as `@tool`, so if some `@tool` script access them, they will have
a valid typed value, avoiding the crash.
2024-05-02 15:09:22 -03:00
Rémi Verschelde
7fef538223
Merge pull request #91464 from groud/fix_tilemap_layer_navmesh_baking
...
Fix TileMapLayer navmesh baking
2024-05-02 19:06:06 +02:00
Gilles Roudière
23b9a9f2de
Fix TileMapLayer navmesh baking
2024-05-02 18:06:23 +02:00
Rémi Verschelde
76f642b962
Merge pull request #91412 from dalexeev/gds-fix-non-static-access-in-static-context
...
GDScript: Fix access non-static members in static context
2024-05-02 17:31:39 +02:00
Rémi Verschelde
a7029e4c8a
Merge pull request #91364 from vnen/gdscript-implicit-ready-base-first
...
GDScript: Call implicit ready on base script first
2024-05-02 17:31:32 +02:00
Rémi Verschelde
7a968c619d
Merge pull request #91140 from RadiantUwU/add-mobile-vr-screen-rect
...
Add a new property named `offset_rect` to `MobileVRInterface`
2024-05-02 17:31:28 +02:00
George Marques
99b702ea3d
GDScript: Call implicit ready on base script first
...
It is generally expected that the base class is called before the
inherited clas. This commit implements this behavior for the implicit
ready function (`@onready` annotation) to make it consistent with the
expectations.
2024-05-02 11:25:52 -03:00
Radiant
9be2f7090a
Implement offset_rect property to MobileVRInterface to allow changing screen area.
2024-05-02 16:25:48 +03:00
Rémi Verschelde
28a18cf1b8
Merge pull request #88763 from BlueCube3310/image-is-compressed-static
...
Image: Add static `is_format_compressed` function.
2024-05-02 14:01:18 +02:00
A Thousand Ships
0f5e0d1637
Expose Vector*
component-wise and scalar min/max
to scripting
2024-05-02 13:02:40 +02:00
Rémi Verschelde
4eaafc8fa8
Merge pull request #91375 from paulloz/dotnet/prevent-generator-crash-on-exported-unconstructed-generic-arrays
...
C#: Fix generator crash w/ generic arrays
2024-05-02 12:46:42 +02:00
Rémi Verschelde
9122286553
Merge pull request #89426 from BlueCube3310/basisu-mult-of-4
...
BasisUniversal: Fix artifacts on images with resolutions not divisible by 4
2024-05-02 12:46:25 +02:00
Rémi Verschelde
0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
...
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
BlueCube3310
c71490043a
Fix BasisU compression on images with resolutions not divisible by 4.
2024-05-02 12:15:02 +02:00
Bastiaan Olij
527c30c594
Add support for OpenXR hand interaction extension
2024-05-02 19:15:02 +10:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector*
min/max/clamp/snap(ped)
...
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
Danil Alexeev
8122a27eac
GDScript: Fix access non-static members in static context
2024-05-01 19:55:40 +03:00
A Thousand Ships
c4e24d2b3b
[GDScript] Correctly report invalid read-only access
2024-05-01 12:28:47 +02:00
Rémi Verschelde
0e0ef3cd69
Merge pull request #91368 from raulsntos/dotnet/must-be-variant-dynamic
...
C#: Ignore late bound methods in MustBeVariantAnalyzer
2024-05-01 09:55:21 +02:00
Rémi Verschelde
731ea17dd4
Merge pull request #91192 from vnen/gdscript-validated-native-static-calls
...
GDScript: Perform validated calls with static methods
2024-05-01 09:55:04 +02:00
Rémi Verschelde
70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
...
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +02:00
Rémi Verschelde
273a643145
Merge pull request #89647 from AThousandShips/read_only_dict
...
[Core] Fix property access on read-only `Dictionary`
2024-05-01 09:54:48 +02:00
Bastiaan Olij
cbab7dc049
OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR
2024-05-01 14:24:41 +10:00
Raul Santos
1510f88ae1
C#: Ignore late bound methods in MustBeVariantAnalyzer
...
If symbol is late bound (as is the case when using `dynamic`) we can't obtain the symbol to analyze the usage of `[MustBeVariant]`.
2024-05-01 03:18:21 +02:00
Paul Joannon
aba787393f
C#: Fix generator crash w/ generic arrays
2024-04-30 22:22:09 +02:00
Rémi Verschelde
d282e4f0e6
Merge pull request #91360 from bruvzg/arm_win_build
...
Fix arm64/Windows build.
2024-04-30 17:03:58 +02:00
bruvzg
986d297ed3
Fix arm64/Windows build.
2024-04-30 16:26:42 +03:00
Thaddeus Crews
dec2a121a9
SCons: Fixes for warn/error colorization
2024-04-29 11:56:21 -05:00
Rémi Verschelde
f03301ca1a
Merge pull request #91305 from BastiaanOlij/fix_mobile_vr_gyro
...
MobileVR: Orientation is progressive and needs to be initialized
2024-04-29 15:20:32 +02:00
Bastiaan Olij
d83aaeea17
MobileVR: orientation is progressive and needs to be initialised
2024-04-29 21:46:28 +10:00
Rémi Verschelde
c4733e8003
Merge pull request #90860 from vnen/gdscript-get-dependencies
...
GDScript: Implement `get_dependencies()`
2024-04-29 12:30:12 +02:00
Rémi Verschelde
296758a8f8
Merge pull request #90552 from vnen/gdscript-constructor-callable-release
...
GDScript: Assume constructor to be accessible from class
2024-04-29 12:30:08 +02:00
Rémi Verschelde
d216a385a6
Merge pull request #90498 from vnen/gdscript-resolve-scene-autoload-types
...
GDScript: Resolve types from autoload scenes
2024-04-29 12:30:02 +02:00
Rémi Verschelde
dee1231ce6
Merge pull request #91220 from Repiteo/scons/colorize-warn-error
...
SCons: Colorize warnings/errors during generation
2024-04-29 10:10:16 +02:00
Rémi Verschelde
13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
...
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde
c33cd94509
Merge pull request #90949 from rhofour/gdignore
...
LSP: Have `GDScriptWorkspace::list_script_files` respect `.gdignore`.
2024-04-29 10:09:42 +02:00
Thaddeus Crews
e0e8ce1fc0
SCons: Colorize warnings/errors during generation
2024-04-28 16:24:48 -05:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins
2024-04-27 11:59:58 -07:00
George Marques
8b7fc225f0
GDScript: Resolve types from autoload scenes
...
When the autoload is a scene, it now extracts the script from it and
use it to further infer nested types.
2024-04-26 10:46:19 -03:00
Rémi Verschelde
38d2928fca
Merge pull request #91144 from Konstantin-Kretov/k.kretov/add_copyright_to_csproj_files
...
Fill copyright field in .csproj files to ensure that nuget packages will have both license and copyright fields filled
2024-04-26 15:13:37 +02:00
Konstantin Kretov
2b46e009fa
Fill copyright field in .csproj files
...
This ensures that nuget packages will have both license and copyright fields filled.
2024-04-26 11:41:04 +02:00
Rémi Verschelde
0d589abcbd
Merge pull request #91130 from Malcolmnixon/xrhandtracker-dotnet-name-collision
...
Remove the Hand enum from XRHandTracker
2024-04-26 11:08:44 +02:00
Rémi Verschelde
36833c6871
Merge pull request #91036 from bqqbarbhg/ufbx-bind-pose-fix
...
Resolve bind poses from FBX clusters instead of FBX poses.
2024-04-26 11:08:38 +02:00
Rémi Verschelde
643afab6b7
Merge pull request #89639 from dalexeev/gds-fix-object-iterator-opcodes
...
GDScript: Fix object iterator opcodes
2024-04-26 11:08:22 +02:00
Rémi Verschelde
cb01094ccd
Merge pull request #88301 from aaronfranke/gltf-explicit-compound-triggers
...
Add support for explicitly-defined compound triggers in GLTF files
2024-04-26 11:08:19 +02:00
Danil Alexeev
2778069025
GDScript: Fix object iterator opcodes
2024-04-26 09:21:55 +03:00
George Marques
7ca038effa
GDScript: Perform validated calls with static methods
...
When the types are validated at compile time, this type of call runs
faster. It is already used for instance methods, this adds this
optimization to native static methods as well.
2024-04-25 21:19:40 -03:00
Malcolm Nixon
e00e5c0386
Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
...
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
bqqbarbhg
095569011c
Resolve bind poses from FBX clusters instead of FBX poses
...
Turns out that the information in FBX Pose objects is relatively often broken.
Using skin cluster bind poses seems more reliable, but cannot capture the bind pose of the root bone.
2024-04-25 21:13:50 +03:00
Rémi Verschelde
f859400c6b
Merge pull request #91078 from aaronp64/import_skip_crash
...
Fix errors/crashes related to skipped imports
2024-04-25 17:12:38 +02:00
aaronp64
e63d0983d0
Fix errors/crashes related to skipped imports
...
- Added check for "animation/fps" key before attempting to use it in EditorSceneFormatImporterBlend::import_scene, to give error instead of crashing
- Don't show "Advanced..." button if last import used "Keep File" or "Skip File"
- Don't try to call ResourceLoader::load on kept/skipped file when changing importer, which would give an error
Fixes #90324
2024-04-25 10:33:59 -04:00
Danil Alexeev
4136ed7fc8
GDScript: Fix test reset_uninit_local_vars.gd
failure
2024-04-24 20:49:52 +03:00
Rémi Verschelde
69a23e64e4
Merge pull request #89990 from dalexeev/gds-reset-uninit-local-vars
...
GDScript: Fix uninitialized local variables not being reset
2024-04-24 18:54:56 +02:00
Rémi Verschelde
ba3007d127
Merge pull request #91079 from paulloz/dotnet/enforce-use-sdk-8
...
Enforce using .NET SDK >= 8
2024-04-24 09:59:53 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
...
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
4e46e9ae74
Merge pull request #89929 from smix8/ClipperD
...
Change 2D navigation mesh baking to use floating point coordinates
2024-04-24 09:59:07 +02:00
Owen Edwards
2343c4208c
Modified MultPlayer spawnable scene path error checking.
2024-04-23 18:51:33 -04:00
Paul Joannon
f2efa545d6
Enforce using .NET SDK >= 8 in modules/mono/
2024-04-23 22:54:22 +02:00
Rémi Verschelde
515404486b
Merge pull request #91045 from lyuma/fbx_root_node
...
fbx: Avoid name conflict with humanoid "Root" bone
2024-04-23 19:12:14 +02:00
Rémi Verschelde
ad4dff27ba
Merge pull request #90027 from Faless/mp/cache_no_spam
...
[MP] Gracefully handle cache confirmation of deleted nodes
2024-04-23 19:11:05 +02:00
Rémi Verschelde
6b28cb6721
Merge pull request #89884 from HolonProduction/tests-batch-2
...
Completion Tests: Add script to owner
2024-04-23 19:10:57 +02:00
Rémi Verschelde
13b66bcea2
Merge pull request #89738 from dalexeev/gds-docgen-improve-non-constant
...
GDScript: Improve DocGen for non-constant expressions
2024-04-23 19:10:51 +02:00
Lyuma
33e977ee34
fbx: Avoid name conflict with humanoid "Root" bone
...
The importer forces name uniqueness, even for the root. "RootNode" is less likely to conflict.
2024-04-23 01:43:03 -07:00
smix8
6a4d8d4b5c
Change 2D navigation mesh baking to use floating point coordinates
...
Replaces internal uses of Clipper2 integer structs to their floating point equivalents.
2024-04-23 10:28:43 +02:00
Rémi Verschelde
e8eca0b3f0
Merge pull request #90601 from rune-scape/rune-gdscript-dependant-parser-ref-errors
...
GDScript: Fix out of date errors in depended scripts
2024-04-22 22:18:15 +02:00
Fabio Alessandrelli
c6be5f130c
[MP] Fix disconnect_peer not doing the proper cleanup
...
Lower layers (cache, replication) were not being notified about the peer
being disconnected.
2024-04-22 14:58:45 +02:00
A Thousand Ships
ec29c3e784
[Core] Fix property access on read-only Dictionary
2024-04-22 13:57:34 +02:00
Rémi Verschelde
2b42352c99
Merge pull request #90968 from raulsntos/fix-gdscript-analyzer-with-overloaded-dotnet-methods
...
C#: Don't return MethodInfo for overloaded methods
2024-04-22 12:53:47 +02:00
Rémi Verschelde
8931a3ec14
Merge pull request #90912 from clayjohn/CVTT-decomp
...
Avoid writing out of range data over valid data in CVTT decompress methods when decompressing small mip levels
2024-04-22 12:53:24 +02:00
Rémi Verschelde
8c474ddd49
Merge pull request #90710 from m4gr3d/fix_jstring_leaks
...
Fix leakage of JNI object references
2024-04-22 12:52:16 +02:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
...
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
1a6e4ce906
Merge pull request #90002 from raulsntos/dotnet/expose-property-accessors
...
C#: Make internal properties and property accessors public (but hidden)
2024-04-22 12:51:42 +02:00
Raul Santos
7316918a0f
C#: Don't return MethodInfo for overloaded methods
...
This means the GDScript analyzer loses the method signature information so it can't do type checking for the parameters.
2024-04-21 05:32:47 +02:00
R. Alex Hofer
2452176990
Have GDScriptWorkspace::list_script_files respect .gdignore.
2024-04-20 13:29:27 -04:00
clayjohn
98dacc14ea
Avoid writing out of range data over valid data in CVTT decompress methods when decompressing small mip levels
2024-04-19 10:16:36 -07:00
Rémi Verschelde
fba6803486
Merge pull request #90876 from smix8/source_geometry_callback
...
Add navigation mesh source geometry parsers and callbacks
2024-04-19 16:28:30 +02:00
Rémi Verschelde
81f08c396c
Merge pull request #90837 from paulloz/dotnet/callable-deserialization-order
...
Change order of operation for C# types reloading
2024-04-19 16:27:49 +02:00
Rémi Verschelde
931f878390
Merge pull request #88899 from AThousandShips/gdscript_clean
...
[GDScript] Clean up some unused code
2024-04-19 16:26:58 +02:00
smix8
58593d1bb7
Add navigation source geometry parser callbacks
...
Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
2024-04-19 12:10:57 +02:00
Lyuma
bb9674c1b1
Set animation step from importers. Increase default step from 10 to 30 FPS.
2024-04-19 03:02:20 -07:00
Malcolm Nixon
823ae7b3fa
Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility.
2024-04-18 20:04:01 -04:00
rune-scape
6b88c86cec
GDScript: invalidate GDScriptParserRef when reloading
2024-04-18 14:05:58 -07:00
George Marques
dc73440f89
GDScript: Implement get_dependencies()
...
The parser and analyzer now track the dependencies of the script and
return the list when the resource loader ask for them.
What is considered a dependency:
- Any `preload()` call.
- The base script this one extends.
- Any identifier, including types, that refers to global scripts.
- Any autoload singleton reference.
2024-04-18 11:54:37 -03:00
Rémi Verschelde
2efbc6bfb3
Merge pull request #90848 from BlueCube3310/lightmapper-dir-seam-fix
...
LightmapGI: Fix seam blending with directional lightmaps
2024-04-18 15:17:21 +02:00
Rémi Verschelde
978d206f34
Merge pull request #90794 from vnen/gdscript-no-unused-constant-warning-with-underscore
...
GDScript: Suppress unused constant warning with underscore
2024-04-18 15:17:13 +02:00
George Marques
a3b3a20ac0
GDScript: Suppress unused constant warning with underscore
...
The warning message mentions that local constants prefixed with `_` does
not generate the warning. This commit actually implements this warning
suppression.
2024-04-18 09:58:23 -03:00
BlueCube3310
f1b758022a
LightmapGI: Fix seam blending with directional lightmaps
2024-04-18 14:21:29 +02:00
Rémi Verschelde
c295f18955
Merge pull request #90789 from lyuma/fix_skeleton_root
...
Fix FBX and glTF when root nodes are skeleton bones
2024-04-18 12:24:47 +02:00
Rémi Verschelde
d06cb2e57d
Merge pull request #90761 from dsnopek/openxr-composition-layers-experimental
...
Mark `OpenXRCompositionLayer` and its children as experimental
2024-04-18 12:24:40 +02:00
Paul Joannon
1627287586
Change order of operation for C# types reloading
...
We now deserialize callables before reloading property states, in case a property is doing anything with the callable in its getter and/or setter.
2024-04-18 09:38:58 +02:00
Lyuma
d3706488d9
Fix FBX and glTF when root nodes are skeleton bones
...
Set p_scene_parent to the skeleton to guarantee BoneAttachment3D nodes are added as a child of the active skeleton.
Use get_owner() to go all the way up when calculating the root node in generate_scene
2024-04-17 22:10:05 -07:00
Rémi Verschelde
36bdab4ddd
Merge pull request #90759 from dsnopek/openxr-hand-revert
...
Revert `OpenXRHand` to its pre-`SkeletonModifier3D` state
2024-04-17 10:59:10 +02:00
David Snopek
a094ff377d
Mark OpenXRCompositionLayer
and its children as experimental
2024-04-16 11:02:44 -05:00
David Snopek
dfca388d75
Revert OpenXRHand
to its pre-SkeletonModifier3D
state
2024-04-16 10:36:43 -05:00
George Marques
f9048fcd7d
GDScript: Warn when enum variable has no default
...
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
2024-04-16 11:46:59 -03:00
A Thousand Ships
c070c12ddd
[GDScript] Clean up some unused code
2024-04-16 15:59:38 +02:00
Aaron Franke
77e35cf781
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders
2024-04-15 18:40:43 -07:00
Fredia Huya-Kouadio
f291a4ed3a
Fix leakage of JNI object references
...
Fixes https://github.com/godotengine/godot/issues/87548
2024-04-15 10:30:18 -07:00
Rémi Verschelde
8a3195ef56
Merge pull request #90678 from raulsntos/dotnet/StringExtensions.Match
...
C#: Fix ExprMatch for case sensitive matching
2024-04-15 18:14:45 +02:00
Rémi Verschelde
684e7aa37a
Merge pull request #89472 from dalexeev/gds-fix-bin-tokenizer-continuation-lines
...
GDScript: Fix continuation lines in `GDScriptTokenizerBuffer`
2024-04-15 18:14:38 +02:00
Raul Santos
509d4f5302
C#: Fix ExprMatch for case sensitive matching
...
We were accidentally stopping the recursion when matching in the case sensitive scenario.
Took the opportunity to also rename the private method to follow the Core method naming more closely so it's easier to compare the implementations in the future.
Also, the private method now uses `ReadOnlySpan<char>` to avoid allocating strings on each recursion.
2024-04-15 03:15:28 +02:00
Rémi Verschelde
d00734053f
Merge pull request #90635 from bqqbarbhg/texture-path-fix
...
Fix FBX texture path resolving
2024-04-14 14:39:17 +02:00
Rémi Verschelde
122054cf7a
Merge pull request #90573 from timothyqiu/svg-image
...
Fix error when loading SVG imported as Image
2024-04-14 14:39:11 +02:00
bqqbarbhg
2a757e4897
Fix FBX texture path resolving
2024-04-13 20:28:12 +03:00
Rémi Verschelde
3a57f10dd5
Merge pull request #90602 from smix8/bsfmod
...
Use fmod for navigation mesh border size warning
2024-04-13 11:30:47 +02:00
Rémi Verschelde
c9a595afb5
Merge pull request #90580 from vnen/gdscript-allow-enum-to-int-cast
...
GDScript: Allow casting enum to int
2024-04-13 11:30:34 +02:00
Rémi Verschelde
8e1b50045a
Merge pull request #90554 from bqqbarbhg/fbx-color-fixes
...
FBX: Fix material colors
2024-04-13 11:30:31 +02:00
smix8
8a0f1f1995
Use fmod for navigation mesh border size warning
...
Uses fmod for checking that navigation mesh border size matches the cell size as a multiple of cell size is also valid.
2024-04-13 03:39:53 +02:00
bqqbarbhg
659597b290
Enable FBX albedo factor when textures are bound
2024-04-13 03:12:03 +03:00
George Marques
030995c10d
GDScript: Allow casting enum to int
...
An enum value is always an integer so the cast is valid. The code here
now consider this case to avoid giving an error message.
2024-04-12 11:49:21 -03:00
Haoyu Qiu
66a3a944e2
Fix error when loading SVG imported as Image
2024-04-12 18:01:58 +08:00
Rémi Verschelde
4a4d6df04e
Merge pull request #90508 from smix8/thread_bake
...
Use threads for baking navigation mesh inside editor
2024-04-12 11:16:50 +02:00
Rémi Verschelde
fcca9b330d
Merge pull request #90434 from smix8/path_simplify
...
Add navigation path simplification
2024-04-12 11:16:47 +02:00
Rémi Verschelde
da0e993959
Merge pull request #90373 from bitwise-aiden/ba-fix-mutliline-match
...
Fix multiline array/dictionary match statements
2024-04-12 11:16:44 +02:00
Rémi Verschelde
42ab525aa2
Merge pull request #86144 from jsjtxietian/disable-mesh-compression-for-2d
...
Disable mesh compression if vertex `position.z` is always 0
2024-04-12 11:16:33 +02:00
Aiden Storey
74177d79c9
Fix multiline array/dictionary match statements
...
Currently array and dictionary expressions cannot be spread over
multiple lines in match statements.
Adding mutliline push/pop while parsing the pattern for bracket and
brace enables the ability for these to be multiline. This enables more
complex patterns to be matched without exceeding line limits.
Fixes #90372
2024-04-12 10:59:28 +02:00
bqqbarbhg
5e52db5c93
Fix FBX orthographic camera size
2024-04-12 04:02:50 +03:00
bqqbarbhg
d238b0ef57
Fix FBX emission_texture copy-paste issue
2024-04-12 03:52:57 +03:00
bqqbarbhg
a998f0a482
Convert FBX material colors from linear to sRGB
2024-04-12 03:52:46 +03:00
George Marques
e761982979
GDScript: Assume constructor to be accessible from class
...
Since the constructor is accessed directly from the class, even if not
marked `static`, it can be retrieved as a Callable without an instance.
2024-04-11 20:28:46 -03:00
smix8
1c134f4a3d
Add navigation path simplification
...
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
Rémi Verschelde
2e5d2333b7
Merge pull request #90505 from aaronp64/gltfdocument_crash
...
Fix `GLTFDocument.append_from_scene` crash on null node
2024-04-11 11:02:57 +02:00
Rémi Verschelde
e911fcda1b
Merge pull request #90503 from rburing/gridmap_has_it_rough
...
GridMap: Fix `physics_material` property
2024-04-11 11:02:50 +02:00
Rémi Verschelde
58f8a227b9
Merge pull request #90482 from Faless/mbedtls/3.6.0-tls
...
mbedTLS: Update to new LTS v3.6.0
2024-04-11 11:02:46 +02:00
Rémi Verschelde
b70450871e
Merge pull request #89124 from wheatear-dev/test-json-rpc
...
Add unit tests for JSONRPC
2024-04-11 11:02:34 +02:00
smix8
2bc2b52bd1
Use threads for baking navigation mesh inside editor
...
Enables threaded navigation mesh baking inside the editor.
2024-04-11 03:53:26 +02:00
toastedbreadandomelette
b7de8e2c29
Add additional unit tests for RegEx
2024-04-10 23:24:27 +02:00
aaronp64
b56934ce19
Fix GLTFDocument.append_from_scene() crash on null node
...
Added null check for p_node parameter to give error instead of crash
Fixes #90502
2024-04-10 17:05:54 -04:00
Ricardo Buring
3590d49c70
GridMap: Fix physics_material property
...
Use computed bounce and friction, just like StaticBody3D already does.
Also don't rebuild all internals just to set two floats on each body.
2024-04-10 21:44:46 +02:00
Lyuma
40fa684c18
mbedTLS: Update to new LTS v3.6.0
...
Keep module compatibility with mbedtls 2.x (old LTS branch).
A patch has been added to allow compiling after removing all the `psa_*`
files from the library folder (will look into upstreaming it).
Note: mbedTLS 3.6 finally enabled TLSv1.3 by default, but it requires
some module changes, and to enable PSA crypto (new "standard" API
specification), so it might be best done in a separate commit/PR.
2024-04-10 21:19:22 +02:00
Edward Moulsdale
6b4a7598c7
Add unit tests for JSONRPC
2024-04-10 18:27:08 +01:00
Rémi Verschelde
67076c167d
Merge pull request #90448 from vnen/gdscript-infer-string-format
...
GDScript: Infer type with string format operator
2024-04-10 17:49:49 +02:00
Rémi Verschelde
8611fd8400
Merge pull request #90442 from vnen/gdscript-dont-warn-using-default-builtin
...
GDScript: Don't warn on unassigned for builtin-typed variables
2024-04-10 17:49:44 +02:00
George Marques
877802e252
GDScript: Don't warn on unassigned for builtin-typed variables
...
If the type of a variable is a built-in Variant type, then it will
automatically be assigned a default value based on the type. This means
that the explicit initialization may be unnecessary. Thus this commit
removes the warning in such case.
This also changes the meaning of the unassigned warning to happen when
the variable is used before being assigned, not when it has zero
assignments.
2024-04-10 11:59:57 -03:00
George Marques
4bdba718c5
GDScript: Infer type with string format operator
...
If the left value type is known to be String, assume the format operator
(`%`) will return a string, since it works with any type in the right
hand side. This is also used by type inference even if the right hand
type is unknown at compile time.
2024-04-10 11:49:30 -03:00
Danil Alexeev
02253b6b91
GDScript: Fix continuation lines in GDScriptTokenizerBuffer
2024-04-10 08:51:02 +03:00
jsjtxietian
077e20cd51
Disable mesh compression if vertex position.z is always 0
2024-04-10 11:27:36 +08:00
Bastiaan Olij
b67eba8399
OpenXR: apply fix for reverse Z
2024-04-10 10:35:19 +10:00
Rémi Verschelde
d3d10b55b4
Merge pull request #90422 from bruvzg/net_no_native_embed
...
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
2024-04-09 22:29:41 +02:00
Rémi Verschelde
9a9045cf7a
Merge pull request #89382 from dcaoc03/master
...
Fix enum autocompletion for core classes
2024-04-09 22:25:13 +02:00
Rémi Verschelde
f94bf175df
Merge pull request #87466 from BastiaanOlij/fix_openxr_render_target_multiplier
...
OpenXR: Cleanup swapchain logic (was Fix render target multiplier)
2024-04-09 22:25:03 +02:00
Rémi Verschelde
f8ca571efe
Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning
...
GDScript: Fix `UNSAFE_CAST` warning
2024-04-09 22:24:55 +02:00
bruvzg
bf558adcdd
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
2024-04-09 17:47:39 +03:00
Danil Alexeev
98dac9e39c
GDScript: Fix highlighting escapes in multiline raw strings
2024-04-09 10:21:10 +03:00
Bastiaan Olij
c388fe2ba7
OpenXR: Improve swapchain logic and fix swapchain update when render target multiplier is changed.
2024-04-09 16:56:39 +10:00
Rémi Verschelde
3d382c16ab
Merge pull request #90404 from aaronp64/zipreader_empty_error
...
Fix `ZIPReader.get_files()` error on empty zip files
2024-04-08 23:04:35 +02:00
aaronp64
2dad2fbce2
Fix ZIPReader.get_files() error on empty zip files
...
Added check for empty zip file before trying to look at first file
Fixes #90388
2024-04-08 15:57:35 -04:00
kobewi
809c6817be
Add tests for signal await with parameters
2024-04-08 19:12:01 +02:00
Rémi Verschelde
0c6b5efab3
Merge pull request #90391 from AThousandShips/xr_bind_fix
...
[XR] Fix binds for composition layer virtuals
2024-04-08 18:42:44 +02:00
Rémi Verschelde
0fd440e95f
Merge pull request #90374 from BastiaanOlij/openxr_refresh_rate_signal
...
OpenXR: Add refresh rate signal support
2024-04-08 18:42:38 +02:00
A Thousand Ships
730cfdde66
[XR] Fix binds for composition layer virtuals
2024-04-08 17:28:26 +02:00
Rémi Verschelde
18b6adee9c
Merge pull request #90248 from akien-mga/libktx-4.3.2
...
libktx: Update to 4.3.2
2024-04-08 15:03:19 +02:00
Rémi Verschelde
980e4d7955
Merge pull request #90349 from bruvzg/empty_glyph_test
...
[TextServer] Improve empty glyph handling to allow glyphs smaller than 2px and avoid unnecessary texture updates.
2024-04-08 11:21:58 +02:00
Rémi Verschelde
2ae6343533
Merge pull request #90310 from mhilbrunner/OutdatedDemos
...
Update links to outdated asset library demos
2024-04-08 11:21:38 +02:00
Rémi Verschelde
ad1993455a
Merge pull request #90286 from dsnopek/openxr-composition-layers-intersects-ray
...
Add `intersects_ray()` method to `OpenXRCompositionLayer`
2024-04-08 11:21:18 +02:00
Rémi Verschelde
6640e4179d
Merge pull request #90247 from akien-mga/harfbuzz-8.4.0
...
harfbuzz: Update to 8.4.0
2024-04-08 11:21:11 +02:00
Rémi Verschelde
59cfa0ef75
Merge pull request #90237 from dsnopek/openxr-composition-layers-extension-properties
...
Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node
2024-04-08 11:21:05 +02:00
Rémi Verschelde
cedf4ad011
Merge pull request #90230 from aaronfranke/gltf-sep-shape3d-res
...
Separate Shape3D resource logic in GLTFPhysicsShape
2024-04-08 11:21:02 +02:00
Rémi Verschelde
368d6db6cc
Merge pull request #90060 from warquys/CSharp-DebugInfo
...
Add DebugView for Array and Dictionary, based of the DebugView from the .NET Foundation
2024-04-08 11:20:46 +02:00
Rémi Verschelde
8f1b5d68f1
Merge pull request #90039 from AThousandShips/load_relative_note
...
[Doc] Document loading behavior with relative paths
2024-04-08 11:20:40 +02:00
Rémi Verschelde
08803e7d83
Merge pull request #89839 from timothyqiu/meanwhile
...
Fix node config warning not updating for `Multiplayer{Spawner,Synchronizer}`
2024-04-08 11:20:25 +02:00
Rémi Verschelde
a2f6698098
Merge pull request #89659 from dalexeev/gds-hl-fix-types
...
GDScript: Fix `for` expression is highlighted as type
2024-04-08 11:20:17 +02:00
Bastiaan Olij
148ff6a47f
OpenXR: Add refresh rate signal support
2024-04-08 12:36:17 +10:00
bruvzg
1f8387f8fd
[TextServer] Improve empty glyph handling to allow glyphs smaller than 2px and avoid unnecessary texture updates.
2024-04-07 18:19:45 +03:00
skyace65
c83718624f
Update links to outdated asset library demos
...
Update links to outdated asset library demos
Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +02:00
Nông Văn Tình
316f253558
Show errors when solution file is missing in C# project
...
Fixes : #86591
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-04-07 00:25:34 +07:00
David Snopek
025f2b8e7c
Add intersects_ray()
method to OpenXRCompositionLayer
2024-04-06 08:37:30 -05:00
Rémi Verschelde
d619ffdb75
Merge pull request #89897 from alesliehughes/upnp_memory_leak
...
UPNP: Use local variable for UPNPUrls to stop memory leak.
2024-04-06 13:06:28 +02:00
Haoyu Qiu
9bcda8f94c
Prefer family name in fonts' names table
2024-04-06 16:08:59 +08:00
Valentin Arthur Thomas
f8c482b19a
DebugView for Array and dictionary
2024-04-05 19:55:37 +02:00
David Snopek
fddf6dc651
Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node
2024-04-05 07:18:32 -05:00
Rémi Verschelde
d402f5ecf2
libktx: Update to 4.3.2
2024-04-05 12:18:00 +02:00
Rémi Verschelde
383de7da19
Merge pull request #90225 from aaronfranke/gltf-ext-prop-list
...
GLTF export: Propagate `property_list_changed` from extensions
2024-04-05 12:16:41 +02:00
Rémi Verschelde
ecbd668ff3
Merge pull request #90223 from clubby789/optimize-static
...
Don't pass `self` when calling a static function from a non-static context
2024-04-05 12:16:38 +02:00
Rémi Verschelde
0ff056ea2e
Merge pull request #90218 from Repiteo/do-while-false-cleanup
...
Update lingering `do/while(0)` defines
2024-04-05 12:16:34 +02:00
Rémi Verschelde
d100888f0d
Merge pull request #90208 from Repiteo/scons/ninja-msvc
...
SCons: Fix Ninja compilation with MSVC
2024-04-05 12:16:22 +02:00
Rémi Verschelde
ca2d28602b
Merge pull request #90196 from bruvzg/ts_tcase
...
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-05 12:16:18 +02:00
Rémi Verschelde
f2cc814f35
Merge pull request #90118 from AyOhEe/sln-title-fix
...
Fix "Create C# solution" dialog
2024-04-05 12:16:10 +02:00
Rémi Verschelde
7744d59197
Merge pull request #85856 from smix8/tilemap_layers_parse
...
Make 2D navigation mesh baking parse all TileMapLayers
2024-04-05 12:15:43 +02:00
Rémi Verschelde
72f9f8d339
Merge pull request #83217 from paulloz/fix/81903-delegate-capture-serialization
...
[.NET] Fix serialization of delegates capturing variables
2024-04-05 12:15:36 +02:00
Rémi Verschelde
8fcc7a52dc
harfbuzz: Update to 8.4.0
2024-04-05 10:35:10 +02:00
Aaron Franke
92b243dc3c
Separate Shape3D resource logic in GLTFPhysicsShape
2024-04-04 16:22:01 -07:00
Alistair Leslie-Hughes
767bfec8b6
Use local variable to stop memory leak.
...
I've change the urls variable to be a local, instead of manually allocating it all the time.
This is only used locally and was causing a memory leak because FreeUPNPUrls gave the impression it free it.
1. FreeUPNPUrls doesn't free the pointer passed in, that's up to caller.
2. The second if(!urls) produced dead code as we checked the pointer just after allocation.
2024-04-05 09:13:27 +11:00
Aaron Franke
ade5a8d802
Add support for explicitly-defined compound triggers in GLTF files
2024-04-04 14:34:40 -07:00
Jamie Hill-Daniel
164b34a734
Don't pass self
when calling a static function from a non-static context
2024-04-04 21:15:17 +00:00
Aaron Franke
a9416da6ea
GLTF export: Propagate property_list_changed
from extensions
2024-04-04 14:06:09 -07:00
Thaddeus Crews
bbb3eb3a1a
Update lingering do/while(0)
defines
2024-04-04 14:17:22 -05:00
Paul Joannon
c310ecce13
Fix captured variable serialization in delegates
2024-04-04 18:46:11 +02:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
Thaddeus Crews
7918d50297
SCons: Fix Ninja compilation with MSVC
2024-04-04 10:16:33 -05:00
Rémi Verschelde
0c71ba7801
Merge pull request #89880 from dsnopek/openxr-composition-layers-node3d-drs
...
Add support for OpenXR composition layers
2024-04-04 17:09:07 +02:00
David Snopek
0f2b804059
Add support for OpenXR composition layers
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 -05:00
Rémi Verschelde
96a75d99c4
Merge pull request #90064 from lyuma/remove_immutable_post
...
Apply "Remove Immutable Tracks" after post-import.
2024-04-04 14:37:01 +02:00
Rémi Verschelde
1469db5e58
Merge pull request #89968 from Calinou/xr-startup-alert-windows
...
Tweak OpenXR alert to mention WMR only on Windows
2024-04-04 14:35:37 +02:00
Rémi Verschelde
c97885be7d
Merge pull request #89811 from timothyqiu/missing-i18n
...
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Rémi Verschelde
acfcdbd291
Merge pull request #88783 from Chubercik/embree-4.3.1
...
embree: Update to 4.3.1
2024-04-04 14:31:02 +02:00
Rémi Verschelde
406d9426cb
Merge pull request #86121 from lawnjelly/occlusion_cull_jitter
...
Jitter raster occlusion camera to reduce false positives.
2024-04-04 14:30:42 +02:00
Rémi Verschelde
e302fb2167
Merge pull request #85386 from RedMser/scene-tree-editor-improvements
...
Improve SceneTreeEditor usability
2024-04-04 14:30:38 +02:00
Rémi Verschelde
c196d12e23
Merge pull request #84947 from raulsntos/dotnet/instance_bindings
...
C#: Use `get_instance_binding` instead of set
2024-04-04 14:30:35 +02:00
smix8
d6ddeec0fd
Make 2D navigation mesh baking parse all TileMapLayers
...
Makes 2D navigation mesh baking parse all TileMapLayers.
2024-04-04 10:45:53 +02:00
bruvzg
27f6f4147b
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-04 10:56:49 +03:00
lawnjelly
691854d589
Jitter raster occlusion camera to reduce false positives.
...
Due to the low resolution of the occlusion buffer, small gaps between occluders can be closed and incorrectly occlude instances which should show through the gaps. To ameliorate this problem, this PR jitters the occlusion buffer over time, making it more likely an instance will be seen through a gap. This is used in conjunction with an occlusion timer per instance, to prevent instances flickering on and off rapidly.
2024-04-03 12:18:45 +01:00
Haoyu Qiu
91204f6f3f
Fix missing i18n for some editor strings
2024-04-03 16:42:28 +08:00
AyOhEe
e18fb27d70
Fixed "Create C# solution" dialog
...
Flipped the title and dialog text to how they should be. It seemed that the title was being put in the dialog text, and vice versa.
2024-04-01 23:01:40 +01:00
RedMser
9cd30208d6
Improve SceneTreeEditor usability
...
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Lyuma
b0ce274a52
Apply "Remove Immutable Tracks" after post-import.
...
Reimplements "Remove Immutable" by comparing to the skeleton rest.
It is necessary to delay removing animation tracks until after the correct rest pose is calculated in rest-fixer.
Preserves the original implementation in the GLTFDocument / FBXDocument API for compatibility.
2024-03-30 23:45:22 -07:00
Danil Alexeev
27d7760f41
GDScript: Fix uninitialized local variables not being reset
2024-03-30 23:25:30 +03:00
A Thousand Ships
2508c2e309
[Doc] Document loading behavior with relative paths
2024-03-30 13:33:49 +01:00
Fabio Alessandrelli
4b973f451e
[MP] Gracefully handle cache confirmation of deleted nodes
...
It's possible that after sending a cached node reference (e.g. RPC or
static MultiplayerSynchronizer) the reference node is removed from tree
before the remote peer(s) can confirm the referenced path.
To better detect that case, and avoid spamming errors when it happens,
this commit modifies the multiplayer API caching protocol, to send the
received ID instead of the Node path when sending the confirmation
packet.
**This is a breaking change** because it makes the runtime multiplayer
protocol incompatible with previous versions of Godot.
2024-03-29 23:11:04 +01:00
Raul Santos
7d08e8727b
C#: Make internal properties and property accessors public (but hidden)
...
Instead of making the accessors `internal` which can break binary compat, make them `public` but hide them with EB never so they don't show up in IntelliSense.
Also, do the same for properties with the `PROPERTY_USAGE_INTERNAL` flag. These properties were not meant to be exposed to scripting, but since they've been public before all we can do now is hide them.
2024-03-29 20:36:04 +01:00
Hugo Locurcio
e334bf6df4
Tweak OpenXR alert to mention WMR only on Windows
...
WMR isn't supported on non-Windows platforms, so there's no point
in mentioning it in the error message as it's not a possible
cause for OpenXR not initializing.
2024-03-28 06:17:54 +01:00
Jakub Mateusz Marcowski
c43eab55a4
embree: Update to 4.3.1
2024-03-27 22:10:35 +01:00
Rémi Verschelde
aed1775cf2
Merge pull request #89883 from timothyqiu/replication-pin
...
Improve replication editor's pin button
2024-03-26 13:45:42 +01:00
Rémi Verschelde
60d37f1d49
Merge pull request #89843 from kleonc/csharp-transform3d-interpolate-with-first-scale-then-rotate
...
[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
2024-03-26 13:45:39 +01:00
HolonProduction
d2c2194937
Completion Tests: Add script to owner
2024-03-25 16:17:44 +01:00
Haoyu Qiu
8cfded5934
Improve replication editor's pin button
...
- When unpressed, only hide the editor if MultiplayerSynchronizer is not
selected.
- Add tooltip text.
2024-03-25 23:12:26 +08:00
Rémi Verschelde
195a2a479a
Merge pull request #89666 from bruvzg/emb_os
...
[Font] Apply oversampling to the "embolden" strength.
2024-03-25 13:15:59 +01:00
Rémi Verschelde
c41da69ed7
Merge pull request #89863 from ppphp/resource_format_override
...
Add `override` mark to ResourceFormat class
2024-03-25 11:18:57 +01:00
ppphp
d4e1a74efb
Add 'override' mark to ResourceFormat class
2024-03-25 04:06:34 +08:00
A Thousand Ships
4933fa8bf5
[Buildsystem] Fix encoding when reading files
2024-03-24 18:02:56 +01:00
kleonc
e2ed63b313
[C#] Fix Transform3D.InterpolateWith
applying rotation before scale
2024-03-24 09:31:20 +01:00
Haoyu Qiu
6feb43200b
Fix node config warning not updating for Multiplayer{Spawner,Synchronizer}
2024-03-24 13:53:09 +08:00
Rémi Verschelde
3895639f72
Merge pull request #89756 from zaevi/dotnet/fix_null_array
...
C#: Fix errors when creating `Variant` from null array
2024-03-24 01:23:18 +01:00
Rémi Verschelde
c3370023b6
Merge pull request #89692 from Scony/baking-crash-prevention
...
Add navigation baking crash prevention mechanism
2024-03-24 01:21:56 +01:00
Rémi Verschelde
1c2ff17f12
Merge pull request #89652 from invino4/patch-1
...
Add property `UsingGodotNETSdk` to Godot.NET.Sdk
2024-03-24 01:20:29 +01:00
Rémi Verschelde
7ff6d8cd32
Merge pull request #89547 from Repiteo/dotnet/invariant-strings
...
C#: Implement `InvariantCulture` on Variant strings
2024-03-24 01:17:55 +01:00
Rémi Verschelde
d121873d01
Merge pull request #89542 from aaronfranke/convert-hull-to-mesh-func
...
GLTF: Extract converting hull points to mesh to a helper function
2024-03-24 01:17:15 +01:00
Rémi Verschelde
8a65dd3b9e
Merge pull request #89532 from lyuma/fix_fbxdocument_binding
...
Fix method bindings in FBXDocument by making them virtual in GLTFDocument.
2024-03-24 01:17:02 +01:00
Rémi Verschelde
48cf825839
Merge pull request #89451 from AThousandShips/emit_fix
...
[Core] Disconnect one-shot signals before calling callbacks
2024-03-24 01:15:52 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Pawel Lampe
64fc9e2156
Add navigation baking crash prevention mechanism
2024-03-23 22:20:00 +01:00
Zae
833a03fbf6
C#: Fix errors when creating Variant from null array
2024-03-21 23:55:44 +08:00
Danil Alexeev
0498305b6b
GDScript: Improve DocGen for non-constant expressions
2024-03-21 12:23:54 +03:00
A Thousand Ships
db455e5bee
[Core] Disconnect one-shot signals before calling callbacks
...
This prevents infinite recursion with one-shot connections emitting
themselves
2024-03-20 20:24:44 +01:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
VolTer
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
Danil Alexeev
d1e2afaae3
GDScript: Do not produce UNUSED_SIGNAL
warning for common implicit uses
2024-03-19 17:43:10 +03:00
bruvzg
f6a532d501
[Font] Apply oversampling to the "embolden" strength.
2024-03-19 08:50:01 +02:00
Danil Alexeev
c45242578a
GDScript: Fix for
expression is highlighted as type
2024-03-18 22:33:08 +03:00
Jason Hunter
bdbd9995f8
Add property UsingGodotNETSdk to Godot.NET.Sdk
...
The Godot.NET.Sdk (for C# use) should define the property `UsingGodotNETSdk` in its [SDK.props](a07dd0d6a5/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props
).
## Why
Defining this property allows shared build configuration (e.g. Directory.Build.targets or other imported msbuild files) to detect deterministically when they are operating within the scope of a project controlled by Godot.NET.Sdk. This enables shared build configuration that may span many different projects within a folder to have Godot.NET.Sdk-specific configuration that only applies to Godot projects.
## Why named UsingGodotNETSdk
This naming scheme is common practice in Microsoft Dotnet SDKs. For example, the property `UsingMicrosoftNETSdk` is defined by the default SDK, `UsingMicrosoftTraversalSdk` is defined by [Microsoft.Build.Traversal](363532de5b/src/Traversal/Sdk/Sdk.props (L10)
), `UsingMicrosoftNoTargetsSdk` by [Microsoft.Build.NoTargets](363532de5b/src/NoTargets/Sdk/Sdk.props (L10)
), and so on. The property `UsingMicrosoftNETSdk` is even used in the implementation of Godot.NET.Sdk for conditional logic of the type predicted here.
Note that these "Using*" properties are _additive_ in the sense that more than one can be defined for a given project (as SDKs can effectively be built upon other SDKs, using them as components). So, it is normal and appropriate for both `UsingMicrosoftNETSdk` and `UsingGodotNETSdk` to be simultaneously defined within the same project.
2024-03-18 09:48:52 -07:00
Thaddeus Crews
300aa202c8
C#: Implement InvariantCulture
on Variant strings
2024-03-15 19:43:00 -05:00
Aaron Franke
3604b57ba3
GLTF: Extract converting hull points to mesh to a helper function
2024-03-15 15:22:48 -07:00
Diogo Costa
935ea10f3a
Fixed enum autocompletion for core classes (Issue #88858 )
...
Minor fix consisted in the use of [[fallthrough]] macro
2024-03-15 20:20:36 +00:00
Lyuma
8232759100
Fix method bindings in FBXDocument by making them virtual in GLTFDocument.
2024-03-15 12:47:02 -07:00
Rémi Verschelde
9c2db0c035
Merge pull request #89495 from akien-mga/pcre2-fix-sljit-compilation-ioscross
...
pcre2: Remove unused sjlit files after last update
2024-03-15 10:40:10 +01:00
Rémi Verschelde
739fcd1b8c
pcre2: Remove unused sjlit files after last update
...
Follow-up to #89371 .
2024-03-15 09:38:45 +01:00
smix8
5d5e85fe07
Add NavigationObstacle options to affect and carve navigation mesh
...
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
Rémi Verschelde
3e773b9167
Merge pull request #89484 from dalexeev/update-gds-doc
...
Update `@GDScript` documentation
2024-03-14 22:35:37 +01:00
Rémi Verschelde
36b33d9b72
Merge pull request #89460 from dsnopek/openxr-composition-layers-multiple
...
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
2024-03-14 22:35:08 +01:00
Rémi Verschelde
21b33c5ea4
Merge pull request #89418 from lyuma/gltf_vertex_packing
...
Only store vertices referenced by the indices per surface in the glTF importer
2024-03-14 22:34:52 +01:00
Rémi Verschelde
37b08a3724
Merge pull request #89356 from lyuma/vsk-gltf-sparse-accessors-4.3
...
GLTF export: Use sparse accessors for morph targets
2024-03-14 22:34:47 +01:00
Rémi Verschelde
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
...
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
Danil Alexeev
0c48845247
Update @GDScript
documentation
2024-03-14 17:51:41 +03:00
Lyuma
77f6e35a8d
glTF importer now only stores vertices referenced by the indices per surface.
2024-03-13 18:34:55 -07:00
David Snopek
308a6a4734
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-03-13 17:53:15 -05:00
Rémi Verschelde
da945ce626
Merge pull request #89444 from AThousandShips/article_fix
...
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +01:00
Rémi Verschelde
a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
...
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
A Thousand Ships
24c9d442e9
[Doc] Fix some incorrect uses of a/an
2024-03-13 21:20:28 +01:00
Adam Scott
9f605e0187
Fix GCC build failure
2024-03-13 15:02:17 -04:00
Rémi Verschelde
48b650c254
Merge pull request #89422 from Repiteo/clang-tidy-NULL
...
clang-tidy: Enforce `modernize-use-nullptr`
2024-03-13 18:41:39 +01:00
Rémi Verschelde
0478998148
Merge pull request #89414 from bruvzg/update_icu_msdfgen
...
Update ICU and msdfgen.
2024-03-13 18:41:35 +01:00
Rémi Verschelde
6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
...
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +01:00
Rémi Verschelde
8620f7356b
Merge pull request #83037 from dalexeev/gds-fix-warning-ignore-issues
...
GDScript: Fix `@warning_ignore` annotation issues
2024-03-13 18:41:21 +01:00
Rémi Verschelde
6ba0179682
Merge pull request #64488 from reduz/interactive-music-take3
...
Add interactive music support
2024-03-13 14:32:21 +01:00
bruvzg
3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 12:57:39 +02:00
bruvzg
0d02568ff8
Update ICU and msdfgen.
2024-03-13 09:12:50 +02:00
Juan Linietsky
43b78cd2ad
Add interactive music support
...
This PR adds 3 types of audio streams used for interactive music support.
* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.
Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00
Danil Alexeev
ef1909fca3
GDScript: Fix @warning_ignore
annotation issues
2024-03-12 19:00:06 +03:00
Thaddeus Crews
3b3e2374c9
clang-tidy: Enforce modernize-use-nullptr
2024-03-12 10:59:53 -05:00
Rémi Verschelde
48ad83a4e7
Merge pull request #88827 from adamscott/add-browse-folder-icon
...
Add browse folder and browse file icons
2024-03-12 16:28:03 +01:00
Adam Scott
44d3ce2c11
Add browse folder and browse file icons
2024-03-12 09:57:59 -04:00
Rémi Verschelde
061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
...
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
Lyuma
db2c9571bb
glTF export: morph targets are relative, so use zero as reference
2024-03-12 02:39:15 -07:00
K. S. Ernest (iFire) Lee
1e63a2a132
Update buffer view target handling, encode sparse accessors as vec3.
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-03-12 02:39:00 -07:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 11:28:45 +02:00
Rémi Verschelde
b1b0a526d8
Merge pull request #89393 from Repiteo/retire-subprocess_main
...
SCons: Remove `run_in_subprocess` & `subprocess_main` dependencies
2024-03-11 23:48:21 +01:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
...
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
Thaddeus Crews
5a6e3cbcb0
SCons: Remove run_in_subprocess
dependency
2024-03-11 13:20:09 -05:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 16:31:10 +02:00
Rémi Verschelde
f040a351c2
Merge pull request #89381 from aaronfranke/disable-3d
...
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 14:02:57 +01:00
Jakub Marcowski
dab95993c6
pcre2: Update to 10.43
2024-03-11 11:42:02 +01:00
Aaron Franke
6aac3e4a16
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 01:00:55 -07:00
Rémi Verschelde
53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
...
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with
statement where applicable
2024-03-10 12:57:57 -05:00
Lyuma
fd2aa564ab
gltf export: Remove snapping and fix validation
...
Round min/max correctly in accessors
Include correct target in vertex and indices bufferViews
Avoid use of Math::snapped
Normalize vertex weights.
2024-03-10 06:07:46 -07:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
...
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Rémi Verschelde
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
...
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n
eol for Python writes
...
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Paul Joannon
7290e7d7a5
C#: Fix warnings
...
- Fix most CS0108 in generated glue
- Suppress CA1001 on `Variant`
2024-03-09 17:05:23 +01:00
Rémi Verschelde
877cd12da8
Merge pull request #89284 from mihe/lsp-multiple-messages
...
Allow LSP to process multiple messages per poll
2024-03-09 00:52:29 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +03:00
Mikael Hermansson
e2485044a1
Allow LSP to process multiple messages per poll
2024-03-08 18:49:29 +01:00
Rémi Verschelde
7755079f39
Merge pull request #89025 from Chubercik/clipper2-1.3.0
...
clipper2: Update to 1.3.0
2024-03-08 13:09:21 +01:00
ACB
7426b4d448
Fix user after free in GDScriptLanguage::debug_get_globals
2024-03-08 07:32:31 +01:00
Thaddeus Crews
9903e6779b
Enforce template syntax typename
over class
2024-03-07 22:39:09 -06:00
George Marques
8e520454ef
GDScript: Add @export_custom annotation
...
Allows setting any arbitrary hint, hint string, and usage flags.
Useful for more complex hints or potential future hints not
available as a dedicated annotation.
2024-03-07 10:55:21 -03:00
Rémi Verschelde
0acc4276b6
Merge pull request #82952 from AbelToy/gds-export-array
...
Allow `@export`ed Arrays to set property hints for their elements
2024-03-06 09:49:53 +01:00
Abel Toy
882441a0ad
Support Array and PackedArray in @export_*
2024-03-06 16:17:54 +09:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
...
Default shortcuts use the first or second letter of each word.
This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde
b59166d77a
Merge pull request #89171 from bruvzg/fix_fb_breaks
...
[TextServer] Fix fallback line breaking code adding two breaks for CR-LF.
2024-03-05 09:56:22 +01:00
RedMser
2bd714e34e
Allow configuring the script filename casing rule
...
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +01:00
bruvzg
b58e45ed43
[TextServer] Fix fallback line breaking code adding two breaks for CR-LF.
2024-03-05 09:15:11 +02:00
A Thousand Ships
1e61e42250
[GDScript] Fix some test file paths
2024-03-04 19:11:28 +01:00
Rémi Verschelde
e40010a8e1
Merge pull request #89108 from Faless/mp/fix_config_reload
...
[MP] Fix replication config reload error
2024-03-04 13:34:22 +01:00
Rémi Verschelde
dd2a611118
Merge pull request #89092 from AThousandShips/csharp_doc
...
[C#] Fix typo in `Color` documentation
2024-03-04 13:34:06 +01:00
Rémi Verschelde
6315429999
Merge pull request #89007 from paulloz/dotnet/fix-interpolated-string-scriptpropertydefval
...
[.NET] Fix interpolated strings in ScriptPropertyDefVal
2024-03-04 13:33:25 +01:00
Rémi Verschelde
7be96a55c4
Merge pull request #86973 from HolonProduction/tests-batch-1
...
Add tests for `get_node` autocompletion
2024-03-04 13:32:55 +01:00
Rémi Verschelde
b392ab5ff4
Merge pull request #85918 from 20kdc/tnj-static-called-on-instance-fix-confusion
...
GDScript: Adjust `STATIC_CALLED_ON_INSTANCE` warning to not force native type
2024-03-04 13:32:47 +01:00
Rémi Verschelde
5d3369e095
Merge pull request #85153 from Repiteo/scons-improve-logs
...
SCons: Add two new `COMSTR` environment variables
2024-03-04 13:32:38 +01:00
Rémi Verschelde
1598af5668
Merge pull request #83504 from Repiteo/c#-generator-langword-check
...
C#: Bindings generator langword check
2024-03-04 13:32:34 +01:00
Fabio Alessandrelli
45e8fa10c1
[MP] Fix replication config reload error
...
Override the `reset_state` method to properly handle reloading the
resource from disk.
2024-03-03 11:13:00 +01:00
HolonProduction
1621e725fa
Fix autocompletion after DOLLAR token
2024-03-02 18:56:02 +01:00
A Thousand Ships
5aadb8660b
[C#] Fix typo in Color
documentation
2024-03-02 18:13:01 +01:00
Rémi Verschelde
f2045ba822
Merge pull request #88933 from raulsntos/dotnet/pre-commit
...
Move dotnet-format script to pre-commit
2024-03-02 10:48:25 +01:00
Raul Santos
97851f0340
Move dotnet-format script to pre-commit
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2024-03-02 08:25:48 +01:00
Thaddeus Crews
0ce9b6fd1d
Add two new COMSTR environment variables
2024-03-01 12:44:03 -06:00
Rémi Verschelde
34effe41dc
Merge pull request #89036 from Mickeon/documentation-uncommon-words-2
...
Overhaul some "uncommon" wording in class reference
2024-03-01 17:22:18 +01:00
Rémi Verschelde
0e0f564cea
Merge pull request #89021 from wheatear-dev/test-crypto-key
...
Add unit tests for CryptoKey
2024-03-01 17:22:12 +01:00
Micky
c54e09a5a3
Overhaul some "uncommon" wording in class reference
2024-03-01 15:32:38 +01:00
20kdc
24181d1055
GDScript: Adjust STATIC_CALLED_ON_INSTANCE warning to not default to the native type, and to not trigger on self-calls
...
Not defaulting to the native type rationale:
Defaulting to the native type is less than useful, as:
* There are very few native types that are extensible and have static methods.
* Defaulting to the native type does not account for a method being script-defined.
While the "real fix" would be to carefully track the source of the method, the get_function_signature method is already complicated enough.
This will at least ensure the resulting code should always be valid.
Not triggering on self-calls rationale:
Found in PR comment https://github.com/godotengine/godot/pull/85918#issuecomment-1935864459
```
static func example():
pass
func example2():
example() # self-call on static function
```
Disabling this warning on self-calls is:
* Consistent with other languages
* Important for anonymous classes (where the output code is unusable)
2024-03-01 17:14:59 +03:00
Micky
7b3e1a5bde
Optimize SceneTree's change_scene_to_file
autocompletion
2024-03-01 15:12:52 +01:00
HolonProduction
a2e7c64dc4
Cleanup
2024-03-01 13:06:37 +01:00
HolonProduction
1f42455e0a
Debugging additions
2024-03-01 11:38:49 +01:00
Paul Joannon
42233284b1
Fix interpolated strings in ScriptPropertyDefVal
2024-03-01 11:24:46 +01:00
HolonProduction
fc7d7d3dae
Add test for get_node
autocompletion
2024-03-01 11:24:06 +01:00
Jakub Marcowski
973448ec4c
clipper2: Update to 1.3.0
2024-03-01 11:12:59 +01:00
Edward Moulsdale
e461496ecb
Add unit tests for CryptoKey
2024-03-01 07:17:59 +00:00
Rémi Verschelde
7d2ca2d8ac
Merge pull request #89005 from dalexeev/gds-fix-res-format-loader-path
...
GDScript: Fix paths in `ResourceFormatLoaderGDScript::load()`
2024-02-29 15:18:55 +01:00
Rémi Verschelde
b0c184c9c9
Merge pull request #88994 from TCROC/fix-c#-missing-epsilon-64bit
...
Fix C# epsilon compiler error on double precision build
2024-02-29 15:18:47 +01:00
Travis Lange
09c6cb1250
Fix C# epsilon compiler error on double precision build
2024-02-29 08:25:37 -05:00
Danil Alexeev
0908ad4005
GDScript: Fix paths in ResourceFormatLoaderGDScript::load()
2024-02-29 16:04:31 +03:00
Rémi Verschelde
7434f8b4e3
Merge pull request #88959 from akien-mga/pre-commit-clang-17.0.6-black-24.2.0
...
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-29 13:54:38 +01:00
Rémi Verschelde
9101067666
Merge pull request #88958 from 398utubzyt/gltf/use-correct-name
...
Fix compilation errors when `DISABLE_DEPRECATED` is defined
2024-02-29 13:54:35 +01:00
Rémi Verschelde
9278856ff7
Merge pull request #88948 from dalexeev/core-add-callable-create
...
Core: Add `Callable.create` static method for `Variant` callables
2024-02-29 13:54:22 +01:00
Rémi Verschelde
c9b531c613
Merge pull request #88920 from AThousandShips/group_doc_fix
...
[Doc] Fix some incorrect uses of "children"
2024-02-29 13:54:18 +01:00
Rémi Verschelde
d194378043
Merge pull request #88904 from akien-mga/efs-tell-me-what-you-import
...
EditorFileSystem: Add verbose print for file being (re)imported
2024-02-29 13:54:14 +01:00
Rémi Verschelde
172b254687
Merge pull request #88664 from RandomShaper/res_load_modes
...
Enhance cache modes in resource loading
2024-02-29 13:54:07 +01:00
A Thousand Ships
9b5cd8e240
[Doc] Fix some incorrect uses of "children"
2024-02-29 11:52:55 +01:00
Danil Alexeev
d90c9db27f
Core: Add Callable.create
static method for Variant
callables
2024-02-29 10:45:00 +03:00
BlueCube3310
8239aeec8e
Image: Add static is_format_compressed
function.
2024-02-28 19:42:06 +01:00
Rémi Verschelde
3a08c646ee
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-28 14:25:35 +01:00
398utubzyt
4c69e8c026
Fix compilation errors when DISABLE_DEPRECATED
is defined
2024-02-28 05:09:29 -08:00
Rémi Verschelde
093cdd2188
EditorFileSystem: Add verbose print for file being (re)imported
...
Also print the time it took for each file.
2024-02-28 09:59:46 +01:00
Rémi Verschelde
ac4376814b
Merge pull request #88931 from clayjohn/GLTF-normals
...
Fix wrong indexing when generating dummy tangents in GLTF import
2024-02-27 21:23:14 +01:00
Rémi Verschelde
ed2ff19cd7
Merge pull request #88909 from emre0altan/clarify-c#-color-opacity-comment
...
Clarify C# Color opacity comment
2024-02-27 21:23:07 +01:00
Rémi Verschelde
a64cb8eff3
Merge pull request #88570 from paulloz/dotnet/warnings-editorconfig-cleanup
...
[.NET] Better `.editorconfig` setup in `modules/mono/`
2024-02-27 21:23:03 +01:00
Rémi Verschelde
21ee3716c2
Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation
...
GDScript: Add `@export_storage` annotation
2024-02-27 21:22:49 +01:00
clayjohn
14c776f798
Fix wrong indexing when generating dummy tangents in GLTF import
2024-02-27 11:44:57 -08:00
Paul Joannon
139a5df821
Cleanup C# projects, code quality & style
...
New rules:
- Do not silence CA1805 any more
- Limit where we silence CA1707, CA1711, CA1720
- Enforce severity=warning for IDE0040
- Enforce Allman style braces
- Enforce naming conventions (IDE1006 is still severity=suggestion)
Fixes:
- Fix REFL045, CS1572, CS1573
- Suppress CS0618 when generating `InvokeGodotClassMethod`
- Fix indent when generating GD_constants.cs
- Temporarily silence CS1734 in generated code
- Fix a lot of naming rule violations
Misc.:
- Remove ReSharper comments for RedundantNameQualifier
- Remove suppression attributes for RedundantNameQualifier
- Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
2024-02-27 20:11:24 +01:00
Rémi Verschelde
f5dbbf7fd0
Merge pull request #88921 from Repiteo/dotnet/deprecate-check-fix
...
C#: Only check for empty deprecation message if deprecated
2024-02-27 18:27:10 +01:00
Thaddeus Crews
be7019de0f
C#: Only check for empty deprecation message if deprecated
2024-02-27 10:22:32 -06:00
Nông Văn Tình
52c4abea17
Revise implementation to match the implementation in core
...
Fixes : #88834
2024-02-27 23:19:15 +07:00
blackbird806
e2f1af8742
Remove self includes in some files
2024-02-27 17:10:54 +01:00
emre0altan
4100a23c5e
Clarify C# Color opacity comment
2024-02-27 15:56:21 +00:00
Rémi Verschelde
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
...
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde
0499b57d9e
Merge pull request #88876 from dalexeev/gds-fix-type-highlighting-after-whitespace
...
GDScript: Fix type highlighting after whitespace
2024-02-27 10:18:42 +01:00
Rémi Verschelde
bbe263d329
Merge pull request #88823 from jsjtxietian/limit-NoiseTexture3D
...
Do overflow check in when generating NoiseTexture3D
2024-02-27 10:18:09 +01:00
Rémi Verschelde
3780604d79
Merge pull request #88819 from lyuma/import_nodes_as_skeleton_bones
...
Add new scene import option to import as Skeleton
2024-02-27 10:18:00 +01:00
Rémi Verschelde
8f98ed65f7
Merge pull request #88738 from clayjohn/mesh_compression-tangents
...
Multiple fixes for compressed meshes
2024-02-27 10:17:43 +01:00
Rémi Verschelde
730ef374b4
Merge pull request #88652 from RobProductions/fix-hover-margin
...
Fix editor hover style margins when Draw Extra Borders is enabled
2024-02-27 10:17:34 +01:00
jsjtxietian
3d17aaca71
Do overflow check in when gererating NoiseTexture3D
2024-02-27 12:20:03 +08:00
Danil Alexeev
a10241bfe4
GDScript: Fix type highlighting after whitespace
2024-02-26 20:49:05 +03:00
Pedro J. Estébanez
5e144022e7
Enhance cache modes in resource loading
...
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008 ).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669 , #82830 ).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
Lyuma
652ef966f9
Add new scene import option to import as Skeleton
...
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Aaron Franke
138180fe01
Move 3D-only navigation code to its own subfolder
2024-02-26 04:19:12 -06:00
Aaron Franke
fd582dca62
Move 2D-only navigation code to its own subfolder
2024-02-26 04:18:13 -06:00
Rémi Verschelde
99addd6d9c
Merge pull request #88853 from dalexeev/gds-canonicalize-fqcn
...
GDScript: Canonicalize script path in FQCN
2024-02-26 10:49:44 +01:00
Rémi Verschelde
924e579f96
Merge pull request #88826 from mhilbrunner/net-fix-has-erase
...
Networking scene multiplayer: Fix removing connected peer during disconnection
2024-02-26 10:49:25 +01:00
Rémi Verschelde
f91e74a179
Merge pull request #88754 from BastiaanOlij/fix_openxr_eye_gaze_init
...
OpenXR: Register eye gaze even when disabled
2024-02-26 10:49:09 +01:00
Rémi Verschelde
762ea7a0b2
Merge pull request #88730 from raulsntos/dotnet/deprecated-message
...
C#: Add deprecated message to generated bindings
2024-02-26 10:49:05 +01:00
Rémi Verschelde
5059dd91f3
Merge pull request #88692 from nongvantinh/fix-88543
...
Fix Script Editor saves C# files as embedded scripts.
2024-02-26 10:49:01 +01:00
Rémi Verschelde
9509a9e8dd
Merge pull request #83691 from theraot/slidedocs
...
Expanded documentation for vector slide and project
2024-02-26 10:48:37 +01:00
Danil Alexeev
8ffc50ee8c
GDScript: Canonicalize script path in FQCN
2024-02-26 10:46:24 +03:00
Max Hilbrunner
bd8380db55
Fix removing connected peer during disconnection
2024-02-25 18:44:02 +01:00
Nông Văn Tình
c5e6a5863d
Fix Script Editor saves C# files as embedded scripts
...
fixes : #88543
fixes : #88160
Because of the limitations of compiled programming languages like C#, when a newly created *.cs file hasn't been compiled, we don't have any information about its `Path` or `Type` in the `assemply`. This means we end up creating an invalid instance of this file whenever there's a request. Consequently, multiple instances of the script can exist. When a new instance takes over the path, it clears the `path_cache` of the previous instance, leading to undefined behavior.
2024-02-25 22:08:18 +07:00
Rémi Verschelde
83b32f990e
Merge pull request #88733 from ryevdokimov/Remove-word-duplicates
...
Remove word duplicates in comments and strings, and fix casing and punctuation
2024-02-25 11:50:09 +01:00
Rémi Verschelde
ee5ace10b7
Merge pull request #85501 from /remove-packed-scene-cache
2024-02-25 11:49:27 +01:00
Bastiaan Olij
6fd897973f
OpenXR: Register eye gaze even when disabled
2024-02-24 17:32:58 +11:00
clayjohn
781cd27fe4
Avoid singularity when generated tangents and validate that tangents are good enough when using compression
2024-02-23 16:25:26 -08:00
Robert Yevdokimov
13e82094ee
Remove word duplicates in comments and strings, and fix casing and punctuation
2024-02-23 17:28:28 -05:00
David Snopek
fa81e12588
Fix lint errors in WebXR module
2024-02-23 16:24:58 -06:00
Rémi Verschelde
cf9de66389
Merge pull request #88411 from dsnopek/webxr-hand-tracking
...
WebXR: Add support for hand tracking
2024-02-23 22:57:46 +01:00
K. S. Ernest (iFire) Lee
04d43947bf
Add ufbx for FBX importing
...
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.
Key changes include:
- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.
Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
2024-02-23 22:33:04 +01:00
David Snopek
7fa8ccd1ed
WebXR: Add support for hand tracking
2024-02-23 15:30:10 -06:00
Rémi Verschelde
41f39cfa04
Merge pull request #88724 from AThousandShips/xr_build_fix
...
[XR] Fix building on MinGW
2024-02-23 22:19:28 +01:00
Rémi Verschelde
0d83267923
Merge pull request #88639 from dsnopek/xrserver-hand-tracker
...
Provide generic interface for XR hand tracking
2024-02-23 22:19:05 +01:00
Rémi Verschelde
77666286b7
Merge pull request #88020 from emre0altan/match-null-crashes-GDScript-compiler
...
GDScript: Set `has_type` false if it is `BUILTIN` but `Variant::NIL`
2024-02-23 22:18:55 +01:00
Rémi Verschelde
4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
...
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
Raul Santos
40b7dd0cf3
C#: Add deprecated message to generated bindings
...
Uses the `DocData` deprecated message in the C# `[Obsolete]` attribute added to deprecated members.
2024-02-23 20:30:36 +01:00
David Snopek
2184fa9698
Provide generic interface for XR hand tracking
2024-02-23 12:20:22 -06:00
A Thousand Ships
efeb6be084
[XR] Fix building on MinGW
...
Destructor was defined in multiple places due to multiple inheritance
2024-02-23 19:10:33 +01:00
bruvzg
ad017a20ea
[TextServer] Implement soft hyphen handling.
2024-02-23 12:40:13 +02:00
Rémi Verschelde
60b927b4cf
Merge pull request #88689 from dsnopek/openxr-extension-wrapper-crash
...
Fix crash when using OpenXR extension wrappers from GDExtension
2024-02-23 11:29:54 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals
2024-02-23 11:29:22 +01:00
Raul Santos
5ba92e5a57
Fix some DEFVALs to use the right type
...
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
2024-02-23 01:50:18 +01:00
David Snopek
713ea0629a
Fix crash when using OpenXR extension wrappers from GDExtension
2024-02-22 16:50:39 -06:00
Rémi Verschelde
f15ced3f18
Merge pull request #88679 from AThousandShips/nav_fix
...
[Navigation] Add some missing compile checks
2024-02-22 23:34:41 +01:00
Rémi Verschelde
8e1fa57edd
Merge pull request #88676 from BlueCube3310/basisu-resolution-fix
...
BasisUniversal: Fix texture decompression
2024-02-22 23:34:38 +01:00
Rémi Verschelde
8a9c9ef94f
Merge pull request #88452 from AThousandShips/template_test
...
Fix running tests in template builds
2024-02-22 23:34:30 +01:00
A Thousand Ships
12cecf726f
[Navigation] Add some missing compile checks
2024-02-22 20:21:43 +01:00
BlueCube3310
0c596df0e0
BasisUniversal: Fix texture decompression
2024-02-22 19:11:17 +01:00
A Thousand Ships
d7a72d72e6
Fix running tests in template builds
2024-02-22 18:05:42 +01:00
Rémi Verschelde
b15105a358
Merge pull request #88641 from Calinou/doc-add-keywords
...
Add keywords to improve search in the class reference
2024-02-22 16:53:59 +01:00
Rémi Verschelde
7fc5fddc7a
Merge pull request #84278 from smix8/navmap_errors
...
Improve NavigationServer NavMap sync error msgs
2024-02-22 16:39:35 +01:00
Hugo Locurcio
f781571d07
Add keywords to improve search in the class reference
2024-02-22 16:16:49 +01:00
Rémi Verschelde
cf20bd7a07
Merge pull request #88075 from Chubercik/libktx-4.3.1
...
libktx: Update to 4.3.1
2024-02-22 14:39:10 +01:00
smix8
2da69294fc
Improve NavigationServer NavMap sync error msgs
...
Improves NavigationServer NavMap sync error msgs.
2024-02-22 13:49:31 +01:00
Jakub Marcowski
1be2fe1f7b
libktx: Update to 4.3.1
2024-02-22 12:25:27 +01:00
Rémi Verschelde
c3de771292
Merge pull request #88485 from BlueCube3310/basisu-astc-v2
...
Add ASTC support to BasisUniversal
2024-02-22 11:23:11 +01:00
smix8
313c1d1100
Add function to get navigation map iteration id from NavigationServer
...
Adds function to get navigation map iteration id from NavigationServer.
2024-02-22 09:45:49 +01:00
Matt Enad
f75cffcd46
Fix hover style margin with extra borders enabled
...
The content margins for FlatMenuButton and RunBarButton are now handled correctly when the "Draw Extra Borders" user option is enabled
2024-02-21 21:36:48 -05:00
Rémi Verschelde
c6d091e0f3
Merge pull request #87253 from van800/van800/analyser
...
Provide a roslyn analyzers corresponding to the GD0001 and GD0002
2024-02-21 15:22:54 +01:00
Rémi Verschelde
48a1a78390
Merge pull request #86260 from Faless/mp/fix_2way_auth
...
[MP] Fix auth not waiting for confirmation in some cases
2024-02-21 15:22:46 +01:00
Ivan Shakhov
00dc19585b
provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-02-21 12:35:28 +03:00
Rémi Verschelde
aeaec000fc
Merge pull request #88495 from paulloz/dotnet/test-and-fix-exports-diagnostics
...
[.NET] Test and fix exports diagnostics
2024-02-21 07:43:08 +01:00
Rémi Verschelde
00f6c97610
Merge pull request #80343 from raulsntos/dotnet/warnings/RS2008
...
C#: Add analyzer release tracking
2024-02-20 23:59:39 +01:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 -05:00
Rémi Verschelde
1aab6e96b9
Merge pull request #87133 from Repiteo/dotnet/enforce-globalization-rules
...
C#: Enforce globalization code quality rules
2024-02-20 20:04:30 +01:00
Rémi Verschelde
02fdf262aa
Merge pull request #88566 from devloglogan/expose-handtracker-handles
...
Expose OpenXR hand tracker handles
2024-02-20 19:34:53 +01:00
Rémi Verschelde
9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
...
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
Rémi Verschelde
6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
...
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
Thaddeus Crews
000d12d237
C#: Enforce Globalization code quality rules
2024-02-20 11:15:12 -06:00
Rémi Verschelde
fb8f0daf70
Merge pull request #88526 from akien-mga/fastnoiselite-cleanup
...
FastNoiseLite: Sync with 1.1.0, clean up SCsub
2024-02-20 17:13:32 +01:00
Rémi Verschelde
b652a81da7
Merge pull request #82554 from dsnopek/gdextension-placeholders
...
Allow registering "runtime classes" from GDExtension
2024-02-20 17:13:24 +01:00
David Snopek
ea75307a11
Allow registering "runtime classes"
2024-02-20 09:20:58 -06:00
Sofox
46b420f7ee
Fix for RegEx.sub truncating string when 'end' is used
2024-02-20 13:01:27 +00:00
Paul Joannon
88ad4e6c24
Add tests and fix exports diagnostics
...
- Add tests for the following diagnostics: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107.
- Fix GD0101 not being reported any more (was filtering static classes before reporting).
- Fix GD0107 not preventing `Node` members from being exported from not-`Node` types.
2024-02-20 11:24:41 +01:00
Rémi Verschelde
07254d9b1b
Merge pull request #88443 from Mickeon/documentation-hunting-for-deprecated
...
Update many Deprecated/Experimental descriptions for consistency
2024-02-20 11:12:07 +01:00
Rémi Verschelde
54587277da
Merge pull request #88544 from van800/van800/rider-path-locator
...
Bump `Rider.PathLocator` nuget version, which provides a fix for detecting Rider installations
2024-02-20 10:31:03 +01:00
Rémi Verschelde
b167113b1c
Merge pull request #88508 from akien-mga/basisu_unbundled_jpgd
...
basis_universal: Unbundle jpgd to fix symbol conflict, use our newer copy with SSE2 support
2024-02-20 10:30:59 +01:00
Logan Lang
74413f5609
expose OpenXR hand tracker handles
2024-02-19 16:31:10 -06:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Raul Santos
f685c69bd4
C#: Add analyzer release tracking
...
Fixes diagnostic RS2008.
2024-02-19 19:47:40 +01:00
Ivan Shakhov
703c34a788
Bump Rider.PathLocator nuget version, which provides a fix for detecting Rider installations
2024-02-19 21:04:28 +03:00
BlueCube3310
0afee63712
Add ASTC support to BasisUniversal
2024-02-19 17:32:31 +01:00
Rémi Verschelde
aa414ab412
Merge pull request #88464 from BlueCube3310/basisu-cleanup-v2
...
Clean up and optimize BasisUniversal
2024-02-19 17:06:42 +01:00
BlueCube3310
a1997d13e4
Clean up and optimize BasisUniversal
2024-02-19 12:39:06 +01:00
BlueCube3310
bf919eafa7
Extract BasisUniversal code into its own files
2024-02-19 10:56:02 +01:00
Raul Santos
fe280ef9ae
C#: Various fixes to generic scripts
...
- Report a diagnostic when there are multiple classes that match the script file name in the same script since that will result in a duplicate path key in the bimap and it's not allowed.
- Fix InspectorPlugin to handle empty paths in case the project was built with a previous version of Godot that used empty paths for generic scripts.
- Add tests for the new diagnostic GD0003.
2024-02-19 06:33:13 +01:00
Rémi Verschelde
a5c52c1e38
FastNoiseLite: Sync with 1.1.0, clean up SCsub
...
Doesn't fix the LTO warning about `-Waggressive-loop-optimizations`
due to GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 .
2024-02-19 01:03:38 +01:00
Rémi Verschelde
9f48330c3f
Merge pull request #88469 from paulloz/dotnet/cleaner-diagnostic-rules
...
[.NET] Clean diagnostic rules
2024-02-19 00:08:30 +01:00
Rémi Verschelde
033821c595
Merge pull request #88245 from shana/simplify-mono-support-detection
...
C#: Let platforms signal if they support the mono module or not
2024-02-19 00:08:07 +01:00
Rémi Verschelde
48ed0474e2
basis_universal: Unbundle jpgd, use our newer copy
2024-02-18 18:55:40 +01:00
Paul Joannon
5981886fb7
Clean diagnostic rules
...
Move the following diagnostics into static readonly fields: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107, GD0201, GD0202, GD0203, GD0301, GD0302, GD0303, GD0401, GD0402.
To be more consistent, the titles for the following diagnostics were modified: GD0101, GD0105, GD0106, GD0302, GD0303, GD0401, GD0402. A subsequent update of the documentation repo is needed.
Tests for the following diagnostics were created: GD0201, GD0202, GD0203.
2024-02-18 16:47:20 +01:00
Raul Santos
dcb411daee
C#: Fix building OpenVisualStudio executable
...
Since moving the TFM to .NET Core we need to add some configuration to cross-compile a Windows executable from Linux.
2024-02-18 05:40:06 +01:00
Micky
f9a758772a
Update many Deprecated/Experimental descriptions for consistency
2024-02-17 21:33:12 +01:00
Rémi Verschelde
59f966646c
Merge pull request #88453 from Repiteo/dotnet/stringextensions-match-core
...
C#: Match Core implementation of `BinToInt` & `HexToInt`
2024-02-17 19:57:46 +01:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
...
This reverts commit d3852deaa4
.
2024-02-17 19:03:21 +01:00
Thaddeus Crews
48428bd087
C#: Match Core implementation of BinToInt
& HexToInt
2024-02-17 11:59:14 -06:00
Rémi Verschelde
ccd9cefa8e
Merge pull request #87137 from /dotnet/nullable-godot-tools
2024-02-17 18:31:37 +01:00
Rémi Verschelde
4731958174
Merge pull request #88380 from Calinou/editor-move-settings-to-central-location
...
Move EditorNode setting registration so they are in class reference
2024-02-17 15:54:59 +01:00
Rémi Verschelde
2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
...
Rework the auto translation system
2024-02-17 15:54:31 +01:00
Hugo Locurcio
6ae54fd787
Move EditorNode setting registration so they are in class reference
...
Co-authored-by: Micky <micheledevita2@gmail.com>
2024-02-17 11:33:22 +01:00
Rémi Verschelde
59643bdb86
Merge pull request #88325 from akien-mga/texture-formats
...
Export: Unify settings for PC texture formats, removed obsoleted ETC feature
2024-02-17 00:23:45 +01:00
Matt Enad
5b5de0e167
Add hover highlight to main editor buttons
...
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 -05:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
Rémi Verschelde
6f805dee2a
Merge pull request #88365 from dalexeev/gds-fix-gdc-export
...
GDScript: Fix extension comparison for exported scripts
2024-02-15 17:35:58 +01:00
Rémi Verschelde
a00d810c83
Merge pull request #88344 from bruvzg/fb_ts_nbsp
...
[Fallback TextServer] Add support for non breaking spaces.
2024-02-15 17:35:51 +01:00
Rémi Verschelde
4bb3af67e0
Merge pull request #88091 from bruvzg/extra_fallback
...
[TextServer] Add extra fallback step, to lookup for individual characters.
2024-02-15 17:35:40 +01:00
Rémi Verschelde
eac054f1cc
Merge pull request #87971 from bruvzg/font_no_image_dup
...
[TextServer / Font] Do not duplicate images to prevent unnecessary embedding.
2024-02-15 17:35:36 +01:00
Danil Alexeev
a2e3e31e80
GDScript: Fix extension comparison for exported scripts
2024-02-15 17:53:24 +03:00
Rémi Verschelde
39fcef1b2f
Merge pull request #88326 from brennennen/cmd_mask_comment_typo
...
Fixed binary representation typo in comment
2024-02-15 15:45:11 +01:00
Rémi Verschelde
09df8f4a56
Merge pull request #87952 from paulloz/dotnet/byebye-signal-callback-generation
...
Disable signal callback generation in C#
2024-02-15 15:44:55 +01:00
Rémi Verschelde
1efc3625fa
Merge pull request #87342 from raulsntos/dotnet/warnings/RS1024
...
C#: Use SymbolEqualityComparer
2024-02-15 15:44:47 +01:00
Rémi Verschelde
ef5d6ccfb7
Merge pull request #86966 from Muller-Castro/value2ref-core
...
Add const lvalue ref to `core/*` container parameters
2024-02-15 15:44:43 +01:00
Rémi Verschelde
4859f8090f
Merge pull request #85455 from xiongyaohua/fix_CSGPolygon_not_following_Path3D
...
Notify CSGPolygon about transform changes in Path3D
2024-02-15 15:44:39 +01:00
Danil Alexeev
af28f87791
Documentation: Add support for deprecated/experimental messages
2024-02-15 15:59:50 +03:00
bruvzg
12883925c2
[Fallback TextServer] Add support for non breaking spaces.
2024-02-14 22:55:50 +02:00
Raul Santos
7b348708e8
C#: Use SymbolEqualityComparer
...
Use `SymbolEqualityComparer` to compare symbols and fix `RS1024` warning.
2024-02-14 17:33:06 +01:00
Rémi Verschelde
e457f41f9b
Remove code relative to obsoleted ETC texture format
...
Co-authored-by: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>
2024-02-14 17:16:41 +01:00
Muller-Castro
a8bc9f3e78
Add const lvalue ref to core/* container parameters
2024-02-14 11:20:36 -03:00
brennen
26d9fbaf52
Fixed binary representation typo in comment
2024-02-14 07:59:12 -06:00
Rémi Verschelde
9705ac40c9
Merge pull request #87246 from bs-mwoerner/ogg_crash
...
Fix a possible crash when importing an OGG file with zero-length packets
2024-02-14 14:08:03 +01:00
Paul Joannon
9fa2355cef
Disable signal callback generation in C#
2024-02-14 13:26:45 +01:00
Rémi Verschelde
482473aee6
Merge pull request #88311 from devloglogan/xr-suggested-tracker-names
...
Enable getting suggested tracker names from OpenXR extensions
2024-02-14 10:59:52 +01:00
Logan Lang
3ee258effe
enable getting suggested tracker names from OpenXR extensions
2024-02-13 18:33:41 -06:00
Rémi Verschelde
493a1d5d1e
Merge pull request #88298 from dsnopek/openxr-alpha-blend-mode-docs-type-o
...
Fix type-o in `OpenXRAPIExtension` docs for `is_environment_blend_mode_alpha_supported()`
2024-02-13 23:43:53 +01:00
Andreia Gaita
21e524a798
C#: Let platforms signal if they support it or not
...
Instead of hardcoding platform names that support C#, let platforms
set a flag indicating if they support it. All public platforms
except web already support it, and it's a pain to maintain a patch
for this list just to add additional names of proprietary console
platforms.
This makes adding new platforms or variants or existing platforms
much easier, as the platform can signal what it supports/doesn't
support directly, and we can avoid harcoding platform names.
2024-02-13 22:48:43 +01:00
David Snopek
c82d0ea6a2
Fix type-o in OpenXRAPIExtension
docs for is_environment_blend_mode_alpha_supported()
2024-02-13 14:51:22 -06:00
Thaddeus Crews
3314f8cc65
C#: Enable nullable environment for GodotTools
2024-02-13 12:24:53 -06:00
A Thousand Ships
d8b29efe66
Fix member names of AudioFrame
to match extension
2024-02-13 15:37:09 +01:00
Rémi Verschelde
dfe226b933
Merge pull request #88270 from TokageItLab/avoid-near-far
...
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 11:25:24 +01:00
Silc Lizard (Tokage) Renew
67e38709fd
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 18:53:21 +09:00
Zae
8245157682
C#: Fix missing CowData 64-bit promotion for PackedInt32Array
.
2024-02-13 12:19:48 +08:00
Rémi Verschelde
7d89f557f3
Merge pull request #88238 from shana/cs-export-fix-output-files
...
C#: Fix processing exclusions during export
2024-02-12 23:29:47 +01:00
Dario
73eff10c76
Finish splitting functionality of the Vulkan and D3D12 backends into RenderingDeviceDriver.
2024-02-12 10:02:18 -03:00
Rémi Verschelde
c8b3e39161
Merge pull request #88211 from bitwise-aiden/ba-default-arg-hints
...
Add fallback argument hints for default values
2024-02-12 13:35:07 +01:00
Rémi Verschelde
80503c715d
Merge pull request #88201 from aaronfranke/gltf-fix-trigger-export
...
Fix exporting trigger shapes in GLTF
2024-02-12 13:35:02 +01:00
Rémi Verschelde
24bd30716e
Merge pull request #87959 from Scony/fix-navi-sync-errors
...
Add means for fixing navmap synchronization errors
2024-02-12 13:34:30 +01:00
Rémi Verschelde
efcb23fb6b
Merge pull request #87890 from raulsntos/dotnet/generics
...
Improve handling of generic C# types
2024-02-12 13:34:26 +01:00
Rémi Verschelde
986c8af29d
Merge pull request #81629 from rune-scape/more-gdscript-deps
...
GDScript: Include lambda dependencies
2024-02-12 13:33:22 +01:00
Rémi Verschelde
42c3a3827b
Merge pull request #79577 from smix8/navmap_rwlock_4.x
...
Make navigation map spatial queries thread-safe
2024-02-12 13:33:16 +01:00
Andreia Gaita
2f10f7bed4
Fix processing exclusions during export
2024-02-12 11:51:05 +01:00
Pawel Lampe
9ea8d4fa38
Add means for fixing navmap synchronization errors
2024-02-11 21:06:47 +01:00
Aiden Storey
7ffc246aad
Add fallback argument hints for default values
2024-02-11 10:01:03 -05:00
emre0altan
081fa324fd
set has_type false if it is BUILTIN but Variant::NIL
2024-02-11 13:47:12 +00:00
Aaron Franke
f18c46d687
Fix exporting trigger shapes in GLTF
2024-02-11 04:37:54 -06:00
bruvzg
062a93fb77
[TextServer] Add extra fallback step, to lookup for individual characters.
2024-02-09 23:47:48 +02:00
Rémi Verschelde
b457a30311
Merge pull request #87628 from YuriSizov/assets-bigger-better-errors
...
Improve error reporting in the asset library and in related types
2024-02-09 18:09:16 +01:00
Rémi Verschelde
d00dc8facf
Merge pull request #87371 from AThousandShips/size_err_check
...
Replace error checks against `size` with `is_empty`
2024-02-09 18:09:11 +01:00
Rémi Verschelde
161894652a
Merge pull request #83231 from aaronfranke/gltf-transform
...
Fix desynced duplicate GLTFNode transform properties
2024-02-09 18:09:05 +01:00
Rémi Verschelde
74b03edf1e
Merge pull request #82800 from Sauermann/fix-screen-mousemotion
...
Add screen-related attributes to mouse input events
2024-02-09 18:08:58 +01:00
A Thousand Ships
684752e75b
Replace error checks against size
with is_empty
2024-02-09 12:50:15 +01:00
Rémi Verschelde
77af6ca8ad
Merge pull request #87634 from vnen/gdscript-binary-tokens
...
GDScript: Reintroduce binary tokenization on export
2024-02-09 12:35:00 +01:00
Rémi Verschelde
dd275238d1
Merge pull request #86907 from aaronfranke/getter-const
...
Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const
2024-02-09 12:33:09 +01:00
RedMser
d3852deaa4
Update Node::get_configuration_warnings signature
2024-02-08 23:05:20 +01:00
Aaron Franke
35c99bbcc1
Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const
2024-02-08 13:01:50 -06:00
Raul Santos
5815d1c8c8
Improve handling of generic C# types
...
- Create CSharpScript for generic C# types.
- `ScriptPathAttributeGenerator` registers the path for the generic type definition.
- `ScriptManagerBridge` lookup uses the generic type definition that was registered by the generator.
- Constructed generic types use a virtual `csharp://` path so they can be registered in the map and loaded as if there was a different file for each constructed type, even though they all share the same real path.
- This allows getting the base type for a C# type that derives from a generic type.
- Shows base scripts in the _Add Node_ and _Create Resource_ dialogs even when they are generic types.
- `get_global_class_name` implementation was moved to C# and now always returns the base type even if the script is not a global class (this behavior matches GDScript).
- Create `CSharpScript::TypeInfo` struct to hold all the type information about the C# type that corresponds to the `CSharpScript`, and use it as the parameter in `UpdateScriptClassInfo` to avoid adding more parameters.
2024-02-08 18:31:13 +01:00
George Marques
72e5f8c31e
GDScript: Enable compression on export
...
Besides the regular option to export GDScript as binary tokens, this
also includes a compression option on top of it. The binary format
needs to encode some information which generally makes it bigger than
the source text. This option reduces that difference by using Zstandard
compression on the buffer.
2024-02-08 11:20:07 -03:00
George Marques
b4d0a09f15
GDScript: Reintroduce binary tokenization on export
...
This adds back a function available in 3.x: exporting the GDScript
files in a binary form by converting the tokens recognized by the
tokenizer into a data format.
It is enabled by default on export but can be manually disabled. The
format helps with loading times since, the tokens are easily
reconstructed, and with hiding the source code, since recovering it
would require a specialized tool. Code comments are not stored in this
format.
The `--test` command can also include a `--use-binary-tokens` flag
which will run the GDScript tests with the binary format instead of the
regular source code by converting them in-memory before the test runs.
2024-02-08 11:20:05 -03:00
Rémi Verschelde
41564aaf77
Merge pull request #86999 from AThousandShips/init_note
...
Improve error message when a GDScript instance fails to be constructed
2024-02-08 13:49:44 +01:00
Rémi Verschelde
9a793d95eb
Merge pull request #87124 from rsubtil/bugfix-warn_as_err
...
Simplify script paths to ensure proper resource path checks
2024-02-08 13:45:57 +01:00
Rémi Verschelde
a0106607e8
Merge pull request #88089 from bruvzg/fix_bmp_kern
...
[TextServer] Fix bitmap font kerning override.
2024-02-08 10:54:20 +01:00
Rémi Verschelde
312eb20b3e
Merge pull request #88076 from paulloz/dotnet/fix-out-of-sync-notice-with-external-editors
...
Fix C# "out of sync" notice with external editors
2024-02-08 10:54:16 +01:00
Rémi Verschelde
50491db048
Merge pull request #88071 from Calinou/gdscript-nodepath-autocomplete-fix-identifiers
...
Fix NodePath autocompletion to ensure paths are quoted when required
2024-02-08 10:54:12 +01:00
Rémi Verschelde
0aa8fa3c05
Merge pull request #88011 from Chubercik/vulkan-1.3.275.0
...
vulkan: Update all components to Vulkan SDK 1.3.275.0
2024-02-08 10:53:53 +01:00
Rémi Verschelde
763d5cb7a4
Merge pull request #87934 from aaronfranke/fix-gltf-bad-mesh-export
...
Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
2024-02-08 10:53:48 +01:00
Rémi Verschelde
261952a4c7
Merge pull request #87378 from smix8/navmesh_bordersize
...
Add NavigationMesh `border_size` property for tile baking
2024-02-08 10:53:30 +01:00
bruvzg
04c0e4446f
[TextServer] Fix bitmap font kerning override.
2024-02-08 08:32:45 +02:00
Paul Joannon
9d283063a0
Fix C# "out of sync" notice with external editors
...
Change what triggers our re-evaluation of the last valid build datetime stored internally.
Move that datetime in `BuildManager`.
2024-02-07 21:26:32 +01:00
Hugo Locurcio
1238b60b22
Fix NodePath autocompletion to ensure paths are quoted when required
...
Every component of the path is now checked to be a valid identifier,
so that node names that start with a digit always require the full
path to be quoted.
2024-02-07 19:26:55 +01:00
Yuri Rubinsky
1d75480082
Fix autocompletion for enum members in the core classes
2024-02-07 20:42:06 +03:00
Rémi Verschelde
7223c5b54a
Fix various typos with codespell
...
Using 2.2.7.dev115+g0eb441d6.
Had to add `cancelled` to the ignore list, as it's a Wayland signal which
we're handling in our code, so we don't want codespell to fix that "typo".
Also includes the typo fix from #87927 .
Co-authored-by: Divyanshu Shekhar <61140213+divshekhar@users.noreply.github.com>
2024-02-07 11:09:34 +01:00
Rémi Verschelde
f5b238f111
Merge pull request #88048 from raulsntos/dotnet/fix-88022
...
C#: Fix crash when reloading scripts
2024-02-07 11:06:46 +01:00
Rémi Verschelde
f3a5c615e2
Merge pull request #87984 from BlueCube3310/etcpak-update
...
etcpak: Sync with upstream
2024-02-07 11:03:15 +01:00
Rémi Verschelde
8daa633d0d
Merge pull request #87961 from smix8/navmesh2d_bordersize
...
Add NavigationPolygon `border_size` property for tile baking
2024-02-07 11:01:42 +01:00
Rémi Verschelde
888299d6f7
Merge pull request #87939 from dalexeev/gds-add-is-not-operator
...
GDScript: Add `is not` operator
2024-02-07 11:01:19 +01:00
Rémi Verschelde
9cfd6dbab2
Merge pull request #87783 from AThousandShips/utility_err
...
Make `GDScriptUtilityCallable` return call error when method is invalid
2024-02-07 10:59:17 +01:00
Rémi Verschelde
251d5b3669
Merge pull request #87715 from Scony/add-is-baking
...
Expose `is_baking` method in navigation servers and region nodes.
2024-02-07 10:58:27 +01:00
Raul Santos
8ce4a0cf15
C#: Fix crash when reloading scripts
...
The crash cond was accidentally moved to the `reload_scripts` method when it was only meant to be in the `reload_tool_script` method. Same about restarting the HotReloadAssemblyWatcher timer.
Also removed the loop that checks if the script array contains a C# script because if we're in CSharpLanguage we can assume that at least one of them is.
2024-02-07 06:33:51 +01:00
smix8
4cc8748c47
Make navigation map spatial queries thread-safe
...
Makes navigation map spatial queries thread-safe by adding a readers–writer lock.
2024-02-06 19:27:59 +01:00
Jakub Marcowski
8350c88718
vulkan: Update all components to Vulkan SDK 1.3.275.0
2024-02-06 13:46:56 +01:00
Markus Sauermann
2235a1cbd0
Add screen-related attributes to mouse input events
2024-02-05 23:30:15 +01:00
Pawel Lampe
c2cfc0d409
Expose is_baking
method in navigation servers and region nodes.
2024-02-05 22:04:22 +01:00
HolonProduction
6df1a1e9b0
Autocompletion: mark datatype as constant for constant arrays
2024-02-05 20:26:43 +01:00
BlueCube3310
becf5b1d23
[etcpak] Sync with upstream
2024-02-05 18:53:35 +01:00
Rémi Verschelde
2f9ea3a505
Merge pull request #87941 from AThousandShips/num_fix
...
[GDScript] Prevent running `String` number functions on invalid literal
2024-02-05 14:53:23 +01:00
Rémi Verschelde
3eb25dd728
Merge pull request #87933 from aaronfranke/fix-gltf-crash-root-skel-imp
...
Fix crash when importing a GLTF file with a skeleton as the root
2024-02-05 14:52:37 +01:00
Rémi Verschelde
acde2a81ff
Merge pull request #84640 from aaronfranke/gravity-get
...
Expose a method to get gravity for any physics body
2024-02-05 14:48:31 +01:00
bruvzg
19f1d5afa9
[TextServer / Font] Do not duplicate images to prevent unnecessary embedding.
2024-02-05 10:38:32 +02:00
smix8
085bc9504b
Add NavigationPolygon border_size property for tile baking
...
Adds NavigationPolygon border_size property for tile baking. Also adds baking Rect2 bounds.
2024-02-05 00:38:28 +01:00
Danil Alexeev
2bf25954b4
GDScript: Add is not
operator
2024-02-04 17:36:53 +03:00
A Thousand Ships
66d55e62f0
[GDScript] Prevent running String
number functions on invalid literal
...
Prevents printing excessive errors.
2024-02-04 14:35:22 +01:00
Aaron Franke
2d38c980ee
Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
2024-02-04 02:58:29 -06:00
Aaron Franke
4c8d69f264
Fix crash when importing a GLTF file with a skeleton as the root
2024-02-04 02:48:16 -06:00
Rémi Verschelde
673f1614c4
Merge pull request #87630 from dsnopek/openxr-passthrough-from-gdextension
...
OpenXR: Allow moving vendor passthrough extensions to GDExtension
2024-02-03 23:19:24 +01:00
Rémi Verschelde
8b0c5f2fca
Merge pull request #87186 from Faless/mp/fix_remote_sync_cleanup
...
[MP] Fix remote net ID cleanup
2024-02-03 23:18:35 +01:00
Rémi Verschelde
f4fb4799ae
Merge pull request #87185 from Faless/mp/fix_reset
...
[MP] Fix spawned nodes not working after reset
2024-02-03 23:18:08 +01:00
David Snopek
e74a0f4b09
OpenXR: Allow moving vendor passthrough extensions to GDExtension
2024-02-03 12:40:41 -06:00
Rémi Verschelde
d0f8b76ffd
Merge pull request #87838 from paulloz/dotnet/fix-duplicate-key-on-reload
...
C#: Fix duplicate key issue on reload
2024-02-02 12:05:14 +01:00
Rémi Verschelde
8a47d6eb50
Merge pull request #87790 from nongvantinh/fix-87643
...
Fix incorrect condition for error filtering
2024-02-02 12:03:59 +01:00
Rémi Verschelde
fb5f34a75a
Merge pull request #87745 from dsnopek/openxr-change-reference-space
...
OpenXR: Allow changing play area mode during active session
2024-02-02 12:03:09 +01:00
Rémi Verschelde
24a2560d30
Merge pull request #87682 from zaevi/fix_csharp_stringname_ref
...
C#: Fix issues for StringName reference in `CSharpInstanceBridge.Get`.
2024-02-02 12:02:44 +01:00
Paul Joannon
999180d5b5
Delay fs update when populating path bimap
2024-02-01 22:06:40 +01:00
David Snopek
5935bfa860
OpenXR: Allow changing play area mode during active session
2024-01-31 12:58:22 -06:00
Nông Văn Tình
d81c9c32c5
Fix incorrect condition for error filtering
...
Fixes : #87643
The original condition stopped immediately after checking for 'searchText' in the 'Message' field, resulting in premature termination of subsequent checks. This fix ensures that all relevant conditions are appropriately evaluated before determining the filtering outcome.
Additionally, accompanying changes include improved code readability for better comprehension. This adjustment enhances the maintainability of the error filtering mechanism, contributing to a more robust codebase overall.
2024-01-31 23:01:37 +07:00
A Thousand Ships
f4f7e13388
Make GDScriptUtilityCallable
return call error when method is invalid
2024-01-31 15:59:37 +01:00
Rémi Verschelde
cb0d450b7d
Merge pull request #87775 from clayjohn/GLTF-export-ra-rg
...
Remove workaround in GLTF exporter that double converts ra textures to rg
2024-01-31 10:57:17 +01:00
Rémi Verschelde
1c916c3d5b
Merge pull request #87546 from dsnopek/openxr-hand-tracking-vendor-extensions
...
OpenXR: Make it possible to implement vendor extensions to hand tracking from GDExtension
2024-01-31 10:54:55 +01:00
clayjohn
4f41b94943
Remove workaround in GLTF exporter that double converts ra textures to rg
2024-01-30 23:22:20 -08:00
Aaron Franke
aed5ea9460
Expose a method to get gravity for any physics body
2024-01-30 23:57:38 -06:00
Rémi Verschelde
736696b533
Merge pull request #87679 from raulsntos/dotnet/remove-unused
...
C#: Remove unused code
2024-01-30 17:48:07 +01:00
Rémi Verschelde
926a7dffd6
Merge pull request #87421 from dalexeev/gds-docgen-use-autoload-singleton-name
...
GDScript: Use autoload singleton name in `GDScriptDocGen`
2024-01-30 17:47:58 +01:00
Rémi Verschelde
9572cf5ab2
Merge pull request #86823 from dalexeev/gds-utility-func-as-callable
...
GDScript: Allow utility functions to be used as `Callable`
2024-01-30 17:47:50 +01:00
Rémi Verschelde
1f027f9aef
Merge pull request #86471 from dalexeev/gds-fix-pot-gen-skips-some-nodes-2
...
GDScript: Fix POT generator skips some nodes (part 2)
2024-01-30 17:47:44 +01:00
Rémi Verschelde
6a126b0934
Merge pull request #86180 from Riteo/wayland-squashed
...
Add Wayland support (squashed review edition)
2024-01-30 17:47:38 +01:00
Rémi Verschelde
a8cfd1436a
Merge pull request #86176 from dalexeev/gds-fix-type-highlighting
...
GDScript: Fix type highlighting
2024-01-30 17:47:33 +01:00
Rémi Verschelde
2edfdace76
Merge pull request #83220 from dalexeev/gds-highlight-code-regions
...
GDScript: Highlight code region comments
2024-01-30 17:47:23 +01:00
Riteo
7e0f7d3abd
Add Wayland support
...
Not everything is yet implemented, either for Godot or personal
limitations (I don't have all hardware in the world). A brief list of
the most important issues follows:
- Single-window only: the `DisplayServer` API doesn't expose enough
information for properly creating XDG shell windows.
- Very dumb rendering loop: this is very complicated, just know that
the low consumption mode is forced to 2000 Hz and some clever hacks are
in place to overcome a specific Wayland limitation. This will be
improved to the extent possible both downstream and upstream.
- Features to implement yet: IME, touch input, native file dialog,
drawing tablet (commented out due to a refactor), screen recording.
- Mouse passthrough can't be implement through a poly API, we need a
rect-based one.
- The cursor doesn't yet support fractional scaling.
- Auto scale is rounded up when using fractional scaling as we don't
have a per-window scale query API (basically we need
`DisplayServer::window_get_scale`).
- Building with `x11=no wayland=yes opengl=yes openxr=yes` fails.
This also adds a new project property and editor setting for selecting the
default DisplayServer to start, to allow this backend to start first in
exported projects (X11 is still the default for now). The editor setting
always overrides the project setting.
Special thanks to Drew Devault, toger5, Sebastian Krzyszkowiak, Leandro
Benedet Garcia, Subhransu, Yury Zhuravlev and Mara Huldra.
2024-01-30 16:44:47 +01:00
Aaron Franke
c60ed2587d
Fix desynced duplicate GLTFNode transform properties
2024-01-29 21:24:02 -06:00
Rémi Verschelde
745f8e112f
Revert "Add UID support to GDScript files"
...
This reverts commit c7f68a27ec
.
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
2024-01-29 21:00:26 +01:00
Rémi Verschelde
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
...
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +01:00
Rémi Verschelde
f0144d7f45
Merge pull request #87669 from bs-mwoerner/csharp_deadlock
...
Fix possible deadlock when creating scripts during a background garbage collection
2024-01-29 13:17:56 +01:00
Rémi Verschelde
5c61803971
Merge pull request #87668 from bruvzg/add_baseline_offset
...
[TextServer / Font] Add support for customizable baseline offset.
2024-01-29 13:17:52 +01:00
Rémi Verschelde
1fdee4f6f5
Merge pull request #87618 from DarioSamo/lightmapper_samplerless
...
Do not use a linear sampler on lightmapper when retrieving grid data.
2024-01-29 13:17:37 +01:00
Rémi Verschelde
061c776228
Merge pull request #87381 from YuriSizov/core-sneaky-properties
...
Better hide internal properties from users
2024-01-29 13:16:55 +01:00
Rémi Verschelde
269145f48a
Merge pull request #87300 from Calinou/math-normalize-error-show-value
...
Display values in vector/quaternion math function errors
2024-01-29 13:16:51 +01:00
Rémi Verschelde
44b92ec85f
Merge pull request #86313 from BlueCube3310/etc2-r-rg
...
Implement `ETC2_R` and `ETC2_RG` compression to `etcpak`
2024-01-29 13:16:34 +01:00
Rémi Verschelde
13bf4fd19a
Merge pull request #85519 from mxaddict/blender-rpc-server
...
Added proper timeout for blender rpc connection
2024-01-29 13:16:22 +01:00
Yuri Sizov
d644b9b640
Better hide internal properties from users
2024-01-29 12:35:10 +01:00
A Thousand Ships
15369fdb1d
Remove unnecessary this->
expressions
2024-01-29 09:59:18 +01:00
Michael Wörner
9d50a486bf
Fixed ~CSharpScript() holding on to a mutex longer than necessary, creating potential for a deadlock.
2024-01-28 21:28:14 +01:00
Zae
1e14503715
C#: Fix issues for StringName reference in CSharpInstanceBridge.Get
.
2024-01-29 02:04:02 +08:00
Hugo Locurcio
0437db0106
Display values in vector/quaternion math function errors
...
This can help track down the source of the error more easily.
2024-01-28 18:45:46 +01:00
Raul Santos
82380ec700
C#: Remove unused code
...
- Remove `AotBuilder` that was used for MonoAOT in 3.x.
- Remove `PlaySettings` that was used for IDE support in 3.x.
- Remove `ApiAssembliesInfo` that was used for Project generation in 3.x.
- Remove pieces of the old iOS support from 3.x.
2024-01-28 16:09:59 +01:00
bruvzg
85df221610
[TextServer / Font] Add support for customizable baseline offset.
2024-01-28 13:26:49 +02:00
mxaddict
857586b7ae
Added proper timeout for blender rpc connection
2024-01-27 03:44:27 +08:00
Yuri Sizov
815038962f
Improve error reporting in the asset library and in related types
...
This also makes errors related to asset image loading
verbose-only, because, frankly, users can't do much about
those errors. Spamming them with error messages
about some assets on the frontend being broken
is pointless.
2024-01-26 20:33:22 +01:00
mxaddict
ad106a283b
Update blender_path behavior to require exact path to executable instead of trying to guess it
2024-01-27 00:41:53 +08:00
Dario
cbc929edf0
Do not use a linear sampler on lightmapper when retrieving grid data.
2024-01-26 11:36:21 -03:00
Rémi Verschelde
99ac3d332a
Merge pull request #87597 from zaevi/fix_csharp_aot_initialization
...
C#: Fix not assigning `runtime_initialized` when initializing with AOT.
2024-01-26 11:49:53 +01:00
Rémi Verschelde
3bbf4abfaa
Merge pull request #87550 from zaevi/fix_csharp_generic_reloading
...
C#: Fix sorting for generic types when reloading assemblies.
2024-01-26 11:48:18 +01:00
Rémi Verschelde
563e385810
Merge pull request #87526 from zaevi/fix_csharp_gc
...
C#: Fix incorrect GC handle for non-instantiable types.
2024-01-26 11:47:25 +01:00
Rémi Verschelde
85b2c947b2
Merge pull request #87518 from paulloz/dotnet/fix-warnings
...
Clean a number of C# warnings
2024-01-26 11:46:37 +01:00
Rémi Verschelde
1ce40ebb44
Merge pull request #87386 from clayjohn/GLES3-lightmap-bake
...
Add GLES3 infrastructure for lightmap baking in the compatibility backend
2024-01-26 11:44:37 +01:00
Rémi Verschelde
849b69828b
Merge pull request #85908 from avilches/fix-must-be-variant-analyzer-fail-with-generic-typed-attributes
...
Allow using `[MustBeVariant]` in generic typed attributes
2024-01-26 11:42:34 +01:00
Rémi Verschelde
d36f5cf2ba
Merge pull request #85504 from nongvantinh/fix-csharp-loader
...
Fix C# script loader does not work reliably
2024-01-26 11:42:01 +01:00
Zae
18599c0935
C#: Fix sorting for generic types when reloading assemblies.
2024-01-26 18:00:46 +08:00
Paul Joannon
46b3096570
Clean a bunch of C# warnings
...
- `[Obsolete]` tag generated in the middle of documentation comments
- Potential `null` values in generators
- Obsolete call to `GetEditorInterface()`
- We don't want `Godot.Collections.Array` to end with `Collection`
- A few culture specifications and use of `AsSpan` instead of `SubString` in `StringExtensions`
- Disable CA1716 in GodotSharp
2024-01-26 09:38:33 +01:00
Zae
e868a9f577
C#: Fix not assigning runtime_initialized
when initializing with AOT.
2024-01-26 05:44:40 +08:00
Danil Alexeev
faebb0895f
GDScript: Highlight code region comments
2024-01-25 22:03:48 +03:00
David Snopek
3d2cbb216e
OpenXR: Make it possible to implement vendor extensions to hand tracking from GDExtension
2024-01-25 10:24:39 -06:00
Yuri Sizov
1949d91286
Merge pull request #86537 from BastiaanOlij/openxr_cleanup_scons
...
Cleanup of OpenXR module SCons config
2024-01-25 16:26:55 +01:00
Yuri Sizov
9579dc6313
Merge pull request #85239 from HolonProduction/global-class-property-location
...
Handle global classes when resolving property location
2024-01-25 16:26:50 +01:00
Bastiaan Olij
82a36cf31b
Cleanup of OpenXR module scons config
2024-01-25 23:28:13 +11:00
clayjohn
efb1cbaad4
Add GLES3 infrastructure for lightmap baking in the compatibility backend
2024-01-24 17:13:30 -08:00
Zae
201e946741
C#: Fix incorrect GC handle for non-instantiable types.
2024-01-25 02:40:08 +08:00
HolonProduction
c99e4f862f
Handle global classes when resolving property location
2024-01-24 18:05:47 +01:00
Yuri Sizov
ea6e20253b
Merge pull request #87235 from dsnopek/openxr-local-floor
...
Add support for OpenXR local floor extension
2024-01-24 14:08:17 +01:00
Yuri Sizov
72756133e0
Merge pull request #85224 from HolonProduction/identifier-type-prefer-annotated
...
Prefer identifiers annotated type if assigned type is incompatible to it
2024-01-24 14:07:52 +01:00
David Snopek
a8690cbeed
Add support for OpenXR local floor extension
2024-01-23 09:19:09 -06:00
Alberto Vilches
692412562d
C#: Fix to allow usage of [MustBeVariant] in generic typed attributes
2024-01-21 22:29:29 +01:00
Nông Văn Tình
7676e389a7
Fixes C# script loader does not work reliably
2024-01-22 04:20:27 +07:00
Danil Alexeev
5e7cda3405
GDScript: Use autoload singleton name in GDScriptDocGen
2024-01-21 11:28:23 +03:00
Aaron Franke
b00e5cef63
GLTF: Update OMI_physics_body, add OMI_physics_shape, keep OMI_collider
2024-01-19 14:35:49 -06:00
Rémi Verschelde
0bcc0e92b3
Merge pull request #86730 from reduz/64-bit-cowdata
...
Promote CowData to 64 bits
2024-01-19 18:46:11 +01:00
Juan Linietsky
24fe0715b5
Promote CowData to 64 bits
...
Fixes a lot of bugs, please help me fill the list.
2024-01-19 17:41:10 +01:00
smix8
d6c31017a6
Add NavigationMesh border_size property for tile baking
...
Adds NavigationMesh border_size property for tile baking.
2024-01-19 17:31:36 +01:00
Fabio Alessandrelli
853df2895a
[MP] Handle cleanup of "scene cache" nodes
...
Make sure we delete the relevant ObjectID from the cache when the nodes
are removed from tree.
2024-01-18 21:18:54 +01:00
Yuri Sizov
de95a3effe
Merge pull request #85117 from BastiaanOlij/openxr_runtime_select
...
OpenXR: Add runtime selection dropdown
2024-01-18 19:26:52 +01:00
Rémi Verschelde
baf87e2717
Merge pull request #87294 from vnen/allow-free-callable
...
Allow `free()` to be used as Callable
2024-01-18 16:35:14 +01:00
Rémi Verschelde
33f3511241
Merge pull request #87293 from YuriSizov/editor-theme-a-rehashed-follow-up
...
Improve editor theme generation after the refactor
2024-01-18 16:34:50 +01:00
Rémi Verschelde
d3003c48b3
Merge pull request #67132 from KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it-
...
Add UID support to GDScript files
2024-01-18 16:33:14 +01:00
Bastiaan Olij
afd1dcf1b1
OpenXR: Add runtime selection dropdown
2024-01-18 15:59:22 +01:00
George Marques
b4e08eb752
Allow free()
to be used as Callable
...
This method is registered in a special way so ClassDB doesn't naturally
know about its existence. Here it is hardcoded if any other option fail
to check if it is about the `free()` method and, if so, say it exists
and return a Callable.
2024-01-18 09:33:44 -03:00
Rémi Verschelde
29116a81df
Merge pull request #87306 from aaronfranke/fix-gltf-buf-view-crash
...
Fix crash in `GLTFBufferView::load_buffer_view_data`
2024-01-18 09:35:30 +01:00
Rémi Verschelde
90a5164536
Merge pull request #87144 from BlueCube3310/etc1-bye-bye
...
Use ETC2 compression for grayscale images
2024-01-18 09:35:06 +01:00
Rémi Verschelde
fa81059b9d
Merge pull request #85939 from adamscott/single-threaded-godot-4
...
Add `THREADS_ENABLED` macro in order to compile Godot to run on the main thread
2024-01-18 09:33:52 +01:00
Rémi Verschelde
b5dcb5f58a
Merge pull request #85215 from HolonProduction/type-from-property-class-name
...
Handle global classes when resolving type from `PropertyInfo`
2024-01-18 09:33:22 +01:00
Aaron Franke
dc325069fe
Fix crash in GLTFBufferView::load_buffer_view_data
2024-01-17 20:57:31 -06:00
HolonProduction
0203b3c310
Prefer identifiers annotated type if assigned type is incompatible to it
2024-01-17 22:32:00 +01:00
kobewi
c7f68a27ec
Add UID support to GDScript files
2024-01-17 22:30:56 +01:00
HolonProduction
4ab985d138
Handle global classes when resolving type from PropertyInfo
2024-01-17 21:39:51 +01:00
Adam Scott
bd70b8e1f6
Add THREADS_ENABLED macro in order to compile Godot to run on the main thread
2024-01-17 13:58:29 -05:00
Yuri Sizov
b6a2c78033
Merge pull request #87286 from akien-mga/fix-preprocessor-if-ENABLED-checks
...
Fix `#if *_ENABLED` inconsistencies, should check if defined
2024-01-17 18:53:33 +01:00
Yuri Sizov
dc729f1614
Merge pull request #87278 from HolonProduction/give-those-autoloads-an-upgrade
...
Handle GDScript in `_type_from_variant` for autocompletion
2024-01-17 18:53:25 +01:00
Yuri Sizov
66736398cd
Merge pull request #87264 from AThousandShips/aabb_fix_cs
...
[C#] Fix `Encloses` failing on shared upper bound for `AABB` and `Rect2(I)`
2024-01-17 18:53:22 +01:00
Yuri Sizov
cf76f3df03
Merge pull request #87240 from Malcolmnixon/bone-update-mode
...
Add bone update option to OpenXRHand to allow preserving original hand scale
2024-01-17 18:53:15 +01:00
Yuri Sizov
2dd7808757
Merge pull request #86961 from HolonProduction/completion-tests-fixup
...
Allow specifying a scene in completion tests
2024-01-17 18:53:03 +01:00
Yuri Sizov
c027aecc2e
Merge pull request #86676 from rune-scape/sparse-script-reload
...
GDScript: Hot-reload changed scripts only
2024-01-17 18:52:54 +01:00
Yuri Sizov
5b22884b4a
Merge pull request #86554 from HolonProduction/lookup-subscript
...
Fix symbol lookup in index subscript
2024-01-17 18:52:49 +01:00