Skip to content

Commit ce61476

Browse files
committed
merge from master
2 parents 5984f29 + afcf18f commit ce61476

File tree

2,020 files changed

+32020
-25288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,020 files changed

+32020
-25288
lines changed

.editorconfig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ root = true
66

77
#### Core EditorConfig Options ####
88

9+
# Encoding
10+
charset = utf-8
11+
912
# Indentation and spacing
1013
indent_size = 4
1114
indent_style = space
@@ -103,8 +106,8 @@ csharp_new_line_between_query_expression_clauses = true
103106
csharp_indent_block_contents = true
104107
csharp_indent_braces = false
105108
csharp_indent_case_contents = true
106-
csharp_indent_case_contents_when_block = true
107-
csharp_indent_labels = one_less_than_current
109+
csharp_indent_case_contents_when_block = false
110+
csharp_indent_labels = no_change
108111
csharp_indent_switch_labels = true
109112

110113
# Space preferences
@@ -327,4 +330,4 @@ dotnet_diagnostic.SA1413.severity = none # UseTrailingCommasInMultiLineInitializ
327330
dotnet_diagnostic.SA1314.severity = none # TypeParameterNamesMustBeginWithT: We do have a few templates that don't start with T. We need to double check that changing this is not a breaking change. If not, we can re-enable this.
328331
dotnet_diagnostic.SA1000.severity = none # Hide warnings when using the new() expression from C# 9.
329332
dotnet_diagnostic.SA1313.severity = none # Hide warnings for record parameters.
330-
dotnet_diagnostic.SA1101.severity = none # Hide warnings when accessing properties without "this".
333+
dotnet_diagnostic.SA1101.severity = none # Hide warnings when accessing properties without "this".

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ assignees: ''
77

88
---
99

10-
<!-- 🚨 Please Do Not skip any instructions and information mentioned below as they are all required and essential to investigate the issue. Issues with missing information may be closed without investigation 🚨 -->
10+
<!-- 🚨 PLEASE DO NOT SKIP ANY INSTRUCTIONS AND INFORMATION MENTIONED BELOW AS THEY ARE ALL REQUIRED AND ESSENTIAL TO INVESTIGATE THE ISSUE. ISSUES WITH MISSING INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION
11+
...
12+
IF NOT CERTAIN ABOUT THE ISSUE AND REQUIRE MORE CLARITY THEN PLEASE POST ON "QUESTIONS & HELP" CATEGORY OF THE DISCUSSIONS PLATFORM [https://github.com/windows-toolkit/WindowsCommunityToolkit/discussions/categories/questions-help] WHERE YOU CAN DISCUSS AND ENAGAGE WITH THE COMMUNITY TO GAIN FURTHER CLAIRITY REGARDING THE ISSUE 🚨 -->
1113

1214
## Describe the bug
1315
A clear and concise description of what the bug is.
@@ -36,9 +38,9 @@ If applicable, add screenshots to help explain your problem.
3638
## Environment
3739
<!-- Check one or more of the following options with "x" -->
3840
```
39-
NuGet Package(s):
41+
NuGet Package(s):
4042
41-
Package Version(s):
43+
Package Version(s):
4244
4345
Windows 10 Build Number:
4446
- [ ] Fall Creators Update (16299)
@@ -62,9 +64,9 @@ Device form factor:
6264
- [ ] Surface Hub
6365
- [ ] IoT
6466
65-
Visual Studio
67+
Visual Studio
6668
- [ ] 2017 (version: )
67-
- [ ] 2019 (version: )
69+
- [ ] 2019 (version: )
6870
- [ ] 2019 Preview (version: )
6971
7072
```

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ assignees: ''
77

88
---
99

10-
<!-- 🚨 Please provide detailed information and Do Not skip any instructions as they are all required and essential to help us understand the feature 🚨 -->
10+
<!-- 🚨 PLEASE PROVIDE DETAILED INFORMATION AND DO NOT SKIP ANY INSTRUCTIONS AND INFORMATION MENTIONED BELOW AS THEY ARE ALL REQUIRED AND ESSENTIAL TO HELP US UNDERSTAND THE FEATURE.
11+
...
12+
IF NOT CERTAIN ABOUT THE FEATURE AND REQUIRE MORE CLARITY THEN PLEASE POST ON "IDEAS" CATEGORY OF THE DISCUSSIONS PLATFORM [https://github.com/windows-toolkit/WindowsCommunityToolkit/discussions/categories/ideas] WHERE YOU CAN DISCUSS AND ENAGAGE WITH THE COMMUNITY TO GAIN FURTHER CLAIRITY REGARDING THE FEATURE 🚨 -->
1113

1214
## Describe the problem this feature would solve
1315
<!-- Please describe or link to any existing issues or discussions.
14-
A clear and concise description of what the problem is, starting with the user story.
16+
A clear and concise description of what the problem is, starting with the user story.
1517
Provide examples of the restrictions in the current environment that hinders the work your users or you want to perform. What are the ways this new feature will help transform and deliver those results?
16-
For example, I am currently using the InfiniteCanvas control which lacks the ribbon control feature. I am looking to improve user experience therefore i would like to use that in my project to provide ease of accessibility and a user-friendly interface. This new feature will provide quick access to the toolbar, enhance space utilization, etc [...] -->
18+
For example, I am currently using the InfiniteCanvas control which lacks the TabbedCommandBar control feature. I am looking to improve user experience therefore i would like to use that in my project to provide ease of accessibility and a user-friendly interface. This new feature will provide quick access to the toolbar, enhance space utilization, etc [...] -->
1719

1820

1921
## Describe the solution

.github/ISSUE_TEMPLATE/question.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ Hi!
1212
1313
We try and keep our GitHub issue list for bugs and features.
1414
15-
Ideally, it'd be great to post your question on Stack Overflow using the 'windows-community-toolkit' tag here: https://stackoverflow.com/questions/tagged/windows-community-toolkit
16-
🚨 Please provide detailed information that includes examples, screenshots, and relevant issues if possible 🚨
15+
Ideally, it'd be great to post your question on Stack Overflow using the 'windows-community-toolkit' tag here: https://stackoverflow.com/questions/tagged/windows-community-toolkit OR you may ask the question on "Questions & Help" category of the Discussions platform [https://github.com/windows-toolkit/WindowsCommunityToolkit/discussions/categories/questions-help]
16+
17+
🚨 PLEASE PROVIDE DETAILED INFORMATION THAT INCLUDE EXAMPLES, SCREENSHOTS, AND RELEVANT ISSUES IF POSSIBLE 🚨
1718
1819
If this is more about a scenario that you think is missing documentation, please file an issue instead at https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/issues/new
1920

.github/ISSUE_TEMPLATE/win32_controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Win32 Controls
33
about: I have an issue with a Toolkit WPF or WinForms control
44
title: "[Win32]"
5-
labels:
5+
labels:
66
assignees: ''
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<!-- 🚨 Please Do Not skip any instructions and information mentioned below as they are all required and essential to evaluate and test the PR. By fulfilling all the required information you will be able to reduce the volume of questions and most likely help merge the PR faster 🚨 -->
22

3-
<!-- 📝 It is preferred if you keep the "☑️ Allow edits by maintainers" checked in the Pull Request Template as it increases collaboration with the Toolkit maintainers by permitting commits to your PR branch (only) created from your fork. This can let us quickly make fixes for minor typos or forgotten StyleCop issues during review without needing to wait on you doing extra work. Let us help you help us! 🎉 -->
3+
<!-- 👉 It is imperative to resolve ONE ISSUE PER PR and avoid making multiple changes unless the changes interrelate with each other -->
4+
5+
<!-- 📝 Please always keep the "☑️ Allow edits by maintainers" button checked in the Pull Request Template as it increases collaboration with the Toolkit maintainers by permitting commits to your PR branch (only) created from your fork. This can let us quickly make fixes for minor typos or forgotten StyleCop issues during review without needing to wait on you doing extra work. Let us help you help us! 🎉 -->
46

57

68
## Fixes #
7-
<!-- Add the relevant issue number after the "#" mentioned above (for ex: Fixes #1234) which will automatically close the issue once the PR is merged. -->
9+
<!-- Add the relevant issue number after the "#" mentioned above (for ex: "## Fixes #1234") which will automatically close the issue once the PR is merged. -->
810

911
<!-- Add a brief overview here of the feature/bug & fix. -->
1012

1113
## PR Type
1214
What kind of change does this PR introduce?
13-
<!-- Please uncomment one or more that apply to this PR. -->
15+
<!-- Please uncomment one or more options below that apply to this PR. -->
1416

1517
<!-- - Bugfix -->
1618
<!-- - Feature -->
@@ -43,7 +45,7 @@ Please check if your PR fulfills the following requirements:
4345
- [ ] Header has been added to all new source files (run *build/UpdateHeaders.bat*)
4446
- [ ] Contains **NO** breaking changes
4547

46-
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
48+
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.
4749
Please note that breaking changes are likely to be rejected within minor release cycles or held until major versions. -->
4850

4951

.runsettings

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<RunSettings>
32
<MSTest>
43
<MaxCpuCount>0</MaxCpuCount>

Directory.Build.props

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<Authors>Microsoft.Toolkit</Authors>
55
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
66
<NoPackageAnalysis>true</NoPackageAnalysis>
7-
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</PackageIconUrl>
7+
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png</PackageIconUrl>
8+
<PackageIcon>images\nuget.png</PackageIcon>
89
<PackageProjectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</PackageProjectUrl>
9-
<PackageLicenseUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/license.md</PackageLicenseUrl>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1011
<PackageReleaseNotes>https://github.com/windows-toolkit/WindowsCommunityToolkit/releases</PackageReleaseNotes>
1112
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
1213
<DefaultLanguage>en-US</DefaultLanguage>
@@ -95,15 +96,17 @@
9596
</PropertyGroup>
9697

9798
<ItemGroup>
98-
<PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91" PrivateAssets="all" />
99+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" />
99100
</ItemGroup>
100101

101102
<ItemGroup>
102103
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json">
103104
<Link>stylecop.json</Link>
104105
</AdditionalFiles>
106+
<None Include="$(MSBuildThisFileDirectory)license.md" Pack="true" PackagePath="\"/>
107+
<None Include="$(MSBuildThisFileDirectory)build\nuget.png" Pack="true" PackagePath="images\"/>
105108
</ItemGroup>
106109

107110
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.VisualStudio.Design.props" Condition="'$(IsDesignProject)' == 'true'"/>
108111

109-
</Project>
112+
</Project>

Directory.Build.targets

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
<Project>
22

33
<PropertyGroup>
4-
<UseUWP Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.17763' or '$(TargetFramework)' == 'native' or '$(TargetFramework)' == 'net461'">true</UseUWP>
4+
<UseUWP Condition="$(TargetFramework.Contains(`uap10.0`)) or '$(TargetFramework)' == 'net461'">true</UseUWP>
55
</PropertyGroup>
66

77
<Choose>
8-
<When Condition="!$(TargetFramework.Contains(`uap10.0`)) and '$(TargetFramework)' != 'native' and '$(IsSampleProject)' != 'true'">
8+
<!--We'll include signing the Notifications library since we need the DLL signature to match for interop from class libraries to main projects-->
9+
<When Condition="(!$(TargetFramework.Contains(`uap10.0`)) and '$(TargetFramework)' != 'native' and '$(IsSampleProject)' != 'true') or $(MSBuildProjectName) == 'Microsoft.Toolkit.Uwp.Notifications'">
910
<PropertyGroup>
1011
<SignAssembly>true</SignAssembly>
1112
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)toolkit.snk</AssemblyOriginatorKeyFile>
1213
</PropertyGroup>
1314
</When>
1415
</Choose>
1516

16-
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.Uwp.Build.targets" Condition="'$(UseUWP)' == 'true'"/>
17+
<!--Exclude Notifications project from this since it sets different min versions than what we want for notifications-->
18+
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.Uwp.Build.targets" Condition="'$(UseUWP)' == 'true' and $(MSBuildProjectName) != 'Microsoft.Toolkit.Uwp.Notifications'"/>
1719

1820
<Target Name="AddCommitHashToAssemblyAttributes" BeforeTargets="GetAssemblyAttributes">
1921
<ItemGroup>

GazeInputTest/App.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Application
1+
<Application
22
x:Class="GazeInputTest.App"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:local="using:GazeInputTest"
66
RequestedTheme="Light">
77

8-
</Application>
8+
</Application>

0 commit comments

Comments
 (0)