summaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
AgeCommit message (Collapse)Author
2018-06-05Merge pull request #18792 from PJB3005/18-05-11-objectdb-verbose-monoRémi Verschelde
Fixes ObjectDB leak printout with mono.
2018-05-29New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-29Refactor RPCMode enum and checksFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-26New sync keywords in GDScript, NativeScript, MonoFabio Alessandrelli
2018-05-26Refactor RPCMode enum and checksFabio Alessandrelli
2018-05-24Merge pull request #19149 from neikeq/xIgnacio Etcheverry
Mono: Improve 'script class not found' error
2018-05-24Mono: Improve 'script class not found' errorIgnacio Etcheverry
No longer printed when using using placeholder script instances (for non-tool scripts in the editor). Print different error if the project assembly is not loaded
2018-05-23Capitalized comments of methods created by the Connect Signal dialog.Michael Alexsander Silva Dias
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-11Fixes ObjectDB leak printout with mono.Pieter-Jan Briers
Fixes #18767
2018-05-02Changed periods in the script templates.Michael Alexsander Silva Dias
2018-04-24Mono: Do not spam script class not found errorIgnacio Etcheverry
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
2018-04-24Mono: Fix crash on script load if the scripts domain isn't loadedIgnacio Etcheverry
2018-03-15Mono: Avoid invalid class names.Andreas Haas
Disallow reserved keywords as class names and prefix base class with the Godot namespace if it's the same as the class name. Fixes #12483
2018-02-25Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry
2018-02-25Merge pull request #16804 from Valentactive/fix_mono_template_compilingRémi Verschelde
fix template builds with mono
2018-02-22fix release builds with monoMichele Valente
"_signals" and "signals_invalidated" were moved out of the "TOOLS_ENABLED" directive. Updated also the two "update_signals" and "_update_signals" methods so it makes sense.
2018-02-22Mono: Add project export pluginIgnacio Etcheverry
2018-02-17implement signal related methods in csharp_script so signals can be used ↵Paul Joannon
with emit
2018-02-17add a [Signal] attribute to CSharpScriptsPaul Joannon
2018-02-01Merge pull request #16205 from neikeq/issue-15053Rémi Verschelde
Mono: Remove automatic script multilevel calls
2018-01-30Added async and await as C# keywords.Nathan Warden
2018-01-30Mono: Remove automatic script multilevel callsIgnacio Etcheverry
2018-01-27Mono: Fix build errors with tools=no and target=releaseIgnacio Etcheverry
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-18fix marshalling when a function is returning an object from c#Paul Joannon
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-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-09Mono: Some fixes for #15463Ignacio Etcheverry
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-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-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-02Exported variables now show in the correct order.Nathan Warden
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-01Make sure gchandle bindings are released before cleanupIgnacio Etcheverry
2017-10-31Mono: support custom script templates.Andreas Haas
Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
2017-10-29Mono: Add build project button and reload intervalIgnacio Etcheverry
2017-10-27Mono: Use "UnnamedProject" if application/config/name is emptyUnknown
2017-10-26Merge pull request #12405 from Jerome67000/clean_getnodetypeRémi Verschelde
Removes Script::get_node_type() [ci skip]
2017-10-25Fix default C# scriptPrzmk
2017-10-25Removes Script::get_node_type()Jerome67000
used before GDScript, with squirrel apparently
2017-10-24Merge pull request #12365 from neikeq/pRémi Verschelde
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog