summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* [Net] Non-blocking WebSocket hostname resolution.Jordan Schidlowsky2022-02-052-21/+56
| | | | | | Hostname is now resolved during poll in WebSocketClient (wslay) to avoid blocking during connect. An attempt is still made to find the hostname in the resolver cache.
* Merge pull request #49445 from ↵Rémi Verschelde2022-02-041-2/+5
|\ | | | | | | Calinou/gdscript-highlight-namespace-reserved-keyword
| * Highlight "namespace" as a GDScript keyword in the syntax highlighterHugo Locurcio2022-02-041-2/+5
| | | | | | | | | | Like "trait" and "yield", "namespace" is currently not implemented but is still reserved for future use.
* | Merge pull request #55950 from Faless/mp/4.x_replication_nodesRémi Verschelde2022-02-041-0/+1
|\ \
| * | [Net] New replication interface, spawner and synchronizer nodes.Fabio Alessandrelli2022-02-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial implementation of the MultiplayerReplicationInterface and its default implementation (SceneReplicationInterface). New MultiplayerSpawner node helps dealing with instantiation of scenes on remote peers (e.g. clients). It supports both custom spawns via a `_spawn_custom` virtual function, and optional auto-spawn of known scenes via a TypedArray<PackedScenes> property. New MultiplayerSynchornizer helps synchronizing states between the local and remote peers, supports both sync and spawn properties and is configured via a `SceneReplicationConfig` resource. It can also sync via path (i.e. without being spawned by a MultiplayerSpawner if both peers has it in tree, but will not send the spawn state in that case, only the sync one.
* | | Merge pull request #57625 from akien-mga/core-split-vector2i-own-headerRémi Verschelde2022-02-044-1/+5
|\ \ \ | |_|/ |/| |
| * | Core: Move Vector2i to its own `vector2i.h` headerRémi Verschelde2022-02-044-1/+5
| | | | | | | | | | | | Also reduce interdependencies and clean up a bit.
* | | Merge pull request #57621 from akien-mga/core-split-rect2i-own-headerRémi Verschelde2022-02-041-0/+1
|\| |
| * | Core: Move Rect2i to its own `rect2i.h` headerRémi Verschelde2022-02-041-0/+1
| | | | | | | | | | | | | | | And take the opportunity to improve interdependencies a bit with forward declares where possible.
* | | Merge pull request #57618 from Densorius/masterIgnacio Roldán Etcheverry2022-02-041-1/+1
|\ \ \ | |/ / |/| | Fixed opening new instances of VS 2022 while a instance is already open
| * | Fixed opening new instances of VS 2022 while a instance is already openDensorius2022-02-041-1/+1
| | |
* | | Merge pull request #57591 from vnen/gdscript-enum-fixesRémi Verschelde2022-02-0433-57/+350
|\ \ \ | |_|/ |/| |
| * | GDScript: Treat enum values as int and enum types as dictionaryGeorge Marques2022-02-036-31/+127
| | | | | | | | | | | | | | | | | | | | | Since enums resolve to a dictionary at runtime, calling dictionary methods on an enum type is a valid use case. This ensures this is true by adding test cases. This also makes enum values be treated as ints when used in operations.
| * | GDScript: Allow tests to run on release buildsGeorge Marques2022-02-033-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds.
| * | GDScript: Consolidate behavior for assigning enum typesGeorge Marques2022-02-0326-29/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future.
* | | Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-047-101/+33
| |/ |/|
* | Add Visual Studio 2022 support with fallback to 2019Densorius2022-02-041-2/+21
| |
* | Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde2022-02-039-36/+36
|\ \ | | | | | | String: Add contains().
| * | String: Add contains().Anilforextra2022-02-049-36/+36
| | |
* | | Merge pull request #57467 from webbuf/modules-initializeRémi Verschelde2022-02-036-23/+19
|\ \ \ | | | | | | | | Initialized Member Variables in /modules
| * | | initialized member variables in headerzwebb2022-02-036-23/+19
| | | |
* | | | Merge pull request #56365 from aaronfranke/default-shape-sizeRémi Verschelde2022-02-035-10/+10
|\ \ \ \
| * | | | Improve the default size for 3D shapes (Box, Capsule, and Cylinder)Aaron Franke2022-02-015-10/+10
| | | | |
* | | | | HarfBuzz: Update to version 3.3.1bruvzg2022-02-021-1/+0
| |_|/ / |/| | |
* | | | [TextServer] Add function to change font, font size, and OpenType features ↵bruvzg2022-02-024-416/+429
| | | | | | | | | | | | | | | | without invalidating line break points, justification points, or recreating shaped text buffer.
* | | | Fix "texture not initialized" error preventing video from playingLisandro Lorea2022-02-011-0/+1
| | | | | | | | | | | | | | | | Closes #57153
* | | | Merge pull request #57358 from akien-mga/signal-bindings-objectRémi Verschelde2022-02-012-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Improve some signal bindings to use specific `Object` subtypesRémi Verschelde2022-01-282-2/+2
| | | |
* | | | Fix transforms involved into navmesh bakingPawel Lampe2022-01-312-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Within the context of parsing navigation geometry, this commit: - added missing transform of `MultiMeshInstance` - changed all transforms to global ones so that they don't need to be calculated by hand
* | | | Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵bruvzg2022-01-302-6/+103
| | | | | | | | | | | | | | | | scripts and expressions.
* | | | Merge pull request #55785 from nathanfranke/clang-tidyRémi Verschelde2022-01-297-17/+17
|\ \ \ \
| * | | | simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-297-17/+17
| | | | |
* | | | | Be more verbose about why msbuild tools could not be foundMarcel Admiraal2022-01-291-4/+4
|/ / / /
* / / / Update icons and color conversion rules to simplify the paletteYuri Sizov2022-01-292-2/+2
|/ / /
* | | Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde2022-01-271-1/+1
|\ \ \ | | | | | | | | Allow method binds to take Object subclasses as arguments
| * | | Allow method binds to take Object subclasses as argumentsTechnoPorg2022-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
* | | | Merge pull request #57310 from raulsntos/rename-subsequenceRémi Verschelde2022-01-271-2/+2
|\ \ \ \ | | | | | | | | | | Rename C# `IsSubsequenceOfI` to `IsSubsequenceOfN`
| * | | | Rename C# `IsSubsequenceOfI` to `IsSubsequenceOfN`Raul Santos2022-01-271-2/+2
| | | | |
* | | | | Merge pull request #57281 from Rubonnek/rename-subsequenceRémi Verschelde2022-01-272-2/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez2022-01-262-2/+2
| | |/ / | |/| |
* | | | Improve XRInterface hooks into renderingBastiaan Olij2022-01-264-4/+4
| | | |
* | | | Fix crash with non-constant keys in match statement Dictionary patterncdemirer2022-01-261-1/+1
| | | |
* | | | Issue 57130 Fix GLTFDocument.generate_scene if state is nullPaweł Fertyk2022-01-251-0/+1
|/ / /
* | | BaseButton: Rename `pressed` property to `button_pressed`Rémi Verschelde2022-01-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a conflict with the `pressed` signal. The new name is temporary and only intended to solve the conflict for upcoming alpha builds. Discussions are still ongoing regarding the BaseButton API and how to rename and refactor more of its properties, signals and methods to have a clearer API in 4.0.
* | | etcpak: Workaround multiple-of-4 requirement for 3D texture mipmaps.Lyuma2022-01-231-3/+7
| | |
* | | Minor tweaks and fixes to panningkobewi2022-01-231-1/+1
| | |
* | | Merge pull request #56931 from lyuma/etcpak_po2Rémi Verschelde2022-01-231-6/+57
|\ \ \ | | | | | | | | Enforce mult-of-4 requirements on etcpak input.
| * | | Pad etcpak input to 4x4 blocks. Fixes #49981Lyuma2022-01-221-6/+57
| | |/ | |/|
* | | GDScript cache crashfix.K. S. Ernest (iFire) Lee2022-01-221-1/+4
| | |
* | | Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde2022-01-231-1/+3
|\ \ \