| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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
(cherry picked from commit c8945fe7d81c6168e300375d2e6d2a9b01612496)
|
| |
|
|
|
|
| |
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.
(cherry picked from commit f8ce412560ed3061340f4b0b9e0457a1249fb528)
|
| |
|
|
| |
(cherry picked from commit 89e84185e8cbd08531ae33554cf78ffba692cf7a)
|
| |
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
| |
(cherry picked from commit 9fd606c549ac53ba2ab1a877be564b1fb56531db)
|
| |
|
|
|
|
|
|
| |
"_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)
|
| |
|
|
| |
(cherry picked from commit f37090ccf4f699800a43878273b8b94b5906f4bc)
|
| |
|
|
|
|
| |
with emit
(cherry picked from commit cfbd7fd21e6630cc513ac3a36849c0f796d142c3)
|
| |
|
|
| |
(cherry picked from commit efd52cd1725145dc9c8038477dbe133b23868e99)
|
| |
|
|
| |
(cherry picked from commit 3dcf0567a11887a460aefc76b3bce8636d688019)
|
| |
|
|
| |
(cherry picked from commit 84437b48645ac688bd182eb9f5f58896e46a752f)
|
| | |
|
| |\
| |
| | |
Fix CSharpInstance::call not initializing CallError
|
| | | |
|
| |/ |
|
| |
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Happy new year to the wonderful Godot community!
|
| | |
|
| |
|
|
|
|
| |
- 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.
|
| |
|
|
| |
- Switch to PascalCase for constants names
|
| | |
|
| | |
|
| |
|
|
| |
Fixes #12973.
|
| |\
| |
| | |
Mono cleanup fixes
|
| | | |
|
| |/
|
|
| |
Also fixes a bug that prevented methods like `duplicate()` from copying the source code. (Copied from GDScript implementation)
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
Removes Script::get_node_type()
[ci skip]
|
| | |
| |
| |
| | |
used before GDScript, with squirrel apparently
|
| |/ |
|
| |\
| |
| | |
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
|
| | |
| |
| |
| |
| | |
- 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.
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- 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.
|
| |\
| |
| | |
Avoid adding built-in script path to csproj
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Re-write SignalAwaiter implementation
|
| | |
| |
| |
| | |
Old implementation had issues where you could only await on the same signal of the same source once.
|
| |\ \
| |/
|/| |
Added 'exposed' field to ClassInfo for registered classes
|
| | |
| |
| |
| |
| | |
- BindingsGenerator only generates exposed classes.
- Fix creation of managed instances of non-exposed classes.
|
| | |
| |
| |
| |
| | |
- Fix boolean never reset to false
- Fix IntPtr unboxing and cleanup
|