summaryrefslogtreecommitdiff
path: root/modules/mono/glue
AgeCommit message (Collapse)Author
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
2018-05-04round / ceil methods for c sharp vectorsKelly thomas
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