Age | Commit message (Collapse) | Author |
|
C#: Preserve directories in output during export
|
|
CI: Add official codespell action with PR annotations
|
|
Qualify Console's namespace to avoid mixup with plugin's objects
|
|
|
|
|
|
modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotPluginsInitializerGenerator.cs
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
|
|
- 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.
|
|
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'
|
|
- Implement `IEquatable` interface.
- Implement `==` and `!=` operators.
- Add `IsValid` method.
- Override `Equals` and `GetHashCode`.
- Fix `ToString` to follow Core.
- Sync documentation with Core.
|
|
And include #72377.
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
|
|
C#: Fix `Rotated` and `RotatedLocal`
|
|
Implementation was interchanged.
|
|
- Add `Skew` property to `Transform2D`.
- Fix `InterpolateWith` in `Transform2D` to support skewed transforms.
|
|
Fix lookup of C# types by their engine name
|
|
C#: Remove `GetArea` and `GetVolume` methods
|
|
|
|
C#: Remove obsolete StringExtensions methods
|
|
C#: Implement readonly-ness in Array and Dictionary
|
|
- Remove `GetArea` method in favor of the `Area` property in Rect2{i}.
- Replace `GetVolume` method with a `Volume` property in AABB.
|
|
|
|
Add `GodotTypeInfo::Metadata` to `MethodInfo`
|
|
- Expose `IsReadOnly` and add `MakeReadOnly` method.
|
|
Better error display in debugger panel
|
|
- Use the right stack frame info as title of the error.
- Use the actual C# exception type as error for exceptions raised from C#.
- Show the right language instead of always **C++ Error**.
|
|
|
|
Renamed C# types and members to use PascalCase and follow .NET naming conventions.
|
|
|
|
C#: Allow use of .NET 7
|
|
C#: Lookup signals and methods in Get method
|
|
C#: Skip methods with pointer parameters
|
|
Sync C# Dictionary with Core
|
|
C#: Sync GD with Core
|
|
C#: Add float an double overloads to Mathf
|
|
C#: Restore `Scale` and `Rotation` properties
|
|
Seal C# attributes
|
|
C#: Implement disposable pattern and seal `GodotSynchronizationContext` class and related
|
|
C#: Annotate API with `[MustBeVariant]`
|
|
C# Improve the "Tag" conversion of documents
|
|
|
|
|
|
- Add MustBeVariant attribute to generic parameters that are used in a Variant context
|
|
class and related
- `GodotSynchronizationContext`
- Implements `IDisposable` to dispose of the disposable field `_queue`.
- Makes the class sealed.
- `GodotTaskScheduler`
- Implements `IDisposable` to dispose of the disposable property `Context`.
- Makes the class sealed.
- `Dispatcher`
- Dispose of previous `GodotTaskScheduler` instances before creating a new one.
|
|
Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
|
|
|
|
- Add overloads to print methods that take a single `string`.
- Use `StringBuilder` to append print parameters.
- Remove `PrintStack` method.
- Add `ErrorString`.
- Remove `Str` method.
- Add exception to `Range` when step is 0.
- Add `VarToBytesWithObjects` and `BytesToVarWithObjects`.
- Remove optional boolean parameter from `VarToBytes` and `BytesToVar`.
- Move `InstanceFromId` to `Godot.Object`.
- Add `Godot.Object.IsInstanceIdValid`.
- Update documentation.
|
|
|
|
- Implement `ICollection` methods explicitly.
- Add `Merge` method.
- Add `RecursiveEqual` method.
- Update documentation.
|
|
- Add `float` and `double` overloads to all methods of `Mathf`.
This allows the methods to be usable with `float`, `double` or `real_t`.
- Use `System.MathF` in the `float` overloads which may result in
better performance.
- Constants remain as `real_t` for the time being.
- Add aggresive inlining for methods that wrap `System.Math` calls.
|
|
[codeblocks] for Keep only the [CSharp] part.
[param] is changed to <c>.
[b] for bold text.
[i] for italic text.
4.0 now uses variant, so [variant] to <see cref="Godot.Variant"/>.
since Rider does not support [u], only comments have been modified.
|
|
|