summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-12-14Avoid a crash in the gdscript analyserGilles Roudière
2021-12-13Fix incorrect placement of default value editor in visual scriptsYuri Roubinsky
2021-12-13Fix shadowed global identifier warning duplicationYuri Roubinsky
2021-12-10Fix OGG streams never ending playbackEllen Poe
2021-12-10Revert "Fix auto reload scripts on external change"Rémi Verschelde
2021-12-10Merge pull request #55702 from nekomatata/physics-solver-settingsRémi Verschelde
2021-12-10Misc build system fixesAaron Franke
2021-12-10Fix "Lookup Symbol" on global class memberscdemirer
"Lookup Symbol" on global class members now does switch to the relevant script.
2021-12-10Merge pull request #55572 from aaronfranke/ci-doubleRémi Verschelde
2021-12-10Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde
Replace String comparisons with "", String() to is_empty()
2021-12-09Add a double-precision editor build to CIAaron Franke
2021-12-09Merge pull request #55700 from Razoric480/raz/lsp-extraneous-codeRémi Verschelde
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09Merge pull request #55299 from nathanfranke/renamesRémi Verschelde
2021-12-09Merge pull request #49473 from cptchuckles/fix-auto-reload-scriptsRémi Verschelde
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-07Add physics solver settings to project settingsPouleyKetchoupp
Helps with discovery and setup of physics solver settings, in a specific project settings section for both 2D and 3D. Other changes for cleanup: -Removed unused space parameters in 3D SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS -Added custom solver bias for Shape3D (same as Shape2D) -Improved documentation for solver settings
2021-12-07Remove extraneous return to LSPFrancois Belair
2021-12-07Various fixes to C# documentationRaul Santos
2021-12-07Merge pull request #55675 from raulsntos/csharp-basis-quaternionIgnacio Roldán Etcheverry
Rename C# `Quaternion()` -> `GetQuaternion()`
2021-12-06Rename "items_count" property to "item_count"Aaron Franke
2021-12-06Rename C# `Quaternion()` -> `GetQuaternion()`Raul Santos
To keep consistency with GDScript, the method `Quaternion()` is renamed `GetQuaternion()`, and made `internal` so it's not exposed to scripting. The documentation references are also fixed. Also, the methods `GetQuaternion()` and `GetRotationQuaternion()` are moved below `GetEuler()` to follow alphabetic order.
2021-12-06Merge pull request #55655 from raulsntos/csharp-items-countIgnacio Roldán Etcheverry
Replace deprecated `GetItemCount()` with `ItemsCount`
2021-12-06Merge pull request #55624 from Razoric480/raz/cs-lsp-signalRémi Verschelde
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06Merge pull request #34005 from aaronfranke/minmaxRémi Verschelde
2021-12-06Merge pull request #55651 from Calinou/remove-more-debug-printsRémi Verschelde
2021-12-06Replace deprecated GetItemCount() with ItemsCountRaul Santos
Replace the deprecated method `GetItemCount()` with the new property `ItemsCount`.
2021-12-06Merge pull request #55597 from raulsntos/csharp-source-generators-genericsIgnacio Roldán Etcheverry
Fix C# `Godot.SourceGenerators` for generic classes
2021-12-05Remove or make verbose some debugging printsHugo Locurcio
The message about SpatialMaterial conversion was turned into a warning, as it can potentially interfere with porting projects from Godot 3.x (if there's a bug in the conversion code).
2021-12-05Merge pull request #55559 from pycbouh/docs-overridden-cross-linkedRémi Verschelde
2021-12-05Bump Godot.NET.Sdk and SourceGenerators versionsRaul Santos
Bump `Godot.NET.Sdk` to version 4.0.0-dev6. Bump `Godot.SourceGenerators` to version 4.0.0-dev3. Use floating version 4.0.*-* for package references in Sdk.
2021-12-05Fix Godot.SourceGenerators for generic classesRaul Santos
Fix invalid C# generated by source generators for generic classes and add generic classes to the Sample project for testing.
2021-12-04Auto-Increment Debugger PortNathan Franke
Note: This PR also changes the port of the GDScript Language Server from 6008 to 6005. This opens enough ports above the debug port (6007) for this change to be useful.
2021-12-04Prevent LSP adding signal func to non GDScriptsFrancois Belair
2021-12-04Merge pull request #55563 from raulsntos/csharp-delegates-for-generic-classIgnacio Roldán Etcheverry
Fix C# `get_all_delegates` method for generic classes
2021-12-04Fix get_all_delegates method for generic classesRaul Santos
If the class is generic, we must get its generic type definition and use it to retrieve the delegates.
2021-12-03Fix typo in `gdscript_parser`Raul Santos
2021-12-03Make overridden properties link to parent definitionYuri Sizov
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-02Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-03AudioStreamMP3: expose loop properties to the editorVincent
2021-12-03NavigationMeshInstance: Fix typo to 'vertices'Rémi Verschelde
2021-12-02Let MultiMeshInstances affect NavigationMeshesCarlo Cabanilla
2021-12-02Merge pull request #55474 from akien-mga/copy-operators-no-referenceRémi Verschelde
2021-12-02Merge pull request #55529 from raulsntos/rename-vector-paramsRémi Verschelde
2021-12-01Merge pull request #55533 from nekomatata/bullet-query-shape-indexRémi Verschelde
2021-12-01Rename Vector parameters to be consistentRaul Santos
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere.
2021-12-01Fix shape index in multiple physics queries with BulletPouleyKetchoupp
Two main changes: - Better handling of concave shapes to make sure the queries don't return a triangle index instead of shape index. Note: A concave shape within a compound shape will always return a shape index of 0 because of Bullet limitations. - Extra check for compound shapes in some queries to avoid undefined behavior, because the shape index can have an uninitialized value with convex shapes in some cases.
2021-12-01Fix crash when loading an invalid mp3 fileVincent
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).