| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
dalexeev/gds-fix-non-static-access-in-static-context
GDScript: Fix access non-static members in static context
|
| | |
|
|\ \
| | |
| | |
| | | |
GDScript: Call implicit ready on base script first
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: Perform validated calls with static methods
|
| | |
| | |
| | |
| | |
| | |
| | | |
When the types are validated at compile time, this type of call runs
faster. It is already used for instance methods, this adds this
optimization to native static methods as well.
|
|\ \ \
| |_|/
|/| |
| | | |
[Core] Fix property access on read-only `Dictionary`
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
GDScript: Assume constructor to be accessible from class
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since the constructor is accessed directly from the class, even if not
marked `static`, it can be retrieved as a Callable without an instance.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
GDScript: Resolve types from autoload scenes
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When the autoload is a scene, it now extracts the script from it and
use it to further infer nested types.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Organize existing code for editor plugins
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | | |
LSP: Have `GDScriptWorkspace::list_script_files` respect `.gdignore`.
|
| | |_|/ /
| |/| | | |
|
| |_|_|/
|/| | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
GDScript: Fix uninitialized local variables not being reset
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Completion Tests: Add script to owner
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
GDScript: Improve DocGen for non-constant expressions
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | | |
rune-scape/rune-gdscript-dependant-parser-ref-errors
GDScript: Fix out of date errors in depended scripts
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | | |
[GDScript] Clean up some unused code
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
vnen/gdscript-no-unused-constant-warning-with-underscore
GDScript: Suppress unused constant warning with underscore
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The warning message mentions that local constants prefixed with `_` does
not generate the warning. This commit actually implements this warning
suppression.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
GDScript: Fix continuation lines in `GDScriptTokenizerBuffer`
|
| | | | | | |
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | | |
An enum value is always an integer so the cast is valid. The code here
now consider this case to avoid giving an error message.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently array and dictionary expressions cannot be spread over
multiple lines in match statements.
Adding mutliline push/pop while parsing the pattern for bracket and
brace enables the ability for these to be multiline. This enables more
complex patterns to be matched without exceeding line limits.
Fixes #90372
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
GDScript: Infer type with string format operator
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the left value type is known to be String, assume the format operator
(`%`) will return a string, since it works with any type in the right
hand side. This is also used by type inference even if the right hand
type is unknown at compile time.
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | | |
GDScript: Don't warn on unassigned for builtin-typed variables
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the type of a variable is a built-in Variant type, then it will
automatically be assigned a default value based on the type. This means
that the explicit initialization may be unnecessary. Thus this commit
removes the warning in such case.
This also changes the meaning of the unassigned warning to happen when
the variable is used before being assigned, not when it has zero
assignments.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Fix enum autocompletion for core classes
|
| | | | |
| | | | |
| | | | |
| | | | | |
Minor fix consisted in the use of [[fallthrough]] macro
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | | |
GDScript: Fix `UNSAFE_CAST` warning
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
[Doc] Document loading behavior with relative paths
|
| | |_|_|/
| |/| | | |
|