Julien Lebosquain
4b071000a4
Split analyzers and code fixes into separate projects ( #20312 )
* Split analyzers and code fixes
* Split C# and VB analyzers
* Merge all analyzer packages
* Add Analyzers.VisualBasic to .slnf
1 month ago
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
Julien Lebosquain
c925ca5c63
Move all submodules to external directory ( #18431 )
* Move DataGrid submodule
* Move Numerge submodule
* Move XamlX submodule
* Remove DataGrid from slnf file.
* Git clean
11 months ago
Julien Lebosquain
d1bd85e9b8
Nullable annotations for projects using XamlX ( #15796 )
* Nullable annotations for projects using XamlX
* Update .NET SDK
* Update XamlX to latest master
* Use ILRepack tool instead of submodule
* Fix build
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
Max Katz
dcd1b59783
Trimmable runtime xaml loader ( #12937 )
* Add trimming attributes to the Runtime XAML Loader project
* Create CompilerDynamicDependenciesAttribute with all known dynamic types
* Use master XamlX
* Implement CompilerDynamicDependenciesGenerator to simplify CompilerDynamicDependencies attribute
* Better formatting of generated code
* Be safe about type converters as well
* Remove unnecessary warning
* Also include FindType just in case
2 years ago
Simon Cropp
eb7611488e
csproj cleanup ( #12657 )
2 years ago
Julien Lebosquain
a99fb216cc
Use embedded pdb for analyzers and build tasks
3 years ago
Julien Lebosquain
6eff41172f
Generate symbol packages
3 years ago
Giuseppe Lippolis
386eff004e
fix: missing EnforceExtendedAnalyzerRules
Warning RS1036 'Avalonia.Generators.NameGenerator.AvaloniaNameSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>' Avalonia.Generators C:\GitHub\Avalonia\src\tools\Avalonia.Generators\NameGenerator\AvaloniaNameSourceGenerator.cs 11 N/A
3 years ago
Max Katz
1e84029a41
Downgrade Microsoft.CodeAnalysis.CSharp
3 years ago
Max Katz
c0cf6deb24
Include Avalonia.Generators.props properly
3 years ago
Julien Lebosquain
a97d61a1e9
Fix Generators build
3 years ago
Max Katz
f4c82105ce
Add AvaloniaNameGeneratorIsEnabled parameter
3 years ago
Max Katz
adbbe46aee
Reorganize generators code
3 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]
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
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
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
workgroupengineering
cff386b326
feature: Generate x:Name mapping without the GenerateTypedNameReferences attribute ( #22 )
* feature: Generate x:Name mapping without the GenerateTypedNameReferences attribute.
* fix: Update README.md
5 years ago
Artyom V. Gorchakov
fee0c58251
fix: Temporary use old <PackageId /> ( #21 )
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
734f3441e8
fix: Don't Throw when Attached Properties are Unknown ( #12 )
* Fix attached properties resolution
* Strip out controls that aren't IControl
* Be more strict and check the namespace
* Update packages, throw when class is not partial
* Use internal access modifier explicitly
* Move the attribute to Avalonia.Controls namespace
* Further documentation updates
* Add the badges
5 years ago
Artyom V. Gorchakov
73cd39be10
housekeeping: Add Basic GitHub Actions Configuration ( #11 )
5 years ago
Artyom V. Gorchakov
2c8d46da09
feature: Add XamlXRawNameReferenceXamlParser ( #4 )
* Add XAML parser based on XamlX
5 years ago
Artyom
5f132c99a2
Add Avalonia Source Generator for x:Name refs
5 years ago