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

1970 Commits

Author SHA1 Message Date
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
Sergio Pedri
cb225c1127 Port IEqualityComparerExtensions from ComputeSharp 2021-12-29 18:30:36 +01:00
Sergio Pedri
64649493b5 Add PropertyInfo type 2021-12-29 18:30:36 +01:00
Sergio Pedri
833dae319c Add models to cache validation attributes 2021-12-29 18:30:36 +01:00
Sergio Pedri
7f176bcae7 Remove non incremental ObservableValidatorValidateAllPropertiesGenerator 2021-12-29 18:30:36 +01:00
Sergio Pedri
87821000c9 Add incremental ObservableValidatorValidateAllPropertiesGenerator 2021-12-29 18:30:22 +01:00
Sergio Pedri
ff09557a6f Improve code generation for IMessengerRegisterAllGenerator 2021-12-29 18:30:22 +01:00
Sergio Pedri
793a96ac39 Remove non incremental IMessengerRegisterAllGenerator 2021-12-29 18:30:22 +01:00
Sergio Pedri
5fd70ed0be Add incremental IMessengerRegisterAllGenerator 2021-12-29 18:29:57 +01:00
Sergio Pedri
9e493348e8 Minor code refactoring 2021-12-29 18:29:57 +01:00
Sergio Pedri
4667ba2ecd Restore C# version check in ICommandGenerator 2021-12-29 18:29:57 +01:00
Sergio Pedri
b354891cc2 Fix build errors in source generator test project 2021-12-29 18:29:56 +01:00
Sergio Pedri
703514d0fa Minor code tweaks 2021-12-29 18:29:56 +01:00
Sergio Pedri
4a6edb1474 Remove non incremental ICommandGenerator 2021-12-29 18:29:56 +01:00
Sergio Pedri
28af36a269 Add incremental ICommandGenerator 2021-12-29 18:28:34 +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
85d2c0f166 Add System.HashCode polyfill 2021-12-29 18:28:34 +01:00
Sergio Pedri
359615a5ba
Merge pull request #68 from CommunityToolkit/dev/stack-trace-hidden-attribute
Add [StackTraceHidden] attribute to Diagnostics package
2021-12-29 18:09:11 +01:00
Sergio Pedri
d2568f2b6e Add [StackTraceHidden] to Guard.ThrowHelper type 2021-12-29 18:08:51 +01:00
Sergio Pedri
78c381f520 Add [StackTraceHidden] polyfill 2021-12-29 18:08:51 +01:00
Sergio Pedri
e9be820d37
Merge pull request #66 from CommunityToolkit/dev/vectorized-nint-count
Add vectorized Count<T> support for nint/nuint
2021-12-29 18:08:23 +01:00
Sergio Pedri
4109697aa7 Enable usage of Vector<T>.Sum on .NET 6
See https://github.com/dotnet/runtime/issues/35626
2021-12-29 18:08:06 +01:00
Sergio Pedri
6d7bf0dd14 Add vectorized Count<T> support for nint/nuint 2021-12-29 18:08:05 +01:00
Sergio Pedri
4788f700d0
Merge pull request #69 from CommunityToolkit/dev/remove-pure-attributes
Remove [Pure] attribute usages
2021-12-29 18:07:26 +01:00
Sergio Pedri
3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri
88f2a07b97
Merge pull request #70 from CommunityToolkit/dev/guard-assert-interpolated-handlers
Add interpolated handler overload for Guard.IsTrue/IsFalse
2021-12-29 18:06:09 +01:00
Sergio Pedri
e9344a6f73 Add unit tests for new interpolated Guard APIs 2021-12-20 15:51:54 +01:00
Sergio Pedri
086249cba6 Add interpolated handler types for Guard.[IsTrue|IsFalse] 2021-12-20 15:47:39 +01:00
Sergio Pedri
9136501ab3
Merge pull request #67 from CommunityToolkit/dev/dot-terminated-exceptions
Add missing trailing dot to exception messages
2021-12-20 13:33:06 +01:00
Sergio Pedri
f6b604a824 Add dot to exception messages in remaining call sites 2021-12-20 13:15:20 +01:00
Sergio Pedri
102ba32808 Add dot to exception messages in Diagnostics package 2021-12-20 13:15:20 +01:00
Sergio Pedri
ab9713638a
Merge pull request #65 from CommunityToolkit/dev/fix-runtime-helpers-polyfill
Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill
2021-12-20 13:14:24 +01:00
Sergio Pedri
cefd1f7c1a Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill 2021-12-20 13:00:49 +01:00
Sergio Pedri
0ab8bd1e69
Merge pull request #64 from CommunityToolkit/dev/nullable-get-value-or-null-ref
Add NullableExtensions.DangerousGetValueOrNullReference
2021-12-20 12:59:58 +01:00
Sergio Pedri
ce46fbee6f
Merge pull request #60 from CommunityToolkit/dev/public-api-null-checks
Add null checks for parameters of public MVVM Toolkit APIs
2021-12-20 12:44:37 +01:00
Sergio Pedri
c1c52da44d Add new NullableExtensions unit tests 2021-12-17 14:02:19 +01:00
Sergio Pedri
12866a364d Add DangerousGetValueOrNullReference<T> extension 2021-12-17 13:58:11 +01:00
Sergio Pedri
b155e0456b Fix incorrect namespace for NullableExtensions 2021-12-17 13:54:29 +01:00
Sergio Pedri
7f0c5a1919 Add test class name to null argument check tests 2021-12-17 00:54:25 +01:00
Sergio Pedri
68b715f688 Remove unnecessary null warning suppressions 2021-12-14 10:40:18 +01:00
Sergio Pedri
c44205a15a Add unit tests for Messaging checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
35fbe9f607 Add unit tests for Input checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
de5393fbb5 Add unit tests for DependencyInjection checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
aee23b8935 Add unit tests for ComponentModel checks 2021-12-14 10:35:14 +01:00
Sergio Pedri
5fef9ab55f Add parameter null validation to Messaging APIs 2021-12-14 10:35:13 +01:00
Sergio Pedri
61f92f309c Move MessageHandler to separate file 2021-12-14 10:33:06 +01:00
Sergio Pedri
113d1a2134 Add parameter null validation to Input APIs 2021-12-14 10:33:06 +01:00
Sergio Pedri
d18998a054 Add parameter null validation to DependencyInjection API 2021-12-14 10:33:06 +01:00
Sergio Pedri
9af66c4a8d Add parameter null validation to ComponentModel APIs 2021-12-14 10:33:06 +01:00