Skip to content

Commit

Permalink
Merge branch 'main' into fix-18948
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Feb 20, 2024
2 parents 60041f6 + 9c7dc88 commit c316801
Show file tree
Hide file tree
Showing 198 changed files with 3,795 additions and 442 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.24112.4",
"commands": [
"xharness"
]
Expand Down
12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ body:
description: In what version do you see this issue? Run `dotnet workload list` to find your version.
options:
-
- 8.0.6
- 8.0.3
- 8.0.7 SR2
- 8.0.6 SR1
- 8.0.3 GA
- 7.0.101
- 7.0.100
- 7.0.96
Expand Down Expand Up @@ -103,8 +104,9 @@ body:
- 8.0.0-rc.1.9171
- 8.0.0-rc.2.9373
- 8.0.0-rc.2.9511
- 8.0.3
- 8.0.6
- 8.0.3 GA
- 8.0.6 SR1
- 8.0.7 SR2
validations:
required: true
- type: dropdown
Expand Down Expand Up @@ -139,7 +141,7 @@ body:
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
description: Including a binary log or 'binlog' to your issue (see [Capturing Binary Logs](https://github.com/dotnet/maui/wiki/Capturing-Binary-Logs) for more info) is helpful in diagnosing your issue. You can also paste any relevant log output below. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: markdown
attributes:
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/dotnet-format-daily-net7.yml

This file was deleted.

28 changes: 28 additions & 0 deletions THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -493,3 +493,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
=========================================


License notice for FFImageLoading
=========================================

(https://github.com/luberda-molinet/FFImageLoading/blob/master/LICENSE.md)

The MIT License (MIT)

Copyright (c) 2015 Daniel Luberda & Fabien Molinet

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="9.0.0-prerelease.24112.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="9.0.0-prerelease.24112.4">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>2f3f51a1adec18475563c8a49fd9b668ae9f2f31</Sha>
<Sha>11ae3663fe3de366ea3566d7ae9b4731adee2ca3</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="9.0.0-prerelease.24112.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="9.0.0-prerelease.24112.4">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>2f3f51a1adec18475563c8a49fd9b668ae9f2f31</Sha>
<Sha>11ae3663fe3de366ea3566d7ae9b4731adee2ca3</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="9.0.0-prerelease.24112.1">
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="9.0.0-prerelease.24112.4">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>2f3f51a1adec18475563c8a49fd9b668ae9f2f31</Sha>
<Sha>11ae3663fe3de366ea3566d7ae9b4731adee2ca3</Sha>
</Dependency>
</ProductDependencies>
</Dependencies>
16 changes: 8 additions & 8 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
<MicrosoftExtensionsLoggingDebugVersion>8.0.0</MicrosoftExtensionsLoggingDebugVersion>
<MicrosoftExtensionsPrimitivesVersion>8.0.0</MicrosoftExtensionsPrimitivesVersion>
<!-- xamarin/xamarin-android -->
<MicrosoftAndroidSdkWindowsPackageVersion>34.0.52</MicrosoftAndroidSdkWindowsPackageVersion>
<MicrosoftAndroidSdkWindowsPackageVersion>34.0.79</MicrosoftAndroidSdkWindowsPackageVersion>
<!-- xamarin/xamarin-macios -->
<MicrosoftMacCatalystSdkPackageVersion>17.2.8004</MicrosoftMacCatalystSdkPackageVersion>
<MicrosoftmacOSSdkPackageVersion>14.2.8004</MicrosoftmacOSSdkPackageVersion>
<MicrosoftiOSSdkPackageVersion>17.2.8004</MicrosoftiOSSdkPackageVersion>
<MicrosofttvOSSdkPackageVersion>17.2.8004</MicrosofttvOSSdkPackageVersion>
<MicrosoftMacCatalystSdkPackageVersion>17.2.8022</MicrosoftMacCatalystSdkPackageVersion>
<MicrosoftmacOSSdkPackageVersion>14.2.8022</MicrosoftmacOSSdkPackageVersion>
<MicrosoftiOSSdkPackageVersion>17.2.8022</MicrosoftiOSSdkPackageVersion>
<MicrosofttvOSSdkPackageVersion>17.2.8022</MicrosofttvOSSdkPackageVersion>
<!-- Samsung/Tizen.NET -->
<SamsungTizenSdkPackageVersion>8.0.130</SamsungTizenSdkPackageVersion>
<!-- emsdk -->
Expand Down Expand Up @@ -78,9 +78,9 @@
<_HarfBuzzSharpVersion>7.3.0</_HarfBuzzSharpVersion>
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.e2c5c86249621857107c779af0f79b4d06613766.655</_SkiaSharpNativeAssetsVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.114</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>9.0.0-prerelease.24112.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>9.0.0-prerelease.24112.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>9.0.0-prerelease.24112.1</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>9.0.0-prerelease.24112.4</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>9.0.0-prerelease.24112.4</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>9.0.0-prerelease.24112.4</MicrosoftDotNetXHarnessCLIVersion>
<TizenUIExtensionsVersion>0.9.2</TizenUIExtensionsVersion>
<SvgSkiaPackageVersion>0.5.13</SvgSkiaPackageVersion>
<FizzlerPackageVersion>1.2.0</FizzlerPackageVersion>
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/common/device-tests-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ steps:
- ${{ if eq(parameters.platform, 'ios')}}:
- bash: |
rm -r $HOME/Library/Logs/CoreSimulator/*
rm -r $HOME/Library/Logs/DiagnosticReports/*
if [ -f "$HOME/Library/Logs/CoreSimulator/*" ]; then rm -r $HOME/Library/Logs/CoreSimulator/*; fi
if [ -f "$HOME/Library/Logs/DiagnosticReports/*" ]; then rm -r $HOME/Library/Logs/DiagnosticReports/*; fi
displayName: Delete Old Simulator Logs
condition: always()
continueOnError: true
Expand Down
3 changes: 2 additions & 1 deletion eng/pipelines/common/maui-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
steps:

- ${{ each step in parameters.prepareSteps }}:
Expand Down Expand Up @@ -104,9 +103,11 @@ jobs:

- pwsh: ./build.ps1 --target=dotnet-integration-build --verbosity=diagnostic
displayName: Build Microsoft.Maui.IntegrationTests
workingDirectory: ${{ parameters.checkoutDirectory }}

- pwsh: ./build.ps1 --target=dotnet-integration-test --filter="FullyQualifiedName=Microsoft.Maui.IntegrationTests.TemplateTests" --resultsfilename="integration-tests" --verbosity=diagnostic
displayName: Run $(PLATFORM_NAME) templates build tests
workingDirectory: ${{ parameters.checkoutDirectory }}

- task: PublishTestResults@2
displayName: Publish the $(PLATFORM_NAME) templates build tests
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/common/ui-tests-compatibility-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ steps:
displayName: 'Build the Legacy ControlGallery'

- bash: |
rm -r $HOME/Library/Logs/CoreSimulator/*
rm -r $HOME/Library/Logs/DiagnosticReports/*
if [ -f "$HOME/Library/Logs/CoreSimulator/*" ]; then rm -r $HOME/Library/Logs/CoreSimulator/*; fi
if [ -f "$HOME/Library/Logs/DiagnosticReports/*" ]; then rm -r $HOME/Library/Logs/DiagnosticReports/*; fi
displayName: Delete Old Simulator Logs
condition: ${{ eq(parameters.platform, 'ios') }}
continueOnError: true
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/common/ui-tests-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ steps:
displayName: 'Build the samples'

- bash: |
rm -r $HOME/Library/Logs/CoreSimulator/*
rm -r $HOME/Library/Logs/DiagnosticReports/*
if [ -f "$HOME/Library/Logs/CoreSimulator/*" ]; then rm -r $HOME/Library/Logs/CoreSimulator/*; fi
if [ -f "$HOME/Library/Logs/DiagnosticReports/*" ]; then rm -r $HOME/Library/Logs/DiagnosticReports/*; fi
displayName: Delete Old Simulator Logs
condition: ${{ eq(parameters.platform, 'ios') }}
continueOnError: true
Expand Down
5 changes: 0 additions & 5 deletions eng/pipelines/handlers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,13 @@ parameters:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
testName: RunOnAndroid
artifact: templates-run-android
- name: $(iosTestsVmPool)
vmImage: $(iosTestsVmImage)
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
testName: RunOniOS
artifact: templates-run-ios

Expand Down Expand Up @@ -168,7 +166,6 @@ stages:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
steps:
- template: common/provision.yml
parameters:
Expand Down Expand Up @@ -211,7 +208,6 @@ stages:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
steps:
- template: common/pack.yml
parameters:
Expand All @@ -238,7 +234,6 @@ stages:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5
steps:
- template: common/provision.yml
parameters:
Expand Down
1 change: 0 additions & 1 deletion eng/pipelines/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ parameters:
demands:
- macOS.Name -equals Ventura
- macOS.Architecture -equals x64
- Agent.OSVersion -equals 13.5


resources:
Expand Down
1 change: 0 additions & 1 deletion eng/provisioning/provisioning.csx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ if (IsMac)
{
ForceJavaCleanup();
MicrosoftOpenJdk ("11.0.13.8.1");
Item("https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.199.macos10.xamarin.universal.pkg");
AppleCodesignIdentity("Apple Development: Jonathan Dick (FJL7285DY2)", "https://dl.internalx.com/qa/code-signing-entitlements/components-mac-ios-certificate.p12");
AppleCodesignProfile("https://dl.internalx.com/qa/code-signing-entitlements/components-ios-provisioning.mobileprovision");
AppleCodesignProfile("https://dl.internalx.com/qa/code-signing-entitlements/components-mac-provisioning.mobileprovision");
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Maui.Controls.Sample.Issues.Issue16918"
xmlns:ns="clr-namespace:Maui.Controls.Sample.Issues">
<ScrollView>
<VerticalStackLayout
Spacing="25"
Padding="30,0"
VerticalOptions="Center">
<Label
Text="Image (SVG 40x40):"
HorizontalOptions="Center" />
<Image
Source="menu_entry_settings_40.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="40"
HorizontalOptions="Center"
x:Name="MenuImage"
AutomationId="MenuImage"/>

<Label
Text="ImageButton (SVG 40x40):"
HorizontalOptions="Center" />
<ImageButton
Source="menu_entry_settings_40.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="40"
BackgroundColor="Transparent"
HorizontalOptions="Center" />

<Label
Text="Image (SVG 210x210):"
HorizontalOptions="Center" />
<Image
Source="menu_entry_settings_210.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="40"
HorizontalOptions="Center" />

<Label
Text="ImageButton (SVG 210x210):"
HorizontalOptions="Center" />
<ImageButton
Source="menu_entry_settings_210.png"
SemanticProperties.Description="Cute dot net bot waving hi to you!"
HeightRequest="40"
BackgroundColor="Transparent"
HorizontalOptions="Center" />
</VerticalStackLayout>
</ScrollView>
</ContentPage>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Xaml;

namespace Maui.Controls.Sample.Issues
{
[XamlCompilation(XamlCompilationOptions.Compile)]
[Issue(IssueTracker.Github, 16918, "ImageButton is not properly anti-aliased when scaled down", PlatformAffected.UWP)]
public partial class Issue16918 : ContentPage
{
public Issue16918()
{
InitializeComponent();
}
}
}
Loading

0 comments on commit c316801

Please sign in to comment.