aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mono: Avoid invalid class names.Andreas Haas2018-04-151-0/+1
| | | | | | | | | 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 (cherry picked from commit 700d07cf7cae4e28de107e0c274b27c857d98450)
* fix release builds with monoMichele Valente2018-02-271-3/+3
| | | | | | | | "_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. (cherry picked from commit 3c7d9001bc9591368d743e9bd6cc29a74c7bddd5)
* implement signal related methods in csharp_script so signals can be used ↵Paul Joannon2018-02-191-3/+9
| | | | | | with emit (cherry picked from commit cfbd7fd21e6630cc513ac3a36849c0f796d142c3)
* add a [Signal] attribute to CSharpScriptsPaul Joannon2018-02-191-0/+5
| | | | (cherry picked from commit efd52cd1725145dc9c8038477dbe133b23868e99)
* Mono: Remove automatic script multilevel callsIgnacio Etcheverry2018-02-051-2/+0
| | | | (cherry picked from commit 84437b48645ac688bd182eb9f5f58896e46a752f)
* Mono: Fix build errors with tools=no and target=releaseIgnacio Etcheverry2018-01-271-0/+4
|
* Mono: Implement stack info for errors and exceptionsIgnacio Etcheverry2018-01-091-1/+3
|
* 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.
* Mono: Add properties support in scriptsIgnacio Etcheverry2018-01-041-0/+4
|
* 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-5/+10
| | | | | | - 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: support custom script templates.Andreas Haas2017-10-311-2/+9
| | | | Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
* Removes Script::get_node_type()Jerome670002017-10-251-1/+0
| | | | used before GDScript, with squirrel apparently
* Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-241-0/+1
| | | | | - Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
* Re-write SignalAwaiter implementationIgnacio Etcheverry2017-10-161-1/+3
| | | | Old implementation had issues where you could only await on the same signal of the same source once.
* Added mono moduleIgnacio Etcheverry2017-10-031-0/+338