Age | Commit message (Collapse) | Author |
|
Fix subclass finding in extend statement for sub-sub classes
|
|
- `EditorNavigationMeshGenerator` was being registered as part of the Core API,
even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to
set Editor as the current ClassDB API type before creating an instance.
- The `VisualScriptEngineSingleton.constant` property has a property hint string
that's different between tools and non-tools builds. This commit makes the
hint string to no longer be set in `_bind_methods`, and to instead set it in
`_validate_property`. This way it's ignored when calculating the API hash.
- `JavaClassWrapper` is now registered in ClassDB on all platforms,
using a dummy implementation on platforms other than Android.
This fixes API portability between Android and other platforms.
- Updated `--class-db-json` command to ignore non-virtual methods that start
with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
|
|
lookup was always done on top level script instead of advancing to subclass each time.
this commit changes the lookup to always be at last found subclass
|
|
ChibiDenDen/constant_lookup_through_subclass_instance
Fix constant access in base class through subclass instance
|
|
Fixes as issue where a subclass calls a base class method that tries to access a constant from the script.
The original code went through every ower class, and for each owner, went through its inheritance tree.
This seems like the wrong order, the modified code goes to each base class, and for each base class goes through the owner tree.
This is more in line with what the parser does, as the current impelemtation allows an access that the parser does not support.
This change should not negatively affect existing code due to the way the parser works
|
|
ENet optional server_relay when disconnecting peer
|
|
Fix errors raised when showing parse errors in the editor
|
|
Mono/C#: Script interface calls now attach the current thread
|
|
Fixes #26691
|
|
Added guards to all C# script interface calls to attach the current thread
for the current scope if the thread is not already attached.
This is far from ideal, as attaching the thread is not cheap and all managed
thread local storage is lost when we detach the thread at the end of the calls.
However, it's the best we can do for now to avoid crashing
when an unattached thread tries to interact with C# code.
|
|
Validate instances of objects before trying to check their type in GDScript
|
|
Fix function arguments hint format in GDScript editor
|
|
Adds null check before using image loader
|
|
#34161: Keep a weak reference to orphan subclasses to reuse on class reload
|
|
Fixes #27582
|
|
Fix slight problems related to default values of exported typed arrays
|
|
|
|
|
|
for consistency with the format of the documentation:
"type func_name(arg1: type, arg2: type)"
|
|
Fixes #29777.
Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
|
|
|
|
|
|
Fix GridMap getter of baked meshes.
|
|
|
|
Fixes #27185.
|
|
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone)
* Set default for GDscript Language Server to listen only to localhost
Fixes potential security issue with GDScript language server being exposed to the
broad net by default.
Since it is the server which primary usage is to provide utility to the local
editor there is no need to expose it.
|
|
Using codespell 1.16.0.
See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
|
|
Add fully_qualified_name for GDScript class
|
|
Update documentation to reflect HTML5 limitations.
|
|
|
|
|
|
|
|
Mono/C#: Fix _update_exports() leaking temporary Object/Node instances
|
|
|
|
|
|
Needed because otherwise the certain type operations (such as type
casting) used as a function argument might become unresolved on release,
causing a compilation failure.
Fix #28680
|
|
We already build Squish in templates build for S3TC decompression,
so we can as well expose the compression feature.
Fixes #25640.
|
|
Type match on assignment only if operators have type
|
|
This ensures that a value without type won't be wrongly assigned to a
typed variable when the types mismatch.
|
|
|
|
helper
|
|
Restart LSP server when configurations change without restart the editor
|
|
Add check for zero length motion at beginning of each sweep test loop in SpaceBullet::test_body_motion
|
|
GDScript: Forbid using "script" as member name
|
|
Avoids the user breaking things by creating a "script" variable with
something else, effectively overwriting the "script" slot on Object.
|
|
|
|
Complete documentation of various classes
|
|
|
|
This function is available to GDScript but not to GDNative. When exposed, it
allows building more ergonomic safe abstractions over the GDNative APIs, and
covers the use cases of the original PR.
Close #28478. Supersedes #28791.
Co-authored-by: Markus Ewald <cygon@nuclex.org>
|
|
LSP: Fix bracket completion for functions with one argument
|