summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-13GDScript: Disallow type inference with untyped initializerDmitrii Maganov
2023-01-13Merge pull request #71325 from reduz/refactor-project-setting-overridesRémi Verschelde
Refactor ProjectSetting overrides
2023-01-13Merge pull request #71329 from vnen/gdscript-fix-enum-value-resolutionRémi Verschelde
GDScript: Fix infinite recursion in resolution of enum values
2023-01-13Merge pull request #70540 from vaartis/multiline-arrays-dictionariesRémi Verschelde
Implement export_multiline support for Array[String] and Dictionary
2023-01-13Refactor ProjectSetting overridesJuan Linietsky
* Overrides no longer happen for set/get. * They must be checked with a new function: `ProjectSettings::get_setting_with_override()`. * GLOBAL_DEF/GLOBAL_GET updated to use this This change solves many problems: * General confusion about getting the actual or overriden setting. * Feature tags available after settings are loaded were being ignored, they are now considered. * Hacks required for the Project Settings editor to work. Fixes #64100. Fixes #64014. Fixes #61908.
2023-01-13GDScript: Fix infinite recursion in resolution of enum valuesGeorge Marques
2023-01-12Merge pull request #70904 from huangjiaminhhh/masterRémi Verschelde
Fix for navmesh baking when parsing StaticBody colliders
2023-01-12Merge pull request #71247 from rsjtdrjgfuzkfg/etcpakRémi Verschelde
etcpak: Fix ETCPAK_TYPE_ETC2_RA_AS_RG
2023-01-12Merge pull request #70733 from vonagam/fix-assigning-untypedRémi Verschelde
GDScript: Fix some issues with assignments that involve untyped things
2023-01-12Merge pull request #71197 from adamscott/add-default-virtual-path-gdscriptRémi Verschelde
Add default virtual `gdscript://` path to `GDScript` instances
2023-01-12Merge pull request #70700 from vonagam/fix-abstract-extendsRémi Verschelde
GDScript: Fix extending abstract classes, forbid their construction
2023-01-12GDScript: Fix extending abstract classes, forbid their constructionDmitrii Maganov
2023-01-12Add default virtual `gdscript://` path to `GDScript` instancesAdam Scott
2023-01-12GDScript: Fix some issues with assignments that involve untyped thingsDmitrii Maganov
2023-01-12Merge pull request #70899 from adamscott/fix-vector-infRémi Verschelde
Fix parse error using Vector{2,3,4}.INF
2023-01-12GDScript: Fix getting type from PropertyInfo for Variant argumentsDmitrii Maganov
2023-01-12Merge pull request #70987 from vonagam/fix-parameter-conversion-assignGeorge Marques
2023-01-12Merge pull request #70713 from vonagam/fix-unnamed-enum-outer-conflictsGeorge Marques
2023-01-12GDScript: Fix small inconsistencies with resolve_datatypeDmitrii Maganov
2023-01-12Merge pull request #70731 from smix8/navigationserver_performance_monitor_4.xRémi Verschelde
Add NavigationServer Performance Monitor
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-11etcpak: Fix ETCPAK_TYPE_ETC2_RA_AS_RGrsjtdrjgfuzkfg
This commit fixes texture compression via ETCPAK_TYPE_ETC2_RA_AS_RG, switching to the right color channels and using the right compression method. Textures imported with previous versions need to be re-imported in order to render correctly.
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.