aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/glue
Commit message (Collapse)AuthorAgeFilesLines
* New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-291-0/+9
|
* Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-291-9/+0
|
* New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli2018-05-261-0/+9
|
* Merge pull request #19063 from KellyThomas/c-sharp-feature-parity-vectorsRémi Verschelde2018-05-254-5/+17
|\ | | | | mono: Add Slerp method to vector classes, expose Cross method for Vector2
| * mono: add Slerp method to vector classes, expose Cross method for Vector2, ↵Kelly Thomas2018-05-224-5/+17
| | | | | | | | and fix unnecessary casts in Basis
* | Fix index out of range error in string.Extension()Kelly Thomas2018-05-211-1/+1
|/
* Merge pull request #18974 from KellyThomas/c-sharp-feature-parity-basisRémi Verschelde2018-05-181-0/+20
|\ | | | | Mono: Basis constructor for euler parameter
| * Mono: Basis constructor for euler parameterKelly Thomas2018-05-171-0/+20
| |
* | Merge pull request #18975 from KellyThomas/c-sharp-feature-parity-colorIgnacio Etcheverry2018-05-181-4/+22
|\ \ | | | | | | mono: New Color methods: Darkened, Lightened and ToRgba32
| * | mono: New Color methods: Darkened, Lightened and ToRgba32Kelly Thomas2018-05-171-4/+22
| |/
* / mono: Plane, expose Normal, and DKelly Thomas2018-05-171-38/+44
|/
* Merge pull request #18889 from madadam/async-await-fixIgnacio Etcheverry2018-05-161-1/+1
|\ | | | | Set current SynchronizationContext before the game loop starts
| * Set current SynchronizationContext before the game loop startsAdam Cigánek2018-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* | Add missing copyright headersGuilherme Felipe2018-05-161-0/+30
|/
* round / ceil methods for c sharp vectorsKelly thomas2018-05-042-0/+15
|
* #18051: Fix indentation issues introduced during clean upXavier Cho2018-04-176-16/+16
|
* #18051: Do not use `var` in a for-loop, or where type is not obviousXavier Cho2018-04-177-22/+22
|
* #18051: Use common name for Color type argumentXavier Cho2018-04-171-5/+5
|
* #18051: Remove redundant verbatim prefixesXavier Cho2018-04-172-3/+3
|
* #18051: Use default parameter valueXavier Cho2018-04-171-1/+1
|
* #18051: Use array initializer when applicableXavier Cho2018-04-171-4/+2
|
* #18051: Remove redundant parenthesisXavier Cho2018-04-1713-91/+94
|
* #18051: Remove unnecessary variable assignmentsXavier Cho2018-04-175-11/+7
|
* #18051: Use 'var' when applicableXavier Cho2018-04-1714-109/+109
|
* #18051: Remove redundant casts and 'using', 'else', 'this' statementsXavier Cho2018-04-1719-281/+211
|
* Remove duplicated declaration of RoundToInt() from MathfXavier Cho2018-04-171-5/+0
|
* [Mono] Improve MathfChaosus2018-04-133-33/+91
|
* [mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we ↵Alexander Alekseev2018-04-031-6/+6
| | | | most probably should keep C#6 yet
* Added wrap functions to C#Chaosus2018-03-261-0/+12
|
* Fix mono basis GetEuler bug and marshalling/unmarshallingCarter Anderson2018-03-241-82/+106
|
* Merge pull request #17134 from aaronfranke/masterIgnacio Etcheverry2018-03-2412-288/+470
|\ | | | | [Mono] Replace float with real_t, other misc C# improvements
| * Replace float with real_t, default Vectors, other misc C# improvementsAaron Franke2018-03-2213-289/+471
| | | | | | | | 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.
* | [mono] rename functions to conform to PascalCasePaul Joannon2018-03-043-19/+19
|/ | | | | | in: * StringExtensions.cs * Transform.cs
* Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry2018-02-251-0/+1
|
* Merge pull request #16326 from NathanWarden/fix_basis_monoIgnacio Etcheverry2018-02-181-3/+3
|\ | | | | [Mono] Basis values now marshalled in the correct order.
| * [Mono] Basis values now marshalled in the correct order.Nathan Warden2018-02-021-3/+3
| |
* | add a [Signal] attribute to CSharpScriptsPaul Joannon2018-02-171-0/+12
|/
* Fix an infinite recursion in the Mathf.Decimals method when using floats.Nathan Warden2018-01-311-1/+1
|
* Mono: Fix NodePath and RID bindingsIgnacio Etcheverry2018-01-252-6/+71
|
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* remove c#7 features for compatibility with 2015 Build ToolsKelly Thomas2018-01-181-2/+2
| | | https://github.com/godotengine/godot/issues/15742
* Mono: Some StackTrace to StackInfo[] fixesIgnacio Etcheverry2018-01-121-0/+6
| | | | | | - 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.
* Fixes Mono color creation from string.Pieter-Jan Briers2018-01-101-13/+13
| | | | | | 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.
* Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry2018-01-091-0/+77
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Mono: Script lifetime fixesIgnacio Etcheverry2018-01-011-3/+5
| | | | | | - 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.
* Mono: Make the bindings generator output enumsIgnacio Etcheverry2017-12-244-60/+11
| | | | - Switch to PascalCase for constants names
* Improve slang, especially in user-visible partsUnknown2017-12-051-2/+1
|
* Mono: Use PascalCase in core types.Andreas Haas2017-11-2113-483/+483
|