summaryrefslogtreecommitdiff
path: root/modules/mono
AgeCommit message (Collapse)Author
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-28Refactor GDScript/C# script templates logic to be editor-onlyRémi Verschelde
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-28Make script templates follow the GDScript style guideMichael Alexsander
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-22Support static methods in C# bindings generatorRaul Santos
2022-03-18Ignore PhysicsServer3DExtension class in C#Raul Santos
PhysicsServer3DExtension inherits from PhysicsServer3D which is a singleton class, since singleton classes are generated as static in C# it would generate invalid C# so for now we'll be ignoring PhysicsServer3DExtension.
2022-03-16Implement GDExtension export plugin.bruvzg
2022-03-12Fix Slerp C# docs and add test cases for vectors in the same directionAaron Franke
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Fix Autoload capitalization inconsistencyHaoyu Qiu
2022-03-08Rename Control's Rect properties to exclude rect_ partMarcel Admiraal
2022-03-07Merge pull request #58847 from KoBeWi/editor_settings_messRémi Verschelde
2022-03-06Remove duplicate editor settings definitionskobewi
2022-03-06Implement `Deconstruct` methods for C# vectorsBerke Kocaoğlu
See https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/functional/deconstruct#user-defined-types
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++