summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-84/+167
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Mono: Change BindingsGenerator singleton to avoid StringName leaksIgnacio Etcheverry2018-01-011-0/+8
|
* Mono: Script lifetime fixesIgnacio Etcheverry2018-01-011-23/+61
| | | | | | - 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-241-1/+1
| | | | - Switch to PascalCase for constants names
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-2/+2
|
* Exported variables now show in the correct order.Nathan Warden2017-12-021-2/+2
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-1/+1
| | | | Fixes #12973.
* Merge pull request #12549 from neikeq/seriously-do-theyIgnacio Etcheverry2017-11-011-0/+11
|\ | | | | Mono cleanup fixes
| * Make sure gchandle bindings are released before cleanupIgnacio Etcheverry2017-11-011-0/+11
| |
* | Mono: support custom script templates.Andreas Haas2017-10-311-0/+62
|/ | | | Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
* Mono: Add build project button and reload intervalIgnacio Etcheverry2017-10-291-0/+4
|
* Mono: Use "UnnamedProject" if application/config/name is emptyUnknown2017-10-271-4/+7
|
* Merge pull request #12405 from Jerome67000/clean_getnodetypeRémi Verschelde2017-10-261-5/+0
|\ | | | | | | | | Removes Script::get_node_type() [ci skip]
| * Removes Script::get_node_type()Jerome670002017-10-251-5/+0
| | | | | | | | used before GDScript, with squirrel apparently
* | Fix default C# scriptPrzmk2017-10-251-1/+1
|/
* Merge pull request #12365 from neikeq/pRémi Verschelde2017-10-241-2/+9
|\ | | | | Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
| * Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-241-2/+9
| | | | | | | | | | - 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.
* | Add _process(delta) to new script templates. Closes #11994.mhilbrunner2017-10-221-1/+8
|/
* Mono: Fix warning about exported static fieldsIgnacio Etcheverry2017-10-181-1/+2
|
* Mono: Fix build with tools=no or target=releaseIgnacio Etcheverry2017-10-181-0/+2
|
* Export attribute fixes and improvementsIgnacio Etcheverry2017-10-171-17/+31
| | | | | | - 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.
* Merge pull request #12138 from neikeq/iRémi Verschelde2017-10-161-6/+9
|\ | | | | Avoid adding built-in script path to csproj
| * Avoid adding built-in script path to csprojIgnacio Etcheverry2017-10-161-6/+9
| |
* | Improve signature of signal target generated functionIgnacio Etcheverry2017-10-161-4/+73
|/
* Merge pull request #12135 from neikeq/gIgnacio Etcheverry2017-10-161-42/+2
|\ | | | | Re-write SignalAwaiter implementation
| * Re-write SignalAwaiter implementationIgnacio Etcheverry2017-10-161-42/+2
| | | | | | | | Old implementation had issues where you could only await on the same signal of the same source once.
* | Merge pull request #11954 from neikeq/dIgnacio Etcheverry2017-10-111-0/+7
|\ \ | |/ |/| Added 'exposed' field to ClassInfo for registered classes
| * Mono: Make use of ClassInfo's exposed APIIgnacio Etcheverry2017-10-091-0/+7
| | | | | | | | | | - BindingsGenerator only generates exposed classes. - Fix creation of managed instances of non-exposed classes.
* | Fixed IntPtr unboxing (#11949)Ignacio Etcheverry2017-10-091-1/+1
| | | | | | | | | | - Fix boolean never reset to false - Fix IntPtr unboxing and cleanup
* | Merge pull request #11894 from neikeq/pr-issue-11834Ignacio Etcheverry2017-10-071-0/+25
|\| | | | | Mono: Make sure editor thread is attached on script reload
| * Mono: Make sure editor thread is attached on script reloadIgnacio Etcheverry2017-10-071-0/+25
| |
* | get parent class fields when updating a CSharpScript's exportsCarter Anderson2017-10-051-22/+31
|/ | | | This makes the fields viewable / editable in the inspector
* Add C# script to csproj when attaching it to an objectIgnacio Etcheverry2017-10-051-15/+44
|
* Added mono moduleIgnacio Etcheverry2017-10-031-0/+1853