| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\
| | |
| | |
| | | |
Avoid unnecessary `Dictionary` conversions in `GDScriptInstance::validate_property`
|
| | |
| | |
| | |
| | | |
Updated GDScriptInstance::validate_property to only convert PropertyInfo to Dictionary if _validate_property function is found.
|
|\ \ \
| | | |
| | | | |
Fix copyright headers referring to Godot
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
|
| |\ \
| | | |
| | | |
| | | | |
Fix resource loader not resolving shallow loaded scripts through dependencies
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
Add some comments to `#endif's` where it helps readability
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | | |
Also added some new line to improve readability
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
|
|\| | | |
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
GDScriptNativeClass: Allow getting static function as callable
|
| | | | |
|
|\| | | |
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Credits:
Co-authored-by: Skogi <skogi.b@gmail.com>
Co-authored-by: Spartan322 <Megacake1234@gmail.com>
Co-authored-by: swashberry <swashdev@pm.me>
Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>
Co-authored-by: radenthefolf <radenthefolf@gmail.com>
Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com>
Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com>
Co-authored-by: decryptedchaos <nixgod@gmail.com>
Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com>
Co-authored-by: Mister Puma <MisterPuma80@gmail.com>
Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com>
Co-authored-by: SingleError <isaaconeoneone@gmail.com>
Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
|
|\ \
| | |
| | |
| | | |
Expose `get_rpc_config` and `get_node_rpc_config`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
add documentation
Update doc/classes/Node.xml
change name of get_node_rpc_config to get_rpc_config
Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com>
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | | |
GDScript: Fix small mistake in script valid checks
|
| |/ |
|
| | |
|
| | |
|
|\ \
| |/
|/|
| | |
Allow live reloading of built-in scripts
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| | |
GDScript: Partially allow member lookup on invalid scripts
|
| |
| |
| |
| |
| | |
+ always default initialize static variables
+ dont invalidate script when dependant scripts don't compile/resolve
|
| | |
|
|\ \
| | |
| | |
| | | |
Fix broken built-in script reloading
|
| |/ |
|
|/ |
|
| |
|
|\
| |
| |
| | |
Use Core/Scene stringnames consistently
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit dc73440f899e6f32de748787e946ad762771fda0.
This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.
So reverting for now to give ourselves time to iron this out for a future
Godot release.
Fixes #91726.
|
| |
|
|\
| |
| |
| | |
GDScript: Initialize static variables with defaults in-editor
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the script is not marked as `@tool` the static constructor is not
called and thus the variables contain `null` by default. But since some
validated operations requires a valid value, this would cause a crash.
This commit solves this by initializing the static variables with a
default value based on their types in the editor, when they are not
marked as `@tool`, so if some `@tool` script access them, they will have
a valid typed value, avoiding the crash.
|
|/
|
|
|
|
|
| |
It is generally expected that the base class is called before the
inherited clas. This commit implements this behavior for the implicit
ready function (`@onready` annotation) to make it consistent with the
expectations.
|
|\
| |
| |
| | |
GDScript: Implement `get_dependencies()`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The parser and analyzer now track the dependencies of the script and
return the list when the resource loader ask for them.
What is considered a dependency:
- Any `preload()` call.
- The base script this one extends.
- Any identifier, including types, that refers to global scripts.
- Any autoload singleton reference.
|
|/ |
|
|
|
|
|
|
|
|
| |
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
|
| |
|
|
|
|
|
|
|
| |
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
|
| |
|
|\
| |
| |
| | |
Allow registering "runtime classes" from GDExtension
|
| | |
|