Commit Graph

1968 Commits

Author SHA1 Message Date
Sergio Pedri 96517eace8
Merge pull request #359 from CommunityToolkit/dev/fix-linker-pragma-suppressions
Replace linker suppressions with attributes
2022-08-03 09:18:09 -07:00
Sergio Pedri 321fc508a6 Switch __ObservableValidatorHelper to [UnconditionalSuppressMessage] 2022-08-02 19:18:52 +02:00
Sergio Pedri c80930f166 Add UnconditionalSuppressMessageAttribute polyfill 2022-08-02 19:18:52 +02:00
Sergio Pedri 3abc8a9dcb Replace linker suppressions with attributes 2022-08-02 19:00:14 +02:00
Sergio Pedri 8528092ed2
Merge pull request #266 from OronDF343/add-memorystream-copytoasync
Asynchronous implementation of `MemorySource<TSource>.CopyToAsync`
2022-07-06 15:08:52 +02:00
Sergio Pedri 43bafc5be2
Merge pull request #326 from CommunityToolkit/dev/add-diagnostics-links
Add aka.ms links to MVVM generator diagnostics
2022-07-06 15:05:45 +02:00
Sergio Pedri aea7e88a48 Add aka.ms links to MVVM generator diagnostics 2022-06-28 12:26:22 +02:00
Sergio Pedri d3250b6f78
Merge pull request #302 from CommunityToolkit/dev/fix-command-canexecute-nullability
Fix [RelayCommand] CanExecute when nullable arguments are used
2022-06-23 16:55:38 +02:00
Sergio Pedri 08bf8998fc
Merge pull request #301 from CommunityToolkit/dev/relay-command-argument-exceptions
Improve exceptions for invalid command arguments
2022-06-23 16:54:23 +02:00
Sergio Pedri 90f1db20ab
Merge pull request #321 from CommunityToolkit/dev/fix-targets-conflicts
Add unique prefixes to all .targets properties and items
2022-06-22 19:55:03 +02:00
Sergio Pedri 86aaa9953d Remove "_" prefixes from .targets elements 2022-06-22 16:00:35 +02:00
Sergio Pedri 77776099bd Add unique prefixes to all .targets properties and items 2022-06-21 16:40:04 +02:00
Sergio Pedri bfa9e1c923 Add unit tests for command ArgumentException-s 2022-06-13 17:54:20 +02:00
Sergio Pedri 56b5fe4a7b Add ArgumentException-s for invalid command arguments 2022-06-13 17:54:20 +02:00
Sergio Pedri 01e78f5c54 Add unit tests for [RelayCommand] with nullable arguments 2022-06-13 17:54:01 +02:00
Sergio Pedri 6920dabf9f Fix [RelayCommand] CanExecute matching with nullability 2022-06-13 17:54:01 +02:00
Sergio Pedri a2c93139ba Fix typo in a MVVM Toolkit diagnostic description 2022-06-13 17:53:34 +02:00
Sergio Pedri 7fdc18e35b
Merge pull request #309 from CommunityToolkit/dev/fix-fields-this-qualifier
Add "this." prefix to all field accesses
2022-06-13 17:51:45 +02:00
Sergio Pedri 03644c981e Temporarily switch modifier preference to silent
Needs https://github.com/dotnet/roslyn/issues/52904 to be fixed
2022-06-12 14:22:11 +02:00
Sergio Pedri 5591ddb9ff Minor style tweaks 2022-06-12 14:21:47 +02:00
Oron Feinerman 76e1900334 Code style fix 2022-06-12 10:46:34 +03:00
Oron Feinerman b831020f70 Add unit tests for `CopyTo` and `CopyToAsync` 2022-06-12 10:45:39 +03:00
Sergio Pedri a872a43a8f
Merge pull request #310 from CommunityToolkit/dev/add-missing-trimming-annotations
Add missing trimming annotations
2022-06-11 19:19:04 +02:00
Sergio Pedri 786ba0b5d4 Rename fields still using _lowerCamelCase names 2022-06-11 16:50:29 +02:00
Sergio Pedri 58aa6a7281 Add missing trimming annotations 2022-06-11 16:31:24 +02:00
Sergio Pedri 6972de2fee Add "this." prefix to all field accesses 2022-06-11 16:28:44 +02:00
Nirmal Guru 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Nirmal Guru 3adf6fb689 Remove BOM from all files
Renormalize new lines and remove BOM from all files
2022-06-11 15:36:02 +02:00
Sergio Pedri 464e331149 Update System.Memory NuGet package to 4.5.5 2022-06-07 11:48:09 +02:00
Sergio Pedri a231298a21
Merge pull request #290 from CommunityToolkit/dev/update-assembly-metadata
Update Company and Authors metadata items
2022-06-07 11:46:06 +02:00
Sergio Pedri de561c955f
Merge pull request #292 from CommunityToolkit/dev/async-command-options
Add FlowExceptionsToTaskScheduler command option
2022-06-07 11:45:11 +02:00
Sergio Pedri 612055be6f Add async void notes in AsyncRelayCommand 2022-06-07 11:09:11 +02:00
Sergio Pedri 5a0c5ee6d9 Add two missing ConfigureAwait(false) calls 2022-06-06 15:18:41 +02:00
Sergio Pedri fdda4c6bb0 Add more unit tests for synchronous exceptions 2022-06-04 16:37:33 +02:00
Sergio Pedri 923d479bbf Add unit tests for exception flow generator option 2022-06-04 16:37:32 +02:00
Sergio Pedri 0d7ec7a24e Add FlowExceptionsToTaskScheduler generator support 2022-06-04 16:37:32 +02:00
Sergio Pedri 799558c27a Add unit tests for throwing async commands 2022-06-04 16:37:32 +02:00
Sergio Pedri dba9c4163e Implement FlowExceptionsToTaskScheduler option 2022-06-04 15:20:30 +02:00
Sergio Pedri 79204ab489 Switch async command types to use AsyncRelayCommandOptions 2022-06-04 15:20:30 +02:00
Sergio Pedri 6d73083bf8 Add AsyncRelayCommandOptions enum 2022-06-04 15:20:30 +02:00
Sergio Pedri 69419e7acf
Merge pull request #288 from CommunityToolkit/dev/revamp-attributes
Rename attributes, enable class-level support
2022-06-04 13:53:07 +02:00
Sergio Pedri a12f5f28ac
Merge pull request #289 from InKahootz/strongname-sign-assemblies
Strong-name sign assemblies
2022-06-04 01:34:45 +02:00
Hank McCord 376a2e2f4b
Update InternalsVisibleTo usages with public token 2022-06-02 22:04:08 -04:00
Sergio Pedri 292bf3497d Update Company and Authors metadata items 2022-06-02 19:04:48 +02:00
Sergio Pedri da97424acd
Minor formatting tweaks to the readme 2022-06-02 18:56:35 +02:00
Sergio Pedri 25a213bcd0 Rename [ICommand] to [RelayCommand] 2022-06-02 01:40:58 +02:00
Sergio Pedri 0267515b9d Rename [NotifyRecipients] to [NotifyPropertyChangedRecipients] 2022-06-01 23:26:55 +02:00
Sergio Pedri 32285a10e9 Add warning for unnecessary [NotifyDataErrorInfo] attribute 2022-06-01 23:26:54 +02:00
Sergio Pedri 0594506c2a Add warning for unnecessary [NotifyRecipients] attribute 2022-06-01 23:26:54 +02:00
Sergio Pedri 4a3f919f71 Add unit test for inheriting [INotifyDataErrorInfo] 2022-06-01 23:26:54 +02:00