summaryrefslogtreecommitdiff
path: root/doc/classes/ProjectSettings.xml
AgeCommit message (Collapse)Author
2023-02-20[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid ↵bruvzg
conflicts with special character input.
2023-02-16Exclude platform dependent `rendering/textures/vram_compression/import_*` ↵bruvzg
default values from documentation.
2023-02-16Merge pull request #73412 from timothyqiu/doc-fixesRémi Verschelde
Fix a few typos in the class reference
2023-02-16Fix a few typos in the class referenceHaoyu Qiu
2023-02-15iOS: Fix memory leak on touch inputTravis Veralrud
Replace incomplete iOS gesture with touch implementation. Fixes #66422.
2023-02-13Document unsupported features in Mobile and Compatibility rendering methodsHugo Locurcio
2023-02-12Add missing period for sentences in classrefHaoyu Qiu
2023-02-10GDScript: Remove `treat_warnings_as_errors` project settingDanil Alexeev
2023-02-05Merge pull request #72608 from vnen/gdscript-warning-default-errorYuri Sizov
GDScript: Add warnings that are set to error by default (take 2)
2023-02-04Expose and document ProjectSettings.get_global_class_list()bitsawer
2023-02-02GDScript: Add warnings that are set to error by defaultGeorge Marques
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all.
2023-02-01Revert "GDScript: Add warnings that are set to error by default"Rémi Verschelde
This reverts commit a166833bfa23a21a7bff196a85a20b014e7c1396. This caused multiple regressions. Needs to be redone with more testing before merge. Fixes #72501.
2023-02-01Merge pull request #72487 from vnen/gdscript-warning-default-errorRémi Verschelde
GDScript: Add warnings that are set to error by default
2023-02-01Merge pull request #72462 from raulsntos/docs/dotnet-renamesRémi Verschelde
Fix C# examples in documentation for 4.0
2023-02-01GDScript: Add warnings that are set to error by defaultGeorge Marques
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all.
2023-01-31Fix C# examples in documentationRaul Santos
- Fix documentation after C# renames. - Add missing `partial` in C# class declarations. - Change `delta` parameter type to `double` in C#. - Ensure parameters match base declaration. - Use `$` string interpolation in C#. - Fix invalid or outdated C# code. - Changed some examples to follow our style guide more closely.
2023-01-31Add NavigationAgent Path Debug Visualizationsmix8
Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
2023-01-31Merge pull request #72206 from vnen/gdscript-allow-void-return-shorthandRémi Verschelde
GDScript: Allow void functions to return calls to other void functions
2023-01-31Merge pull request #57520 from jordigcs/gd-rename-mapRémi Verschelde
Add hint for identifiers renamed from 3.x to 4.0
2023-01-31GDScript: Allow void functions to return calls to other void functionsGeorge Marques
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-29GDScript: Fix constant conversionsDmitrii Maganov
2023-01-24Merge pull request #65137 from dalexeev/editor-namingYuri Sizov
Rearrange `editor/naming/*` project settings
2023-01-24Add hint for identifiers renamed since Godot 3jordi
2023-01-23Document changing V-Sync at runtime in the class referenceHugo Locurcio
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-23Merge pull request #71676 from vnen/gdscript-unicode-identifiersRémi Verschelde
Add support for Unicode identifiers in GDScript and Expression
2023-01-21Add support for Unicode identifiers in GDScriptGeorge Marques
This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything.
2023-01-19Reorganize main and sub-window initial position properties.bruvzg
2023-01-18C#: Move `GLOBAL_DEF`s to CSharpLanguage ctorRaul Santos
Also documents the .NET project settings.
2023-01-14Merge pull request #71328 from reduz/button-shortcuts-no-longer-pressYuri Sizov
Button shortcuts no longer "press" the Button.
2023-01-13Button shortcuts no longer "press" the Button.Juan Linietsky
* Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes #45033 and possibly others.
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-12Rearrange `editor/naming/*` project settingsDanil Alexeev
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
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-21Added the possibility to define a default value in ↵Marius Hanl
ProjectSettings.get_setting(), which is used when no setting is set. Also added tests for the project settings. Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-12-17Merge pull request #70204 from Calinou/ios-remove-disable-touch-settingRémi Verschelde
Remove Disable Touch debug project setting
2022-12-17Remove Disable Touch debug project settingHugo Locurcio
This project setting was only implemented and iOS and likely served no purpose outside of debugging during development of engine features. It was also located in a confusing location in the project settings editor, as it was located below a root category (which appears in bold and is normally not seen as clickable by users).
2022-12-17Move transparent background project setting to a subsectionHugo Locurcio
This prevents the project setting from being located directly within a root category, which is confusing from an UX perspective in the project settings editor.
2022-12-13Remove high quality glow as it is not any higher quality than regular glowclayjohn
2022-12-06Make submitting depth buffer in OpenXR optionalBastiaan Olij
2022-11-28Merge pull request #68836 from ↵Rémi Verschelde
Calinou/projectsettings-vrs-texture-allow-more-formats Allow all lossless image formats to be used for VRS texture project setting
2022-11-22Merge pull request #68948 from KoBeWi/eeny_meeny_miny_moeRémi Verschelde
Fill random docs
2022-11-22Fill random docskobewi
2022-11-22GDScript: Don't warn about RETURN_VALUE_DISCARDED by defaultRémi Verschelde
This happens too often with normal usage of the API. The warning can still be useful to find actual bugs where discarding the return value wasn't intentional, but this should stay enabled manually, at least until we either improve the API to remove false positives, or improve the warning (e.g. to only warn about unused return value on const functions).
2022-11-18Allow all lossless image formats to be used for VRS texture project settingHugo Locurcio
WebP can also be lossy, but the class reference now warns about the requirement to use a lossless format for the VRS texture to work correctly.
2022-11-15Merge pull request #64077 from ↵Rémi Verschelde
Calinou/tweak-audiostreamplayer2d3d-default-panning Decrease default AudioStreamPlayer2D/3D panning strength
2022-11-15Merge pull request #67948 from DeeJayLSP/split_webpRémi Verschelde
Overhaul WebP packer and split compression options
2022-11-15Merge pull request #65836 from Calinou/add-max-physics-steps-per-frame-settingRémi Verschelde
Implement adjusting the maximum number of physics steps per rendered frame