Commit Graph
2284 Commits
Author SHA1 Message Date
Sergio Pedri 206cc6c7ec Add [ICommand] CanExecute unit tests 2021-12-09 10:49:58 +01:00
Sergio Pedri 1b66760d67 Add initial support for [ICommand] CanExecute property 2021-12-09 10:49:58 +01:00
Sergio Pedri 0cae39fd97 Merge pull request #47 from CommunityToolkit/dev/global-type-qualifiers
Switch all generated code to global::
2021-12-04 02:10:35 +01:00
Sergio Pedri b86238cad3 Update TransitiveMembersGenerator for new embedded resources 2021-12-02 18:04:37 +01:00
Sergio Pedri 680be4180e Switch ObservableRecipient template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri 9a4e381353 Switch ObservableObject template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri 12d7672a38 Switch INotifyPropertyChanged template to global:: qualifiers 2021-12-02 18:04:37 +01:00
Sergio Pedri 6cb7e571d4 Add more comments and XML docs 2021-12-02 18:04:04 +01:00
Sergio Pedri 27ed92db88 Skip array covariance checks in ArrayPoolBufferWriter<T> 2021-12-02 18:04:04 +01:00
Sergio Pedri 39388b1c1e Optimize ConditionalWeakTable2<,>.Enumerator
Also done some refactoring to streamline code across targets
2021-12-02 18:04:04 +01:00
Sergio Pedri 75869de313 Optimize WeakReferenceMessenger broadcast loop 2021-12-02 18:04:04 +01:00
Sergio Pedri 96606f208d Enable fast paths for IRecipient<TMessage> recipients 2021-12-02 18:04:04 +01:00
Sergio Pedri c0f1704aed Remove Unsafe.As<T>(object) delegate type aliasing 2021-12-02 18:04:04 +01:00
Sergio Pedri 416653a2aa Enable Unit type specialization for WeakReferenceMessenger 2021-12-02 18:04:03 +01:00
Sergio Pedri 316557b683 Fix a bug in Dictionary2<TKey, TValue>.Enumerator.MoveNext() 2021-12-02 18:04:03 +01:00
Sergio Pedri dd2a827694 Switch messengers to new dictionary, code refactoring 2021-12-02 18:04:03 +01:00
Sergio Pedri 622be37d5c Specialize Dictionary<TKey, TValue> for the messenger types 2021-12-02 18:04:03 +01:00
Sergio Pedri 7c2bc7f0ed Port Dictionary<TKey, TValue> from .NET 6 2021-12-02 18:04:03 +01:00
Sergio Pedri 1b084e4ab8 Add unit tests for ConditionalWeakTable2<TKey, TValue> 2021-12-02 18:04:03 +01:00
Sergio Pedri a86eb44474 Hoist enumeration lock for custom conditional table 2021-12-02 18:04:03 +01:00
Sergio Pedri a6f5dc5ff2 Remove tracking of multiple active enumerators 2021-12-02 18:04:03 +01:00
Sergio Pedri c2a8731452 Switch .NET table GetEnumerator() to ref struct enumerator 2021-12-02 18:04:02 +01:00
Sergio Pedri 03032c7a1a Moved .NET Stadard 2.0 ConditionalWeakTable type 2021-12-02 18:04:02 +01:00
Sergio Pedri 65e6746c57 Initial refactor pass for .NET 6 ConditionalWeakTable 2021-12-02 18:04:02 +01:00
Sergio Pedri aaecb7176b Port ConditionalWeakTable<TKey, TValue> from .NET 6 2021-12-02 18:04:02 +01:00
Sergio Pedri 8eaea35c2a Merge pull request #29 from CommunityToolkit/dev/guard-callerargumentexpression
Add [CallerArgumentExpression] to Guard APIs
2021-12-02 17:57:09 +01:00
Sergio Pedri 2f6e10ab02 Merge pull request #31 from CommunityToolkit/dev/generated-headers
Improve header for generated files
2021-11-30 13:40:46 +01:00
Sergio Pedri 923fccafee Merge pull request #45 from CommunityToolkit/dev/strong-messenger-unregister-fixes
StrongReferenceMessenger.Unregister[All] fixes
2021-11-29 14:36:09 +01:00
Sergio Pedri 35b034fc62 Fix StrongReferenceMessenger.Unregister, add concurrent unit tests 2021-11-29 14:21:08 +01:00
Sergio Pedri 32c23450f9 Fix some bugs in StrongReferenceMessenger.Unregister[All] APIs 2021-11-29 13:31:49 +01:00
Sergio Pedri b2c6c09b5f Update README.md
Added a quick summary following feedbacks from Reddit
2021-11-27 17:44:32 +01:00
Sergio Pedri e394a35380 Merge pull request #42 from CommunityToolkit/dev/net6-target
Switch .NET 5 target to .NET 6
2021-11-23 15:45:53 +01:00
Sergio Pedri 1f837ee81b Add .NET 6 fast paths for array extensions 2021-11-23 15:24:51 +01:00
Sergio Pedri 48ab1dda62 Streamline some build conditional blocks 2021-11-22 17:55:01 +01:00
Sergio Pedri bfc72c4944 Update BitOperations.RoundUpToPowerOf2 polyfill 2021-11-22 17:49:21 +01:00
Sergio Pedri f3fb0bf80d Update CI script to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri 1910995151 Update CommunityToolkit.Mvvm to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri 1d420b780c Update CommunityToolkit.HighPerformance to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri 5275a50ba4 Update CommunityToolkit.Diagnostics to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri 47b32b5953 Update CommunityToolkit.Common to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri d3a34ae7dd Update verify headers script for generated headers 2021-11-15 12:35:34 +01:00
Sergio Pedri 6fac6dd5a9 Remove leftover GetTypeInfo() calls 2021-11-15 12:09:45 +01:00
Sergio Pedri 806287d7e2 Fix generated source for nullability attributes
This both adds the new "// <auto-generated/>" header, as well as restores the non-file-scoped namespace declaration so that the code will compile on C# < 10 as well (which is explicitly supported by the MVVM Toolkit)
2021-11-15 11:23:44 +01:00
Sergio Pedri 12750907cb Switch generated headers to "// <auto-generated/>" 2021-11-15 11:22:42 +01:00
Sergio Pedri 744bfca7bb Add some sample unit tests 2021-11-15 10:54:48 +01:00
Sergio Pedri 465849003f Add [CallerArgumentExpression] to Guard APIs 2021-11-15 10:54:48 +01:00
Sergio Pedri 1a94430894 Merge pull request #6 from CommunityToolkit/readme-update
Update readme build number and add contributor image
2021-11-11 18:20:55 +01:00
Michael Hawker MSFT (XAML Llama) 339efc831f Minor edit to trigger Release 2021-11-10 14:50:54 -08:00
Michael Hawker MSFT (XAML Llama) b2f7e12825 Update readme build number and add contributor image 2021-11-10 14:23:37 -08:00
Sergio Pedri e0aa4fcd60 Merge pull request #4 from CommunityToolkit/dev/ci-setup
Test CI Setup
2021-11-09 16:16:26 +01:00