1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-21 16:42:47 +01:00
Commit Graph

1968 Commits

Author SHA1 Message Date
Sergio Pedri
914f31d99b Add unit tests for blocked generated properties 2022-05-09 21:13:37 +02:00
Sergio Pedri
780b596f22 Add new checks and diagnostics for properties causing conflicts 2022-05-09 21:13:25 +02:00
Sergio Pedri
df07309b50
Merge pull request #247 from CommunityToolkit/dev/remove-attributes-conditional
Remove [Conditional] from MVVM Toolkit attributes
2022-05-09 16:24:59 +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
Sergio Pedri
a0f0b03eb5
Merge pull request #236 from CommunityToolkit/dev/observable-validator-partial-declarations
Fix ObservableValidator duplicate generated partial declarations
2022-05-09 15:18:37 +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
d1f7ef9eee Move partial filtering logic to new extension 2022-05-03 16:20:05 +02:00
Sergio Pedri
61539a26b8 Remove unnecessary using directives 2022-05-03 16:19:41 +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
Sergio Pedri
f34c0f3b49 Fix generation for nested types that are not classes 2022-04-11 14:28:14 +02:00
ovska
714576210d Test ArrayPoolExtensions.EnsureCapacity 2022-04-08 19:05:21 +03:00
ovska
2e1f1fe96e Add EnsureCapacity to ArrayPool extensions 2022-04-08 19:05:21 +03:00
Sergio Pedri
f3bd3d8b72
Merge pull request #169 from CommunityToolkit/dev/improve-collections
Revamp observable collection APIs
2022-04-06 23:52:02 +02: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
ba20320cdc Add a comment explaining the collection fast paths 2022-04-06 22:52:19 +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
bf31152d47 Optimize ILookup<TKey, TElement> implementations 2022-04-06 22:48:56 +02:00
Sergio Pedri
f6a0f3fae8 Add null checks to public APIs 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
2712e9b282 Seal ObservableGroup<TKey, TElement> for consistency 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
fcdd3561fc Add [DebuggerDisplay] to ReadOnlyObservableGroup<,> 2022-04-06 22:48:55 +02:00
Sergio Pedri
224b3342e5 Add ILookup<,> to observable grouped collections 2022-04-06 22:48:55 +02:00
Sergio Pedri
b522487acb Rename TValue type params to TElement 2022-04-06 22:48:55 +02:00
Sergio Pedri
a3be770bed Add IReadOnlyObservableGroup<out TKey, out TElement> 2022-04-06 22:48:55 +02:00
Sergio Pedri
d08e1b74d7 Add new interfaces/members to IReadOnlyObservableGroup 2022-04-06 22:48:55 +02:00
Sergio Pedri
2d582421ed Improvements to ReadOnlyObservableGroupedCollection logic 2022-04-06 22:48:54 +02:00
Sergio Pedri
6d2a502334 Improve ReadOnlyObservableGroupedCollection<TKey, TValue> constructors 2022-04-06 22:48:54 +02:00
Sergio Pedri
684a650059 Improve caching of KeyChangedEventArgs 2022-04-06 22:48:54 +02:00
Sergio Pedri
186ff01aeb Remove unnecessary constructor 2022-04-06 22:48:54 +02:00
Sergio Pedri
257250dc70 Add IReadOnlyObservableGroup<out TKey> 2022-04-06 22:48:54 +02:00
Sergio Pedri
e4a105f4f8
Merge pull request #202 from CommunityToolkit/dev/fix-target-member-diagnostics
Fix incorrect MVVMTK0015 with inherited members
2022-04-06 19:18:58 +02:00
Sergio Pedri
3324b5214e Fix incorrect duplicated property notification call 2022-04-06 18:21:43 +02:00
Sergio Pedri
759c6b3f33 Add unit test for diagnostics on inherited members 2022-04-06 18:14:00 +02:00
Sergio Pedri
69707bf3fd Fix false positive diagnostics for inherited members 2022-04-06 18:08:42 +02:00
Sergio Pedri
e0016b7e0f Move diagnostics list to shipped release file 2022-04-06 15:14:14 +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