summaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
AgeCommit message (Collapse)Author
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
2017-10-24Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry
- 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.
2017-10-22Add _process(delta) to new script templates. Closes #11994.mhilbrunner
2017-10-18Mono: Fix warning about exported static fieldsIgnacio Etcheverry
2017-10-18Mono: Fix build with tools=no or target=releaseIgnacio Etcheverry
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-16Merge pull request #12138 from neikeq/iRémi Verschelde
Avoid adding built-in script path to csproj
2017-10-16Avoid adding built-in script path to csprojIgnacio Etcheverry
2017-10-16Improve signature of signal target generated functionIgnacio Etcheverry
2017-10-16Merge pull request #12135 from neikeq/gIgnacio Etcheverry
Re-write SignalAwaiter implementation
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-11Merge pull request #11954 from neikeq/dIgnacio Etcheverry
Added 'exposed' field to ClassInfo for registered classes
2017-10-09Mono: Make use of ClassInfo's exposed APIIgnacio Etcheverry
- BindingsGenerator only generates exposed classes. - Fix creation of managed instances of non-exposed classes.
2017-10-09Fixed IntPtr unboxing (#11949)Ignacio Etcheverry
- Fix boolean never reset to false - Fix IntPtr unboxing and cleanup
2017-10-07Merge pull request #11894 from neikeq/pr-issue-11834Ignacio Etcheverry
Mono: Make sure editor thread is attached on script reload
2017-10-07Mono: Make sure editor thread is attached on script reloadIgnacio Etcheverry
2017-10-05get parent class fields when updating a CSharpScript's exportsCarter Anderson
This makes the fields viewable / editable in the inspector
2017-10-05Add C# script to csproj when attaching it to an objectIgnacio Etcheverry
2017-10-03Added mono moduleIgnacio Etcheverry