1968 Commits
Author SHA1 Message Date
Sergio PedriandGitHub 038535247b Merge pull request #59 from CommunityToolkit/dev/strong-messenger-opts
Optimize StrongReferenceMessenger
2021-12-14 10:32:36 +01:00
Sergio Pedri 7bee2be36d Add concurrent messenger test with multiple token types 2021-12-13 13:36:29 +01:00
Sergio Pedri 216b403759 Add more documentation to unsupported paths 2021-12-13 13:36:29 +01:00
Sergio Pedri aa560fe256 Break down documentation into paragraphs 2021-12-13 13:36:29 +01:00
Sergio Pedri 56fb755f14 Fix a bug in StrongReferenceMessenger.IsRegistered 2021-12-13 13:36:29 +01:00
Sergio Pedri 3d59fd019b Remove unnecessary generic type parameters 2021-12-13 13:36:29 +01:00
Sergio Pedri fa7042fd80 Update StrongReferenceMessenger internal documentation 2021-12-13 13:36:28 +01:00
Sergio Pedri 8b2cad51f8 Add Unit type specialization to StrongReferenceMessenger 2021-12-13 13:36:28 +01:00
Sergio Pedri 6b02f86f0a Enable IRecipient<TMessage> optimization for StrongReferenceMessenger 2021-12-13 13:36:28 +01:00
Sergio Pedri 48ae66cdd7 Use MessageHandlerDispatcher handlers in StrongReferenceMessenger 2021-12-13 13:36:28 +01:00
Sergio PedriandGitHub 96dee08dc6 Merge pull request #48 from CommunityToolkit/dev/appcontext-switches
Enable INotifyPropertyChanging AppContext switch
2021-12-13 13:35:48 +01:00
Sergio PedriandGitHub 32a27ee157 Merge pull request #44 from CommunityToolkit/dev/weak-messenger-opts
Optimize WeakReferenceMessenger
2021-12-10 01:12:28 +01:00
Sergio PedriandGitHub 2405ac31c7 Merge pull request #30 from CommunityToolkit/dev/async-relay-command-concurrency
Add concurrency control to AsyncRelayCommand types
2021-12-10 01:12:11 +01:00
Sergio Pedri e724444cbb Add IsINotifyPropertyChangingDisabled unit tests 2021-12-10 01:03:20 +01:00
Sergio Pedri b26db77f48 Enable IsINotifyPropertyChangingDisabled switch in ObservableObject 2021-12-10 01:03:19 +01:00
Sergio Pedri ffaacbad9f Add Configuration type 2021-12-10 01:03:19 +01:00
Sergio Pedri 0ca0170da9 Resolve rebase build errors 2021-12-10 00:58:55 +01:00
Sergio Pedri 7841bb1403 Add more tests for [ICommand] default concurrency setting 2021-12-10 00:08:13 +01:00
Sergio Pedri 75c51164b3 Add concurrency control setting to [ICommand] attribute 2021-12-10 00:08:12 +01:00
Sergio Pedri a6160f2126 Remove unnecessary async state machine allocations 2021-12-10 00:02:22 +01:00
Sergio Pedri fa0eb97e3b Add unit tests for concurrency control setting 2021-12-10 00:02:22 +01:00
Sergio Pedri 01d7102ea9 Add cancellation support to AsyncRelayCommand<T> 2021-12-10 00:02:22 +01:00
Sergio Pedri 03989131d1 Add cancellation support to AsyncRelayCommand 2021-12-10 00:02:22 +01:00
Sergio PedriandGitHub ab75cb9015 Merge pull request #53 from CommunityToolkit/dev/alsonotifycanexecutefor-attribute
Add [AlsoNotifyCanExecuteFor] attribute
2021-12-09 22:28:07 +01:00
Sergio Pedri 15e1ba4631 Minor code refactoring 2021-12-09 21:02:08 +01:00
Sergio Pedri 0162c71c5b Add unit test for [AlsoNotifyCanExecuteFor] 2021-12-09 21:02:08 +01:00
Sergio Pedri b57f21327b Enabled generation support or [AlsoNotifyCanExecuteFor] 2021-12-09 21:02:07 +01:00
Sergio Pedri 5dc526aa10 Add [AlsoNotifyCanExecuteFor] attribute type 2021-12-09 21:01:30 +01:00
Sergio PedriandGitHub 6c826407a0 Merge pull request #50 from CommunityToolkit/dev/icommand-attribute-canexecute
Add [ICommand] CanExecute property
2021-12-09 21:00:42 +01:00
Sergio Pedri 7046476d51 Minor codegen improvements
Removed type checks from guarded devirtualization when broadcasting
2021-12-09 11:35:26 +01:00
Sergio Pedri 2b690d7f60 Tweak StrongReferenceMessenger.Send to remove null suppression 2021-12-09 11:01:17 +01:00
Sergio Pedri 805437c96e Add unit tests for Dictionary2<TKey, TValue> 2021-12-09 10:57:25 +01:00
Sergio Pedri 9ba13b7a19 Add uni tests for async command types 2021-12-09 10:49:58 +01:00
Sergio Pedri 042ff3f4c6 Add diagnostics tests for CanExecute feature, bug fixes 2021-12-09 10:49:58 +01:00
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 PedriandGitHub 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