Skip to content

Commit

Permalink
Merge branch 'main' into merge-main-to-net9
Browse files Browse the repository at this point in the history
# Conflicts:
#	eng/Version.Details.xml
#	eng/Versions.props
#	eng/devices/windows.cake
#	eng/pipelines/common/ui-tests.yml
#	src/Controls/src/SourceGen/CodeBehindGenerator.cs
  • Loading branch information
rmarinho committed Feb 27, 2024
2 parents 39a169a + 8c89f5e commit e4d6e9f
Show file tree
Hide file tree
Showing 85 changed files with 2,816 additions and 800 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "9.0.0-prerelease.24112.1",
"version": "9.0.0-prerelease.24119.1",
"commands": [
"xharness"
]
Expand Down
66 changes: 30 additions & 36 deletions .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"conditions": {
"operator": "and",
"operands": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isAction",
"parameters": {
Expand Down Expand Up @@ -145,8 +149,7 @@
],
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
]
}
},
Expand All @@ -160,6 +163,10 @@
"conditions": {
"operator": "and",
"operands": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
Expand Down Expand Up @@ -991,8 +998,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests",
"actions": [
Expand Down Expand Up @@ -1024,8 +1030,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Comment: Issue moved to Backlog",
"actions": [
Expand Down Expand Up @@ -1058,8 +1063,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Replace `s/needs-info` with `s/pr-needs-author-input` for PRs",
"actions": [
Expand Down Expand Up @@ -1104,8 +1108,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Remove `s/needs-repro` from PRs",
"actions": [
Expand Down Expand Up @@ -1143,8 +1146,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add comment when 's/needs-info' is applied to issue",
"actions": [
Expand Down Expand Up @@ -1176,8 +1178,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add comment when 's/needs-repro' is applied to issue",
"actions": [
Expand Down Expand Up @@ -1341,8 +1342,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add area/controls label when any 'control-X' label is applied to the issue",
"actions": [
Expand Down Expand Up @@ -1507,8 +1507,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Add area/controls label when any 'control-X' label is applied to the PR",
"actions": [
Expand Down Expand Up @@ -1653,8 +1652,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add 'partner' label when issue is opened by a partner",
"actions": [
Expand Down Expand Up @@ -1690,8 +1688,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Ask user to use VS Feedback for VS issues",
"actions": [
Expand Down Expand Up @@ -1741,8 +1738,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add 'i/great-reporter' when issue is opened by an author we know opens high quality issues",
"actions": [
Expand Down Expand Up @@ -1774,8 +1770,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Add comment when 's/try-latest-version' is applied to the issue",
"actions": [
Expand Down Expand Up @@ -1927,8 +1922,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Add 'community ✨' label to community contributions",
"actions": [
Expand Down Expand Up @@ -2272,8 +2266,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Revitalize stale PR and reopen",
"actions": [
Expand Down Expand Up @@ -2316,8 +2309,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Add comment when 's/pr-needs-author-input' is applied to PR",
"actions": [
Expand Down Expand Up @@ -2349,8 +2341,7 @@
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
"issues"
],
"taskName": "Tag Dave Britch when a breaking change is tagged on an issue",
"actions": [
Expand Down Expand Up @@ -2383,8 +2374,7 @@
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
"issues"
],
"taskName": "Tag Dave Britch when a breaking change is tagged on an PR",
"actions": [
Expand All @@ -2406,6 +2396,10 @@
"conditions": {
"operator": "and",
"operands": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/dotnet-format-daily-net7.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
<MacCatalystTargetFrameworkVersion>13.5</MacCatalystTargetFrameworkVersion>
<MacosTargetFrameworkVersion>10.14</MacosTargetFrameworkVersion>
<AndroidTargetFrameworkVersion>30.0</AndroidTargetFrameworkVersion>
<WindowsTargetFrameworkVersion>10.0.19041</WindowsTargetFrameworkVersion>
<Windows2TargetFrameworkVersion>10.0.20348</Windows2TargetFrameworkVersion>
<WindowsTargetFrameworkVersion>10.0.19041.0</WindowsTargetFrameworkVersion>
<Windows2TargetFrameworkVersion>10.0.20348.0</Windows2TargetFrameworkVersion>
<TizenTargetFrameworkVersion>6.5</TizenTargetFrameworkVersion>
</PropertyGroup>

Expand Down
14 changes: 14 additions & 0 deletions Microsoft.Maui-dev.sln
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UITest.Appium", "src\TestUt
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UITest.NUnit", "src\TestUtils\src\UITest.NUnit\UITest.NUnit.csproj", "{A307B624-48D4-494E-A70D-5B3CDF6620CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Controls.SourceGen.UnitTests", "src\Controls\tests\SourceGen.UnitTests\Conrtrols.SourceGen.UnitTests\Controls.SourceGen.UnitTests.csproj", "{06747B55-91DB-47F5-B7A2-56526C28A0D3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SourceGen.UnitTests", "src\Controls\tests\SourceGen.UnitTests\SourceGen.UnitTests.csproj", "{BC7F7C82-694F-4B97-86FC-273FB3FACA25}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -610,6 +614,14 @@ Global
{A307B624-48D4-494E-A70D-5B3CDF6620CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A307B624-48D4-494E-A70D-5B3CDF6620CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A307B624-48D4-494E-A70D-5B3CDF6620CF}.Release|Any CPU.Build.0 = Release|Any CPU
{06747B55-91DB-47F5-B7A2-56526C28A0D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{06747B55-91DB-47F5-B7A2-56526C28A0D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06747B55-91DB-47F5-B7A2-56526C28A0D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06747B55-91DB-47F5-B7A2-56526C28A0D3}.Release|Any CPU.Build.0 = Release|Any CPU
{BC7F7C82-694F-4B97-86FC-273FB3FACA25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC7F7C82-694F-4B97-86FC-273FB3FACA25}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC7F7C82-694F-4B97-86FC-273FB3FACA25}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC7F7C82-694F-4B97-86FC-273FB3FACA25}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -721,6 +733,8 @@ Global
{8F7B825D-24A8-4E09-AC5B-9117926B7BF3} = {7AC28763-9C68-4BF9-A1BA-25CBFFD2D15C}
{26379D0E-4D4D-48CA-94B1-A2C1972AB335} = {7AC28763-9C68-4BF9-A1BA-25CBFFD2D15C}
{A307B624-48D4-494E-A70D-5B3CDF6620CF} = {7AC28763-9C68-4BF9-A1BA-25CBFFD2D15C}
{06747B55-91DB-47F5-B7A2-56526C28A0D3} = {25D0D27A-C5FE-443D-8B65-D6C987F4A80E}
{BC7F7C82-694F-4B97-86FC-273FB3FACA25} = {25D0D27A-C5FE-443D-8B65-D6C987F4A80E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0B8ABEAD-D2B5-4370-A187-62B5ABE4EE50}
Expand Down
8 changes: 4 additions & 4 deletions Microsoft.Maui-windows.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"src\\Controls\\tests\\Core.UnitTests\\Controls.Core.UnitTests.csproj",
"src\\Controls\\tests\\CustomAttributes\\Controls.CustomAttributes.csproj",
"src\\Controls\\tests\\DeviceTests\\Controls.DeviceTests.csproj",
"src\\Controls\\tests\\SourceGen.UnitTests\\SourceGen.UnitTests.csproj",
"src\\Controls\\tests\\UITests\\Controls.AppiumTests.csproj",
"src\\Controls\\tests\\Xaml.UnitTests.ExternalAssembly\\Controls.Xaml.UnitTests.ExternalAssembly.csproj",
"src\\Controls\\tests\\Xaml.UnitTests.InternalsHiddenAssembly\\Controls.Xaml.UnitTests.InternalsHiddenAssembly.csproj",
Expand All @@ -47,7 +48,6 @@
"src\\Graphics\\samples\\GraphicsTester.Android\\GraphicsTester.Android.csproj",
"src\\Graphics\\samples\\GraphicsTester.Portable\\GraphicsTester.Portable.csproj",
"src\\Graphics\\samples\\GraphicsTester.Skia.Console\\GraphicsTester.Skia.Console.csproj",
"src\\Graphics\\samples\\GraphicsTester.Skia.Tizen\\GraphicsTester.Skia.Tizen.csproj",
"src\\Graphics\\samples\\GraphicsTester.Skia.Windows\\GraphicsTester.Skia.Windows.csproj",
"src\\Graphics\\samples\\GraphicsTester.WinUI.Desktop\\GraphicsTester.WinUI.Desktop.csproj",
"src\\Graphics\\samples\\GraphicsTester.iOS\\GraphicsTester.iOS.csproj",
Expand All @@ -63,14 +63,14 @@
"src\\SingleProject\\Resizetizer\\test\\UnitTests\\Resizetizer.UnitTests.csproj",
"src\\Templates\\src\\Microsoft.Maui.Templates.csproj",
"src\\TestUtils\\samples\\DeviceTests.Sample\\TestUtils.DeviceTests.Sample.csproj",
"src\\TestUtils\\src\\UITest.Core\\UITest.Core.csproj",
"src\\TestUtils\\src\\UITest.Appium\\UITest.Appium.csproj",
"src\\TestUtils\\src\\UITest.NUnit\\UITest.NUnit.csproj",
"src\\TestUtils\\src\\DeviceTests.Runners.SourceGen\\TestUtils.DeviceTests.Runners.SourceGen.csproj",
"src\\TestUtils\\src\\DeviceTests.Runners\\TestUtils.DeviceTests.Runners.csproj",
"src\\TestUtils\\src\\DeviceTests\\TestUtils.DeviceTests.csproj",
"src\\TestUtils\\src\\Microsoft.Maui.IntegrationTests\\Microsoft.Maui.IntegrationTests.csproj",
"src\\TestUtils\\src\\TestUtils\\TestUtils.csproj",
"src\\TestUtils\\src\\UITest.Appium\\UITest.Appium.csproj",
"src\\TestUtils\\src\\UITest.Core\\UITest.Core.csproj",
"src\\TestUtils\\src\\UITest.NUnit\\UITest.NUnit.csproj",
"src\\Workload\\Microsoft.Maui.Sdk\\Microsoft.Maui.Sdk.csproj",
"src\\Workload\\Microsoft.NET.Sdk.Maui.Manifest\\Microsoft.NET.Sdk.Maui.Manifest.csproj"
]
Expand Down
2 changes: 1 addition & 1 deletion docs/design/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ Anything that was marked "AndExpand" should go in its own row or column with a s

### ScrollView Changes

The other main difference is that the Xamarin.Forms ScrollView does not behave consistently when stacking. It has some arbitary limits on minimum size which depend partially on its content, and it will compress to allow other items to fit on the screen inside a StackLayout in ways that are inconsistent and sometimes surprising.
The other main difference is that the Xamarin.Forms ScrollView does not behave consistently when stacking. It has some arbitrary limits on minimum size which depend partially on its content, and it will compress to allow other items to fit on the screen inside a StackLayout in ways that are inconsistent and sometimes surprising.

MAUI, on the other hand, simply allows the ScrollView to expand its viewport to the size of its content unless otherwise constrained. This means that inside of a VerticalStackLayout, which can expand infinitely, a ScrollView will simply set the height of its viewport to the height of the contnet; it will not scroll. This can be a little surprising for Forms users. Remember, StackLayouts simply continue in their stacking direction until they run out of content; they do not subdivide their container along that axis. If you want to limit your content to a constrained space in a direction, you should use another control, like a Grid.

Expand Down
23 changes: 23 additions & 0 deletions eng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,32 @@ release branch is created, someone with `darc` installed locally will need to
run the `add-subscription` command to configure updates against that new branch.


#### Build Asset Manifest Promotion

Builds from main and release branches will push NuGet package metadata to the
darc/maestro Build Asset Registry. This build information will also be promoted
to a default darc/maestro channel if one is configured. Default channels are
manually managed at this time. To configure a new default repo+branch <-> channel
association, run the [`darc add-default-channel`][6] command:
```
darc add-default-channel --channel ".NET 9.0.1xx SDK" --branch "net9.0" --repo https://github.com/dotnet/maui
```

When a new release branch is created, this command should look something like this:
```
darc add-default-channel --channel ".NET 9.0.1xx SDK Preview 1" --branch "release/9.0.1xx-preview1" --repo https://github.com/dotnet/maui
```

Other products/tools can consume our package version info in the following way:
```
darc add-dependency -n Microsoft.Maui.Sdk -t product -r https://github.com/dotnet/maui -v 1.2.3
```


[0]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md
[1]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#setting-up-your-darc-client
[2]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#authenticate
[3]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#add-dependency
[4]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#update-dependencies
[5]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#add-subscription
[6]: https://github.com/dotnet/arcade/blob/ea609b8e036359934332480de9336d98fcbb3f91/Documentation/Darc.md#add-default-channel
Loading

0 comments on commit e4d6e9f

Please sign in to comment.