summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-12Merge pull request #71224 from rsjtdrjgfuzkfg/openxr-openglRémi Verschelde
OpenXR: Do not use SRGB swapchains with OpenGL
2023-01-12Merge pull request #71034 from rsjtdrjgfuzkfg/openxr-android-warningRémi Verschelde
OpenXR: Fix android loader extension detection
2023-01-12Merge pull request #71228 from vnen/gdscript-fix-nil-address-crashRémi Verschelde
GDScript: Fix temp values being written without proper clear
2023-01-11GDScript: Fix temp values being written without proper clearGeorge Marques
Temporary values in the stack were not being properly cleared when the return value of calls were discarded, which can cause memory issues especially for reference types like PackedByteArray.
2023-01-11Merge pull request #71168 from guilleatm/masterYuri Sizov
Improve description of `GetNodeOrDefault` in C# API
2023-01-11OpenXR: Do not use SRGB swapchains with OpenGLrsjtdrjgfuzkfg
This commit removes SRGB swapchain options for use with OpenGL, to avoid the hardware doing an additional SRGB conversion and thus causing colors to differ from other rendering paths.
2023-01-11Improve description of `GetNodeOrDefault` in C# APIGuillermo
Indenting with spaces and added a line break Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-11OpenXR: Fix initialization warning on Androidrsjtdrjgfuzkfg
This commit adds proper checking for XR_KHR_loader_init support and fixes the warning regarding missing extensions on Android to only appear if neither XR_KHR_loader_init nor XR_KHR_loader_init_android are supported by the runtime.
2023-01-11Merge pull request #70167 from rsjtdrjgfuzkfg/picoRémi Verschelde
OpenXR: Add Pico controller profile
2023-01-11Merge pull request #71127 from reduz/drag-forward-to-callablesRémi Verschelde
Change set_drag_forwarding() to use callables.
2023-01-11Merge pull request #70595 from adamscott/add-gdscript-editorconfigRémi Verschelde
Add GDScript `.editorconfig` rules
2023-01-10GDScript: Fix use of conversion assign for variant valuesGeorge Marques
2023-01-10Add GDScript `.editorconfig` rulesAdam Scott
- Uniformize `.gd` unit test files indentation to tabs (where needed)
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* 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
2023-01-10Merge pull request #71140 from vonagam/fix-const-index-subscript-typeRémi Verschelde
GDScript: Fix type for index subscript on constant
2023-01-10GDScript: Fix type for index subscript on constantDmitrii Maganov
2023-01-09Fix GDScript base and outer classes, signals and functions lookup orderAdam Scott
- Add outer class lookup test - Add signal lookup test Co-authored-by: Dmitrii Maganov <vonagam@gmail.com>
2023-01-09Merge pull request #71051 from vonagam/consts-are-deep-startRémi Verschelde
GDScript: Begin making constants deep, not shallow or flat
2023-01-09Merge pull request #69590 from anvilfolk/enumsRémi Verschelde
GDScript enum fixes & refactor
2023-01-09Merge pull request #70721 from Faless/mp/4.x_fix_relay_optionRémi Verschelde
[MP] Fix server_relay being unsettable.
2023-01-09[MP] Convert _spawn_custom to a Callable property.Fabio Alessandrelli
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.
2023-01-09Assorted enum and native type fixesocean (they/them)
2023-01-09Merge pull request #71114 from reduz/cleanup-property-hintsRémi Verschelde
Removed unused property hints and `Object::get_translatable_strings()`
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* 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>
2023-01-09C#: Add `[Flags]` attribute to core bitfield enumsRaul Santos
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-08GDScript: Begin making constants deep, not shallow or flatDmitrii Maganov
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-06OpenXR: Add preliminary Pico controller profilersjtdrjgfuzkfg
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.
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