Commit Graph
2284 Commits
Author SHA1 Message Date
Sergio Pedri 74fc2aae75 Add draft UnsupportedCSharpLanguageVersionAnalyzer 2022-09-09 13:31:45 +02:00
Sergio Pedri 5be269e5ea Merge pull request #428 from CommunityToolkit/dev/roslyn-multi-targeting
Multi-target Roslyn dependency in MVVM Toolkit generators
2022-09-09 12:49:43 +02:00
Sergio Pedri 4fae4dded9 Merge pull request #398 from zhuman/fix_cslang_80
Fix for using C# 8.0 projects (e.g. UWP projects stuck on .NET Core 3)
2022-09-08 23:59:53 +02:00
Sergio Pedri 9b7d8710c6 Fix unit tests for generators
These two generators should never cause a build error
2022-09-08 23:41:31 +02:00
Sergio Pedri 7723c1e093 Code style tweaks 2022-09-08 23:26:43 +02:00
Sergio Pedri f577ec0347 Only set OutputPath in generators during packing 2022-09-08 19:36:43 +02:00
Sergio Pedri 514710b111 Run multi-targeted Roslyn projects in CI 2022-09-08 19:36:43 +02:00
Sergio Pedri b661cb7f91 Enable multi-targeting Roslyn for unit test projects 2022-09-08 19:36:43 +02:00
Sergio Pedri bb4e41ee32 Merge pull request #394 from heku/correct_type_in_converters
Correct typo in converters
2022-09-08 19:12:27 +02:00
Sergio Pedri 7bd28e4eb1 Enable Roslyn multi-targeting in the MVVM Toolkit generator 2022-09-08 02:15:41 +02:00
Zachary Northrup 61e9e4792d Update source generator tests to actually generate the compiled output, update tests to use the minimum supported C# language version (8.0), and also validate that unsupported version cases actually succeed with the supported version 2022-08-23 19:11:22 -07:00
Zachary Northrup 31e712f64d Fix ObservableValidatorValidateAllPropertiesGenerator and IMessengerRegisterAllGenerator to provide a nicer "unsupported C# language version" diagnostic instead of simply generating unsupported code and failing later in compilation 2022-08-23 19:09:39 -07:00
Zachary Northrup a47ce3b14b Fix for using C# 8.0 projects (e.g. UWP projects stuck on .NET Core 3) - fixes #376 2022-08-23 16:52:38 -07:00
heku 74e24d6b43 Correct a typo in Converters.ToFileSizeString and add unit tests 2022-08-20 23:45:23 +08:00
heku 19aa269c89 Code cleanup 2022-08-20 23:27:52 +08:00
Michael Hawker MSFT (XAML Llama) 9d1a525d04 Update readme for 8.0.0 release branch 2022-08-18 14:48:41 -07:00
Sergio Pedri 96517eace8 Merge pull request #359 from CommunityToolkit/dev/fix-linker-pragma-suppressions
Replace linker suppressions with attributes
v8.0.0
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 v8.0.0-preview4 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