Commit Graph
2284 Commits
Author SHA1 Message Date
Sergio Pedri 040b676f66 Adjust some internal namespaces 2022-10-26 13:21:52 +02:00
Sergio Pedri 4213d8df33 Remove unnecessary using directives 2022-10-26 13:18:39 +02:00
Sergio Pedri 820a55e277 Merge pull request #469 from CommunityToolkit/dev/equatable-array
Add and use new EquatableArray<T> type in source generators
2022-10-25 07:44:09 -07:00
Sergio Pedri d033938f0d Remove unnecessary field 2022-10-23 14:57:33 +02:00
Sergio Pedri b687a5c1e5 Fix incremental step for aggregate diagnostics 2022-10-23 14:57:33 +02:00
Sergio Pedri 30a0c44150 Optimize EquatableArray<T>.Equals 2022-10-23 14:57:33 +02:00
Sergio Pedri f4fd71aa98 Remove unnecessary code for removed comparers 2022-10-23 14:57:33 +02:00
Sergio Pedri d272e470de Remove ForImmutableArray extension 2022-10-23 14:57:33 +02:00
Sergio Pedri f7a76b9be9 Improve IncrementalValuesProviderExtensions.GroupBy 2022-10-23 14:57:32 +02:00
Sergio Pedri 16ce464dc6 Switch all remaining models to EquatableArray<T> 2022-10-23 14:57:32 +02:00
Sergio Pedri a175b8eafa Switch to EquatableArray<T> for ObservableProperty generator 2022-10-23 14:57:32 +02:00
Sergio Pedri 0af04b3db7 Switch to EquatableArray<T> for ObservableValidator generator 2022-10-23 14:57:32 +02:00
Sergio Pedri ff4cb35798 Remove custom comparers in transitive members generator 2022-10-23 14:57:32 +02:00
Sergio Pedri ed734c78de Switch to EquatableArray<T> for command generator 2022-10-23 14:57:32 +02:00
Sergio Pedri e31f1976f8 Switch to EquatableArray<T> for messenger generator 2022-10-23 14:57:32 +02:00
Sergio Pedri 7810fdc39f Add enumeration support to EquatableArray<T> 2022-10-23 14:57:32 +02:00
Sergio Pedri 829304f849 Add more EquatableArray<T> APIs 2022-10-23 14:57:32 +02:00
Sergio Pedri f0e7729a08 Add EquatableArray<T> type 2022-10-23 14:57:32 +02:00
Sergio Pedri 39290dcae0 Merge pull request #475 from CommunityToolkit/dev/lower-command-names
Fix [RelayCommand] for methods that can't be lowered
2022-10-23 05:57:00 -07:00
Sergio Pedri ec9c1d9b0d Add unit tests for lowercase command names 2022-10-23 14:24:44 +02:00
Sergio Pedri c3f2df1bbc Handle command names that can't be lowered 2022-10-23 14:06:24 +02:00
Sergio Pedri e2140f238e Merge pull request #461 from CommunityToolkit/dev/messenger-observable
Add IObservable<T> extensions for IMessenger
2022-10-12 03:08:25 -07:00
Sergio Pedri 45795f2d3a Merge pull request #460 from CommunityToolkit/dev/generator-improvements
More MVVM Toolkit generator improvements
2022-10-12 03:07:56 -07:00
Sergio Pedri 66dee36472 Remove Lease type, move logic to declaring type 2022-10-05 21:50:46 +02:00
Sergio Pedri 1bef0462af Use ImmutableArrayBuilder<T> in all generators 2022-10-05 21:50:46 +02:00
Sergio Pedri 8dd1387e00 Add pooled ImmutableArrayBuilder<T> type 2022-10-05 21:50:46 +02:00
Sergio Pedri 1f2d63c716 Remove AttributeInfo array builder use 2022-10-05 21:50:46 +02:00
Sergio Pedri 7f85c37caa Remove unnecessary immutable array builders 2022-10-05 21:50:46 +02:00
Sergio Pedri 539e61780a Port ObjectPool<T> type from Roslyn 2022-10-05 21:50:45 +02:00
Sergio Pedri 525cf042a9 Fix ValidationInfo equality support 2022-10-04 18:20:51 +02:00
Sergio Pedri 2b47469f1f Remove extra projection and comparer from ObservablePropertyGenerator 2022-10-04 18:20:51 +02:00
Sergio Pedri 969fcb4658 Remove extra projection and comparers from command generator 2022-10-04 18:20:51 +02:00
Sergio Pedri ce9b713735 Make Result<TValue> directly equatable 2022-10-04 18:20:51 +02:00
Sergio Pedri c40bf81357 Replace Diagnostic uses with DiagnosticInfo 2022-10-04 18:20:51 +02:00
Sergio Pedri d6bc11f6c4 Port DiagnosticInfo from ComputeSharp 2022-10-04 18:20:51 +02:00
Sergio Pedri eb09343bf1 Remove external comparer for RecipientInfo 2022-10-04 18:20:50 +02:00
Sergio Pedri accfa0bcd6 Add unit tests for messenger observable APIs 2022-10-04 18:20:06 +02:00
Sergio Pedri 88a39c0c43 Add messenger CreateObservable extensions 2022-10-04 18:19:26 +02:00
Sergio Pedri a8fd1db879 Merge pull request #462 from CommunityToolkit/dev/roslyn-431
Remove Roslyn 4.3 workaround, bump to 4.3.1
2022-10-04 09:18:25 -07:00
Sergio Pedri 233c4f2421 Update all Roslyn and test SDKs to latest stable 2022-10-04 13:53:37 +02:00
Sergio Pedri f3977549a6 Remove Roslyn 4.3 workaround, bump to 4.3.1 2022-10-04 12:14:36 +02:00
Sergio Pedri 2b7e06b79d Rename docs.microsoft to learn.microsoft 2022-09-29 14:26:07 +02:00
Sergio Pedri e67754bde4 Merge pull request #452 from Nirmal4G/build/file-header-template
Use EditorConfig to apply file headers
2022-09-28 14:47:16 -07:00
Nirmal Guru 720e8b86e7 Update a file with file header to fix Build
- Previous Commit added support for Analyzer Fixer based file header
  addition to source code files. One was missing and wasn't updated
  through the script since the script only checks starting newline
  or a single comment line which were not enough to fix the file.

- Fortunately, the Analyzer caught this as IDE0073 style error and
  was able fix with a simple click on the suggestion icon in VS IDE.

NOTE: Previous Commit was supposed to fail to demonstrate
      build failure when using `file_header_template`.
2022-09-28 22:02:11 +05:30
Nirmal Guru a264dfb397 Use EditorConfig to apply file headers
- Use 'file_header_template' to specify our header text
  in EditorConfig so that the supported formatters
  can use it automatically when formatting files.
2022-09-28 22:01:46 +05:30
Sergio Pedri bdf9138206 Merge pull request #450 from Nirmal4G/feature/improve-azp-perf
Improve Perf for Azure Pipelines build
2022-09-28 09:25:04 -07:00
Sergio Pedri 982debbd03 Merge pull request #449 from CommunityToolkit/dev/forwarded-property-attributes
Enable explicit attribute forwarding for [ObservableProperty]
2022-09-28 07:55:46 -07:00
Sergio Pedri 213c876e2b Adjust signature for TryGetInfo method 2022-09-28 16:35:48 +02:00
Sergio Pedri df6c49e506 Add unit tests for property attribute forwarding 2022-09-28 16:35:48 +02:00
Sergio Pedri 5ffee2c339 Enable forwarding support for attribute arguments 2022-09-28 16:35:48 +02:00