summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-208-0/+230
|\
| * Merge pull request #97894 from paulloz/dotnet/export-tool-buttonThaddeus Crews2024-11-198-0/+230
| |\ | | | | | | | | | Implement `[ExportToolButton]`
| | * Implement [ExportToolButton]Paul Joannon2024-11-188-0/+230
| | |
* | | Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-2/+2
|\| |
| * | C#: Escape signal parametersZae2024-10-231-2/+2
| | |
* | | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-223-3/+3
|\| |
| * | Merge pull request #97588 from TML233/generated-raise-signalThaddeus Crews2024-10-211-1/+1
| |\ \ | | | | | | | | | | | | [C#] Change generated On{SignalName} to EmitSignal{SignalName}
| | * | Change generated On{SignalName} to EmitSignal{SignalName}TML2024-09-281-1/+1
| | |/
| * | Fix exported typed dictionaries in .NET having an incorrect hint, which led ↵Juan Pablo Arce2024-10-182-2/+2
| | | | | | | | | | | | to incorrect scene serialization
* | | Merge commit godotengine/godot@af77100e394dcaca609b15bef815ed17475e51edSpartan3222024-10-151-0/+13
|\| |
| * | C#: Fix unhandled GD0303 error for nested generic attribute typesZae2024-10-111-0/+13
| |/
* / Rebrand Godot to RedotRandolph W. Aarseth II2024-10-1116-16/+16
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* C#: Generate On{EventName} method to raise signal eventsRaul Santos2024-09-261-0/+4
|
* Implement typed dictionariesThaddeus Crews2024-09-042-2/+2
|
* Fix GD0107 not applying to arrays and dictionaries containing nodesJuan Pablo Arce2024-07-242-1/+66
|
* C#: Escape generated membersRaul Santos2024-06-1517-1013/+1013
|
* Remove useless isFirstEntry and useless source.Append("else ")Gaoyao Massimo Hu2024-05-147-266/+266
|
* Style: Trim trailing whitespace and ensure newline at EOFRémi Verschelde2024-05-085-6/+6
| | | | Found by apply the file_format checks again via #91597.
* Merge pull request #91375 from ↵Rémi Verschelde2024-05-022-0/+56
|\ | | | | | | | | | | paulloz/dotnet/prevent-generator-crash-on-exported-unconstructed-generic-arrays C#: Fix generator crash w/ generic arrays
| * C#: Fix generator crash w/ generic arraysPaul Joannon2024-04-302-0/+56
| |
* | C#: Ignore late bound methods in MustBeVariantAnalyzerRaul Santos2024-05-011-0/+6
|/ | | | If symbol is late bound (as is the case when using `dynamic`) we can't obtain the symbol to analyze the usage of `[MustBeVariant]`.
* Fix interpolated strings in ScriptPropertyDefValPaul Joannon2024-03-012-0/+52
|
* Cleanup C# projects, code quality & stylePaul Joannon2024-02-2718-1353/+1353
| | | | | | | | | | | | | | | | | | | | | New rules: - Do not silence CA1805 any more - Limit where we silence CA1707, CA1711, CA1720 - Enforce severity=warning for IDE0040 - Enforce Allman style braces - Enforce naming conventions (IDE1006 is still severity=suggestion) Fixes: - Fix REFL045, CS1572, CS1573 - Suppress CS0618 when generating `InvokeGodotClassMethod` - Fix indent when generating GD_constants.cs - Temporarily silence CS1734 in generated code - Fix a lot of naming rule violations Misc.: - Remove ReSharper comments for RedundantNameQualifier - Remove suppression attributes for RedundantNameQualifier - Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
* Merge pull request #87253 from van800/van800/analyserRémi Verschelde2024-02-213-0/+23
|\ | | | | | | Provide a roslyn analyzers corresponding to the GD0001 and GD0002
| * provide analyser corresponding to the GD0001 and GD0002, add ↵Ivan Shakhov2024-02-213-0/+23
| | | | | | | | | | | | | | ClassPartialModifierAnalyzerFix, and tests Co-authored-by: Raul Santos <raulsntos@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Add tests and fix exports diagnosticsPaul Joannon2024-02-2016-0/+153
|/ | | | | | - Add tests for the following diagnostics: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107. - Fix GD0101 not being reported any more (was filtering static classes before reporting). - Fix GD0107 not preventing `Node` members from being exported from not-`Node` types.
* C#: Various fixes to generic scriptsRaul Santos2024-02-195-13/+46
| | | | | | - Report a diagnostic when there are multiple classes that match the script file name in the same script since that will result in a duplicate path key in the bimap and it's not allowed. - Fix InspectorPlugin to handle empty paths in case the project was built with a previous version of Godot that used empty paths for generic scripts. - Add tests for the new diagnostic GD0003.
* Clean diagnostic rulesPaul Joannon2024-02-183-6/+17
| | | | | | | | Move the following diagnostics into static readonly fields: GD0101, GD0102, GD0103, GD0104, GD0105, GD0106, GD0107, GD0201, GD0202, GD0203, GD0301, GD0302, GD0303, GD0401, GD0402. To be more consistent, the titles for the following diagnostics were modified: GD0101, GD0105, GD0106, GD0302, GD0303, GD0401, GD0402. A subsequent update of the documentation repo is needed. Tests for the following diagnostics were created: GD0201, GD0202, GD0203.
* C#: Fix to allow usage of [MustBeVariant] in generic typed attributesAlberto Vilches2024-01-211-0/+582
|
* C# Add test suite for Diagnostic Analyzers: GlobalClass and MustBeVariantAlberto Vilches2024-01-154-0/+135
|
* Add tests for source generatorsPaul Joannon2023-12-1932-0/+3061
- Bootstrap xUnit project to test source generators - Implement source generator tests - Better tests structure (put test data in cs files) - Enable `ScriptSerializationGeneratorTests` - Enable `ScriptPathAttributeGeneratorTests` - Fix `NesterClass` -> `NestedClass` - Use `Path.Combine` when dealing with paths - Copy test data to the output directory