Commit Graph
263 Commits
Author SHA1 Message Date
Sergio Pedri 36a3b82077 Merge pull request #276 from CommunityToolkit/dev/fix-generators-in-root-namespace
Fix source generators for types in global namespace
2022-06-01 22:25:15 +02:00
Sergio Pedri 8742886a0d Merge pull request #277 from CommunityToolkit/dev/duplicate-base-icommand-diagnostics
Add diagnostic for duplicate ICommand-s in base types
2022-06-01 22:11:27 +02:00
Sergio Pedri 9560e3fef2 Properly forward nullability annotations for [ICommand] 2022-06-01 22:10:43 +02:00
Sergio Pedri d429e0327b Fix source generators for types in global namespace 2022-06-01 22:08:12 +02:00
Sergio Pedri 2c5bf9c14a Merge pull request #279 from CommunityToolkit/dev/command-on-prefix
Add support for "On" prefix for command methods
2022-06-01 22:06:35 +02:00
Sergio Pedri 0b15992b66 Add unit test for [AlsoValidateProperty] 2022-05-31 12:32:48 +02:00
Sergio Pedri 31918450ef Improve diagnostics, add unit tests 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 8a9fc91b5b Add support for "On" prefix for command methods 2022-05-27 16:05:30 +02:00
Sergio Pedri 49201619c8 Add diagnostic for duplicate ICommand-s in base types 2022-05-27 14:17:29 +02:00
Sergio Pedri d4a8971ff6 Merge pull request #237 from danielbanda/Typos
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri d299dfdbdc Merge pull request #258 from CommunityToolkit/dev/fix-observableproperty-inherited-canexecute
Fix [ICommand] CanExecute with inherited generated property
2022-05-24 10:42:36 -07:00
Sergio Pedri db831fc34f Fix build error with generic ObservableValidator types 2022-05-24 09:54:51 +02:00
Sergio Pedri 59d92997ca Fix build error with generic IRecipient<T> types
This just uses the compiled LINQ expression fallback
2022-05-24 09:53:05 +02:00
Sergio Pedri d61796f1c7 Add unit tests for abstract source generation targets 2022-05-21 14:06:43 +02:00
Sergio Pedri 6af97af3ee Fix [ICommand] CanExecute with inherited generated property 2022-05-20 14:22:28 +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 27fd6c38f2 Add unit tests for [Display] breaking [AlsoBroadcastChange] 2022-05-10 15:41:05 +02:00
Sergio Pedri 9f951c2cf0 Make source generators culture invariant 2022-05-09 21:44:12 +02:00
Sergio Pedri 914f31d99b Add unit tests for blocked generated properties 2022-05-09 21:13:37 +02:00
Sergio Pedri 414c8375a3 Add unit test for base viewmodel in separate assembly 2022-05-09 16:11:44 +02:00
Sergio Pedri b52b427058 Remove [Conditional] from MVVM Toolkit attributes 2022-05-09 16:11:44 +02:00
Sergio Pedri d1f7c051aa Resolve some build warnings 2022-05-09 15:58:40 +02:00
Sergio Pedri f92fef7137 Add more unit tests for generics with [ObservableProperty]
This covers all cases from #224 as well.
2022-05-09 15:58:40 +02:00
Daniel Banda f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
Sergio Pedri b5b0045483 Fix duplicate generated files for ObservableValidator generator 2022-05-03 16:20:23 +02:00
Sergio Pedri f003c4fc6f Merge pull request #211 from CommunityToolkit/dev/fix-non-classes-nested-types
Fix generation of nested types that are not classes
2022-04-11 19:28:13 +02:00
Sergio Pedri e698d066a9 Add support for nested record types 2022-04-11 19:10:52 +02:00
Sergio Pedri 7f4888dba0 Add unit tests for nested types that are not classes 2022-04-11 19:10:52 +02:00
Sergio Pedri 753842a379 Merge pull request #199 from ovska/feat/highperformance/arraypool-ensurecapacity
Add EnsureCapacity to ArrayPoolExtensions
2022-04-11 15:17:34 +02:00
ovska 714576210d Test ArrayPoolExtensions.EnsureCapacity 2022-04-08 19:05:21 +03:00
Sergio Pedri b8979472ff Add an extra test case 2022-04-06 23:28:22 +02:00
Sergio Pedri 48deec9f77 Remove TODOs 2022-04-06 22:57:39 +02:00
Sergio Pedri d1e75b9893 Add ObservableGroupedCollectionExtensions tests, bug fixes 2022-04-06 22:48:57 +02:00
Sergio Pedri dd2a72d4e7 Rename unit test methods for consistency 2022-04-06 22:48:57 +02:00
Sergio Pedri 274a3c0174 Minor code refactoring 2022-04-06 22:48:56 +02:00
Sergio Pedri 0e3be7e80c Add tests for ArgumentNullException-s in collections 2022-04-06 22:48:56 +02:00
Sergio Pedri 08fca92424 Update ObservableGroupedCollectionExtensions with new shape 2022-04-06 22:48:56 +02:00
Sergio Pedri 03e85af860 Fix build errors in unit tests 2022-04-06 22:48:56 +02:00
Sergio Pedri 186ff01aeb Remove unnecessary constructor 2022-04-06 22:48:54 +02:00
Sergio Pedri 759c6b3f33 Add unit test for diagnostics on inherited members 2022-04-06 18:14:00 +02:00
ovska 98f450ae9c Fix outdated test method names for ArrayPoolExtensions 2022-04-05 20:48:01 +03:00
Sergio Pedri 5bbab53888 Merge pull request #181 from CommunityToolkit/dev/icommand-overloads-diagnostics
Fix [ICommand] generator crashing with overloads, add diagnostics
2022-04-04 20:44:04 +02:00
Sergio Pedri 3b3c8b1a00 Merge pull request #183 from CommunityToolkit/dev/remove-spinlock-object-extension
Remove SpinLock extension taking an object
2022-04-04 19:47:47 +02:00
Sergio Pedri 0e2a94c908 Merge pull request #190 from CommunityToolkit/dev/fix-indexof-return
Change IndexOf APIs to return -1 if not found
2022-04-04 19:47:09 +02:00
Sergio Pedri bffc3d72f8 Change IndexOf APIs to return -1 if not found 2022-03-30 20:37:07 +02:00
Sergio Pedri 3d5fd97bce Fix MissingMethodExceptions for Stream extensions 2022-03-28 13:59:05 +02:00
Sergio Pedri 760c3c2096 Remove SpinLock extension taking an object 2022-03-28 13:43:21 +02:00
Sergio Pedri 3ff3d8e8cd Add diagnostics for [ICommand] on multiple overloads 2022-03-26 13:52:28 +01:00
Sergio Pedri a045b551d8 Merge pull request #161 from CommunityToolkit/dev/icommand-attribute-task-t
Allow Task<T>-returns on methods with [ICommand]
2022-03-25 23:21:20 +01:00