summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-02-01Merge pull request #71800 from akien-mga/ci-codespell-actionRémi Verschelde
CI: Add official codespell action with PR annotations
2023-02-01Merge pull request #72434 from Treer/masterRémi Verschelde
Qualify Console's namespace to avoid mixup with plugin's objects
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Merge pull request #72440 from V-Sekai/gltf_embed_as_uncompressedRémi Verschelde
gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSED
2023-02-01Merge pull request #72499 from vonagam/fix-typed-array-disassemblyRémi Verschelde
GDScript: Fix disassembly of typed array assignment and construction
2023-02-01Revert "GDScript: Add warnings that are set to error by default"Rémi Verschelde
This reverts commit a166833bfa23a21a7bff196a85a20b014e7c1396. This caused multiple regressions. Needs to be redone with more testing before merge. Fixes #72501.
2023-02-01gltf: Add GLTFHandleBinary::HANDLE_BINARY_EMBED_AS_UNCOMPRESSEDLyuma
This option allows for a safe fallback for embedded gltf textures in cases where VRAM compression is not needed. Add an is_editor_hint guard around GLTFHandleBinary::HANDLE_BINARY_EXTRACT_TEXTURES, to use EMBED_AS_UNCOMPRESSED by default at runtime. This provides an option for pixel art to be stored losslessly. Additionally, respect project importer defaults for texture import settings. Avoid writing and reimporting extracted textures identical to version on disk.
2023-02-01GDScript: Fix disassembly of typed array assignment and constructionDmitrii Maganov
2023-02-01Fix blend runner copyright headersRémi Verschelde
2023-02-01Merge pull request #72487 from vnen/gdscript-warning-default-errorRémi Verschelde
GDScript: Add warnings that are set to error by default
2023-02-01Merge pull request #69319 from RedMser/blender-import-rpcRémi Verschelde
Batch import Blend files using XML RPC
2023-02-01Merge pull request #72490 from resistor/disasmRémi Verschelde
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
2023-02-01Merge pull request #71936 from akien-mga/remove-some-unused-signalsRémi Verschelde
Remove some unused signals
2023-02-01Merge pull request #71479 from raulsntos/virtual-return-typeRémi Verschelde
Use enum instead of int in virtual methods return type
2023-02-01Merge pull request #72462 from raulsntos/docs/dotnet-renamesRémi Verschelde
Fix C# examples in documentation for 4.0
2023-02-01Merge pull request #72371 from dalexeev/remove-gds-str-duplicateRémi Verschelde
Remove `@GDScript.str` (duplicate of `@GlobalScope.str`)
2023-01-31Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.Owen Anderson
Found while inspecting the bytecode for godot-benchmarks.
2023-02-01GDScript: Add warnings that are set to error by defaultGeorge Marques
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all.
2023-02-01Update ↵Treer
modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2023-01-31Use enum instead of int in virtual methods return typeRaul Santos
2023-01-31Fix C# examples in documentationRaul Santos
- Fix documentation after C# renames. - Add missing `partial` in C# class declarations. - Change `delta` parameter type to `double` in C#. - Ensure parameters match base declaration. - Use `$` string interpolation in C#. - Fix invalid or outdated C# code. - Changed some examples to follow our style guide more closely.
2023-01-31Remove some unused signalsRémi Verschelde
Part of #37604.
2023-01-31Merge pull request #72454 from dalexeev/gds-fix-icon-annotationRémi Verschelde
GDScript: Fix `@icon` annotation
2023-01-31Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthandRémi Verschelde
GDScript: Allow void functions to return calls to other void functions
2023-01-31Merge pull request #57520 from jordigcs/gd-rename-mapRémi Verschelde
Add hint for identifiers renamed from 3.x to 4.0
2023-01-31GDScript: Fix `@icon` annotationDanil Alexeev
2023-01-31GDScript: Allow void functions to return calls to other void functionsGeorge Marques
2023-01-31Merge pull request #72444 from reduz/fix-global-class-parsingRémi Verschelde
Fix global script class parsing.
2023-01-31Merge pull request #72201 from fire/gltf-extract-imgRémi Verschelde
Restore gltf embedded scenes due to problems with textures.
2023-01-31Merge pull request #72431 from raulsntos/dotnet/rid-iequatableRémi Verschelde
C#: Implement `IEquatable` in `Rid`
2023-01-31Fix global script class parsing.Juan Linietsky
* Broke with #72226 * Restored previous version of the code, made it even more error tolerant. * Added a warning to **not** change the code. Fixes #72226.
2023-01-31gltf: Avoid using base64 hash as an image filenameK. S. Ernest (iFire) Lee
Consistently use the images.name property with deduplication, or else the image index.
2023-01-31Merge pull request #62737 from kidrigger/gdext_videodecoderRémi Verschelde
Updates VideoDecoder plugin API to GDExt.
2023-01-31Merge pull request #69248 from vonagam/fixing-typed-arraysRémi Verschelde
GDScript: Fix typed arrays
2023-01-31GDScript: Fix issues with typed arraysDmitrii Maganov
2023-01-31Merge pull request #72422 from BastiaanOlij/openxr_set_active_setsRémi Verschelde
Added methods to OpenXR interface to set which action sets are active
2023-01-31Merge pull request #72427 from MinusKube/csg-polygon-path-bugRémi Verschelde
Don't generate CSGPolygon3D shape before the assigned path is inside tree
2023-01-31Merge pull request #72212 from anvilfolk/gdtestnamesRémi Verschelde
Add option to print filenames in GDScript unit testing
2023-01-31Qualify Console's namespace to avoid mixup with plugin's objectsTreer
Avoid error when a plugin contains a class called "Console": Godot.SourceGenerators\Godot.SourceGenerators.GodotPluginsInitializerGenerator\GodotPlugins.Game.generated.cs(32,25): error CS0117: 'Console' does not contain a definition for 'Error'
2023-01-31C#: Implement `IEquatable` in `Rid`Raul Santos
- Implement `IEquatable` interface. - Implement `==` and `!=` operators. - Add `IsValid` method. - Override `Equals` and `GetHashCode`. - Fix `ToString` to follow Core. - Sync documentation with Core.
2023-01-30Add option to print filenames in GDScript unit testingocean (they/them)
2023-01-30Updates VideoDecoder plugin API to GDExtension.anish bhobe
Adds VideoStream and relevant resource loaders to migrate external GDNative plugins to GDExtension. Adds a VideoStreamLoader as a specialization of ResourceFormatLoader as ClassDB::is_parent_class is inaccessible from GDExtension currently. Using Object* instead of Ref<T> in order to avoid the refcount bug (godotengine/godot-cpp#652) Also another bug is in ResourceLoader in use on the extension side that requires fixing.
2023-01-31Don't generate CSGPolygon3D shape before the assigned path is inside treeMinusKube
2023-01-31Added methods to OpenXR interface to set which action sets are activeBastiaan Olij
2023-01-30Merge pull request #72031 from reduz/change-high-quality-texture-importRémi Verschelde
Refactor high quality texture import
2023-01-30Merge pull request #72208 from bruvzg/rtl_fix_thr_crashRémi Verschelde
[RichTextLabel] Fix thread unsafe `set_physics_process_internal` usage. Use `WorkerThreadPool` instead of creating new threads.
2023-01-30Merge pull request #72400 from vnen/gdscript-match-release-consistencyRémi Verschelde
GDScript: Fix match branches return check on release
2023-01-30Merge pull request #72390 from vonagam/fix-allowed-vararg-ptrcallRémi Verschelde
GDScript: Fix vararg method calls with exact arguments
2023-01-30[RichTextLabel] Fix thread unsafe `set_physics_process_internal` usage. Use ↵bruvzg
`WorkerThreadPool` instead of creating new threads.
2023-01-30GDScript: Fix match branches return check on releaseGeorge Marques
The check for existence of `return` only existed on debug builds for match branches. This could lead on an invalid error after exporting. Now this is checked on relase too, so it works the same as the editor.