Age | Commit message (Collapse) | Author |
|
Support script global resource name in EditorFileSystem
|
|
* Works for binary and text files.
* Makes EditorQuickOpen work with custom resources again.
* Information is cached and easily accessible.
Properly fixes #66179. Supersedes #66215 and supersedes #62417
**WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
|
|
This feature was removed from GDScript so it should not be present on
the interface nor in the saved export presets.
|
|
|
|
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
Inner classes get their docs back
|
|
|
|
|
|
GDScript: Fix built-in script `find_class` bugs
|
|
|
|
The crash would happen, theoretically, when getting the type of a invalid
variant.
|
|
|
|
|
|
|
|
GDScript: Fix subclass script path issues
|
|
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
change warnings=all to use /W4.
|
|
See #66870.
|
|
|
|
|
|
|
|
|
|
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
|
|
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
|
|
|
|
|
|
|
|
The crash happens because the members Vector is resized, while the member_indices_cache still has the old indices saved.
On deleting a member from the script this can result to a cached index of 1 while the members Vector size is only 1.
|
|
- RPC configurations are now dictionaries.
- Script.get_rpc_methods renamed to Script.get_rpc_config.
- Node.rpc[_id] and Callable.rpc now return an Error.
- Refactor MultiplayerAPI to allow extension.
- New MultiplayerAPI.rpc method with Array argument (for scripts).
- Move the default MultiplayerAPI implementation to a module.
|
|
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
The error macros print a generic error, which isn't necessary, and could be confusing to end users.
|
|
|
|
|
|
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
|
|
Initialize them with the implicit method so they're not related to the
overriding of the `_ready` method of the script but instead are always
set.
|
|
So it's not shown on docs or when listing the methods. This also avoids
being able to call it using the `call()` function.
|
|
|
|
|
|
Allow setting the PropertyInfo class_name from GDScript custom properties
|
|
Add enum values (Ignore, Warn, Error) to GDScript warnings
|
|
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
|
|
|
|
Always soft-reload scripts
|
|
* Map is unnecessary and inefficient in almost every case.
* Replaced by the new HashMap.
* Renamed Map to RBMap and Set to RBSet for cases that still make sense
(order matters) but use is discouraged.
There were very few cases where replacing by HashMap was undesired because
keeping the key order was intended.
I tried to keep those (as RBMap) as much as possible, but might have missed
some. Review appreciated!
|