summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
2023-03-01Bump version to 4.0.1-rcRémi Verschelde
2023-02-16C#: Fix internal source generator on the 7.0.200 SDKRedworkDE
2023-02-12Implement GodotSynchronizationContext.SendCaleb Kemper
2023-02-04C#: Fix AppContext.BaseDirectoryRedworkDE
2023-02-04Merge pull request #71786 from raulsntos/dotnet/arrayRémi Verschelde
Sync C# Array with Core
2023-02-03Merge pull request #72554 from RedworkDE/net-appcontext-basedirectoryRémi Verschelde
C#: Set AppContext.BaseDirectory for editor builds
2023-02-03Merge pull request #72635 from RedworkDE/net-nodepath-iequatableRémi Verschelde
C#: Implement `IEquatable<>` and equality operators in `NodePath`
2023-02-03C#: Declare `IEquatable<>` interface for `StringName`RedworkDE
2023-02-03C#: Implement `IEquatable<>` and equality operators in `NodePath`RedworkDE
- Implement `IEquatable<>` interface. - Implement `==` and `!=` operators. - Override `Equals` and `GetHashCode`.
2023-02-02C#: Set AppContext.BaseDirectory for editor buildsRedworkDE
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
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-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-30Merge pull request #72325 from raulsntos/dotnet/fix-72321Rémi Verschelde
C#: Fix `Rotated` and `RotatedLocal`
2023-01-30Sync C# Array with CoreRaul Santos
- Add `AddRange` method. - Add `Fill` method. - Add `Max` and `Min` methods. - Add `PickRandom` method. - Add `Reverse` method. - Add `RecursiveEqual` method. - Add `Sort` method. - Add `Slice` and `GetSliceRange` methods. - Add `IndexOf` overload that takes an index parameter. - Add `LastIndexOf` method. - Add `BinarySearch` method. - Add/update documentation.
2023-01-29C#: Fix `Rotated` and `RotatedLocal`Raul Santos
Implementation was interchanged.
2023-01-29C#: Add `Skew` to `Transform2D` and fix `InterpolateWith`Raul Santos
- Add `Skew` property to `Transform2D`. - Fix `InterpolateWith` in `Transform2D` to support skewed transforms.
2023-01-28Merge pull request #72205 from raulsntos/dotnet/proxy-classRémi Verschelde
Fix lookup of C# types by their engine name
2023-01-28Merge pull request #71992 from raulsntos/dotnet/rect-altRémi Verschelde
C#: Remove `GetArea` and `GetVolume` methods
2023-01-27Fix lookup of C# types by their engine nameRaul Santos
2023-01-27Merge pull request #72182 from raulsntos/dotnet/remove-obsolete-stringextensionsRémi Verschelde
C#: Remove obsolete StringExtensions methods
2023-01-27C#: Remove `GetArea` and `GetVolume` methodsRaul Santos
- Remove `GetArea` method in favor of the `Area` property in Rect2{i}. - Replace `GetVolume` method with a `Volume` property in AABB.
2023-01-27C#: Remove obsolete StringExtensions methodsRaul Santos
2023-01-27C#: Implement readonly-ness in Array and DictionaryRaul Santos
- Expose `IsReadOnly` and add `MakeReadOnly` method.
2023-01-27Merge pull request #71943 from paulloz/debugger/better-errors-printingRémi Verschelde
Better error display in debugger panel
2023-01-27Better error display in debugger panelPaul Joannon
- 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**.
2023-01-27C#: Rename `Object` to `GodotObject`Raul Santos
2023-01-27C#: Renames to follow .NET naming conventionsRaul Santos
Renamed C# types and members to use PascalCase and follow .NET naming conventions.
2023-01-27Merge pull request #71825 from RedworkDE/net6-roll-forwardRémi Verschelde
C#: Allow use of .NET 7
2023-01-27Merge pull request #71356 from raulsntos/dotnet/getRémi Verschelde
C#: Lookup signals and methods in Get method
2023-01-26Merge pull request #71984 from raulsntos/dotnet/dictionaryRémi Verschelde
Sync C# Dictionary with Core
2023-01-26Merge pull request #71946 from raulsntos/dotnet/gdRémi Verschelde
C#: Sync GD with Core
2023-01-26Merge pull request #71583 from raulsntos/dotnet/mathRémi Verschelde
C#: Add float an double overloads to Mathf
2023-01-26Merge pull request #71787 from raulsntos/dotnet/restore-propertiesRémi Verschelde
C#: Restore `Scale` and `Rotation` properties
2023-01-26Merge pull request #71988 from raulsntos/🦭-attributesRémi Verschelde
Seal C# attributes
2023-01-26Merge pull request #72053 from raulsntos/dotnet/sync-context-disposeRémi Verschelde
C#: Implement disposable pattern and seal `GodotSynchronizationContext` class and related
2023-01-25C#: Annotate API with MustBeVariantRaul Santos
- Add MustBeVariant attribute to generic parameters that are used in a Variant context
2023-01-25C#: Implement disposable pattern and seal `GodotSynchronizationContext` ↵Raul Santos
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.
2023-01-24C#: Sync GD with CoreRaul Santos
- 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.
2023-01-24Seal C# attributesRaul Santos
2023-01-24Sync C# Dictionary with CoreRaul Santos
- Implement `ICollection` methods explicitly. - Add `Merge` method. - Add `RecursiveEqual` method. - Update documentation.
2023-01-24C#: Add float an double overloads to MathfRaul Santos
- 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.
2023-01-23C#: Move `LinearToDb` and `DbToLinear` to MathfRaul Santos
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-21C#: Allow use of .NET 7RedworkDE
The editor will use .NET 7 if it is installed and fall back to .NET 6 otherwise. Exported projects will use .NET 7 or .NET 6 depending on the value of TargetFramework in the csproj.
2023-01-21C#: Restore `Scale` and `Rotation` propertiesRaul Santos
2023-01-17Sync C# vectors with CoreRaul Santos
- Remove `Vector2.Lerp` overload that takes a weight parameter of type `Vector2`. - Remove `Vector3.Lerp` overload that takes a weight parameter of type `Vector3`. - Remove `Color.Lerp` overload that takes a weight parameter of type `Color`. - Remove `Angle` method from `Vector2i`. - Remove `AngleTo` method from `Vector2i`. - Remove `AngleToPoint` method from `Vector2i`. - Remove `Cross` method from `Vector2i`. - Remove `DistanceSquaredTo` method from `Vector2i` and `Vector3i`. - Remove `DistanceTo` method from `Vector2i` and `Vector3i`. - Remove `Dot` method from `Vector2i` and `Vector3i`. - Remove `PosMod` method from `Vector2i` and `Vector3i`. - Remove `Orthogonal` method from `Vector2i`. - Remove `&` operator from `Vector2i` and `Vector3i`.
2023-01-16C#: Implement `Mathf.SinCos`Raul Santos
Implement `Mathf.SinCos` that wraps a call to `System.Math.SinCos`, this allows us to use the `SinCos` method more conveniently with `real_t`. Using `Math.SinCos` is often cheaper than separate calls to `Math.Sin` and `Math.Cos`, and they are often used together.
2023-01-16Merge pull request #71458 from raulsntos/dotnet/quaternionRémi Verschelde
C#: Make `Length` and `LengthSquared` into methods in `Quaternion`.
2023-01-16Merge pull request #71456 from raulsntos/dotnet/sync-planeRémi Verschelde
C#: Sync `Plane` with Core