diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 946c2f25ea1f..338914f897fc 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -21,7 +21,7 @@ ] }, "microsoft.dotnet.xharness.cli": { - "version": "8.0.0-prerelease.23416.1", + "version": "8.0.0-prerelease.23421.1", "commands": [ "xharness" ] diff --git a/eng/BannedSymbols.txt b/eng/BannedSymbols.txt index 4c25dda60acb..58c061812120 100644 --- a/eng/BannedSymbols.txt +++ b/eng/BannedSymbols.txt @@ -1,15 +1,21 @@ M:Android.Content.Res.ColorStateList.#ctor(System.Int32[][],System.Int32[]);Use Microsoft.Maui.PlatformInterop.Get*ColorStateList() Java methods instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead +M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead M:Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService`2(Microsoft.Maui.Hosting.IImageSourceServiceCollection);Use a Factory method to register the service instead M:Microsoft.Maui.Hosting.MauiHandlersCollectionExtensions.AddHandler(Microsoft.Maui.Hosting.IMauiHandlersCollection,System.Type,System.Type);Use a Factory method to register the service instead diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 214b3289a524..7ce17004f7e7 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -83,17 +83,17 @@ https://github.com/dotnet/templating 3f4da9ced34942d83054e647f3b1d9d7dde281e8 - + https://github.com/dotnet/xharness - 5a4c0c4662e26da63aa22d0bd239ea8576c1cda7 + 1c09ef5b669c11e1aeca92089d0c1e4408169582 - + https://github.com/dotnet/xharness - 5a4c0c4662e26da63aa22d0bd239ea8576c1cda7 + 1c09ef5b669c11e1aeca92089d0c1e4408169582 - + https://github.com/dotnet/xharness - 5a4c0c4662e26da63aa22d0bd239ea8576c1cda7 + 1c09ef5b669c11e1aeca92089d0c1e4408169582 https://github.com/dotnet/runtime diff --git a/eng/Versions.props b/eng/Versions.props index e2e068ac890f..7d22fb2c57e6 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -52,8 +52,8 @@ 8.0.0-rc.1.23418.9 8.0.0-preview1.23067.2 - 3.3.3 - 3.3.3 + 3.3.4 + 3.3.4 4.5.0 4.5.5 4.5.1 @@ -78,9 +78,9 @@ <_HarfBuzzSharpVersion>2.8.2.4-preview.82 <_SkiaSharpNativeAssetsVersion>0.0.0-commit.936270ba9372ac6c94505de44884ef4ba5d96aa2.588 7.0.100-preview.5.22226.1 - 8.0.0-prerelease.23416.1 - 8.0.0-prerelease.23416.1 - 8.0.0-prerelease.23416.1 + 8.0.0-prerelease.23421.1 + 8.0.0-prerelease.23421.1 + 8.0.0-prerelease.23421.1 0.9.0 0.5.13 1.2.0 diff --git a/eng/pipelines/common/ui-tests-steps.yml b/eng/pipelines/common/ui-tests-steps.yml index 68bc76e02d9b..2868acf26f8c 100644 --- a/eng/pipelines/common/ui-tests-steps.yml +++ b/eng/pipelines/common/ui-tests-steps.yml @@ -35,6 +35,15 @@ steps: displayName: "Modify defaults" continueOnError: true + # AzDO hosted agents default to 1024x768; set something bigger for Windows UI tests + - task: ScreenResolutionUtility@1 + condition: eq('${{ parameters.platform }}' , 'windows') + inputs: + displaySettings: 'specific' + width: '1920' + height: '1080' + displayName: "Set screen resolution" + - task: NodeTool@0 inputs: versionSpec: "20.3.1" diff --git a/src/BlazorWebView/samples/BlazorWinFormsApp/BlazorWinFormsApp.csproj b/src/BlazorWebView/samples/BlazorWinFormsApp/BlazorWinFormsApp.csproj index 879356866375..1f44d74394a7 100644 --- a/src/BlazorWebView/samples/BlazorWinFormsApp/BlazorWinFormsApp.csproj +++ b/src/BlazorWebView/samples/BlazorWinFormsApp/BlazorWinFormsApp.csproj @@ -8,6 +8,7 @@ WinExe true false + true diff --git a/src/BlazorWebView/src/SharedSource/BlazorWebViewServiceCollectionExtensions.cs b/src/BlazorWebView/src/SharedSource/BlazorWebViewServiceCollectionExtensions.cs index 25dfac32b907..b7b0c748177d 100644 --- a/src/BlazorWebView/src/SharedSource/BlazorWebViewServiceCollectionExtensions.cs +++ b/src/BlazorWebView/src/SharedSource/BlazorWebViewServiceCollectionExtensions.cs @@ -42,14 +42,14 @@ public static IMauiBlazorWebViewBuilder AddMauiBlazorWebView(this IServiceCollec services.AddBlazorWebView(); services.TryAddSingleton(new BlazorWebViewDeveloperTools { Enabled = false }); #if WEBVIEW2_MAUI - services.TryAddSingleton(); + services.TryAddSingleton(_ => new MauiBlazorMarkerService()); services.ConfigureMauiHandlers(static handlers => handlers.AddHandler(_ => new BlazorWebViewHandler())); return new MauiBlazorWebViewBuilder(services); #elif WEBVIEW2_WINFORMS - services.TryAddSingleton(); + services.TryAddSingleton(_ => new WindowsFormsBlazorMarkerService()); return new WindowsFormsBlazorWebViewBuilder(services); #elif WEBVIEW2_WPF - services.TryAddSingleton(); + services.TryAddSingleton(_ => new WpfBlazorMarkerService()); return new WpfBlazorWebViewBuilder(services); #endif } diff --git a/src/BlazorWebView/tests/MauiDeviceTests/MauiBlazorWebView.DeviceTests.csproj b/src/BlazorWebView/tests/MauiDeviceTests/MauiBlazorWebView.DeviceTests.csproj index 940b53935dc7..b1ba88e654e6 100644 --- a/src/BlazorWebView/tests/MauiDeviceTests/MauiBlazorWebView.DeviceTests.csproj +++ b/src/BlazorWebView/tests/MauiDeviceTests/MauiBlazorWebView.DeviceTests.csproj @@ -7,6 +7,7 @@ Microsoft.Maui.MauiBlazorWebView.DeviceTests Microsoft.Maui.MauiBlazorWebView.DeviceTests $(NoWarn),CA1416 + true maccatalyst-x64 maccatalyst-arm64 diff --git a/src/Controls/docs/Microsoft.Maui.Controls/DragEventArgs.xml b/src/Controls/docs/Microsoft.Maui.Controls/DragEventArgs.xml deleted file mode 100644 index 16758be1a6de..000000000000 --- a/src/Controls/docs/Microsoft.Maui.Controls/DragEventArgs.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.EventArgs - - - - To be added. - To be added. - - - - - - - - Constructor - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.DataPackageOperation - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.DataPackage - - - To be added. - To be added. - To be added. - - - - diff --git a/src/Controls/docs/Microsoft.Maui.Controls/DragGestureRecognizer.xml b/src/Controls/docs/Microsoft.Maui.Controls/DragGestureRecognizer.xml deleted file mode 100644 index a7f5d5e2e163..000000000000 --- a/src/Controls/docs/Microsoft.Maui.Controls/DragGestureRecognizer.xml +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.GestureRecognizer - - - - To be added. - To be added. - - - - - - - Constructor - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - - - Field - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.BindableProperty - - - To be added. - To be added. - - - - - - - - Event - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.EventHandler<Microsoft.Maui.Controls.DragStartingEventArgs> - - - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Windows.Input.ICommand - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Object - - - To be added. - To be added. - To be added. - - - - - - - - Field - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.BindableProperty - - - To be added. - To be added. - - - - - - - - Field - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.BindableProperty - - - To be added. - To be added. - - - - - - - - Event - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.EventHandler<Microsoft.Maui.Controls.DropCompletedEventArgs> - - - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Windows.Input.ICommand - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Object - - - To be added. - To be added. - To be added. - - - - - - - - Field - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.BindableProperty - - - To be added. - To be added. - - - - - - - - Field - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.BindableProperty - - - To be added. - To be added. - - - - - - - - Method - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) - - - - Microsoft.Maui.Controls.DragStartingEventArgs - - - - - - To be added. - To be added. - To be added. - To be added. - - - - - - - - Method - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) - - - - System.Void - - - - - - To be added. - To be added. - To be added. - - - - diff --git a/src/Controls/docs/Microsoft.Maui.Controls/DragStartingEventArgs.xml b/src/Controls/docs/Microsoft.Maui.Controls/DragStartingEventArgs.xml deleted file mode 100644 index d27123aea40c..000000000000 --- a/src/Controls/docs/Microsoft.Maui.Controls/DragStartingEventArgs.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.EventArgs - - - - To be added. - To be added. - - - - - - - Constructor - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.DataPackage - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - diff --git a/src/Controls/docs/Microsoft.Maui.Controls/DropEventArgs.xml b/src/Controls/docs/Microsoft.Maui.Controls/DropEventArgs.xml deleted file mode 100644 index b3354de619c4..000000000000 --- a/src/Controls/docs/Microsoft.Maui.Controls/DropEventArgs.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Object - - - - To be added. - To be added. - - - - - - - - Constructor - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - Microsoft.Maui.Controls.DataPackageView - - - To be added. - To be added. - To be added. - - - - - - - - Property - - Microsoft.Maui.Controls.Core - 2.0.0.0 - - - System.Boolean - - - To be added. - To be added. - To be added. - - - - diff --git a/src/Controls/samples/Controls.Sample.UITests/Elements/DragAndDropBetweenLayouts.xaml b/src/Controls/samples/Controls.Sample.UITests/Elements/DragAndDropBetweenLayouts.xaml index 7e06fd116f24..b99b4fed6b2a 100644 --- a/src/Controls/samples/Controls.Sample.UITests/Elements/DragAndDropBetweenLayouts.xaml +++ b/src/Controls/samples/Controls.Sample.UITests/Elements/DragAndDropBetweenLayouts.xaml @@ -63,5 +63,17 @@