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

15673 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho c54ff481e4 Enable back more failing tests on net9 2024-09-24 17:12:36 +01:00
Rui Marinho 7fdeacc3c0 Enable more tests back 2024-09-24 16:09:39 +00:00
Rui Marinho 338a075da1 Enable back RemovePageSetsCorrectNavigationSource 2024-09-24 16:09:39 +00:00
Rui Marinho 5da4931820 [testing] Enable shell tests back on net9.0 2024-09-24 16:09:39 +00:00
Rui Marinho 296b06e71e
[tests] Comment out Shell test (#24905)
* [tests] Comment out Shell test

* Comment out other test
2024-09-24 17:01:36 +01:00
Šimon Rozsíval 7f955ca068
Avoid throwing in async void (#24780) 2024-09-24 12:18:05 +01:00
Rui Marinho c6ca951a38
[net9.0] Revert "Move HybridWebView platform code to handlers" (#24876)
* Revert "Move HybridWebView platform code to handlers (#24479)"

This reverts commit 693e5440a3.

* - disable HybridWebViewTests

---------

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-09-24 11:56:25 +01:00
Eilon Lipton 693e5440a3
Move HybridWebView platform code to handlers (#24479)
* Move HybridWebView platform code to handlers

And run everything through the mappers.

Fixes #24269

* WIP

* Fix API files

* API

* API

* API

* Change platform checks
2024-09-23 13:07:30 +01:00
Jonathan Peppers 672563a044
[xaml] fix potential NRE in `{Binding}` (#24756)
Fixes: https://github.com/dotnet/maui/issues/24740

Using this in a project:

    <PackageReference Include="akgul.Maui.DataGrid" Version="4.0.4" />

Then, in a XAML file:

    xmlns:dg="clr-namespace:Maui.DataGrid;assembly=Maui.DataGrid"
    ...
    <dg:DataGrid />

Would crash with:

    [0:] [13:46:57 FTL] Inner Exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
    at Microsoft.Maui.Controls.Xaml.BindingExtension.<Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>.ProvideValue>g__CreateBinding|40_0(<>c__DisplayClass40_0& ) in /_/src/Controls/src/Xaml/MarkupExtensions/BindingExtension.cs:line 46
    at Microsoft.Maui.Controls.Xaml.BindingExtension.Microsoft.Maui.Controls.Xaml.IMarkupExtension<Microsoft.Maui.Controls.BindingBase>.ProvideValue(IServiceProvider serviceProvider) in /_/src/Controls/src/Xaml/MarkupExtensions/BindingExtension.cs:line 27
    at Maui.DataGrid.DataGrid.InitializeComponent() in D:\Maui.DataGrid\Maui.DataGrid\Microsoft.Maui.Controls.SourceGen\Microsoft.Maui.Controls.SourceGen.CodeBehindGenerator\DataGrid.xaml.sg.cs:line 53
    at Maui.DataGrid.DataGrid..ctor() in D:\Maui.DataGrid\Maui.DataGrid\DataGrid.xaml.cs:line 46
    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Constructor(Object obj, IntPtr* args)
    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Inspecting the IL, I see:

    BindingBase val115 = ((IMarkupExtension<BindingBase>)(object)val31).ProvideValue((IServiceProvider)null);

So, it is indeed passed a `null` `IServiceProvider`.

Introduce a unit test and check for `null` as a fix.
2024-09-23 13:05:49 +01:00
Rui Marinho d0b2b691b5
[net9.0] Merge main into net9.0 (take 3) (#24822)
### Description of Change

Yup, this again.
2024-09-21 19:29:44 +01:00
Rui Marinho 5b9eb729a4
Update versions on public rc2 (#24845) 2024-09-21 19:29:21 +01:00
Jonathan Peppers 70fbb835d7
[HybridWebView] fix trimmer warnings on Android (#24744)
Context: https://github.com/dotnet/maui/pull/23769
Context: https://github.com/dotnet/android/pull/9300

026e046b introduced `HybridWebView`, which unfortunately introduces
trimmer warnings in the `dotnet new maui` project template:

    > dotnet new maui
    > dotnet build -f net9.0-android -c Release -p:TrimMode=Full
    ...
    hellomaui succeeded with 1 warning(s) (7.9s)
    /_/src/Core/src/Handlers/HybridWebView/HybridWebViewHandler.Android.cs(53,5):
    Trim analysis warning IL2026: Microsoft.Maui.Handlers.HybridWebViewHandler.HybridWebViewJavaScriptInterface.SendMessage(String):
    Using member 'Java.Interop.ExportAttribute.ExportAttribute(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code.
    [ExportAttribute] uses dynamic features.

This is due to usage of `Java.Interop.ExportAttribute`:

    private sealed class HybridWebViewJavaScriptInterface : Java.Lang.Object
    {
        //...
        [JavascriptInterface]
        [Export("sendMessage")]
        public void SendMessage(string message)

`Java.Interop.ExportAttribute` makes heavy usage of unbounded
System.Reflection, System.Reflection.Emit, etc. for it to be able to
work. It brings in an additional assembly `Mono.Android.Export.dll` as
well.

It is inherently trimming unsafe, but how did it get through these
tests?

08ff124638/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AndroidTemplateTests.cs (L50-L61)

This slipped through, unfortunately, as we had missed solving all the
trimmer warnings in `Mono.Android.Export.dll`! dotnet/android#9300
aims to fix that.

After dotnet/android#9300, new trimming warnings specific to .NET MAUI
will surface such as the one above.

But we can easily replace `[Export]` by:

* Define a Java interface & create a binding for it in C#, we already
  have `maui.aar` setup for this.

* We can simply implement the interface in C# and remove `[Export]`.

Lastly, I fixed some of the defaults in `Metadata.xml`, it didn't look
like we were automatically making Java interfaces `internal`. It looks
like we probably made `ImageLoaderCallback` public by mistake.
2024-09-20 13:54:13 +01:00
Shane Neuville 82a1c7eb92 Fix Test Reset ordering 2024-09-20 00:23:15 -04:00
dotnet-maestro[bot] 132b4fe391
Update dependencies from https://github.com/dotnet/aspnetcore build 20240918.6 (#24824)
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rtm.24466.12 -> To Version 9.0.0-rtm.24468.6

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Configuration.Abstractions,Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.DependencyInjection,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.FileProviders.Abstractions,Microsoft.Extensions.Logging.Abstractions,Microsoft.Extensions.Logging,Microsoft.Extensions.Logging.Console,Microsoft.Extensions.Logging.Debug,Microsoft.Extensions.Primitives
 From Version 9.0.0-rc.2.24463.7 -> To Version 9.0.0-rtm.24467.13 (parent: Microsoft.AspNetCore.Authorization

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-19 15:26:02 +01:00
Matthew Leibowitz e43542007d Merge branch 'main' into merge-main-into-net9-again
# Conflicts:
#	eng/Version.Details.xml
#	eng/Versions.props
#	eng/devices/ios.cake
#	src/Controls/src/Core/BindableObject.cs
#	src/Controls/src/Core/Handlers/Items/CarouselViewHandler.Windows.cs
#	src/Controls/src/Core/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Controls/src/Xaml/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Core/src/Handlers/Application/ApplicationHandler.Android.cs
#	src/Core/src/Handlers/Application/ApplicationHandler.cs
#	src/Core/src/Platform/iOS/LabelExtensions.cs
#	src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/netstandard2.0/PublicAPI.Unshipped.txt
#	src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs
#	src/Essentials/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-ios/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-tizen/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/net/PublicAPI.Unshipped.txt
#	src/Essentials/src/PublicAPI/netstandard/PublicAPI.Unshipped.txt
#	src/Essentials/src/WebAuthenticator/WebAuthenticator.ios.tvos.cs
2024-09-19 01:15:51 +08:00
dotnet-maestro[bot] 96485233cb
Update dependencies from https://github.com/dotnet/xharness build 20240916.1 (#24785)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 10.0.0-prerelease.24459.1 -> To Version 10.0.0-prerelease.24466.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-18 12:08:23 +01:00
dotnet-maestro[bot] 5827f3a5d2
[net9.0] Update dependencies from dotnet/aspnetcore (#24792)
* Update dependencies from https://github.com/dotnet/aspnetcore build 20240916.2

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24463.6 -> To Version 9.0.0-rc.2.24466.2

* Update dependencies from https://github.com/dotnet/aspnetcore build 20240916.8

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24466.2 -> To Version 9.0.0-rc.2.24466.8

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Configuration.Abstractions,Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.DependencyInjection,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.FileProviders.Abstractions,Microsoft.Extensions.Logging.Abstractions,Microsoft.Extensions.Logging,Microsoft.Extensions.Logging.Console,Microsoft.Extensions.Logging.Debug,Microsoft.Extensions.Primitives
 From Version 9.0.0-rc.2.24462.10 -> To Version 9.0.0-rc.2.24463.7 (parent: Microsoft.AspNetCore.Authorization

* Update dependencies from https://github.com/dotnet/aspnetcore build 20240916.12

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24466.8 -> To Version 9.0.0-rtm.24466.12

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-17 11:38:56 +01:00
Shane Neuville b2c1d25f7a
Update bug-report.yml with 8.0.90 SR9 (#24791) 2024-09-16 12:37:32 -05:00
dotnet-maestro[bot] d2767c143f
Update dependencies from https://github.com/dotnet/aspnetcore build 20240913.6 (#24764)
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24463.3 -> To Version 9.0.0-rc.2.24463.6

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Configuration.Abstractions,Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.DependencyInjection,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.FileProviders.Abstractions,Microsoft.Extensions.Logging.Abstractions,Microsoft.Extensions.Logging,Microsoft.Extensions.Logging.Console,Microsoft.Extensions.Logging.Debug,Microsoft.Extensions.Primitives
 From Version 9.0.0-rc.2.24461.16 -> To Version 9.0.0-rc.2.24462.10 (parent: Microsoft.AspNetCore.Authorization

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-14 12:58:39 +01:00
Rui Marinho 3de5be94b0
ºci´Uitests on Pipelines (#24765) 2024-09-14 12:58:20 +01:00
dotnet-maestro[bot] 342952b145
Update dependencies from https://github.com/dotnet/aspnetcore build 20240913.3 (#24763)
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24462.5 -> To Version 9.0.0-rc.2.24463.3

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Configuration.Abstractions,Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.DependencyInjection,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.FileProviders.Abstractions,Microsoft.Extensions.Logging.Abstractions,Microsoft.Extensions.Logging,Microsoft.Extensions.Logging.Console,Microsoft.Extensions.Logging.Debug,Microsoft.Extensions.Primitives
 From Version 9.0.0-rc.2.24459.11 -> To Version 9.0.0-rc.2.24461.16 (parent: Microsoft.AspNetCore.Authorization

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-13 22:07:25 +01:00
Rui Marinho 0de3f8aa02
[ci] Use our own pool (#24754) 2024-09-13 18:02:41 +01:00
dotnet-maestro[bot] 6b23b81a84
[net9.0] Update dependencies from dotnet/aspnetcore (#24743)
* Update dependencies from https://github.com/dotnet/aspnetcore build 20240912.1

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24461.26 -> To Version 9.0.0-rc.2.24462.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20240912.5

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24462.1 -> To Version 9.0.0-rc.2.24462.5

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-13 12:24:30 +01:00
Stephane Delcroix abec5a87fc
[C] Add ImageSource as LogicalChildren of MenuItem (#24688)
* [C] Add ImageSource as LogicalChildren of MenuItem

- fixes #20508

* -fixes #23201 as well

* well, it fixes another one too
2024-09-13 11:35:49 +01:00
dotnet-maestro[bot] 08ff124638
Update dependencies from https://github.com/xamarin/xamarin-macios build 20240912.2 (#24738)
Microsoft.iOS.Sdk.net9.0_17.5 , Microsoft.MacCatalyst.Sdk.net9.0_17.5 , Microsoft.macOS.Sdk.net9.0_14.5 , Microsoft.tvOS.Sdk.net9.0_17.5
 From Version 17.5.9317-net9-rc2 -> To Version 17.5.9334-net9-rc2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-12 14:59:44 +01:00
dotnet-maestro[bot] 68b953b2ba
[net9.0] Update dependencies from dotnet/aspnetcore (#24729)
* Update dependencies from https://github.com/dotnet/aspnetcore build 20240911.23

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24460.5 -> To Version 9.0.0-rc.2.24461.23

* Update dependencies from https://github.com/dotnet/aspnetcore build 20240911.26

Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24461.23 -> To Version 9.0.0-rc.2.24461.26

Dependency coherency updates

Microsoft.Extensions.Configuration,Microsoft.Extensions.Configuration.Abstractions,Microsoft.Extensions.Configuration.Json,Microsoft.Extensions.DependencyInjection,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.FileProviders.Abstractions,Microsoft.Extensions.Logging.Abstractions,Microsoft.Extensions.Logging,Microsoft.Extensions.Logging.Console,Microsoft.Extensions.Logging.Debug,Microsoft.Extensions.Primitives
 From Version 9.0.0-rc.2.24453.5 -> To Version 9.0.0-rc.2.24459.11 (parent: Microsoft.AspNetCore.Authorization

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-12 11:32:33 +01:00
Shane Neuville 049ec59753
Update to Version 8.0.99 (#24728) 2024-09-11 19:19:14 -05:00
Shane Neuville fd718a1ffb
Clear out prototype cell when changing ItemSource (#24700)
* Clear out prototype cell which changing ItemSource

* Update ListViewTests.cs

* Update ListViewTests.cs
2024-09-11 18:17:43 -05:00
NirmalKumarYuvaraj 19afb501b8
[IOS] - Fix error when running new template maui app on iOS (#24567)
* Fixed - 22452 - ios Shell

* Added Test case

* Modified test case file

* Modified test case

* Added images for test case

* Modified test case file

* Modified test cases

* Modified test case

* Modified test case

* Added image for test case
2024-09-11 15:58:29 -05:00
Shane Neuville 9055699a90
Ensure disconnected ItemsViewHandler doesn't hold onto the items source (#24699)
* Ensure disconnected ItemsViewHandler doesn't hold onto the items source

* Update CarouselViewTests.cs
2024-09-11 08:19:47 -05:00
dotnet-maestro[bot] 5180d5789c
Update dependencies from https://github.com/dotnet/aspnetcore build 20240910.5 (#24703)
Microsoft.AspNetCore.Authentication.Facebook , Microsoft.AspNetCore.Authentication.Google , Microsoft.AspNetCore.Authentication.MicrosoftAccount , Microsoft.AspNetCore.Authorization , Microsoft.AspNetCore.Components , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Components.Forms , Microsoft.AspNetCore.Components.Web , Microsoft.AspNetCore.Components.WebAssembly , Microsoft.AspNetCore.Components.WebAssembly.Server , Microsoft.AspNetCore.Components.WebView , Microsoft.AspNetCore.Metadata , Microsoft.JSInterop
 From Version 9.0.0-rc.2.24455.6 -> To Version 9.0.0-rc.2.24460.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-11 11:00:57 +01:00
Shane Neuville 0548772436
Update bug-report.yml RC1 (#24708) 2024-09-11 01:16:06 -05:00
Tamilarasan Paranthaman 7d6c5a9253
[iOS] Fix for CollectionView single item horizontal alignment issue when using ItemsLayout with a Footer. (#24564)
* fix added for collectionView single item alignment with footer,

* Test sample changes.

* Modified the automation sample.

* Added automation images.

* Added comments.
2024-09-10 14:52:46 -05:00
BagavathiPerumal 64343f5182
Fix for the Nested Entry View In A Frame Causes Crash (#24543)
* Committed the changes of the issue

* properly fixed the Object disposed exception

* Added the proper name of test case

* Removing the unneccesary space

* fix-15196-Removed the Dispose method.

* fix-15196-Modified and removed the changes in test case and sample.

---------

Co-authored-by: AhamedAliNishad <ahamedalinishad.j@syncfusion.com>
2024-09-10 14:30:10 -05:00
Matthew Leibowitz dc27b9c395
Use some of the new iOS APIs (#24605) 2024-09-11 00:26:45 +08:00
Stephane Delcroix 9a78453108
[C] Allow OnIdiom/OnPlatform to return a Binding (#24594)
* [C] Allow OnIdiom/OnPlatform to return a Binding

- fixes #19388
- fixes #18697
- fixes #22877
- closes #23798
- closes #23272

and some others

* fix runtime cast

- fixes #24500
- fixes #16725
2024-09-10 10:23:06 -05:00
Jonathan Peppers f7574dd09c
[xamlc] return early in `NodeILExtensions` for `ValidateOnly` (#24493)
Context: 7efca8efb3
Context: https://github.com/xamarin/Xamarin.Forms/pull/7407

For Debug builds, .NET MAUI runs XamlC in a "ValidateOnly" mode, which
avoids writing `.dll` files at the end. This way, we get faster
builds, but still emit the same errors and warnings that would be
emitted in `Release` mode.

Right now, the `ValidateOnly` flag is only checked at the end of the
process to skip writing files. I looked for some places taking time,
such as:

    36.30ms (1.1%) microsoft.maui.controls.build.tasks!Microsoft.Maui.Controls.Build.Tasks.NodeILExtensions+<PushServiceProvider>d__12.MoveNext()
    20.20ms (0.6%) microsoft.maui.controls.build.tasks!Microsoft.Maui.Controls.Build.Tasks.NodeILExtensions+<PushParentObjectsArray>d__9.MoveNext()
     1.21ms (0.0%) microsoft.maui.controls.build.tasks!Microsoft.Maui.Controls.Build.Tasks.NodeILExtensions.PushXmlLineInfo(class Microsoft.Maui.Controls.Xaml.INode,class Microsoft.Maui.Controls.Build.Tasks.ILContext)

And added checks to just return early in these methods.

With this change in-place, an incremental build of a `dotnet new maui`
project template:

    Before:
    1704 ms  XamlCTask                                  4 calls
    After:
    1402 ms  XamlCTask                                  4 calls

This probably saves a little less than 100ms per call, but in this
example it is running once per platform. This improvement probably
will help even more for larger projects with many XAML files.
2024-09-10 14:43:49 +01:00
Eilon Lipton cdc083631a
Fix HybridWebView browser dev tools on iOS/MacCat (#24679)
The dev tools settings were being set on a separate webview that wasn't being used. This change applies the settings to the webview actually being used.

Fixes #24497
2024-09-10 09:06:41 +02:00
SuthiYuvaraj 8ee7227b2c
Editor completed event is not triggered properly when unfocused (#24207)
* 899474 :[Android]Editor/Entry controls don't raise Completed event

* Test cases update commit

* commit for UI changes

* Commit for platform definition

* commit for review changes

* 899474: Image Added

* Update Issue9796.cs

* Update Issue9796.cs

* Review changes for Testcases

* Image commit

* Update Issue9796.cs

* 899474:Removing the entry codes

* Update EntryHandler.Android.cs

* Changes for test case

* Update Issue9796.xaml.cs

* Review changes

* commit for review changes

* Update Issue9796.cs

* Update Issue9796.cs
2024-09-09 20:37:08 -05:00
dotnet-maestro[bot] 2e15377698
[net9.0] Update dependencies from xamarin/xamarin-macios (#24636)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20240906.11

Microsoft.iOS.Sdk.net9.0_17.5 , Microsoft.MacCatalyst.Sdk.net9.0_17.5 , Microsoft.macOS.Sdk.net9.0_14.5 , Microsoft.tvOS.Sdk.net9.0_17.5
 From Version 17.5.9260-net9-rc1 -> To Version 17.5.9317-net9-rc2

* Update Versions.props

* Update NuGet.config

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-09-09 23:36:22 +01:00
Shane Neuville a7ffadf579
Make sure that Navigation Pages fill the screen (#24651)
* Make sure that Navigation Pages fill the screen

* Update Issue23484.cs

* - add arrange back in
2024-09-09 23:36:02 +01:00
dustin-wojciechowski 9d965ccc32
[Testing] Split off HandlerDoesNotLeak.DatePicker into its own UI test (#24585)
* Split off DatePicker.HandlerDoesNotLeak into its own UI test.

* Changed RunMemoryTest to take in INavigation instead of NavigationPage, renamed Issue24147 to MemoryTests and changed it to take in Text from Entry to determine which Handler to use, Removed Issue22072 as that's now in MemoryTests

* Renamed Issue24147 in Tests.Shared to MemoryTests, added methods to check DatePicker and WebView. Added automationids in HostApp MemoryTests
2024-09-09 17:16:15 -05:00
Jonathan Dick 760cbb2c9a
[iOS] SwipeView: Fix reenabling parent scrolling after cancelled swipe (#23442)
### Description of Change

Fixes an issue where scrolling of SwipeView's parent is disabled during
swipe but not reenabled when the swipe is cancelled by manually moving
the touch below the threshold.

### Issues Fixed

Fixes #23441 
Fixes #16856
2024-09-09 13:59:57 -04:00
Eric 89b11fe007
Update TriageProcess.md (#24646) 2024-09-10 00:10:27 +08:00
Shane Neuville 72aa284d93
Don't invalidate SuperView if not connected to Window (#24637)
* Don't invalidate SuperView if not connected to Window

* - fix test to run better on all platforms
2024-09-09 23:52:29 +08:00
Oleksandr Dobrynin 79bef03f94
changed order of calls to properly close Picker Activity / ViewController and set the picker result (#21998) 2024-09-09 23:40:17 +08:00
Matthew Leibowitz 0440139b3b
Update script to generate Public API filess (#24631)
* Update script to generate PublicAPIs

* Update mark-shipped.ps1

* Update mark-shipped.ps1
2024-09-09 16:39:45 +01:00
dotnet-maestro[bot] 75580ddbd0
Update dependencies from https://github.com/dotnet/xharness build 20240909.1 (#24673)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.24420.3 -> To Version 10.0.0-prerelease.24459.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-09 16:16:49 +01:00
Alberto Aldegheri 45a1666640
Trigger InvalidateMeasure event on CollectionView when content size changes on iOS (#24647) 2024-09-09 09:31:53 -05:00
Jakub Florkowski 277ce9fa5b
[Android] Failed to inflate ColorStateList error fix for checkbox (#24658) 2024-09-09 09:10:40 -05:00