summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2018-01-30Added async and await as C# keywords.Nathan Warden
2018-01-27Merge pull request #16118 from neikeq/i-dont-know-what-to-write-here-anymoreRémi Verschelde
Mono: Fix build errors with tools=no and target=release
2018-01-27Mono: Fix method_bind fields being generated as instance membersIgnacio Etcheverry
2018-01-27Mono: Fix build errors with tools=no and target=releaseIgnacio Etcheverry
2018-01-26Mono: Don't defer call to dispose queue objects when finalizing domainIgnacio Etcheverry
It's going to be called anyway after `mono_domain_finalize`. This also prevents crashes, since the MessageQueue singleton could already be freed at this point (see: #15702).
2018-01-25Mono: Fix NodePath and RID bindingsIgnacio Etcheverry
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-24Merge pull request #16016 from neikeq/issue-13316Ignacio Etcheverry
Fix CSharpInstance::call not initializing CallError
2018-01-24Fix CSharpInstance::call not initializing CallErrorIgnacio Etcheverry
2018-01-23SignalAwaiter::_signal_callback was calling the thunk with a wrong pointerPaul Joannon
2018-01-22Merge pull request #15972 from akien-mga/mono-warningRémi Verschelde
Mono: Display opt-out warning in editor about WIP status
2018-01-22Mono: Display opt-out warning in editor about WIP statusRémi Verschelde
This ensures that all users of the Mono flavour of Godot 3.0 are aware of its current shortcomings (no export, crashes and usability issues). The dialog is shown each time the editor is started, until the checkbox is disabled (i.e. until users will have actually read it). Fixes #15956.
2018-01-22RID cached class was wrong (mono)Paul Joannon
2018-01-21fix GDMonoProperty::set_valuePaul Joannon
was calling getter and not setter should close #15387
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-18remove an unneeded marshalling functionPaul Joannon
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
2018-01-18fix marshalling when a function is returning an object from c#Paul Joannon
2018-01-13doc: Update version string in XMLRémi Verschelde
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-12Mono: Fix starting MonoDevelop process from the wrong appdomainIgnacio Etcheverry
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-10Merge pull request #15537 from ↵Rémi Verschelde
PJB3005/18-01-09-fix-color-string-constructor-mono Fixes Mono color creation from string being 0-255 instead of 0-1.
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: Some fixes for #15463Ignacio Etcheverry
2018-01-09Merge pull request #15463 from neikeq/the-stack-frame-madnessRémi Verschelde
Mono: Implement stack info for errors and exceptions
2018-01-09Mono: Fix iteration order of object types when generating bindingsIgnacio Etcheverry
2018-01-09External editor fixesIgnacio Etcheverry
- Fix VS Code opening on the previous line to the desired one. - Fix running MonoDevelop without the line and column parameters. - Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry
2018-01-06Fix build of GDMonoFieldRémi Verschelde
Closes #15385.
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-04Mono: Add properties support in scriptsIgnacio Etcheverry
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Mono: Change BindingsGenerator singleton to avoid StringName leaksIgnacio Etcheverry
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-29Mono: Bindings no longer relie on DocData for accessorsIgnacio Etcheverry
2017-12-27Merge pull request #14996 from neikeq/enums-monoNoshyaar
Mono: Make the bindings generator output enums
2017-12-24Merge pull request #14997 from neikeq/issue-14988Ignacio Etcheverry
Marshal NULL MonoString* as empty Godot string
2017-12-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-12-24Marshal NULL MonoString* as empty Godot stringIgnacio Etcheverry
2017-12-23Add more translatable text for editor plugins.geequlim
2017-12-19Fix fatal mono logs not getting logged to disk.PJB3005
They aborted the application without flushing the log file. Also there was a typo.
2017-12-12Mono: Build in cloned env.Andreas Haas
Use a cloned env, so that toggling glue_enabled doesn't force a full rebuild as mentioned in #14584.
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-05Improve slang, especially in user-visible partsUnknown
2017-12-02Exported variables now show in the correct order.Nathan Warden
2017-11-25Fix mono build after bc2e8d99Rémi Verschelde
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-21Mono: Use PascalCase in core types.Andreas Haas
2017-11-20Add cartesian to polar conversion functionspablotato