Age | Commit message (Collapse) | Author |
|
Improve description of `GetNodeOrDefault` in C# API
|
|
Indenting with spaces and added a line break
Co-authored-by: Raul Santos <raulsntos@gmail.com>
|
|
OpenXR: Add Pico controller profile
|
|
Change set_drag_forwarding() to use callables.
|
|
Add GDScript `.editorconfig` rules
|
|
|
|
- Uniformize `.gd` unit test files indentation to tabs (where needed)
|
|
* This solution is much cleaner than the one in 3.x thanks to the use of callables.
* Works without issues in any language (no need to worry about camel or snake case).
* Editor code uses a compatibility function (too much work to redo).
Fixes #59899
|
|
GDScript: Fix type for index subscript on constant
|
|
|
|
- Add outer class lookup test
- Add signal lookup test
Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
|
|
GDScript: Begin making constants deep, not shallow or flat
|
|
GDScript enum fixes & refactor
|
|
[MP] Fix server_relay being unsettable.
|
|
Renamed to "spawn_function".
Allow both custom spawn and auto spawn list to co-exist.
This makes it possible to implement custom spawn without being forced to
attach a script to MultiplayerSpawner directly.
|
|
|
|
Removed unused property hints and `Object::get_translatable_strings()`
|
|
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
|
|
GDScript: Don't use the NIL address to hold return value of functions
|
|
GDScript: Fix multiline and trailing comma for assert
|
|
|
|
This prevents that the NIL address is filled with another value, which
causes problems for some instructions that read from NIL.
|
|
adamscott/make-gdscript-clear-less-prone-to-heap-use-after-free
Resolve `GDScript::clear()` `heap-use-after-free` ASAN errors
|
|
Also includes #71080.
Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
|
|
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
|
|
[4.x] Rework const on NavigationServer methods
|
|
|
|
This was missing in the conversion of bitflags to BitField<>.
|
|
|
|
|
|
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
|
|
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
|
|
This commit adds the Pico controller used in the Pico 4 as implemented
in current versions of the OpenXR runtime on the device itself. Note
that the extension and paths used in this commit might become obsolete
once there is official support for the Pico 4 in the OpenXR standard.
|
|
Add tests for FastNoiseLite/NoiseTexture
|
|
|
|
+ fix some issues with seamless noise generation
|
|
Unify typing of variables, constants and parameters in GDScript
|
|
Fix pingpong-loop with `loop_wrap` is not working & clean-up cubic interpolation key retrieve process
|
|
|
|
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".
|
|
Optimizations for GDScript VM
|
|
Various improvements to OpenXR extension wrappers
|
|
Cache script when reloading even if there's errors
|
|
Made extension container in OpenXRAPI static
Moved controller meta data into extensions where applicable
|
|
GDScript: Fix wrong native type for preloaded class
|
|
Stop NodeRef highlighting if you start with a number
|
|
|