Commit Graph

  • ec0a331005 Add unit tests for all WinRT analyzers Sergio Pedri 2024-11-07 23:12:51 -08:00
  • 7ba700ef68 Fix some analyzer bugs Sergio Pedri 2024-11-07 23:12:35 -08:00
  • c6ca94dec3 Minor code refactoring to internal extensions Sergio Pedri 2024-11-07 19:06:53 -08:00
  • f74269bcd0 Fix formatting in '[ObservableProperty]' diagnostics Sergio Pedri 2024-11-07 17:07:03 -08:00
  • 171ba41d61 Tweaks to the '[ObservableProperty]' code fixer Sergio Pedri 2024-11-07 15:45:41 -08:00
  • e2c33e78f4 Add 'WinRTGeneratedBindableCustomPropertyWithBasesMemberAnalyzer' Sergio Pedri 2024-11-07 11:33:53 -08:00
  • 374b2d0fef Use 'GetMSBuildBooleanPropertyValue' in more places Sergio Pedri 2024-11-06 22:30:29 -08:00
  • 729e96c108 Add 'WinRTRelayCommandIsNotGeneratedBindablePropertyProviderCompatibleAnalyzer' Sergio Pedri 2024-11-06 22:29:07 -08:00
  • 24064de876 Add 'WinRTObservablePropertyOnFieldsIsNotAotCompatibleAnalyzer' Sergio Pedri 2024-11-06 22:07:29 -08:00
  • 1599d68b9b Add 'CommunityToolkit.Mvvm.Windows.targets' Sergio Pedri 2024-11-06 21:36:53 -08:00
  • 3c18930c21 Set version.json to 8.4.0-preview1 rel/8.4.0-preview1 Sergio Pedri 2024-10-29 20:21:29 -07:00
  • 1fe18f4231 Merge pull request #973 from CommunityToolkit/dev/remove-this-code-fixer Sergio Pedri 2024-10-28 22:48:31 -07:00
  • 8f480bc4ef Add unit test for 'this.' expressions Sergio Pedri 2024-10-28 20:02:26 -07:00
  • d2ff32ca66 Remove 'this.' from partial property code fixer Sergio Pedri 2024-10-28 20:01:43 -07:00
  • f924bc27c7 Merge pull request #972 from CommunityToolkit/dev/multi-target-code-fixers Sergio Pedri 2024-10-28 21:45:49 -07:00
  • fab668d11b Add unit test for 'required' fields Sergio Pedri 2024-10-28 19:53:44 -07:00
  • bf49905b6b Handle 'required' on fields Sergio Pedri 2024-10-28 19:53:37 -07:00
  • bd4abe9b4d Build and pack Roslyn 4.11 code fixers Sergio Pedri 2024-10-28 19:41:29 -07:00
  • e4f8766f44 Add code fixer project for Roslyn 4.11 Sergio Pedri 2024-10-28 19:40:48 -07:00
  • 00320713e2 Switch code fixers to shared project configuration Sergio Pedri 2024-10-28 19:38:12 -07:00
  • 8bc25ff4b7 Mode code fixer files to shared project Sergio Pedri 2024-10-28 19:30:37 -07:00
  • f6fb902f9e Rename 'CodeFixers' for Roslyn 4.0 Sergio Pedri 2024-10-28 19:28:46 -07:00
  • b77ba0d749 Merge pull request #970 from CommunityToolkit/dev/partial-property-fixes Sergio Pedri 2024-10-28 09:59:59 -07:00
  • 73e7a88a4b Add unit test for required properties Sergio Pedri 2024-10-28 09:19:31 -07:00
  • e82074f290 Support required properties in codegen Sergio Pedri 2024-10-28 09:19:23 -07:00
  • a87344925c Fix targets for '[NotifyPropertyChangedRecipients]' Sergio Pedri 2024-10-28 09:09:00 -07:00
  • 812f545635 Merge pull request #968 from CommunityToolkit/dev/move-diagnostics-to-analyzers Sergio Pedri 2024-10-27 18:56:06 -07:00
  • 143df8e101 Add 'InvalidGeneratedPropertyObservablePropertyAttributeAnalyzer' Sergio Pedri 2024-10-27 15:39:12 -07:00
  • ead5b1163b Add 'PropertyNameCollisionObservablePropertyAttributeAnalyzer' Sergio Pedri 2024-10-27 15:23:13 -07:00
  • 0b5dfb2d24 Add 'InvalidTargetObservablePropertyAttributeAnalyzer' Sergio Pedri 2024-10-27 15:13:05 -07:00
  • 1f6fdad4f6 Merge pull request #967 from CommunityToolkit/dev/update-nuget Sergio Pedri 2024-10-27 15:20:19 -07:00
  • f9c7bc3e87 Update NuGet packages to latest stable Sergio Pedri 2024-10-27 14:54:54 -07:00
  • 48ed1b42a8 Merge pull request #966 from CommunityToolkit/dev/partial-properties Sergio Pedri 2024-10-27 14:50:47 -07:00
  • a7840b2c75 Don't run analyzers on generated code Sergio Pedri 2024-10-26 11:08:34 -07:00
  • 0a81f27b98 Support field initializers in code fixer Sergio Pedri 2024-10-25 00:05:22 -07:00
  • f75edabda8 Don't suggest partial properties for static fields Sergio Pedri 2024-10-24 23:49:04 -07:00
  • 9c9ff44c19 Set version.json to 8.4.0 Sergio Pedri 2024-10-24 23:00:55 -07:00
  • 648788ca0d Fix last remaining unit test, and test regex Sergio Pedri 2024-10-24 22:59:33 -07:00
  • ca5d9ddd9a Fix a unit test on .NET Framework Sergio Pedri 2024-10-24 22:46:16 -07:00
  • 7b402b6596 Add workaround for older Roslyn versions Sergio Pedri 2024-10-24 22:45:52 -07:00
  • 34538245d6 Improve messages in diagnostics when emitted on properties Sergio Pedri 2024-10-24 19:57:37 -07:00
  • 00ebe428cd Support updating field references as well Sergio Pedri 2024-10-24 19:43:22 -07:00
  • e6a5c091f8 Add unit tests for comments in code fixer Sergio Pedri 2024-10-24 19:18:09 -07:00
  • 8cdebe0a9c Fix attributes handling, add unit tests Sergio Pedri 2024-10-24 18:55:37 -07:00
  • b98a6586bc Add unit test for new code fixer Sergio Pedri 2024-10-24 17:10:04 -07:00
  • 9ba8f27919 Add new helper for testing code fixers Sergio Pedri 2024-10-24 17:09:45 -07:00
  • 5e02b9acb2 Add 'UsePartialPropertyForObservablePropertyCodeFixer' Sergio Pedri 2024-10-24 17:09:22 -07:00
  • 162bab5991 Add unit tests for invalid property declarations Sergio Pedri 2024-10-24 14:42:24 -07:00
  • eea59fd474 Fix handling of 'private protected' accessors Sergio Pedri 2024-10-24 14:42:00 -07:00
  • 767c05b255 Add 'UnsupportedRoslynVersionForPartialPropertyAnalyzer' Sergio Pedri 2024-10-24 13:35:04 -07:00
  • efa90a3347 Add 'InvalidPropertyLevelObservablePropertyAttributeAnalyzer' Sergio Pedri 2024-10-24 13:34:34 -07:00
  • 6342b83d7a Add unit tests for new analyzer Sergio Pedri 2024-10-24 11:48:22 -07:00
  • 62c06f1113 Add 'UseObservablePropertyOnPartialPropertyAnalyzer' Sergio Pedri 2024-10-24 11:44:32 -07:00
  • aabcd15960 Add initial codegen tests for partial properties Sergio Pedri 2024-10-24 00:32:34 -07:00
  • 5d37b7322f Fix nullability for generated partial properties Sergio Pedri 2024-10-24 00:32:21 -07:00
  • f9f77719a3 Fix handling notify data error info Sergio Pedri 2024-10-23 23:17:30 -07:00
  • db221edcf8 Update the targets of additional attributes Sergio Pedri 2024-10-23 22:00:52 -07:00
  • 8ca2f3c8cf Omit implicit accessibility modifiers Sergio Pedri 2024-10-23 22:00:28 -07:00
  • 52ad254ade Fix a generator crash when used on properties Sergio Pedri 2024-10-23 22:00:03 -07:00
  • 46d03e83b4 Update generation to account for properties Sergio Pedri 2024-10-23 21:27:57 -07:00
  • 5f2ffcf4c0 Don't emit an error for collisions for properties Sergio Pedri 2024-10-23 21:15:43 -07:00
  • 17263fe7ce Generalizing the generated accessibility modifiers Sergio Pedri 2024-10-23 21:11:29 -07:00
  • e5b2802950 Gather accessibility information from nodes Sergio Pedri 2024-10-23 19:35:36 -07:00
  • f970ba6c0b Move forwarded attributes gathering to helper Sergio Pedri 2024-10-23 19:23:39 -07:00
  • bbd59ec247 Add unit tests for new analyzer Sergio Pedri 2024-10-22 23:55:53 -07:00
  • 34a7c6f608 Update '[ObservableProperty]' attribute Sergio Pedri 2024-10-22 23:54:07 -07:00
  • 41dc834719 Add blank test project for new generator Sergio Pedri 2024-10-22 22:54:28 -07:00
  • fff5f91b62 Suppress warnings about removed rules Sergio Pedri 2024-10-22 21:51:06 -07:00
  • 3df53f3454 Add 'RequiresCSharpLanguageVersionPreviewAnalyzer' Sergio Pedri 2024-10-22 21:39:53 -07:00
  • 76264f7875 Update the generator to also work on properties Sergio Pedri 2024-10-22 21:27:49 -07:00
  • c8e794beee Add logic to match partial properties Sergio Pedri 2024-10-22 19:57:43 -07:00
  • f4fdb276e1 Pack new source generator in MVVM Toolkit Sergio Pedri 2024-10-22 19:42:13 -07:00
  • 9c9061d504 Update .targets for Roslyn setup Sergio Pedri 2024-10-22 19:42:05 -07:00
  • a67a31dfb0 Add 'global.json' file Sergio Pedri 2024-10-22 19:37:24 -07:00
  • e27359fbb0 Fix naming conventions for all Roslyn projects Sergio Pedri 2024-10-22 19:22:39 -07:00
  • 11d15c9dbd Add blank 'Roslyn4110' project Sergio Pedri 2024-10-22 19:13:59 -07:00
  • ba45963ed8 Merge pull request #964 from CommunityToolkit/dev/fix-attribute-target-suppression Sergio Pedri 2024-10-22 22:21:38 -07:00
  • d52dec9097 Fix suppressions for custom attribute targets Sergio Pedri 2024-10-22 22:02:26 -07:00
  • cb478f1faa Merge pull request #946 from CommunityToolkit/dev/forward-accessor-attributes Sergio Pedri 2024-09-18 18:28:39 +02:00
  • 8404e3ae45 Add unit test for updated diagnostic suppressor Sergio Pedri 2024-09-09 21:58:46 +02:00
  • c7e454a8c7 Add unit test for accessor attributes Sergio Pedri 2024-09-09 16:24:58 +02:00
  • 5d9ce3ee16 Update diagnostic suppressor for forwarded attributes Sergio Pedri 2024-09-09 15:36:25 +02:00
  • 07971586a3 Add support for forwarding accessor attributes Sergio Pedri 2024-09-09 14:46:59 +02:00
  • 5320d4f621 Set version.json to 8.3.2 v8.3.2 rel/8.3.2 Sergio Pedri 2024-09-18 13:32:30 +02:00
  • 760c8aa7e0 Merge pull request #952 from CommunityToolkit/dev/update-framework-reference-checks Sergio Pedri 2024-09-18 13:31:03 +02:00
  • 9accd8a5c1 Merge pull request #952 from CommunityToolkit/dev/update-framework-reference-checks Sergio Pedri 2024-09-18 13:31:03 +02:00
  • 67872c12de Update SDK package checks for .NET 9 SDK Sergio Pedri 2024-09-15 12:37:59 +02:00
  • 3c74216f3c Set version.json to 8.3.1 v8.3.1 rel/8.3.1 Sergio Pedri 2024-09-12 15:27:52 +02:00
  • 3c7ef2fa64 Merge pull request #942 from CommunityToolkit/dev/windows-sdk-validation Sergio Pedri 2024-09-12 15:26:01 +02:00
  • 04c514c758 Merge pull request #942 from CommunityToolkit/dev/windows-sdk-validation Sergio Pedri 2024-09-12 15:26:01 +02:00
  • bbb4fb21be Suggest package versions based on configuration Sergio Pedri 2024-09-10 17:03:40 +02:00
  • 9c0725a894 Add .targets to validate the Windows SDK version Sergio Pedri 2024-09-08 12:58:24 +02:00
  • 1f8e52720a Merge pull request #944 from CommunityToolkit/dev/nullable-old-property-value Sergio Pedri 2024-09-09 14:03:14 +02:00
  • 8e23ac1a03 Add unit tests for new nullable annotations Sergio Pedri 2024-09-09 10:30:42 +02:00
  • 9abe628c9f Mark old property value as nullable if needed Sergio Pedri 2024-09-09 10:30:31 +02:00
  • ae935f514e Update bug_report.yml Poker 2024-08-28 20:53:11 +08:00
  • a51c5ca365 Set version.json to 8.3.0 v8.3.0 rel/8.3.0 Sergio Pedri 2024-08-26 13:40:37 -07:00
  • af626a6306 Merge pull request #918 from CommunityToolkit/dev/observable-validator-trim-generator Sergio Pedri 2024-08-21 23:18:59 -07:00
  • 2e3ca71147 Add unit tests for generated trim annotations Sergio Pedri 2024-08-21 22:56:40 -07:00
  • 095ac530a8 Generate [RequiresUnreferencedCode] when needed Sergio Pedri 2024-08-21 22:45:16 -07:00