summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
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
2018-06-27[Mono] Rename Fposmod to PosModAaron Franke
[Mono] Rename Fposmod to PosMod
2018-06-24Lerp now consistent with Godot API. InverseLerp fixed.Nathan Warden
2018-05-29New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-26New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-25Merge pull request #19063 from KellyThomas/c-sharp-feature-parity-vectorsRémi Verschelde
mono: Add Slerp method to vector classes, expose Cross method for Vector2
2018-05-22mono: add Slerp method to vector classes, expose Cross method for Vector2, ↵Kelly Thomas
and fix unnecessary casts in Basis
2018-05-21Fix index out of range error in string.Extension()Kelly Thomas
2018-05-18Merge pull request #18974 from KellyThomas/c-sharp-feature-parity-basisRémi Verschelde
Mono: Basis constructor for euler parameter
2018-05-18Merge pull request #18975 from KellyThomas/c-sharp-feature-parity-colorIgnacio Etcheverry
mono: New Color methods: Darkened, Lightened and ToRgba32
2018-05-17mono: Plane, expose Normal, and DKelly Thomas
2018-05-17mono: New Color methods: Darkened, Lightened and ToRgba32Kelly Thomas
2018-05-17Mono: Basis constructor for euler parameterKelly Thomas
2018-05-16Merge pull request #18889 from madadam/async-await-fixIgnacio Etcheverry
Set current SynchronizationContext before the game loop starts
2018-05-16Add missing copyright headersGuilherme Felipe
2018-05-15Set current SynchronizationContext before the game loop startsAdam Cigánek
This fixes the problem that `SynchronizationContext.Current` would be null during the call to `_EnterTree`, `_Ready` and the first call to `_Process` thus the task continuations would be scheduled outside the main thread, which is unexpected and might lead to crashes. With this change, task continuations are scheduled always on the main thread and so async/await can be used without any explicit synchronization, which is what is expected. Fixes #18849