summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
2018-12-21[Mono] Color - add ColorN(), Colors - add named color propertiesKelly Thomas
2018-12-01Fix crash due to ~CSharpInstance() being called on freed instanceIgnacio Etcheverry
This would be the case when calling SetScript on an object with a C# script.
2018-11-20C#: Replace calls to old of old Basis(Vec3,Vec3,Vec3) constructorIgnacio Etcheverry
2018-11-20Remove trailing whitespaceRémi Verschelde
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
2018-11-20Merge pull request #23833 from neikeq/hhIgnacio Etcheverry
C#: Fix Basis(Vec3,Vec3,Vec3) constructor
2018-11-20C#: Fix Basis(Vec3,Vec3,Vec3) constructorIgnacio Etcheverry
Now it sets axes in order to match GDScript implementation.
2018-10-31Rename "Log*()" functions to "Push*()" in C#Michael Alexsander Silva Dias
2018-10-25Add new log functions for C#.Ben Rog-Wilhelm
2018-10-06Mono: Fix crash on NodePath/RID disposal during Godot shutdownIgnacio Etcheverry
2018-10-05Fix C# API assembly build errors in genericsIgnacio Etcheverry
2018-10-05loosen generic guard on method for ResourceLoaderzochris
For more details see #22658
2018-10-05loosen generic guard on Node extension methodszochris
For more details see #22658
2018-09-27Mono: Fix not creating generic Array or Dictionary where expectedIgnacio Etcheverry
2018-09-15[Mono] implement Transform.InterpolateWith()Kelly Thomas
2018-09-15Rename slave keyword to puppetFabio Alessandrelli
The slave keyword will still be available as deprecated in 3.1 but will be dropped from future releases.
2018-09-12Move modules/mono/glue/cs_files to modules/mono/glue/Managed/FilesIgnacio Etcheverry
Added dummy MSBuild project and solution to get tooling help when editing these files.
2018-09-12Fix/workaround for issue #21667Ignacio Etcheverry
When a Reference managed instance is garbage collected and its finalizer is called, it could happen that the native instance is referenced once again before the finalizer can unreference and memdelete it. The workaround is to create a new managed instance when this happens (at least for now).
2018-09-12Cleanup of c# api files and bindings generatorIgnacio Etcheverry
- We no longer generate RID and NodePath C# classes. Both will be maintained manually. - We no longer generate C# declarations and runtime registration of internal calls for the following classes: RID, NodePath, String, GD, SignalAwaiter and Godot.Object (partial base). - We no longer auto-generate the base members of Godot.Object. They will be maintained manually as a partial class. This makes it easier to maintain these C# classes and their internal calls, as well as the bindings generator which no longer generates C# classes that don't derive from Godot Object, and it no longer generates the Godot.Object base members (which where unreadable in the bindings generator code). - Added missing 'RID(Object from)' constructor to the RID C# class. - Replaced MONO_GLUE_DISABLED constant macro with MONO_GLUE_ENABLED. - Add sources in module/mono/glue even if glue is disabled, but surround glue files with ifdef MONO_GLUE_ENABLED.
2018-09-10[Mono] Various style changes and naming standardizationAaron Franke
2018-09-10[Mono] Tabs -> SpacesAaron Franke
2018-08-27Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quatIgnacio Etcheverry
[Mono] Quat - add some missing constructors and methods
2018-08-25Added Collections namespace to Array & Dictionaryexts
2018-08-24mono: Quat - add some missing constructors and methodsKelly Thomas
2018-08-23[Mono] Move several small related filesAaron Franke
2018-08-23[Mono] AABB - Position, Size, End setters, Rect2 - End setterKelly Thomas
2018-08-23Merge pull request #21240 from aaronfranke/mono-project-vectorRémi Verschelde
[Mono] Vector2/3 Project methods
2018-08-22Merge pull request #21174 from KellyThomas/c-sharp-feature-parity-rect2Ignacio Etcheverry
[Mono] Rect2 - add Abs(), rename private fields
2018-08-22[Mono] Vector2/3 Project methodsAaron Franke
2018-08-21Merge pull request #21253 from aaronfranke/plane-constantsRémi Verschelde
Rename Plane constants, add to Mono
2018-08-21Deprecate incorrect Color::gray()Rémi Verschelde
This average is not a proper approximation of a grayscale value, get_v() is better suited for that. If we want a real to_grayscale() conversion, it's somewhat more involved: https://en.wikipedia.org/wiki/Grayscale Remove the deprecated Gray() from C# bindings as it conflicts with new named color constants.
2018-08-21Rename Plane constants, add to MonoAaron Franke
But I'm not tagging PR as [Core] or [Mono] due to it being a minor change anyway.
2018-08-19mono: add Abs() to Rect2 and rename private fieldsKelly Thomas
2018-08-17Mono: Improve C# core files (glue/cs_files) buildsystemIgnacio Etcheverry
- Search C# files recursively in 'glue/cs_files'. - Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-08-15Merge pull request #20945 from neikeq/dict-erase-retboolRémi Verschelde
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-15mono: add constants to transform and vector structsKelly Thomas
2018-08-14Dictionary: remove erase_checked(key), make erase(key) return boolIgnacio Etcheverry
2018-08-14Merge pull request #20890 from KellyThomas/mono-is-instance-validIgnacio Etcheverry
mono: add IsInstanceValid(), move WeakRef()
2018-08-14mono: add IsInstanceValid(), move WeakRef()Kelly Thomas
2018-08-13Merge pull request #20706 from mysticfall/issue-20705Ignacio Etcheverry
Add missing GetPtr() for Dictionary<> and Array<>
2018-08-04Add missing GetPtr() for Dictionary<> and Array<>Xavier Cho
Add missing GetPtr() method for generic versions of Dictionary and Array to fix #20705.
2018-08-03Added generic method for ResourceLoader: Load<T>()exts
2018-07-27Add missing methods to Node class in the mono gluePaul Joannon
* GetNodeOrNull<T> * GetChild<T> * GetChildOrNull<T> * GetOwner<T> * GetOwnerOrNull<T> * GetParent<T> * GetParentOrNull<T>
2018-07-25[Mono] Fix Color incorrect ordering of int export methods, added 64-bitAaron Franke
[Mono] Fix Color incorrect ordering of int export methods, added 64-bit long export methods.
2018-07-25Merge pull request #20298 from PJB3005/18-07-20-mono-partial-api-extIgnacio Etcheverry
Makes Mono binding classes partial & adds GetNode<T>.
2018-07-23Merge pull request #15880 from neikeq/better-collectionsIgnacio Etcheverry
Mono: Add Dictionary and Array classes
2018-07-21[Mono] Improvements to GD.cs: PascalCasing and real_tAaron Franke
[Mono] Improvements to GD.cs: PascalCasing and real_t
2018-07-20Makes Mono bindings partial & adds GetNode<T>.Pieter-Jan Briers
2018-07-20Add Array and Dictionary wrapper classes to C#Ignacio Etcheverry
2018-07-19Fix bug with Basis.Transposed()oisincar
Fix bug where Basis.Transposed() incorrectly updated local basis, and returned an unmodified copy. This also fixes Transform.Inverse().
2018-07-05Merge pull request #19231 from aaronfranke/mono-fposmod-to-modIgnacio Etcheverry
[Mono] Rename Fposmod to PosMod, fix output