Commit Graph

41 Commits

Author SHA1 Message Date
Sergio Pedri aea7e88a48 Add aka.ms links to MVVM generator diagnostics 2022-06-28 12:26:22 +02:00
Sergio Pedri a2c93139ba Fix typo in a MVVM Toolkit diagnostic description 2022-06-13 17:53:34 +02:00
Nirmal Guru 3adf6fb689 Remove BOM from all files
Renormalize new lines and remove BOM from all files
2022-06-11 15:36:02 +02:00
Sergio Pedri 0d7ec7a24e Add FlowExceptionsToTaskScheduler generator support 2022-06-04 16:37:32 +02:00
Sergio Pedri 25a213bcd0 Rename [ICommand] to [RelayCommand] 2022-06-02 01:40:58 +02:00
Sergio Pedri 0267515b9d Rename [NotifyRecipients] to [NotifyPropertyChangedRecipients] 2022-06-01 23:26:55 +02:00
Sergio Pedri 32285a10e9 Add warning for unnecessary [NotifyDataErrorInfo] attribute 2022-06-01 23:26:54 +02:00
Sergio Pedri 0594506c2a Add warning for unnecessary [NotifyRecipients] attribute 2022-06-01 23:26:54 +02:00
Sergio Pedri 4d8630b480 Enable diagnostics for class-level recipient/validation attributes 2022-06-01 23:26:54 +02:00
Sergio Pedri 52e5ebfd18 Rename [NotifyRecipients] attribute 2022-06-01 23:26:53 +02:00
Sergio Pedri 29f94a4ce7 Rename [NotifyDataErrorInfo] attribute 2022-06-01 23:26:53 +02:00
Sergio Pedri 91a7798e42 Rename [NotifyCanExecuteChangedFor] attribute 2022-06-01 23:26:52 +02:00
Sergio Pedri e7527d79b4 Rename [NotifyPropertyChangedFor] attribute 2022-06-01 23:26:52 +02:00
Sergio Pedri 31918450ef Improve diagnostics, add unit tests 2022-05-31 12:32:48 +02:00
Sergio Pedri 171b89b0f0 Enable AlsoValidatePropertyAttribute generation 2022-05-31 12:32:48 +02:00
Sergio Pedri 780b596f22 Add new checks and diagnostics for properties causing conflicts 2022-05-09 21:13:25 +02:00
Sergio Pedri e0016b7e0f Move diagnostics list to shipped release file 2022-04-06 15:14:14 +02:00
Sergio Pedri 3ff3d8e8cd Add diagnostics for [ICommand] on multiple overloads 2022-03-26 13:52:28 +01:00
Sergio Pedri 668de52f39 Enable orphaning diagnostics for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri 53ac5d8e38 Implement code generation for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri eb41f891f8 Add diagnostics for invalid [ObservableRecipient] target type 2022-03-14 00:02:38 +01:00
Sergio Pedri 17d4df6555 Add diagnostics for orphaned [ObservableProperty] dependent attributes 2022-03-13 20:07:27 +01:00
Sergio Pedri b632429c15 Add diagnostics for invalid [ObservableProperty] containing type 2022-03-13 19:37:15 +01:00
Sergio Pedri 914a7aca26 Add diagnostics for combining [INPC] and [ObservableObject] 2022-03-13 18:39:23 +01:00
Sergio Pedri ccb8a9d4ad Fixed bugs in new diagnostics logic 2022-03-13 15:15:20 +01:00
Sergio Pedri b66fa4ba22 Add diagnostics for invalid target of [AlsoNotifyCanExecuteFor] 2022-03-13 15:15:20 +01:00
Sergio Pedri 48587bc7ba Add diagnostics for invalid target of [AlsoNotifyChangeFor] 2022-03-13 15:15:20 +01:00
Sergio Pedri 53f9abf098 Add diagnostics for name collision for [ObservableProperty] 2022-03-13 15:15:19 +01:00
Sergio Pedri 63a6676790 Add IncludeCancelCommand option to generator model 2022-03-01 17:22:37 +01:00
Sergio Pedri 71ad82d274 Workaround for RS2002 warnings
See https://github.com/dotnet/roslyn-analyzers/issues/5828
2022-02-22 13:13:37 +01:00
Sergio Pedri 64657753a3 Remove leftover internal helpers and adjust visibility 2021-12-29 18:31:47 +01:00
Sergio Pedri 9cc7d41c1e Add FilterWithLanguageVersion extension to gate on language version 2021-12-29 18:31:11 +01:00
Sergio Pedri 2428765852 Remove leftover DiagnosticDescriptor-s 2021-12-29 18:31:11 +01:00
Sergio Pedri 4667ba2ecd Restore C# version check in ICommandGenerator 2021-12-29 18:29:57 +01:00
Sergio Pedri 84c3e291ba Port incremental helpers from ComputeSharp
Also added attribution in ThirdPartyNotices.txt
2021-12-29 18:28:34 +01:00
Sergio Pedri 0ca0170da9 Resolve rebase build errors 2021-12-10 00:58:55 +01:00
Sergio Pedri 75c51164b3 Add concurrency control setting to [ICommand] attribute 2021-12-10 00:08:12 +01:00
Sergio Pedri 1b66760d67 Add initial support for [ICommand] CanExecute property 2021-12-09 10:49:58 +01:00
Sergio Pedri c176080d37 Switch whole solution to file-scoped namespaces 2021-11-01 20:46:46 +01:00
Sergio Pedri 8b7c87284b Update namespaces from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:22:05 +01:00
Sergio Pedri b498321331 Rename folders/projects from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:07:47 +01:00