Граф коммитов

1693 Коммитов

Автор SHA1 Сообщение Дата
Nirmal Guru ea1010575d
Remove Cake Build (#94)
We no longer require Cake build nor we use it extensively!
Update Azure Pipelines (CI YAML) Script to be more modern and runnable across platforms.
Replaced the headers check with a PowerShell script mimicking the Cake script's `UpdateHeaders` task functionality.
2022-01-25 13:23:53 +01:00
Nirmal Guru c5ab771da4
Fix linter issues with ReadMe (#84)
* Use an emoji for Contributors title

Emoji Used: Champion Cup
Aligns with the rest of the titles

Why Champion Cup you ask? Well, Contributors are champions too! 😎

* Don't use inline HTML in markdown

Always use markdown format if possible.
This format to represent image with a link is supported by most markdown parsers.

* Fix grammatical errors in markdown

These were reported by Spell Checker extension (by EWSoftware) in VS IDE.

* Use canonical language-agnostic URLs

Microsoft Docs provide language-specific content for docs published
to the website but in-order for devs in specific region to get locally
translated content, we need to put language-agnostic canonical URLs.

This is usually done by removing any language and region specific info from URLs.

Reported by Docs markdown linter in VSCode.
2022-01-17 17:26:29 +01:00
Sergio Pedri f2cfa3ad71
Merge pull request #92 from CommunityToolkit/dev/remove-leftover-head-files
Disable generation of header files if no targets are present
2022-01-14 14:34:29 +01:00
Sergio Pedri c38a4a2118 Disable generation of header files if no targets are present 2022-01-14 14:19:48 +01:00
Sergio Pedri eff71685c7
Merge pull request #91 from CommunityToolkit/dev/targets-update
Update .targets for MVVM Toolkit to fix .wapproj issues
2022-01-14 14:02:29 +01:00
Sergio Pedri 9b1596d453 Refactor conditional logic into separate target
This works around <Choose> not supporting <Target> parents
2022-01-14 13:34:22 +01:00
Sergio Pedri 0d894ea7c9 Minor tweaks to MSBuild checks 2022-01-14 13:01:33 +01:00
Sergio Pedri 408c44b4a5 Simplify Roslyn assembly resolution logic 2022-01-14 00:34:53 +01:00
Sergio Pedri 861beea017 Update .targets for MVVM Toolkit to fix .wapproj issues 2022-01-14 00:24:41 +01:00
Sergio Pedri d3d9752364
Merge pull request #90 from CommunityToolkit/version-update
Update base version number to reflect upcoming version
2022-01-13 22:43:12 +01:00
Sergio Pedri 54808964f0
Merge pull request #88 from CommunityToolkit/dev/nuget-reference-updates
Bump NuGet package reference versions
2022-01-13 22:08:28 +01:00
Sergio Pedri bd4f365f01 Bump NuGet package reference versions 2022-01-13 21:53:49 +01:00
Sergio Pedri 2fa3961601
Merge pull request #89 from CommunityToolkit/dev/nullability-attributes-check
Fix conflicting generation of nullability attributes
2022-01-13 21:21:49 +01:00
Sergio Pedri 7d52b58e76 Fix conflicting generation of nullability attributes 2022-01-13 20:30:28 +01:00
Michael Hawker MSFT (XAML Llama) 4702495856
Update to reflect upcoming version 2022-01-13 10:41:27 -08:00
Sergio Pedri af106bf7af
Merge pull request #87 from jmarolf/patch-1
Calculate the current C# compiler version
2022-01-13 18:41:32 +01:00
Sergio Pedri 99cf8cb072 Minor code style tweaks, add more XML comments 2022-01-13 18:17:42 +01:00
Jonathon Marolf 914fc275e7
Calculate the current C# compiler version
This change allows us to calculate the current C# compiler version in a way that will work on all platforms and only relies on the `Microsoft.CSharp.CurrentVersion.targets` target (specifically [this line](https://github.com/dotnet/msbuild/blob/main/src/Tasks/Microsoft.CSharp.CurrentVersion.targets#L315)) being imported. `Microsoft.CSharp.CurrentVersion.targets` is the core msbuild logic for finding the C# compiler and is used universally so this fix should work everywhere there is a C# compiler to be found.
2022-01-12 20:51:59 -08:00
Sergio Pedri 0e150d58f3
Merge pull request #78 from CommunityToolkit/dev/guard-unconstrained-generic
Remove class constraint from Guard.Is[Not]Null APIs
2022-01-04 13:55:47 +01:00
Sergio Pedri c096438a4a Add unit tests for new generic combinations 2022-01-04 13:25:00 +01:00
Sergio Pedri 5d7f2a7674 Remove class constraint from Guaard.Is[Not]Null APIs 2022-01-04 13:24:59 +01:00
Sergio Pedri 87268d40b6
Merge pull request #79 from CommunityToolkit/dev/require-preview-features
Add [RequiresPreviewFeatures] to unsafe APIs
2022-01-04 13:24:25 +01:00
Sergio Pedri f8ca8da76a Add [RequiresPreviewFeatures] to unsafe APIs 2022-01-01 20:11:13 +01:00
Sergio Pedri 6f20b2611c Switch attribute property setters to init-only 2022-01-01 19:53:50 +01:00
Sergio Pedri f81cf4b4f9 Switch to target-type new() for direct return values 2022-01-01 17:02:31 +01:00
Sergio Pedri 57f4c3d97d Add [SkipLocalsInit] to missing assemblies 2022-01-01 16:54:47 +01:00
Sergio Pedri ef77d0973d
Merge pull request #77 from CommunityToolkit/dev/strip-generator-attributes
Strip source generator attributes by default
2021-12-31 21:56:36 +01:00
Sergio Pedri e31a08890e Add unit tests for attributes stripping 2021-12-31 20:10:50 +01:00
Sergio Pedri 350c2374f5 Strip source generator attributes by default
Define "MVVMTOOLKIT_KEEP_SOURCE_GENERATOR_ATTRIBUTES" to keep them
2021-12-31 20:10:02 +01:00
Sergio Pedri f7a980e104
Merge pull request #76 from CommunityToolkit/dev/trimming-support
Add trimming support
2021-12-31 20:09:32 +01:00
Sergio Pedri 63abbb051d Fix generated members accessibility for sealed types 2021-12-31 18:06:42 +01:00
Sergio Pedri 704e5073f1 Enable implementing OnActivated/OnDeactivated with [ObservableRecipient] 2021-12-31 17:58:12 +01:00
Sergio Pedri 35d403b945 Fix mixed whitespaces in generated files 2021-12-31 17:32:47 +01:00
Sergio Pedri e12e0858a4 Fix removal of [RequiresUnreferencedCode] on older runtimes 2021-12-31 17:04:10 +01:00
Sergio Pedri cc3205a362 Move RequiresUnreferencedCodeAttribute to correct folder 2021-12-31 16:47:10 +01:00
Sergio Pedri 8e7c48fab1 Move MVVM Toolkit internals tests to separate project 2021-12-31 16:47:10 +01:00
Sergio Pedri af03bdfff0 Remove trimming annoations for [ObservableRecipient] on older runtimes 2021-12-31 16:28:00 +01:00
Sergio Pedri afc7232dc7 Improve custom filtering support in TransitiveMembersGenerator<TInfo> 2021-12-29 20:52:50 +01:00
Sergio Pedri a7e0f2c370 Enable trimming support in the MVVM Toolkit
Also added linker annotations where needed
2021-12-29 19:26:37 +01:00
Sergio Pedri 14c6dc34fb Enable trimming support on all packages except MVVM Toolkit 2021-12-29 19:20:50 +01:00
Sergio Pedri 779cbfe60d Remove unnecessary linker unfriendly path in TypeExtensions 2021-12-29 19:20:50 +01:00
Sergio Pedri 4427b44290
Merge pull request #75 from CommunityToolkit/dev/code-style-tweaks
Minor code style tweaks
2021-12-29 19:20:24 +01:00
Sergio Pedri 62d1245e3c Update .git-blame-ignore-revs 2021-12-29 18:57:15 +01:00
Sergio Pedri cb4e418ad3 Refactor remaining partial type declarations 2021-12-29 18:56:14 +01:00
Sergio Pedri 0693d6c964 Fix leftover file-scoped namespaces 2021-12-29 18:56:14 +01:00
Sergio Pedri e6b4ea354a Fix partial types in Diagnostics package 2021-12-29 18:51:11 +01:00
Sergio Pedri 5309963791
Merge pull request #63 from CommunityToolkit/dev/incremental-generators
Switch source generators to incremental generators
2021-12-29 18:49:52 +01:00
Sergio Pedri 53614e7e3c Add comments to GetFullMetadataNameForFileName 2021-12-29 18:31:48 +01:00
Sergio Pedri f8dcd09581 Remove call to MulticastDelegate.op_Equality 2021-12-29 18:31:48 +01:00
Sergio Pedri 0ae955d297 Add .targets file to disable source generators on Roslyn 3.x
Still a bit experimental, needs more testing and validation
2021-12-29 18:31:48 +01:00