summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
2019-03-29C#: Add DynamicGodotObject classIgnacio Etcheverry
Expands to Object.call, Object.set and Object.get for accessing members. This means it can also access members from scripts written in other languages, like GDScript.
2019-03-08Merge pull request #26746 from shartte/godot-trace-listenerIgnacio Roldán Etcheverry
Add a custom TraceListener on Startup for Mono
2019-03-07Added a Godot TraceListener, which is automatically installed on startup. ↵Sebastian Hartte
Fixes that Debug/Trace Assertions are simply swallowed by Godot.
2019-03-07Fix division by zero at wrap functions in monoChaosus
2019-02-28Merge pull request #26411 from neikeq/issue-26195Ignacio Etcheverry
C#: Add Array.Resize(int) method
2019-02-28C#: Add Array.Resize(int) methodIgnacio Etcheverry
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-23C#: Fix Vector2.AngleToPointIgnacio Etcheverry
Fixes #26209
2019-02-23C#: Basis fixes and cleanupIgnacio Etcheverry
Fix Basis operator[int]. Now it returns columns instead of rows. Fix Transform2D.AfficeInverse() mutating rather than returning a new Transform2D.
2019-02-19C#: Make GD.Range return IEnumerable instead of arrayIgnacio Etcheverry
- Make NodePath and RID sealed classes. - Renamed rand_range to RandRange.
2019-02-19Merge pull request #26039 from neikeq/throw_objectdisposedexceptionIgnacio Etcheverry
C#: Throw ObjectDisposedException from disposed wrapper classes
2019-02-19Merge pull request #26038 from neikeq/csharp_rand_funcsIgnacio Etcheverry
C#: Add random functions to GD class
2019-02-19C#: Throw ObjectDisposedException from disposed wrapper classesIgnacio Etcheverry
2019-02-19C#: Add random functions to GD classIgnacio Etcheverry
2019-02-19C#: fix Quat.Equals.RomanAkberov
2019-02-13Merge pull request #25821 from akien-mga/sync-class-and-filenamesRémi Verschelde
Ensure classes match their header filename
2019-02-12[Mono] Fix Transform2D rotation and scaleAaron Franke
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-11Use "origin" instead of "o" in Transform2D.RotationCarter Anderson
2019-02-09[Mono] Fix Transform2D originAaron Franke
2019-02-03Mono: Lifetime fixes for CSharpInstance and instance binding dataIgnacio Etcheverry
Avoid CSharpInstance from accessing its state after self destructing (by deleting the Reference owner). It's now safe to replace the script instance without leaking or crashing. Also fixed godot_icall_Object_weakref return reference being freed before returning.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-23fix capitalization for antiquewhiteKelly Thomas
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