Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
Fixes https://github.com/godotengine/godot/issues/62650
|
|
Remove the `VOID_ASSIGNMENT` warning since those cases will be errors
now.
|
|
Fixes https://github.com/godotengine/godot/issues/54018
Fixes https://github.com/godotengine/godot/issues/70213
Fixes https://github.com/godotengine/godot/issues/70495
|
|
This also makes built-in method calls empty the return value when the
method is void, to avoid keeping returning a garbage value in such case.
|
|
C#: Skip getting class info for unbound generics
|
|
|
|
|
|
- Avoid generic types in `ScriptPathAttributeGenerator`, this
means they won't be added to the `[AssemblyHasScripts]` attribute
and a `[ScriptPath]` attribute won't be added to the class.
Since generic classes can't be used as scripts they shouldn't use
those attributes, this also makes CSharpScript consider those types
invalid since they won't be added to the script/type map.
- Avoid generic types in `ScriptManagerBridge.LookupScriptsInAssembly`.
- Set `outMethodsDest` in `ScriptManagerBridge.UpdateScriptClassInfo`.
|
|
|
|
|