Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-16 | Add a `Plane(Vector3, Vector3)` constructor for C# | Yuri Rubinsky | |
2022-10-13 | Adding null check to prevent null reference exception when serializing ↵ | Alexander Schill | |
delegates in C# | |||
2022-10-08 | C#: Generate symbols packages | Raul Santos | |
2022-10-03 | C#: Use Span in Color to avoid string allocations | Raul Santos | |
2022-10-03 | Merge pull request #66387 from aaronfranke/cs-basis-euler | Rémi Verschelde | |
C#: Update Basis Euler angle code to match core | |||
2022-10-01 | ManagedCallable: use delegate target instead of middleman when possible | Patrick Dawson | |
If the delegate target is an Object, the connected signal will be registered in that object instead of the middleman. So when that object is destroyed, the signal will be properly disconnected. | |||
2022-09-25 | C#: Update Basis Euler angle code to match core | Aaron Franke | |
2022-09-19 | C#: Rename `PlusFile` to `PathJoin` | Raul Santos | |
2022-09-06 | Merge pull request #64417 from aaronfranke/has-space | Rémi Verschelde | |
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods | |||
2022-09-06 | Rename `range_lerp` to `remap` | Micky | |
2022-09-05 | Merge pull request #65266 from raulsntos/dotnet/reload-non-tool-scripts | Rémi Verschelde | |
Create script instance of reloaded scripts even if they're not tools | |||
2022-09-04 | Replace AABB/Rect2(i) HasNo* methods in C# | Aaron Franke | |
2022-09-04 | Fix some bugs with Vector4 in C# | Aaron Franke | |
2022-09-04 | C#: Create script instance of reloaded scripts even if they're not tools | Raul Santos | |
Scripts that are instantiated at some point will always be recreated if they ever become placeholders to prevent non-tool scripts instantiated manually by users to become placeholders, if they do become placeholders due to errors that prevent instantiation (such as a missing parameterless constructor) these scripts will also be recreated replacing the temporary placeholder. If a script is marked as a tool but becomes a non-tool script in a rebuild, the script will become a placeholder and will no longer be considered applicable to be replaced by an instance since the user explicitly removed the Tool attribute. | |||
2022-09-04 | Add float arg to build_assemblies.py | Almighty Laxz | |
2022-09-03 | Fixed build failing when REAL_T double and dotnet enabled | Almighty Laxz | |
2022-08-31 | C#: Fix Vector4 in godot_variant and missing marshaling | Ignacio Roldán Etcheverry | |
Vector4 and Vector4i were implemented incorrectly in godot_variant. They were also missing their respective Variant conversion callbacks (used for generic collections). Took the chance to remove unnecessary native calls for creating Variant from Vector4, as now it can be done from C# (which is faster). | |||
2022-08-30 | Merge pull request #65061 from ↵ | Ignacio Roldán Etcheverry | |
paulloz/dotnet/fix-godot_variants-with-empty-type-field C#: Populate `Type` field on `godot_variant` created in managed | |||
2022-08-30 | Add `String.to_{camel,pascal,snake}_case` methods | Danil Alexeev | |
2022-08-30 | C#: godot_variant should always have a valid type | Paul Joannon | |
2022-08-29 | Merge pull request #64956 from raulsntos/dotnet/format-ci | Rémi Verschelde | |
Add `dotnet format` to CI to check C# style | |||
2022-08-29 | Merge pull request #64900 from raulsntos/dotnet/fix-exceptions | Ignacio Roldán Etcheverry | |
Fix various C# exceptions | |||
2022-08-28 | Merge pull request #64959 from raulsntos/dotnet/fix-malloc-size | Ignacio Roldán Etcheverry | |
C#: Fix byteCount in `NativeMemory.Alloc` | |||
2022-08-27 | C#: Fix byteCount in `NativeMemory.Alloc` | Raul Santos | |
`NativeMemory.Alloc` takes the byte count as parameter, this is calculated by multiplying the element size in bytes by the length of the array. | |||
2022-08-27 | C#: Add `CubicInterpolateAngle` | Raul Santos | |
2022-08-27 | C#: Add `CubicInterpolateInTime` | Raul Santos | |
2022-08-27 | C#: Rename and fix `Quaternion.SphericalCubicInterpolate` | Raul Santos | |
2022-08-27 | C#: Fix `Quaternion.CubicSlerp` | Raul Santos | |
2022-08-27 | C#: Add `Exp` and `Log` to Quaternion | Raul Santos | |
2022-08-27 | C#: Add `GetAngle` and `GetAxis` to Quaternion | Raul Santos | |
2022-08-27 | C#: Fix `Transform3D` interpolation and add spherical interpolation | Raul Santos | |
2022-08-27 | C#: Add missing match check in `Quaternion.Slerpni` | Raul Santos | |
2022-08-27 | Merge pull request #64942 from paulloz/cs-fix-color-names | Rémi Verschelde | |
C#: Fix dictionary keys in Colors | |||
2022-08-27 | Fix C# style with `dotnet format` | Raul Santos | |
2022-08-26 | C#: Fix dictionary keys in Colors | Paul Joannon | |
2022-08-26 | Merge pull request #64367 from Mickeon/rename-var-to-str | Rémi Verschelde | |
Rename `str2var` to `str_to_var` and similar | |||
2022-08-26 | Fix various C# exceptions | Raul Santos | |
- Replace `IndexOutOfRangeException` with `ArgumentOutOfRangeException` - Replace `Exception` with a more specific exception - Add the parameter name to argument exception - Update documentation for methods that throw exceptions - Use `StringBuilder` to build exception messages - Ensure exception messages end with a period | |||
2022-08-26 | Rename `str2var` to `str_to_var` and similar | Micky | |
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict` | |||
2022-08-26 | Merge pull request #64901 from raulsntos/dotnet/equals | Ignacio Roldán Etcheverry | |
C#: Use pattern matching to simplify `Equals` | |||
2022-08-26 | Remove `[Signal]` attribute from events | Raul Santos | |
- Remove event as a valid target of `SignalAttribute` - Stop adding the `[Signal]` attribute to events in bindings_generator - Make bindings_generator use the `EventHandler` suffix to be consistent with the C# source generator - Remove obsolete comment about the signal's delegate name | |||
2022-08-25 | Various C# documentation improvements | Raul Santos | |
Fixes wrong/invalid documentation and add documentation to some OS members. | |||
2022-08-25 | Merge pull request #64731 from raulsntos/dotnet6-variant-generics-analyzer | Rémi Verschelde | |
C#: Add `MustBeVariant` attribute and analyzer | |||
2022-08-25 | Merge pull request #64781 from raulsntos/csharp_children | Rémi Verschelde | |
Add `includeInternal` to C# NodeExtensions and avoid printing errors in `GetChildOrNull` | |||
2022-08-25 | Add MustBeVariant attribute and analyzer | Raul Santos | |
- MustBeVariant attribute can be used to enforce that generic types must be a marshable from/to Variant. - Also renames all diagnostic ids to be valid unicode identifiers. | |||
2022-08-24 | Merge pull request #64742 from zaevi/csharp_add_grouping_attributes | Ignacio Roldán Etcheverry | |
C#: Add grouping attributes for properties. | |||
2022-08-24 | Use pattern matching to simplify `Equals` | Raul Santos | |
- Simplify and unify `Equals` implementation of C# struct types - Also add pattern matching to replace a cast in `DebuggingUtils` | |||
2022-08-24 | Update C# named colors to use HEX codes | Raul Santos | |
2022-08-24 | Avoid printing an error in GetChildOrNull | Raul Santos | |
`GetChildOrNull` won't print an error when the given index is out of range, similar to how the LINQ `ElementAtOrDefault` method works. | |||
2022-08-24 | Merge pull request #64727 from raulsntos/csharp-remove-ctors | Ignacio Roldán Etcheverry | |
Remove copy constructors in C# structs | |||
2022-08-24 | Merge pull request #64773 from raulsntos/dotnet6-🦭 | Ignacio Roldán Etcheverry | |
C#: Seal classes that can't be inherited from |