summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-09Merge pull request #71107 from vnen/gdscript-fix-nil-address-assignRémi Verschelde
GDScript: Don't use the NIL address to hold return value of functions
2023-01-09Merge pull request #70655 from vonagam/fix-assert-multilineRémi Verschelde
GDScript: Fix multiline and trailing comma for assert
2023-01-09GDScript: Allow using await on calls to void functionsGeorge Marques
2023-01-09GDScript: Don't use the NIL address to hold return value of functionsGeorge Marques
This prevents that the NIL address is filled with another value, which causes problems for some instructions that read from NIL.
2023-01-09Merge pull request #71028 from ↵Rémi Verschelde
adamscott/make-gdscript-clear-less-prone-to-heap-use-after-free Resolve `GDScript::clear()` `heap-use-after-free` ASAN errors
2023-01-09Fix typos with codespellRémi Verschelde
Also includes #71080. Co-authored-by: Psychpsyo <60073468+Psychpsyo@users.noreply.github.com>
2023-01-08Merge pull request #71037 from reduz/array-format-bitfieldRémi Verschelde
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08Merge pull request #70463 from DarkKilauea/nav-server-constRémi Verschelde
[4.x] Rework const on NavigationServer methods
2023-01-08GDScript: Fix multiline and trailing comma for assertDmitrii Maganov
2023-01-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.
2023-01-07Force double quotes for NodePaths with apostrophesjordi
2023-01-07Rework const on NavigationServer methodsJosh Jones
`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.
2023-01-07Resolve `GDScript::clear()` `heap-use-after-free` ASAN errorsAdam Scott
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06GDScript: Fix typing of lambda functionsDmitrii Maganov
2023-01-06Merge pull request #70919 from Geometror/test-fastnoise-liteRémi Verschelde
Add tests for FastNoiseLite/NoiseTexture
2023-01-06GDScript: Fix array as default value for parameterDmitrii Maganov
2023-01-06Add tests for FastNoiseLite/NoiseTextureHendrik Brucker
+ fix some issues with seamless noise generation
2023-01-06Merge pull request #70464 from vonagam/unify-assignablesRémi Verschelde
Unify typing of variables, constants and parameters in GDScript
2023-01-06Merge pull request #70547 from TokageItLab/pingpong-wrapRémi Verschelde
Fix pingpong-loop with `loop_wrap` is not working & clean-up cubic interpolation key retrieve process
2023-01-06Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2023-01-05Merge pull request #70838 from reduz/gdscript-vm-optimizationRémi Verschelde
Optimizations for GDScript VM
2023-01-05Merge pull request #70694 from BastiaanOlij/change_openxr_extensionsRémi Verschelde
Various improvements to OpenXR extension wrappers
2023-01-04Merge pull request #70810 from adamscott/cache-gdscript-even-when-errorRémi Verschelde
Cache script when reloading even if there's errors
2023-01-04Removed member variables from OpenXRExtensionWrapperBastiaan Olij
Made extension container in OpenXRAPI static Moved controller meta data into extensions where applicable
2023-01-03Merge pull request #70859 from vonagam/fix-preload-native-typeRémi Verschelde
GDScript: Fix wrong native type for preloaded class
2023-01-03Merge pull request #70875 from MewPurPur/stop-highlighting-invalid-node-refsRémi Verschelde
Stop NodeRef highlighting if you start with a number
2023-01-03Stop highlighting node refs if they are invalid identifiersVolTer
2023-01-03Merge pull request #70850 from bruvzg/ts_tsafe_freeRémi Verschelde
[TextServer] Make `free` calls thread safe.
2023-01-03Merge pull request #70811 from ↵Rémi Verschelde
jamesmintram/jamesm/bugfix/gltf-import-fix-stale-node-ref Update stale node ref after replace_by in GLTF importer
2023-01-03Merge pull request #70702 from vnen/gdscript-error-on-assign-voidRémi Verschelde
GDScript: Error when assigning return value of void function
2023-01-03Merge pull request #69972 from adamscott/add-server-checks-before-freeRémi Verschelde
Add safety-checks before some servers `free()`
2023-01-03Merge pull request #70656 from vonagam/fix-void-returnsRémi Verschelde
GDScript: Disallow return with value in void functions
2023-01-03Merge pull request #70503 from rune-scape/inner-class-docsRémi Verschelde
Inner classes get their docs back
2023-01-03GDScript: Fix wrong native type for preloaded classDmitrii Maganov
2023-01-02Optimizations for GDScript VMJuan Linietsky
* 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.
2023-01-02[TextServer] Make `free` calls thread safe.bruvzg
2023-01-01Update stale node ref after replace_by in GLTF importerJames Mintram
2023-01-01Cache script when reloading even if there's errors.Adam Scott
2022-12-30Merge pull request #62688 from cdemirer/assignments-and-typesGeorge Marques
Fixes https://github.com/godotengine/godot/issues/62650
2022-12-30GDScript: Make using return of void function an errorGeorge Marques
Remove the `VOID_ASSIGNMENT` warning since those cases will be errors now.
2022-12-30Merge pull request #70613 from vonagam/fix-enum-as-constantGeorge Marques
Fixes https://github.com/godotengine/godot/issues/54018 Fixes https://github.com/godotengine/godot/issues/70213 Fixes https://github.com/godotengine/godot/issues/70495
2022-12-30GDScript: Error when assigning return value of void functionGeorge Marques
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.
2022-12-30Merge pull request #70511 from raulsntos/dotnet/fix-update-script-class-infoIgnacio Roldán Etcheverry
C#: Skip getting class info for unbound generics
2022-12-29Add safety-checks before some servers `free()`Adam Scott
2022-12-29GDScript: Disallow return with value in void functionsDmitrii Maganov
2022-12-28C#: Avoid generic types in the script path attribute generatorRaul Santos
- 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`.
2022-12-28Fix usage of Enum as constantDmitrii Maganov
2022-12-27GDScript: Fix return type of constructor call for extending classDmitrii Maganov