summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2022-02-08Merge pull request #57822 from Calinou/ios-remove-armv7Rémi Verschelde
2022-02-08Merge pull request #57076 from IgorKordiukiewicz/fix-mono-string-capitalizeIgnacio Roldán Etcheverry
String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++
2022-02-08Remove support for ARMv7 (32-bit) on iOSHugo Locurcio
All iOS devices since the iPhone 5S support ARMv8 (64-bit). The last iOS version supported on ARMv7 devices is 10.x, which is too old to run Godot 4.0 projects since the minimum supported iOS version is 11.0.
2022-02-07Allow C# Vector2/3 slerp values to have any lengthAndrew Jacob
2022-02-07Merge pull request #57748 from fabriceci/rename-script-template-variableRémi Verschelde
2022-02-07rename jump force to jump velocityfabriceci
2022-02-07Add some more fixes to visual shaderYuri Roubinsky
2022-02-07Attach mono thread before getting nativeName fieldRaul Santos
In order to access the `nativeName` constant field from a C# class, the mono scope thread must be attached or the mono domain will be null.
2022-02-04Merge pull request #57618 from Densorius/masterIgnacio Roldán Etcheverry
Fixed opening new instances of VS 2022 while a instance is already open
2022-02-04Fixed opening new instances of VS 2022 while a instance is already openDensorius
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-04Add Visual Studio 2022 support with fallback to 2019Densorius
2022-02-03Merge pull request #57467 from webbuf/modules-initializeRémi Verschelde
Initialized Member Variables in /modules
2022-02-03initialized member variables in headerzwebb
2022-01-29Be more verbose about why msbuild tools could not be foundMarcel Admiraal
2022-01-27Rename C# `IsSubsequenceOfI` to `IsSubsequenceOfN`Raul Santos
2022-01-23BaseButton: Rename `pressed` property to `button_pressed`Rémi Verschelde
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.
2022-01-23String.Capitalize() in C# now matches the behaviour of String::capitalize() ↵Igor Kordiukiewicz
in C++
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-16Merge pull request #55679 from raulsntos/script_reload_fixIgnacio Roldán Etcheverry
C# scripts reload in editor fixed
2022-01-13[macOS] Fix self-contained mode, by looking for `._sc_` and writing data to ↵bruvzg
the bundle directory instead of executable directory.
2022-01-12Fix marshaling values of generic Godot DictionaryRaul Santos
2022-01-06Add a GDScript template for `VisualShaderNodeCustom`Yuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #53957 from fabriceci/new-template-workflowRémi Verschelde
2022-01-02Improve editor template workflowfabriceci
Co-Authored-By: jmb462 <jmb462@gmail.com>
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-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-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-06C# script reload fixedRaul Santos
Co-authored-by: Michael Bickel <mib@developium.net> Co-authored-by: Germanrc <german_1995a@hotmail.com>
2021-12-06Merge pull request #34005 from aaronfranke/minmaxRémi Verschelde
2021-12-06Replace deprecated GetItemCount() with ItemsCountRaul Santos
Replace the deprecated method `GetItemCount()` with the new property `ItemsCount`.
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-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-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-02Merge pull request #55474 from akien-mga/copy-operators-no-referenceRé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-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).
2021-11-25Move logic for saving project features to ProjectSettings save_customAaron Franke
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-17Expose `randfn` to global scopeYuri Roubinsky
2021-11-16Merge pull request #54581 from aaronfranke/operator-docsRémi Verschelde
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde