Commit Graph

2463 Commits

Author SHA1 Message Date
Sergio Pedri 5bc5d5c57e Bump .NET 7 TFM to .NET 9 2024-11-13 00:20:35 -08:00
Sergio Pedri ba1ca13744 Remove .NET 8 TFM from all projects 2024-11-13 00:18:35 -08:00
Sergio Pedri 3393d30d0a Merge pull request #981 from CommunityToolkit/dev/winrt-class-generator-analyzers
Add more WinRT analyzers for class-level attributes
2024-11-08 18:17:42 -08:00
Sergio Pedri ae66c28c6c Add unit tests for new WinRT analyzer 2024-11-08 17:55:27 -08:00
Sergio Pedri a74423d1b3 Run WinRT '[RelayCommand]' tests for all Roslyn-s 2024-11-08 17:41:51 -08:00
Sergio Pedri 16deedf3a0 Add 'WinRTClassUsingNotifyPropertyChangedAttributesAnalyzer' 2024-11-08 15:32:26 -08:00
Sergio Pedri 1f0a2d3b47 Merge pull request #980 from CommunityToolkit/dev/embedded-roslyn-pdbs
Embed .pdb files for all analyzer projects
2024-11-08 00:04:39 -08:00
Sergio Pedri a285a1eaf4 Embed .pdb files for all analyzer projects 2024-11-07 23:43:01 -08:00
Sergio Pedri 77ede78498 Merge pull request #979 from CommunityToolkit/dev/winrt-analyzers
Add MVVM Toolkit analyzers for WinRT scenarios
2024-11-07 23:35:52 -08:00
Sergio Pedri ec0a331005 Add unit tests for all WinRT analyzers 2024-11-07 23:12:51 -08:00
Sergio Pedri 7ba700ef68 Fix some analyzer bugs 2024-11-07 23:12:35 -08:00
Sergio Pedri c6ca94dec3 Minor code refactoring to internal extensions 2024-11-07 19:06:53 -08:00
Sergio Pedri f74269bcd0 Fix formatting in '[ObservableProperty]' diagnostics 2024-11-07 17:07:03 -08:00
Sergio Pedri 171ba41d61 Tweaks to the '[ObservableProperty]' code fixer 2024-11-07 17:04:19 -08:00
Sergio Pedri e2c33e78f4 Add 'WinRTGeneratedBindableCustomPropertyWithBasesMemberAnalyzer' 2024-11-07 13:02:06 -08:00
Sergio Pedri 374b2d0fef Use 'GetMSBuildBooleanPropertyValue' in more places 2024-11-07 11:09:10 -08:00
Sergio Pedri 729e96c108 Add 'WinRTRelayCommandIsNotGeneratedBindablePropertyProviderCompatibleAnalyzer' 2024-11-07 11:09:10 -08:00
Sergio Pedri 24064de876 Add 'WinRTObservablePropertyOnFieldsIsNotAotCompatibleAnalyzer' 2024-11-06 22:07:29 -08:00
Sergio Pedri 1599d68b9b Add 'CommunityToolkit.Mvvm.Windows.targets' 2024-11-06 21:36:53 -08:00
Sergio Pedri 1fe18f4231 Merge pull request #973 from CommunityToolkit/dev/remove-this-code-fixer
Remove 'this.' expressions in partial property code fixer
2024-10-28 22:48:31 -07:00
Sergio Pedri 8f480bc4ef Add unit test for 'this.' expressions 2024-10-28 21:47:32 -07:00
Sergio Pedri d2ff32ca66 Remove 'this.' from partial property code fixer 2024-10-28 21:47:04 -07:00
Sergio Pedri f924bc27c7 Merge pull request #972 from CommunityToolkit/dev/multi-target-code-fixers
Handle 'required' fields in partial property code fixer
2024-10-28 21:45:49 -07:00
Sergio Pedri fab668d11b Add unit test for 'required' fields 2024-10-28 19:53:44 -07:00
Sergio Pedri bf49905b6b Handle 'required' on fields 2024-10-28 19:53:37 -07:00
Sergio Pedri bd4abe9b4d Build and pack Roslyn 4.11 code fixers 2024-10-28 19:41:29 -07:00
Sergio Pedri e4f8766f44 Add code fixer project for Roslyn 4.11 2024-10-28 19:40:48 -07:00
Sergio Pedri 00320713e2 Switch code fixers to shared project configuration 2024-10-28 19:38:12 -07:00
Sergio Pedri 8bc25ff4b7 Mode code fixer files to shared project 2024-10-28 19:30:37 -07:00
Sergio Pedri f6fb902f9e Rename 'CodeFixers' for Roslyn 4.0 2024-10-28 19:28:46 -07:00
Sergio Pedri b77ba0d749 Merge pull request #970 from CommunityToolkit/dev/partial-property-fixes
Bug fixes to generated partial properties
2024-10-28 09:59:59 -07:00
Sergio Pedri 73e7a88a4b Add unit test for required properties 2024-10-28 09:22:09 -07:00
Sergio Pedri e82074f290 Support required properties in codegen 2024-10-28 09:22:09 -07:00
Sergio Pedri a87344925c Fix targets for '[NotifyPropertyChangedRecipients]' 2024-10-28 09:09:00 -07:00
Sergio Pedri 812f545635 Merge pull request #968 from CommunityToolkit/dev/move-diagnostics-to-analyzers
Move some diagnostics to analyzers
2024-10-27 18:56:06 -07:00
Sergio Pedri 143df8e101 Add 'InvalidGeneratedPropertyObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri ead5b1163b Add 'PropertyNameCollisionObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri 0b5dfb2d24 Add 'InvalidTargetObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri 1f6fdad4f6 Merge pull request #967 from CommunityToolkit/dev/update-nuget
Update NuGet packages to latest stable
2024-10-27 15:20:19 -07:00
Sergio Pedri f9c7bc3e87 Update NuGet packages to latest stable 2024-10-27 14:54:54 -07:00
Sergio Pedri 48ed1b42a8 Merge pull request #966 from CommunityToolkit/dev/partial-properties
Add support for partial properties for [ObservableProperty]
2024-10-27 14:50:47 -07:00
Sergio Pedri a7840b2c75 Don't run analyzers on generated code 2024-10-26 11:08:34 -07:00
Sergio Pedri 0a81f27b98 Support field initializers in code fixer 2024-10-25 00:05:22 -07:00
Sergio Pedri f75edabda8 Don't suggest partial properties for static fields 2024-10-24 23:49:04 -07:00
Sergio Pedri 9c9ff44c19 Set version.json to 8.4.0 2024-10-24 23:00:55 -07:00
Sergio Pedri 648788ca0d Fix last remaining unit test, and test regex 2024-10-24 22:59:33 -07:00
Sergio Pedri ca5d9ddd9a Fix a unit test on .NET Framework 2024-10-24 22:46:16 -07:00
Sergio Pedri 7b402b6596 Add workaround for older Roslyn versions 2024-10-24 22:45:52 -07:00
Sergio Pedri 34538245d6 Improve messages in diagnostics when emitted on properties 2024-10-24 19:57:37 -07:00
Sergio Pedri 00ebe428cd Support updating field references as well 2024-10-24 19:43:22 -07:00