summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-01-02Fix usage of "Return" in the docskobewi
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-28Fix getting properties state when reloading C#Raul Santos
When reloading C# classes and keep their properties values they are retrieved and stored in a state list. Retrieving the properties was only getting the fields of the C# class and not inherited fields so those properties values were lost on reload. Now we also try to find the field in the parent classes.
2021-12-23Fix `KeyValuePairAt` memory leakRaul Santos
2021-12-15Merge pull request #53129 from Faless/net/4.x_enet_optsFabio Alessandrelli
[Net] ENet poll optimizations, fragmented unreliable transfer.
2021-12-15[Net] ENet poll now only service the connection once.Jordan Schidlowsky
It used to call `enet_host_service` until all events were consumed, but that also meant constantly polling the connection leading to potentially unbounded processing time. It now only service the connection once, and instead consumes all the retrieved events via `enet_host_check_events`.
2021-12-15[Net] ENetMultiplayerPeer now sends fragmented packets unreliably too.Jordan Schidlowsky
It used to always send them reliably when transfer mode was unreliable or ordered if the packet size was more then the enet host MTU (1400 bytes by default). This commit also adds a warning when debug is enabled to explain the effects of sending fragmented packets unreliably.
2021-12-15Merge pull request #55952 from Faless/net/4.x_webrtc_mp_connect_fixRémi Verschelde
2021-12-15[Net] Fix WebRTC returning packets from peers too early.Fabio Alessandrelli
Due to the async nature of WebRTC implementations, the multiplayer peer could end up having queued packets from a given connection before it is able to emit the "peer_added" signal. This commit ensures that packets from peers which are not notified yet are skipped by `get_packet` and `get_available_packet_count`.
2021-12-15[Text Server] Fix re-shaping of substrings, improve oversampling scale.bruvzg
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).