summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
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-12Mono: Fix build regression due to wrong return typeIgnacio Etcheverry
2018-09-12C#: Fix explicit enum values when exporting memberIgnacio Etcheverry
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-12C#: Fix cs_files glue mismatch bugIgnacio Etcheverry
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-12Add some mono root hint dirs for OSXIgnacio Etcheverry
Fixes #13355
2018-09-12Allow special characters in C# glue filesIgnacio Etcheverry
Fixes #21139 - Surround the generated file modules/mono/glue/cs_compressed.gen.h with ifdef TOOLS_ENABLED
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 #21497 from neikeq/hmIgnacio Etcheverry
C# generated classes ignore warning CS1591 and cleanup
2018-08-27C# generated classes ignore warning CS1591 and cleanupIgnacio Etcheverry
2018-08-27Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quatIgnacio Etcheverry
[Mono] Quat - add some missing constructors and methods
2018-08-26Merge pull request #21423 from exts/mono/collectionsIgnacio Etcheverry
[Mono] Added Collections namespace to Array & Dictionary
2018-08-25Added Collections namespace to Array & Dictionaryexts
2018-08-25Merge pull request #16927 from neikeq/rework-refcount-notifyJuan Linietsky
Notify instance binding data api of refcount increment/decrement
2018-08-24Merge pull request #20717 from PJB3005/18-08-04-godot-exceptionsIgnacio Etcheverry
Fix Mono exception handling.
2018-08-24Merge pull request #20707 from aaronfranke/mono-combineIgnacio Etcheverry
[Mono] Move several related small files
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-24mono: Quat - add some missing constructors and methodsKelly Thomas
2018-08-23Fix Mono exception handling.Pieter-Jan Briers
First of all, this fixes the handling of exceptions so the engine actually notices them, it was broken in 4172fa03b56bb60fe096639585e0ca40df73b677. Next, unhandled exceptions now do NOT cause an abort(). They're logged now, so before #16987. The pending exception thing still works though.
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-23Notify instance binding data api of refcount increment/decrementIgnacio Etcheverry
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-22Mono: Fix weird crash when loading corlibIgnacio Etcheverry
2018-08-22Merge pull request #18502 from space-wizards/18-04-29-assembly-load-hookIgnacio Etcheverry
assembly_load_hook fallback for registering GDMonoAssemblies.
2018-08-21Style: Fix issues that went past CIRémi Verschelde
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-20Prevent "cannot use a string pattern on a bytes-like object"Justin Abene
Fixes #21207
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-14Merge pull request #20583 from neikeq/issue-15371Rémi Verschelde
Fix case where exported properties value is lost
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-14SCons: Fix mono_root initializationRémi Verschelde
As advised by @neikeq.
2018-08-13Merge pull request #20706 from mysticfall/issue-20705Ignacio Etcheverry
Add missing GetPtr() for Dictionary<> and Array<>
2018-08-13Fixed absent variable exception while trying to raise another exception.Teashrock
2018-08-10Added system for GDScript warningsGeorge Marques
- Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky