summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
2018-04-17#18051: Fix indentation issues introduced during clean upXavier Cho
2018-04-17#18051: Do not use `var` in a for-loop, or where type is not obviousXavier Cho
2018-04-17#18051: Use common name for Color type argumentXavier Cho
2018-04-17#18051: Remove redundant verbatim prefixesXavier Cho
2018-04-17#18051: Use default parameter valueXavier Cho
2018-04-17#18051: Use array initializer when applicableXavier Cho
2018-04-17#18051: Remove redundant parenthesisXavier Cho
2018-04-17#18051: Remove unnecessary variable assignmentsXavier Cho
2018-04-17#18051: Use 'var' when applicableXavier Cho
2018-04-17#18051: Remove redundant casts and 'using', 'else', 'this' statementsXavier Cho
2018-04-17Remove duplicated declaration of RoundToInt() from MathfXavier Cho
2018-04-13[Mono] Improve MathfChaosus
2018-04-03[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we ↵Alexander Alekseev
most probably should keep C#6 yet
2018-03-26Added wrap functions to C#Chaosus
2018-03-24Fix mono basis GetEuler bug and marshalling/unmarshallingCarter Anderson
2018-03-24Merge pull request #17134 from aaronfranke/masterIgnacio Etcheverry
[Mono] Replace float with real_t, other misc C# improvements
2018-03-22Replace float with real_t, default Vectors, other misc C# improvementsAaron Franke
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
2018-03-04[mono] rename functions to conform to PascalCasePaul Joannon
in: * StringExtensions.cs * Transform.cs
2018-02-25Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry
2018-02-18Merge pull request #16326 from NathanWarden/fix_basis_monoIgnacio Etcheverry
[Mono] Basis values now marshalled in the correct order.
2018-02-17add a [Signal] attribute to CSharpScriptsPaul Joannon
2018-02-02[Mono] Basis values now marshalled in the correct order.Nathan Warden
2018-01-31Fix an infinite recursion in the Mathf.Decimals method when using floats.Nathan Warden
2018-01-25Mono: Fix NodePath and RID bindingsIgnacio Etcheverry
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18remove c#7 features for compatibility with 2015 Build ToolsKelly Thomas
https://github.com/godotengine/godot/issues/15742
2018-01-12Mono: Some StackTrace to StackInfo[] fixesIgnacio Etcheverry
- Sometimes `StackFrame.GetMethod()` returns null (e.g.: latest frame of a `MissingMethodException`). Still not sure what to do with that frame (maybe skip it), but at least it no longer fails. - Skip `CSharpLanguage::debug_get_current_stack_info()` if an error is printed from `GDMonoUtils::update_corlib_cache()`. - Fix crash when calling `GDMonoUtils::print_unhandled_exception(exc)` if there is no ScriptDebugger attached.
2018-01-10Fixes Mono color creation from string.Pieter-Jan Briers
Fixes #15468 Also improves the error messages if the string isn't hex, because saying that the color value is negative is just a side effect of the implementation and tells you nothing.
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Mono: Script lifetime fixesIgnacio Etcheverry
- alloc_language_binding: Use strong GC handle as well for references. Fixes #15138 - Set the native instance field of Godot.Object to IntPtr.Zero when it's freed. - Create weak handles without tracking resurrection (that was causing trouble). This means we have to call notification predelete before queueing a native Object for deletion, and use the MonoObject* passed by the finalizer because the weak GC handle target will return NULL at this point.
2017-12-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-12-05Improve slang, especially in user-visible partsUnknown
2017-11-21Mono: Use PascalCase in core types.Andreas Haas
2017-11-20Add cartesian to polar conversion functionspablotato
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-14Move singleton management from ProjectSettings to EngineLeon Krause
2017-11-05Convert DOS line endings to Unix line endingsRémi Verschelde
Should fix issues some of us have with `misc/dist/uwp_template/AppxManifest.xml` always showing up as modified. Might cause issues on Windows due to the removal of BOMs or change of line endings in some of the Mono, UWP or gradlew.bat files, we will test and adapt if need be.
2017-10-17Export attribute fixes and improvementsIgnacio Etcheverry
- Allow non-public fields to be exported as well (to avoid confusion). - Set PROPERTY_HINT_RESOURCE_TYPE for resource derived fields. - Support enums and automatically fill PROPERTY_HINT_ENUM's hint_string for enum fields.
2017-10-09Apply a few recent chages in Quat and Basis to their respective Mono ↵Ferenc Arn
counterparts. (#11899)
2017-10-03Added mono moduleIgnacio Etcheverry