1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-09-21 03:42:50 +02:00
Commit Graph

1970 Commits

Author SHA1 Message Date
Sergio Pedri
6c6f351a91 Fixed analyzer target condition 2021-07-21 02:32:08 +02:00
Sergio Pedri
d4e6019d1e Enabled source generator packing into MVVM Toolkit
See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3872#issuecomment-805023949
2021-07-21 02:32:08 +02:00
Sergio Pedri
86f9914979 Improved filenames for generated files 2021-07-21 02:31:05 +02:00
Sergio Pedri
e46fd62498 Fixed a bug when running on .NET Standard 2.0 2021-07-21 02:31:05 +02:00
Sergio Pedri
a7682bf9dd Enabled AOT-friendly path for message registration 2021-07-21 02:31:05 +02:00
Sergio Pedri
150fcc977a Added generation of non-generic RegisterAll methods 2021-07-21 02:31:05 +02:00
Sergio Pedri
b5db31a403 Added optimized method lookup on NS2.1 and up 2021-07-21 02:31:05 +02:00
Sergio Pedri
33e081638b Fixed header generation in generated files 2021-07-21 02:31:05 +02:00
Sergio Pedri
6b96fcd4ea Fixed unit test for generated RegisterAll method 2021-07-21 02:31:05 +02:00
Sergio Pedri
1694bd2d21 Enabled loading of generated message registration methods 2021-07-21 02:31:04 +02:00
Sergio Pedri
ccad7d45fa Optimized the LINQ expression for message registration 2021-07-21 02:31:04 +02:00
Sergio Pedri
ce6321f483 Fixed duplicate attributes in generated type 2021-07-21 02:31:04 +02:00
Sergio Pedri
e8a9c5636a Initial draft for IMessengerRegisterAllGenerator 2021-07-21 02:31:04 +02:00
Sergio Pedri
810e62a37d Added target type diagnostics to attributes 2021-07-21 02:31:04 +02:00
Sergio Pedri
3a20a7f2d7 Added support for custom target type validation 2021-07-21 02:31:04 +02:00
Sergio Pedri
88134f92d5 Enabled diagnostics for failed generators 2021-07-21 02:31:04 +02:00
Sergio Pedri
067d964e6c Added initial setup for custom diagnostics 2021-07-21 02:31:04 +02:00
Sergio Pedri
0435e8b66f Added missing file headers 2021-07-21 02:31:04 +02:00
Sergio Pedri
b000e8af48 Fixed errors in unit tests 2021-07-21 02:31:04 +02:00
Sergio Pedri
81cb8768f6 Fixed missing trivia from generated ObservableValidator constructors 2021-07-21 02:31:04 +02:00
Sergio Pedri
bc576bedc8 Skipped ObservableRecipient.SetProperty overloads when conflicting 2021-07-21 02:31:04 +02:00
Sergio Pedri
08a3131fc0 Enabled constructor generation for [ObservableRecipient] 2021-07-21 02:31:03 +02:00
Sergio Pedri
53fb51fdf5 Minor code refactoring 2021-07-21 02:31:03 +02:00
Sergio Pedri
0aae5ffe93 Fixed an issue with base type list formatting 2021-07-21 02:31:03 +02:00
Sergio Pedri
6f9a2f4ed9 Added [ObservableRecipient] tests, minor bug fixes 2021-07-21 02:31:03 +02:00
Sergio Pedri
eeeb2fef56 Added [ObservableRecipient] attribute, code refactoring 2021-07-21 02:31:03 +02:00
Sergio Pedri
4f90d6295d Added INotifyPropertyChangedAttribute.IncludeAdditionalHelperMethods 2021-07-21 02:31:03 +02:00
Sergio Pedri
436a40b9c0 Added support for custom members filtering 2021-07-21 02:31:03 +02:00
Sergio Pedri
b6f99dfcde Minor fixes to code generators and unit tests 2021-07-21 02:31:03 +02:00
Sergio Pedri
f95072ee27 Added generator for [INotifyPropertyChanged] 2021-07-21 02:31:03 +02:00
Sergio Pedri
2e90c4ee15 Code refactoring, improved generator modularization 2021-07-21 02:31:03 +02:00
Sergio Pedri
34f34e554d Added INotifyPropertyChangedAttribute and NotifyPropertyChangedObject 2021-07-21 02:31:03 +02:00
Sergio Pedri
30365c44d4 Fixed header generation 2021-07-21 02:31:02 +02:00
Sergio Pedri
a838dd9605 Added unit test file and reference 2021-07-21 02:31:02 +02:00
Sergio Pedri
8e0a5899d0 Added initial draft of SG project and ObservableObjectAttribute 2021-07-21 02:28:56 +02:00
Michael Hawker MSFT (XAML Llama)
d9af3b84bb Merge pull request #3894 from Nirmal4G/feature/refactor
Update package titles and consolidate build logic
2021-07-20 11:34:32 -07:00
Nirmal Guru
c4fbb3ecd3 Replace the term 'Basic' in Package Titles
It was decided that the term 'Basic' is new and
has no established meaning in the software community.

So, Replacing the term 'Basic' with 'Common'. To disambiguate
multiple instances of 'Common', we use an already existing term
'Primitive' and we also append the Platform to which the package targets.
2021-07-20 21:45:23 +05:30
Nirmal Guru
a2d56c7bdc Update Assembly/Package Titles
The package title doesn't follow a particular format and is not machine readable.
Thus, I propose the following format: "'Product' - 'Area' - 'Specifics' ('Source/Target')"
2021-07-20 21:45:18 +05:30
Nirmal Guru
e6e4a221c3 Refactor Test project files
Remove redundant MSBuild logic
Consolidate common MSBuild logic
Reorder code-blocks for better readability
Fix-up comments and new-lines across project files

Improve support for Visual Studio 2022:
Since VS IDE 2022 (17.0) is 64-bit only, replace all 32-bit specific MSBuild properties with generic ones.
2021-07-20 21:45:10 +05:30
Nirmal Guru
39b8ce817f Refactor Core project files
Organize Package tags
Update Package descriptions
Remove redundant MSBuild logic
Consolidate common MSBuild logic
2021-07-20 21:45:09 +05:30
Shane Weaver
f023742684 Merge branch 'main' into shweaver/storage-helpers 2021-07-19 13:51:40 -07:00
Michael Hawker MSFT (XAML Llama)
80bd2cdc13 Merge pull request #4117 from CommunityToolkit/fixNugetFeed
Org rename: windows-toolkit -> CommunityToolkit
2021-07-19 13:12:45 -07:00
Alexandre Zollinger Chohfi
874100e85a Org rename: windows-toolkit -> CommunityToolkit 2021-07-19 10:39:06 -07:00
Shane Weaver
d5208704b0 Renamed SaveFile/FolderAsync to CreateFile/FolderAsync 2021-07-14 16:23:37 -07:00
Shane Weaver
023bbf5136 PR updates 2021-07-14 16:05:10 -07:00
Sergio Pedri
74f8dbc8e5 Manually ported fixes from #4082 2021-07-14 02:08:12 +02:00
Sergio Pedri
e0d30919de Added WeakReferenceMessenger auto cleanup test 2021-07-14 02:06:58 +02:00
Sergio Pedri
7e4bdfe14f Added more nullability annotations, minor code tweaks 2021-07-14 02:06:58 +02:00
Sergio Pedri
8305321547 Minor code improvements to GC callback setup 2021-07-14 02:06:58 +02:00
Sergio Pedri
0a4d38f33b Enabled automatic WeakReferenceMessenger trimming 2021-07-14 02:06:58 +02:00