Age | Commit message (Collapse) | Author |
|
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".
|
|
|
|
Added option to `get_path_to()` to get the shortest path considering unique name
|
|
Make `Node.print_orphan_nodes()` static
|
|
Update "Parent node is busy" errors to use `Callable.call_deferred()`
|
|
Also fixes outdated method names in the messages.
|
|
|
|
Remove more instances of 'instance' being used as a verb
|
|
|
|
|
|
Strip ERR_FAIL from `Node.remove_from_group()`
|
|
|
|
Also simplifies group check removing unnecessary `!data.grouped.has`
|
|
|
|
Unify usage of GLOBAL/EDITOR_GET
|
|
Rename queue_delete => queue_free
|
|
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
|
|
|
|
|
|
|
|
Co-authored-by: ryburnj <jordanryburn@gmail.com>
|
|
change warnings=all to use /W4.
|
|
- `LIBC_FILEIO_ENABLED` wasn't defined anywhere, even in _other platforms_.
- `NO_NETWORK` is also never defined. It probably isn't enough anyway to
disable network APIs in the current codebase.
- `UNIX_SOCKET_UNAVAILABLE` is never defined in this code but used by some
other platforms, clarify that.
- `NO_STATVFS` can be removed as Android supports it since API level 19,
which is our current min SDK level. It's also only used for
`DirAccessUnix::get_space_left()` which is anyway overridden by
`DirAccessJAndroid::get_space_left()` so it shouldn't make a difference.
* Fixed documentation for `DirAccess.get_space_left()`.
- `NO_FCNTL` is likely also a remnant of early Android days, in current NDK
r23 it seems to be available. Also cleaned up unused `fcntl.h` includes.
- `NO_ALLOCA` is never defined, and we use alloca in many places now.
|
|
|
|
Allow negative indices in `move_child()`
|
|
|
|
|
|
Rename raise() to move_to_front()
|
|
With the introduction of Scene Unique Nodes, `is_unique_in_owner`, "Unique Name in Scene" and other descriptions related to the feature, the second parameter of add_child() and add_simbling() could be misunderstood to be related, at first glance.
|
|
|
|
|
|
|
|
|
|
Unify node casing adjustment
|
|
|
|
|
|
|
|
StackOverflow on why this is needed: https://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file
Minor mistake in commit ca7d572908c58c587214b8f65bdd4078d0185ab2
|
|
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
|
- 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.
|
|
This also adds `SNAME()` macros where relevant to improve performance.
|
|
|
|
* Update visibility again for editor-only lights if owner changes.
Fixes #26399, supersedes #52327
|
|
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.
Fixes #59210.
|
|
|
|
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
|
|
|
|
* 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!
|
|
|