Commit Graph

10629 Commits

Author SHA1 Message Date
d9f8ef68df Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
c0eb347946 Merge pull request #91557 from AThousandShips/dotnet_doc_fix
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
0cf42d6273 Merge pull request #88919 from nongvantinh/fix-88834
Revise implementation of C# `Aabb.GetSupport` to match the implementation in `core`
2024-05-21 11:22:36 +02:00
daa81bbb7d Merge pull request #92087 from Repiteo/scons/windows-color-fix-maybe
SCons: Fix potential Windows ANSI exception
2024-05-19 11:21:18 +02:00
c63383fa88 Merge pull request #92035 from rune-scape/rune-gdscript-invalid
GDScript: Fix segfault on invalid script
2024-05-19 11:21:14 +02:00
4ce95d684c Merge pull request #91653 from HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone
Autocompletion: Analyze CLASS types as they are encountered
2024-05-19 11:21:11 +02:00
6761923f4f Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
a9810cffb4 SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
9fa13da16f GDScript: fix segfault on invalid script 2024-05-17 15:26:25 -07:00
b569ae3ddc Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00
c4889e4793 Merge pull request #91901 from akien-mga/scons-thorvg-webp-loader-opt-out
thorvg: Disable webp loader if corresponding module is disabled
2024-05-17 11:14:00 +02:00
7dd801c580 GDScript: Fix STANDALONE_EXPRESSION warning for preload() 2024-05-17 10:33:01 +03:00
5708a3a02e Merge pull request #92000 from clayjohn/vram-debugger
Increase coverage of VRAM debugger and add support to RD backends
2024-05-16 09:32:11 +02:00
8663f27159 Merge pull request #91996 from Maran23/ms-build-context-menu
Fix ContextMenu `Copy Error` is off in `MSBuild` Panel
2024-05-16 09:32:06 +02:00
c84616c2d2 Increase coverage of VRAM debugger and add support to RD backends 2024-05-15 16:30:19 -07:00
32be459e54 Fix ContextMenu Copy Error is off in MSBuild Panel 2024-05-15 22:55:05 +02:00
42b60c1b01 Merge pull request #91985 from passivestar/fix-lightmapper-seams
Fix lightmapper seam blending
2024-05-15 22:41:59 +02:00
82fb849678 Merge pull request #91943 from akien-mga/libwebp-1.4.0
libwebp: Update to 1.4.0
2024-05-15 22:41:52 +02:00
d06bce3002 Fix lightmapper seam blending 2024-05-15 19:30:14 +04:00
693a13a849 Merge pull request #91601 from lander-vr/lightmap_seams_fix
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +02:00
5caa8e41f7 Merge pull request #91951 from dalexeev/gds-pot-gen-add-atr-and-atr-n
GDScript: Add support for `atr` and `atr_n` to POT generator
2024-05-15 12:09:56 +02:00
e7bd1b0673 Add denoiser range property for LightmapGI 2024-05-15 08:26:04 +02:00
4971b71899 Merge pull request #91952 from dsnopek/openxr-composition-layer-sample-count
Fix sample count on OpenXR composition layers
2024-05-14 18:10:14 +02:00
c0d2464d6b Merge pull request #91939 from AThousandShips/pressed_sname
[Scene] Add `SceneStringNames::pressed`
2024-05-14 18:10:05 +02:00
882449f496 Merge pull request #91924 from ZerxZ/dotnet/useless-is-first-entry
[C#] Remove useless `isFirstEntry` and useless `source.Append("else ")`
2024-05-14 18:10:02 +02:00
45a02c28cd Fix sample count on OpenXR composition layers 2024-05-14 10:43:44 -05:00
0bd4345736 GDScript: Add support for atr and atr_n to POT generator 2024-05-14 18:35:59 +03:00
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
09bd34df93 libwebp: Update to 1.4.0
https://chromium.googlesource.com/webm/libwebp/+/refs/tags/v1.4.0/NEWS
2024-05-14 13:01:07 +02:00
78cce1954d Merge pull request #91937 from bruvzg/icu_751
Update ICU to 75.1
2024-05-14 12:07:31 +02:00
d6eab9f5df Merge pull request #91917 from Pepito468/fix-docs-typo
Fix a typo in the GridMap docs
2024-05-14 12:07:06 +02:00
bdefe53992 Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
e74fea2864 Update ICU to 75.1 2024-05-14 12:38:52 +03:00
e3270113ca Remove useless isFirstEntry and useless source.Append("else ") 2024-05-14 07:44:56 +01:00
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
73479cb56e Fixed a typo in the docs
Fixed a typo in GridMap.xml where a 'See also' suggestion link to the wrong method.
2024-05-13 21:19:54 +02:00
0a67ee52d1 Revert "GDScript: Implement get_dependencies()"
This reverts commit dc73440f89.

This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.

So reverting for now to give ourselves time to iron this out for a future
Godot release.

Fixes #91726.
2024-05-13 16:59:43 +02:00
76b2d85c9f GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
831ebda806 thorvg: Disable webp loader if corresponding module is disabled
Fixes #91873.
2024-05-13 13:01:34 +02:00
ba0dcf70f1 Merge pull request #91783 from ogapo/pr/gltf-export-fixes
GLTF export improvements
2024-05-13 12:05:42 +02:00
522f035cb1 GLTF export improvements
- GLBs produced by godot don't pass validation when there's no data in the buffer segment. The segment is dropped but the size of the chunk_header is still reported in total length (incorrectly)

- Remove empty "extensions" JSON object being appended to all nodes (if it's still empty). This is just cutting down on unnecessary bloat and consistent with the rest of the file's attempts to not emit any keys that are equal to their default value.

- Allow the case where root_nodes is empty. This is permitted by the GLTF spec. Moreover it can happen fairly naturally when using the ROOT_NODE_MODE_MULTI_ROOT root node mode on a scene with only a root node (which is valid in godot).

- Don't create an initial buffer until we're ready to write data into it (buffers of byteLength=0 don't pass validation).
2024-05-11 21:42:05 -04:00
a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
1cf283dd26 Merge pull request #91788 from akien-mga/thorvg-0.13.3
thorvg: Update to 0.13.3, add webp loader
2024-05-11 12:38:21 +02:00
da5714ad6e Merge pull request #91775 from dsnopek/openxr-composition-layer-viewport-in-use-bug
Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor
2024-05-10 09:56:15 +02:00
d24403d056 Merge pull request #91763 from paulloz/dotnet/fix-stringextension-warnings
C#: Fix comparison warnings in `StringExtensions.cs`
2024-05-10 09:56:12 +02:00
6766404afa Merge pull request #91745 from timothyqiu/destruct
Fix memory leak when ASTC compression fails
2024-05-10 09:56:03 +02:00
7704457434 Merge pull request #91645 from ZerxZ/dotnet/hint-string-fix
Fix C# Hint NodeType and ResourceType HintString
2024-05-10 09:55:54 +02:00
6fcdd24468 Merge pull request #91624 from Repiteo/scons/native-generation
SCons: Generate all scripts natively, implement wrapper function
2024-05-10 09:55:51 +02:00
b7783a43c5 Merge pull request #91564 from paulloz/huisedenanhai-fix_csharp_method_info
CSharpScript should not own method infos of the base class
2024-05-10 09:55:47 +02:00
af5f695a99 Fix comparison warnings in StringExtensions.cs 2024-05-10 09:42:58 +02:00