summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
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
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()