summaryrefslogtreecommitdiff
path: root/modules/mono/mono_gd
AgeCommit message (Collapse)Author
2018-01-31Mono: Allow loading `mscorlib` from resources.bruvzg
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-23SignalAwaiter::_signal_callback was calling the thunk with a wrong pointerPaul Joannon
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-18remove an unneeded marshalling functionPaul Joannon
`Variant mono_object_to_variant(MonoObject*, const ManagedType&)`
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-09Mono: Some fixes for #15463Ignacio Etcheverry
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: 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-27Merge pull request #14996 from neikeq/enums-monoNoshyaar
Mono: Make the bindings generator output enums
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-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-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-18Mono: Fix compiler error with Variant::operator AABB()Ignacio Etcheverry
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-01Merge pull request #12549 from neikeq/seriously-do-theyIgnacio Etcheverry
Mono cleanup fixes
2017-11-01Fix thread checking to queue instances for deletionIgnacio Etcheverry
2017-11-01Use mono_gc_wbarrier_set_arrayref for Array marshallingIgnacio Etcheverry
2017-10-29Merge pull request #12491 from neikeq/waitasecond···Ignacio Etcheverry
Fix FrameworkPathOverride and assemblies path loop
2017-10-29Fix FrameworkPathOverride and assemblies path loopIgnacio Etcheverry
2017-10-29Mono: Add build project button and reload intervalIgnacio Etcheverry
2017-10-27Mono: Use "UnnamedProject" if application/config/name is emptyUnknown
2017-10-23Mono: Prevent raising exceptions in native codeIgnacio Etcheverry
For now we will just print the exceptions we catch. Later, we should use something similar to 'mono_set_pending_exception(ex)'.
2017-10-22Merge pull request #12326 from neikeq/nIgnacio Etcheverry
Fix set field from MonoObject*
2017-10-22Fix set field from MonoObject*Ignacio Etcheverry
2017-10-21Cleanup unnecessary debug printsRémi Verschelde
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-16Re-write SignalAwaiter implementationIgnacio Etcheverry
Old implementation had issues where you could only await on the same signal of the same source once.
2017-10-10Fix wrong array indexIgnacio Etcheverry
2017-10-10 Fix getting struct elements from MonoArray (#11978)Ignacio Etcheverry
* Fix getting struct elements from MonoArray * Revert undesired change
2017-10-09Fixed IntPtr unboxing (#11949)Ignacio Etcheverry
- Fix boolean never reset to false - Fix IntPtr unboxing and cleanup
2017-10-07Fix dot separated assembly names confused with file extensionsIgnacio Etcheverry
2017-10-07Fix assembly load hooksIgnacio Etcheverry
2017-10-05Uninitialized local and domain finalize fixesIgnacio Etcheverry
- Make sure to run the GC before and after finalizing the scripts domain.
2017-10-03Added mono moduleIgnacio Etcheverry