1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2025-09-06 05:53:09 +02:00

187 Commits

Author SHA1 Message Date
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
Sergio Pedri
5067c3db2f Add unit tests for [ICommand] on Task<T> methods 2022-03-25 22:28:38 +01:00
Sergio Pedri
393a223229 Improve comments on commented out unit tests 2022-03-25 22:28:11 +01:00
Sergio Pedri
6e734ef065 Add unit tests 2022-03-25 22:28:11 +01:00
Sergio Pedri
4bb6067abc Fix nullability annotations in generated properties 2022-03-25 22:27:18 +01:00
Sergio Pedri
bf4b5f6f43 Merge pull request #152 from CommunityToolkit/dev/also-broadcast-change-attribute
Add new [AlsoBroadcastChange] attribute
2022-03-25 22:23:04 +01:00
Sergio Pedri
69a9a69b7f Change namespace to .Mvvm 2022-03-16 15:30:15 +01:00
Sergio Pedri
317241bb83 Move collection types to MVVM Toolkit 2022-03-16 15:30:15 +01:00
Sergio Pedri
4edcd888cb Add unit tests for [AlsoBroadcastChange] 2022-03-16 15:30:03 +01:00
Sergio Pedri
32a17cf5b5 Add AlsoBroadcastChangeAttribute type 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
840e7a5983 More bug fixes to new diagnostics 2022-03-13 15:15:20 +01:00
Sergio Pedri
0f7dfe632f Add more unit tests for [AlsoNotifyCanExecuteFor] 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
ce44cffb26 Add diagnostics tests for new diagnostics 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
a3c55276a8 Fix async relay command CanExecute raised with no concurrency 2022-03-12 00:44:54 +01:00
Sergio Pedri
3daad892c1 Fix unit tests 2022-03-09 22:14:51 +01:00
Sergio Pedri
7a4eccbc10 Remove CanExecute checks from Execute logic 2022-03-09 22:14:51 +01:00
Sergio Pedri
5fb9f7039c Add unit tests for trimming annotations 2022-03-09 00:13:36 +01:00
Sergio Pedri
5cea66b4f8 Fix invalid unit tests 2022-03-02 23:20:57 +01:00
Sergio Pedri
1371da130a Add unit tests for cancel commands 2022-03-02 12:45:38 +01:00
Sergio Pedri
3fc61fe03d Merge pull request #119 from CommunityToolkit/dev/partial-observable-property-methods
[ObservableProperty] generates partial OnPropertyChanging/Changed methods
2022-03-01 13:40:42 +01:00
Sergio Pedri
f40eb62717 Add more tests for generated partial methods 2022-03-01 00:17:30 +01:00