Max Katz
fca45c1c16
Migrate AvaloniaNameSourceGenerator to IIncrementalGenerator ( #19216 )
* Add AnalyzerProject.targets targets
* PrivateAssets on Workspaces.Common
* Migrate AvaloniaNameSourceGenerator to IIncrementalGenerator
* Remove outdated lins in the generator readme
* Add GlobPattern.ToString
* Fix tests
* Formatting
* Redo pipeline, make steps more independent from each other, compilation should be reused between dependency changes
* Split XAML parsing and type resolution into separated steps
* Restore CompilationReferencesComparer usage
* Revert "Restore CompilationReferencesComparer usage"
This reverts commit c51341990b .
* Split ResolvedNamesProvider pipeline step, process files in parallel
* Add comment
* Switch back to EquatableList
* Add cancellation to the incremenetal source gen
* Rethrow cancellation exception
6 months ago
Max Katz
326ef7c9fd
Add .NET 8 target (Avalonia 11.1) ( #14535 )
* Add .NET 8 target to packable projects
* Update test projects
* Update sample projects to target .NET 8
* Update main Avalonia package to target .NET 8 as well
* Remove MSBuildEnableWorkloadResolver hack and some minor change
* Use net8.0 in nuke build as well
* Pin 8.0.0 SDK
* Adjust API validation
* Pin a valid version
* Remove net461 target from Avalonia package
* Remove unused net6.0 target from Avalonia.Designer.HostApp
* Adjust API diff
* Update ControlCatalog.Android.csproj
* Remove MSBuildEnableWorkloadResolver
* Fix Browser issues on .NET 8
* Fix .NET 8 error
* Fix merge conflicts
* Replace explicit TFMs in .csproj files with a centralized registry
* Fix merge conflict
* Fix AvsLegacyWindowsTargetFrameworks and add hacks for the tests
* Update XCode project CommandLineArgument
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
2 years ago
Simon Cropp
eb7611488e
csproj cleanup ( #12657 )
2 years ago
Max Katz
30d1dc7e61
Setup generators project in the repository, use in the control catalog
3 years ago
Max Katz
69d338e253
Move projects
3 years ago
Max Katz
6c3f97661e
Rename projects
3 years ago
dependabot[bot]
4ecf3d6f90
build(deps): Bump Microsoft.CodeAnalysis.Analyzers in /src ( #104 )
Bumps [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn-analyzers ) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases )
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md )
- [Commits](https://github.com/dotnet/roslyn-analyzers/compare/v3.3.3...v3.3.4 )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
3d927241dd
build(deps): Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 in /src ( #102 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
733996f4bb
build(deps): Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 in /src ( #98 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.3.2 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.2...v17.4.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
677d1deacb
build(deps): Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 in /src ( #90 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.3.1 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
42fe90aa77
build(deps): Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.1 in /src ( #85 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.2.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
77c8a192da
build(deps): Bump xunit.runner.console from 2.4.1 to 2.4.2 in /src ( #87 )
Bumps [xunit.runner.console](https://github.com/xunit/xunit ) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases )
- [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2 )
---
updated-dependencies:
- dependency-name: xunit.runner.console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
6210c22083
build(deps): Bump xunit from 2.4.1 to 2.4.2 in /src ( #86 )
Bumps [xunit](https://github.com/xunit/xunit ) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases )
- [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
b93d8bf07b
build(deps): Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 in /src ( #79 )
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/commits )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
a2fb3c8ea3
build(deps): Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 in /src ( #78 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.1.0 to 17.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.1.0...v17.2.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
b16a6ba80b
build(deps): Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0 in /src ( #76 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.0.0 to 17.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.0.0...v17.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Artyom V. Gorchakov
cb79cd8f8f
refactor: Use file scoped namespaces ( #75 )
* Use file scoped namespaces everywhere
* Use .NET 6
4 years ago
dependabot[bot]
e2ae639715
build(deps): Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 in /src ( #73 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
4e6491211a
build(deps): Bump Microsoft.CodeAnalysis.Analyzers in /src ( #70 )
Bumps [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn-analyzers ) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases )
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md )
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
7db1359c6b
build(deps): Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 in /src ( #67 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Artyom V. Gorchakov
42b889fd7d
fix: Resolve #54 , Support Older .NET SDKs ( #64 )
* Resolve #54 , Roslyn and NuGet are broken
* We don't want to break code referencing older SDKs
5 years ago
Artyom V. Gorchakov
94f6eb239a
housekeeping: Use .NET 5.0.301 ( #58 )
* housekeeping: Use .NET 5.0.301
* build(deps): Bump Microsoft.CodeAnalysis.CSharp in /src
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/compare/v3.9.0...v3.10.0 )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Resolve conflicts
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot]
86f3664fef
build(deps): Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.10.0 in /src ( #52 )
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.9.1 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Artyom V. Gorchakov
93784b75c5
build(deps): Bump Microsoft.CodeAnalysis.CSharp in /src ( #46 )
* build(deps): Bump Microsoft.CodeAnalysis.Common in /src
Bumps [Microsoft.CodeAnalysis.Common](https://github.com/dotnet/roslyn ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps): Bump Microsoft.CodeAnalysis.CSharp in /src
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/master/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/compare/v3.8.0...v3.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Use Microsoft.CodeAnalysis.Common as transitive dependency
* Revert "Use Microsoft.CodeAnalysis.Common as transitive dependency"
This reverts commit 89e5ff5bde4fc84400a5b6340874b50d89f5e4b9.
* Use newer SDK
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Artyom V. Gorchakov
97e00cba95
fix: Fix and Turn On InitializeComponent Behavior by Default ( #41 )
* Add using:Avalonia, use InitializeComponent behavior by default
* build(deps): bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 in /src
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1 )
Signed-off-by: dependabot[bot] <support@github.com>
* docs: Update the documentation
* fix: Update Generator.props
* housekeeping: Update version.json
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Artyom V. Gorchakov
6e621e553a
feature: Generate this.AttachDevTools() if Avalonia.Diagnostics is nearby ( #35 )
5 years ago
GMIKE
398fc792b3
feature: Add InitializeComponent Source Generator Behavior ( #29 )
* Closes https://github.com/AvaloniaUI/Avalonia.NameGenerator/issues/28
5 years ago
Artyom V. Gorchakov
edf0217591
feature: Support x:FieldModifier Directive ( #20 )
* Refactoring, decomposition, more unit tests
* Support x:FieldModifier
* Use Xamarin.Forms API for x:FieldModifier
* Use <RestoreSources /> directive, bump Avalonia
* CRLF dance
* Use Fluent theme
* Move Avalonia packages to Directory.Build.props
* Bump test SDK version
5 years ago
Artyom V. Gorchakov
ecc9677a23
housekeeping: Rename to Avalonia.NameGenerator ( #16 )
5 years ago
Artyom V. Gorchakov
73cd39be10
housekeeping: Add Basic GitHub Actions Configuration ( #11 )
5 years ago
Artyom V. Gorchakov
701daf0176
feature: Don't Generate x:Name References for DataTemplates ( #10 )
5 years ago
Artyom V. Gorchakov
7fc979fec8
housekeeping: Add XamlNameReferenceGenerator.Tests ( #7 )
* Add basic MiniCompiler unit tests
* Add XamlX tests stub file
5 years ago
Artyom V. Gorchakov
2c8d46da09
feature: Add XamlXRawNameReferenceXamlParser ( #4 )
* Add XAML parser based on XamlX
5 years ago
Artyom
2318f7142c
Support custom controls via AdditionalNamespaces
5 years ago
Artyom
5f132c99a2
Add Avalonia Source Generator for x:Name refs
5 years ago