summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-01-26Merge pull request #72008 from vonagam/fix-property-access-unsafe-markRémi Verschelde
GDScript: Fix marking of line with unsafe property access as unsafe
2023-01-25Update WebXR tutorial link to point at the Godot 4 versionDavid Snopek
2023-01-25C#: Skip documentation syntax in MustBeVariant analyzerRaul Santos
2023-01-25C#: Annotate API with MustBeVariantRaul Santos
- Add MustBeVariant attribute to generic parameters that are used in a Variant context
2023-01-25C#: Implement disposable pattern and seal `GodotSynchronizationContext` ↵Raul Santos
class and related - `GodotSynchronizationContext` - Implements `IDisposable` to dispose of the disposable field `_queue`. - Makes the class sealed. - `GodotTaskScheduler` - Implements `IDisposable` to dispose of the disposable property `Context`. - Makes the class sealed. - `Dispatcher` - Dispose of previous `GodotTaskScheduler` instances before creating a new one.
2023-01-25GDScript: Allow constant expressions in annotationsDanil Alexeev
2023-01-25Merge pull request #71120 from jordigcs/ternaryGeorge Marques
Closes https://github.com/godotengine/godot/issues/71065
2023-01-25Merge pull request #71349 from vonagam/disallow-infer-on-weakRémi Verschelde
GDScript: Disallow type inference with untyped initializer
2023-01-25libwebp: Sync with upstream 1.3.0DeeJayLSP
2023-01-25Merge pull request #71948 from dsnopek/webxr-godot4-world-scaleRémi Verschelde
Correctly apply world_scale in WebXR (Godot 4)
2023-01-25Merge pull request #71142 from aaronfranke/never-duplicate-scriptRémi Verschelde
Add `PROPERTY_USAGE_NEVER_DUPLICATE` flag and use for script
2023-01-25Merge pull request #71963 from dalexeev/clarify-script-level-annotation-errorRémi Verschelde
Clarify error message about script-level annotation
2023-01-25Merge pull request #71858 from reduz/disable-stream-import-loop-by-defaultRémi Verschelde
Disable OGG and MP3 looping by default on import
2023-01-25GDScript: Fix marking of line with unsafe property access as unsafeDmitrii Maganov
2023-01-24Add PROPERTY_USAGE_NEVER_DUPLICATE flag and use for scriptAaron Franke
Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
2023-01-24PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke
2023-01-24Add hint for identifiers renamed since Godot 3jordi
2023-01-24C#: Sync GD with CoreRaul Santos
- Add overloads to print methods that take a single `string`. - Use `StringBuilder` to append print parameters. - Remove `PrintStack` method. - Add `ErrorString`. - Remove `Str` method. - Add exception to `Range` when step is 0. - Add `VarToBytesWithObjects` and `BytesToVarWithObjects`. - Remove optional boolean parameter from `VarToBytes` and `BytesToVar`. - Move `InstanceFromId` to `Godot.Object`. - Add `Godot.Object.IsInstanceIdValid`. - Update documentation.
2023-01-24Seal C# attributesRaul Santos
2023-01-24Sync C# Dictionary with CoreRaul Santos
- Implement `ICollection` methods explicitly. - Add `Merge` method. - Add `RecursiveEqual` method. - Update documentation.
2023-01-24C#: Add float an double overloads to MathfRaul Santos
- Add `float` and `double` overloads to all methods of `Mathf`. This allows the methods to be usable with `float`, `double` or `real_t`. - Use `System.MathF` in the `float` overloads which may result in better performance. - Constants remain as `real_t` for the time being. - Add aggresive inlining for methods that wrap `System.Math` calls.
2023-01-24C# Improve the "Tag" conversion of documentsMagian
[codeblocks] for Keep only the [CSharp] part. [param] is changed to <c>. [b] for bold text. [i] for italic text. 4.0 now uses variant, so [variant] to <see cref="Godot.Variant"/>. since Rider does not support [u], only comments have been modified.
2023-01-24Clarify error message about script-level annotationDanil Alexeev
2023-01-24Merge pull request #71932 from raulsntos/dotnet/lin2db-to-mathRémi Verschelde
C#: Move `LinearToDb` and `DbToLinear` to Mathf
2023-01-23Correctly apply world_scale in WebXRDavid Snopek
2023-01-23Merge pull request #71931 from bruvzg/ts_sRémi Verschelde
[TextServer] Fix ICU data loading and exporting with `internationalization/locale/include_text_server_data` setting.
2023-01-23C#: Move `LinearToDb` and `DbToLinear` to MathfRaul Santos
2023-01-23[TextServer] Fix ICU data loading and exporting with ↵bruvzg
`internationalization/locale/include_text_server_data` setting.
2023-01-23[TextServer] Add fallback code in case of missing ICU data.bruvzg
2023-01-23Merge pull request #70948 from vnen/gdscript-ptr-method-name-in-debugGeorge Marques
2023-01-23Merge pull request #71914 from vnen/gdscript-no-continue-matchRémi Verschelde
GDScript: Remove function of `continue` for match statement
2023-01-23Merge pull request #63251 from ↵Rémi Verschelde
SaracenOne/disable_data_generation_on_foreign_resources Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-23GDScript: Add names for disassembling function pointersGeorge Marques
When instructions use function pointers, it's not possible to retrieve their original names in the disassembly. This stores the names in vectors (in debug builds) so they can be shown.
2023-01-23Merge pull request #71909 from bruvzg/utf16_bidi_override_fixRémi Verschelde
Fix BiDi override for the characters outside BMP (e.g., emojis).
2023-01-23Fix BiDi override for the characters outside BMP (e.g., emojis).bruvzg
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-23Merge pull request #71900 from SaracenOne/blendshape_track_import_flagRémi Verschelde
Fix duplicating imported blendshape tracks
2023-01-23Merge pull request #71676 from vnen/gdscript-unicode-identifiersRémi Verschelde
Add support for Unicode identifiers in GDScript and Expression
2023-01-23Adds missing method call to set blendshape tracks as 'imported' when ↵SaracenOne
importing from a GLTF.
2023-01-22GDScript: Remove function of `continue` for match statementGeorge Marques
The keyword is confusing and rarely is used in the intended way. It is removed now in favor of a future feature (pattern guards) to avoid breaking compatibility later.
2023-01-22Disable OGG and MP3 looping by default on importJuan Linietsky
* From Godot 4.0 onwards, proper music looping is supported which requires setting the BPM and then the loop point in beats. * As such, importing with loop by default does not serve much of a purpose. Its annoying to disable for SFX or clips that do not loop and it also requires manual intervention to loop music. * This way, it should work out of the box for any sound effect or non looping audio clip, and manual work is required anyway for looping music.
2023-01-22Fix internal editor not updating when using external editor via LSPRindbee
2023-01-21C#: Allow use of .NET 7RedworkDE
The editor will use .NET 7 if it is installed and fall back to .NET 6 otherwise. Exported projects will use .NET 7 or .NET 6 depending on the value of TargetFramework in the csproj.
2023-01-21Use range iterators in LocalVector loopskobewi
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-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21C#: Restore `Scale` and `Rotation` propertiesRaul Santos
2023-01-20call update_exports from LSP didSave functionAdam Wardell
exports in the inspector were not properly appearing when a gdscript was saved using an external IDE this commit adds a call to GDScript::UpdateExports toward the end of GDScriptTextDocument::didSave
2023-01-20Remove references to compiled GDScript in exportGeorge Marques
This feature was removed from GDScript so it should not be present on the interface nor in the saved export presets.