Commit Graph

47 Commits

Author SHA1 Message Date
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 139068f297 Enable class-level [NotifyDataErrorInfo] usage 2022-06-01 23:26:53 +02:00
Sergio Pedri 0f0d7bb847 Enable class-level [NotifyRecipients] usage 2022-06-01 23:26:53 +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 e202a554e7 Forward all DataAnnotations attribute for [ObservableProperty] 2022-05-31 12:32:47 +02:00
Sergio Pedri d4a8971ff6
Merge pull request #237 from danielbanda/Typos
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri b8db4b082e
Merge pull request #248 from CommunityToolkit/dev/block-conflicting-generated-properties
Block [ObservableProperty] on properties causing conflicts
2022-05-13 14:53:13 +02:00
Sergio Pedri 612a6eaf20 Fix [AlsoBroadcastChange] breaking before other attributes 2022-05-10 15:53:21 +02:00
Sergio Pedri 9f951c2cf0 Make source generators culture invariant 2022-05-09 21:44:12 +02:00
Sergio Pedri 780b596f22 Add new checks and diagnostics for properties causing conflicts 2022-05-09 21:13:25 +02:00
Daniel Banda f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
Sergio Pedri 3324b5214e Fix incorrect duplicated property notification call 2022-04-06 18:21:43 +02:00
Sergio Pedri 69707bf3fd Fix false positive diagnostics for inherited members 2022-04-06 18:08:42 +02:00
Sergio Pedri 4bb6067abc Fix nullability annotations in generated properties 2022-03-25 22:27:18 +01:00
Sergio Pedri 53ac5d8e38 Implement code generation for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri 216d4eaaf4 Code refactoring to remove goto-s 2022-03-15 20:00:19 +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 ab6d3007e6 Skip generating properties when there is a name collision 2022-03-13 15:47:11 +01:00
Sergio Pedri 31f5c95603 Improve diagnostics for [ObservableProperty] with invalid validation 2022-03-13 15:15:20 +01:00
Sergio Pedri 840e7a5983 More bug fixes to new diagnostics 2022-03-13 15:15:20 +01:00
Sergio Pedri ccb8a9d4ad Fixed bugs in new diagnostics logic 2022-03-13 15:15:20 +01:00
Sergio Pedri 929bef6b6f Fix diagnostics for generated commands 2022-03-13 15:15:20 +01:00
Sergio Pedri 6e497b1ad0 Fix diagnostics for generated properties 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 c9839ef073 Remove [DebuggerNonUserCode] from visible members 2022-03-06 17:36:35 +01:00
Sergio Pedri d4a58e88fb Fix wrong generator type names in [GeneratedCode] 2022-03-01 00:17:30 +01:00
Sergio Pedri 07fdeed558 Add invocation of partial generated methods 2022-03-01 00:17:30 +01:00
Sergio Pedri f487d92f87 Add partial generation for OnPropertyChanging/Changed 2022-03-01 00:17:29 +01:00
Sergio Pedri 4a004a4fab Add <inheritdoc/> to generated observable properties 2022-02-24 23:59:29 +01:00
Sergio Pedri 35d403b945 Fix mixed whitespaces in generated files 2021-12-31 17:32:47 +01:00
Sergio Pedri 9c581dc531 Add nullable enable directives to generated files 2021-12-29 18:31:12 +01:00
Sergio Pedri 8bbc3092fe Enable diagnostics for ObservablePropertyGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri b173cd3570 Remove non incremental ObservablePropertyGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri 8c9d9d3e8e Enable properties generation for ObservablePropertyGenerator 2021-12-29 18:30:36 +01:00
Sergio Pedri 30e5dbe6be Add initial version of incremental ObservablePropertyGenerator
Only generating cached property changing/changed args for now
2021-12-29 18:30:36 +01:00