Граф коммитов

1693 Коммитов

Автор SHA1 Сообщение Дата
Sergio Pedri 8cdc261997 Remove unnecessary partial class modifier 2021-12-29 18:31:48 +01:00
Sergio Pedri af82fe95ba Fix a small typo in XML docs
This closes #58
2021-12-29 18:31:47 +01:00
Sergio Pedri d01455ecb2 Add unit test for build error reported in #13 2021-12-29 18:31:47 +01:00
Sergio Pedri 64657753a3 Remove leftover internal helpers and adjust visibility 2021-12-29 18:31:47 +01:00
Sergio Pedri 9c581dc531 Add nullable enable directives to generated files 2021-12-29 18:31:12 +01:00
Sergio Pedri aae1cbde84 Add base Comparer<T, TSelf> type 2021-12-29 18:31:11 +01:00
Sergio Pedri 9cc7d41c1e Add FilterWithLanguageVersion extension to gate on language version 2021-12-29 18:31:11 +01:00
Sergio Pedri 13a9149eee Lower C# version requirement to 8 for all generators 2021-12-29 18:31:11 +01:00
Sergio Pedri 6fb377baee Remove cached delegate from ObservableObject 2021-12-29 18:31:11 +01:00
Sergio Pedri 48c7c73ae6 Remove non incremental generator paths from unit tests 2021-12-29 18:31:11 +01:00
Sergio Pedri 2428765852 Remove leftover DiagnosticDescriptor-s 2021-12-29 18:31:11 +01:00
Sergio Pedri 9474591020 Centralize handling of sealed target types 2021-12-29 18:31:11 +01:00
Sergio Pedri 164a8d92e3 Fix member generation in sealed types 2021-12-29 18:31:11 +01:00
Sergio Pedri 74c60c7a4a Remove non incremental TransitiveMembersGenerator 2021-12-29 18:31:11 +01:00
Sergio Pedri 1f90e526e9 Switch ObservableRecipientGenerator to incremental 2021-12-29 18:30:53 +01:00
Sergio Pedri b3eb5e55f5 Switch ObservableObjectGenerator to incremental 2021-12-29 18:30:53 +01:00
Sergio Pedri 839ddf98b3 Remove non incremental INotifyPropertyChangedGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri d3da266a1a Add incremental INotifyPropertyChangedGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri ddeddd8c08 Add initial version of incremental TransitiveMembersGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri 8bbc3092fe Enable diagnostics for ObservablePropertyGenerator 2021-12-29 18:30:53 +01:00
Sergio Pedri bf02beea06 Fix __KnownPropertyChangedEventArgs generation 2021-12-29 18:30:53 +01:00
Sergio Pedri 9defa26408 Minor code refactoring 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
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