summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2022-03-03Refactor `bbcode_to_xml` into multiple specific methodsRaul Santos
The specific `_append_xml_*` methods implement the logic that generates the proper XML documentation for the given BBCode tag and target and appends it to the output.
2022-03-03Find inherited members in C# documentation generatorRaul Santos
2022-03-03Add theme_item support to C# documentation generatorRaul Santos
2022-03-03Fix checking for `@GlobalScope` in C# documentation generatorRaul Santos
2022-03-03Check for missing methods/members in C# documentation generatorRaul Santos
- Outputs errors for missing members or methods when generating the C# documentation. - Hardcodes a special case for the `_init` method, in C# we'll reference the constructor. - Ignores properties with slashes (since they are not declared in C# and can't be referenced in the documentation).
2022-03-03Fix references to global constants in C# documentation generatorRaul Santos
Tries to find the referenced constants in the GlobalScope if not found in the target class or if no class is specified.
2022-02-22Rename motion_velocity to velocityChris Bradfield
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-13Merge pull request #57954 from TokageItLab/refactor-cubic-interpolateRémi Verschelde
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-12Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker
2022-02-12Implement cubic_interpolate() as MathFunc for refactoringSilc 'Tokage' Renew
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-10Support signals in C# documentationRaul Santos
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`