Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
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
|
|
|
|
[TextServer] Make `free` calls thread safe.
|
|
jamesmintram/jamesm/bugfix/gltf-import-fix-stale-node-ref
Update stale node ref after replace_by in GLTF importer
|
|
GDScript: Error when assigning return value of void function
|
|
Add safety-checks before some servers `free()`
|
|
GDScript: Disallow return with value in void functions
|
|
Inner classes get their docs back
|
|
|
|
* Removed instruction argument count and instruction prefetching. This is now done on the fly. Reduces jumps.
* OPCODE_DISPATCH now goes directly to the next instruction, like in Godot 3.x.
I have nothing I can use to test performance, so if anyone wants to lend a hand and compare with master (both on debug and release), it would be very welcome.
|
|
|