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

15997 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Dick 3b4c5b9f20
Bump Android Dependencies (#25424) 2024-10-21 16:15:58 -04:00
Šimon Rozsíval 1ad1f6acc7
[XC] Avoid NativeAOT trim warnings for compiled bindings (#25420)
* Add test

* Prevent creating ServiceProvider when binding is compiled

* Use issue number

* Avoid making inner dev loop builds slower just to make unit tests work
2024-10-21 19:44:55 +01:00
Jonathan Peppers 8b44525b87
[gh actions] introduce "inclusive heat sensor" (#25389)
* [gh actions] introduce "inclusive heat sensor"

Context: https://github.com/jonathanpeppers/inclusive-heat-sensor

This is a new GitHub action that will run for each pull request
description, issue, or comment with the idea it could take action if:

* "Anger" is detected
* "Offensive" text is detected

Down the road, if it is working, we could do things like:

* Add a "spicy" label to the issue

* Auto-hide comments as abuse (or spam?)

For now, we just want to let it run (and do nothing) to see what kind
of comments it flags. This is a test to see if it is useful.

NOTE: I may close/reopen this pull request a few times to run the
action.

* Don't run on PR open

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

---------

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-10-21 19:07:35 +01:00
Shane Neuville 03b5b86ebe Bump Android Dependencies 2024-10-21 10:46:33 -05:00
Shane Neuville af52ebfe94 Merge branch 'release/9.0.1xx' into merge_ga_into_main
# Conflicts:
#	Directory.Build.props
#	Directory.Build.targets
#	NuGet.config
#	eng/Version.Details.xml
#	eng/Versions.props
#	eng/pipelines/common/maui-templates.yml
#	eng/scripts/appium-install.ps1
#	src/Controls/src/Core/Handlers/Items2/ItemsViewHandler2.iOS.cs
#	src/Controls/src/Core/Handlers/Items2/iOS/ItemsViewController2.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue24583.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue25038.xaml.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue3089.cs
#	src/Controls/tests/TestCases.HostApp/Issues/Issue3333.cs
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonPaddingIsAddedWhenNeeded.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonResizesWhenTitleOrImageChangesAltered.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonResizesWhenTitleOrImageChangesOriginal.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonTitleFillsSpaceWhenImageChangesAltered.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonTitleFillsSpaceWhenImageChangesOriginal.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownPortrait.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/EntryClearButtonColorShouldMatchTextColor.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue13474Test.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue22433_Layout.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue22433_Spacing.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue22899Test.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/SelectedTabIconShouldChangeColor.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/TabbedPageUnselectedBarTextColorConsistency.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/TextsInEditorsAfterScaling.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/TextsInEditorsBeforeScaling.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/UpdateCollectionViewHeaderTest.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/UpdateToolbarItemAfterNavigate.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ValidateEntryClearButtonVisibilityBehavior.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage1_Border.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage1_NoBorder.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage4.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage6.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyEntryClearButtonVisibility.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyGreyShades.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyOpaqueModalDefault.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyTransparentModalShowsPageBeneathModal.png
#	src/DotNet/DotNet.csproj
#	src/Graphics/samples/GraphicsTester.WinUI.Desktop/GraphicsTester.WinUI.Desktop.csproj
#	src/TestUtils/src/Microsoft.Maui.IntegrationTests/BaseBuildTest.cs
2024-10-21 10:39:37 -05:00
Javier Suárez 70f1f76cf6
[Testing] More UITests extension methods using an IQuery as parameter (#25177)
* Implement current UITests extension methods using an identifier using a Query

* Changes to fix the build

* Allow queries in the WaitForElement and WaitForNoElement methods

* Changed comments
2024-10-20 20:32:53 +02:00
Javier Suárez 34399ff841
Implement WaitForFirstElement method to UITest extension methods (#25282) 2024-10-20 20:31:32 +02:00
Javier Suárez 01e1e9db07
[Testing] Implement Pan method to UITest extension methods (#25312)
* Implement Pan method to UITest extension methods.

* Updated test

* More changes
2024-10-20 20:30:51 +02:00
Javier Suárez 713957443e
Add QueryUntilPresent method to UITest extension methods (#25314) 2024-10-20 20:29:15 +02:00
Mike Corsaro 35ec88ff9e
Fix Titlebar name API and add templates (#25390) 2024-10-20 12:38:13 -05:00
github-actions[bot] 8f72974250
[release/9.0.1xx] Move TitleViewSetOnShellWorksAfterNavigation to Appium (#25401) 2024-10-20 12:35:48 -05:00
github-actions[bot] 59ed3a7702
[release/9.0.1xx] [XC] Propagate x:DataType from parent scope to "standalone bindings" (#25295) 2024-10-20 12:35:19 -05:00
github-actions[bot] 72d04a4f00
Disable TitleViewSetOnShellWorksAfterNavigation (#25400)
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-10-20 10:50:49 -05:00
github-actions[bot] 0f5642c77f
[release/9.0.1xx] Re-enable tests (#25268) 2024-10-20 08:50:35 -05:00
Shane Neuville 7cef4c0b4a
Merge sr9 into net9 ga (#25265)
### Description of Change

Rollup changes that are going into .NET 8 SR9.2 so that they are also
released with .NET9 GA
2024-10-20 08:11:03 -05:00
github-actions[bot] 8bd9d88bfb
[XC] compile StaticResource w/ generics (#25352)
{StaticResource} are now compiled when possible, there was an issue,
throwing NRE, when the target property of the resource is of generic
type.
It was only possible to depict in the very contrived and overengineerd
design of the converters in Community toolkit.

- fixes #25309

Co-authored-by: Stephane Delcroix <stephane@delcroix.org>
2024-10-19 13:59:55 -05:00
Shane Neuville 11d68e2a7e Fix ScreenShots for New visual comparison code 2024-10-19 13:04:11 -05:00
Shane Neuville 676fcbb7b0 Merge branch 'release/9.0.1xx' into merge_sr9_into_net9_ga 2024-10-18 17:14:19 -05:00
github-actions[bot] 6d7b447339
[release/9.0.1xx] Update .NET MAUI template with .NET 9 hovercraft bot 🤖 (#25383)
* Update dotnet_bot.png

* Update net9 template image semantic description

---------

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2024-10-18 16:48:44 -05:00
github-actions[bot] 48fb344c33
[release/9.0.1xx] [XC] Report XC0025 as an error only in strict compilation mode (#25298)
* Make sure XC0025 is not treated as error unless in strict mode

* Remove incorrect comment

---------

Co-authored-by: Simon Rozsival <simon@rozsival.com>
2024-10-18 15:25:35 -05:00
github-actions[bot] ee8740a4e1
[release/9.0.1xx] [XC] Fix passing message arguments to BuildException when logging warning as error (#25326)
* Fix passing message args to BuildException in XamlCTask

* Avoid using string.Format with null args

---------

Co-authored-by: Simon Rozsival <simon@rozsival.com>
2024-10-18 15:11:06 -05:00
Peter Collins f5ca66a3e6
[nuget-msi-convert] Do not use new VS component IDs (#25355)
Context: ce01c154f7

We've decided hold off on this change until .NET 10.
2024-10-18 15:01:27 -05:00
github-actions[bot] aa29a2ffff
[release/9.0.1xx] Add services.AddHybridWebViewDeveloperTools() extension to enable browser dev tools (#25330)
* Add services.AddHybridWebViewDeveloperTools() extension to enable browser dev tools

Previously the browser dev tools were always enabled for HybridWebView. Now it's optional.

Fixes #22305

* Tizen

---------

Co-authored-by: Eilon Lipton <Eilon@users.noreply.github.com>
2024-10-18 15:00:44 -05:00
Shane Neuville af43d7ec63 Merge branch 'release/9.0.1xx' into merge_sr9_into_net9_ga
# Conflicts:
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/Issue22433_Spacing.png
2024-10-18 14:16:38 -05:00
Rui Marinho 4a2e7213d1
[main] Make main net9 (#25351)
### Description of Change

Merge net9 to main
2024-10-18 18:14:20 +01:00
Shane Neuville 20a912366a
Fix Test Screenshots (#25381) 2024-10-18 17:28:20 +01:00
Rui Marinho e25c494df2 Try bump this 2024-10-18 15:50:38 +01:00
github-actions[bot] b918013f07
[release/9.0.1xx] [net9.0] Run device tests arm (#25375)
* Run on arm the device tests

* no brew

* install api35

* add log installdefault api

* use iOS pool

* Maybe try skip this on handlers main build

* Add new pool name

---------

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-10-18 15:05:50 +01:00
github-actions[bot] 155d42890f
[release/9.0.1xx] [XC] Fix support for x:TypeArguments on root node (#25287)
* Add test

* Set root element type arguments if needed

* Simplify setting type arguments for the root node

* Cleanup

* Update test

---------

Co-authored-by: Simon Rozsival <simon@rozsival.com>
2024-10-18 07:54:07 -05:00
github-actions[bot] 568fa89c41
[X] inherit DataType based on attribute (#25296)
Change the heuristic for deciding if we need ot ignore parent DataType,
as DataTrigger.Binding shoud inherit it, and
Picker.ItemDisplayNameBinding should not

this is an alternate fix for #23989, partially replaces #24513, and will
help fixing #25141 together with #24152

Co-authored-by: Stephane Delcroix <stephane@delcroix.org>
2024-10-18 07:52:38 -05:00
github-actions[bot] e74686cf49
[XC] disable AOT warning on InitComp (#25297)
- fixes #25199

Co-authored-by: Stephane Delcroix <stephane@delcroix.org>
2024-10-18 07:07:33 -05:00
Shane Neuville cda20ec37c
Update TabbedViewExtensions.cs 2024-10-18 07:05:36 -05:00
Shane Neuville 47d962375a Merge branch 'release/9.0.1xx' into merge_sr9_into_net9_ga
# Conflicts:
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonPaddingIsAddedWhenNeeded.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownPortrait.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage1_Border.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage1_NoBorder.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage4.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/VerifyButtonPage6.png
2024-10-17 20:47:18 -05:00
Shane Neuville b113c17783
[UITest] Remove the bottom section of iOS UITest (#24586) (#25353)
* [UITest] Remove the bottom section of iOS UITest (#24586)

* add bottom screenshot crop

* increase crop by 2

* make it 40

* wave 1 of screenshots

* wave 2 of screenshots

* new screenshots 3

* new screenshots 4

* new screenshots 5

* - additional updates

* Add more updated images

---------

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
# Conflicts:
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ImageSourceInitializesCorrectly.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/TextsInEditorsAfterScaling.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/TextsInEditorsBeforeScaling.png
#	src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/UpdateCollectionViewHeaderTest.png

* - Update corrected images

* - fix tabs

* - fix ipad

* - fix indent

---------

Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2024-10-17 20:37:20 -05:00
github-actions[bot] 9962af6d11
[release/9.0.1xx] [net9.0] Fix CV2 handler and uitests fixes (#25361)
* [iOS] Make GridLayouts render header and footer

* [ios] Fix grouping not working because of StructuredView

* [tests] Add a small delay on changing orientation

* Fix duplicated header

---------

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-10-17 20:18:25 -05:00
Rui Marinho 5408f526d1 Try without this 2024-10-18 01:55:13 +01:00
Rui Marinho c4c31c94ad Merge branch 'net9.0' into net9-merge-main 2024-10-18 01:07:56 +01:00
Rui Marinho 7de739070b More fixes partial 2024-10-18 01:07:13 +01:00
Rui Marinho cece83e86f Merge branch 'run-tests-arm' into net9-merge-main 2024-10-18 00:41:18 +01:00
Rui Marinho 3ea64d7db8 Fix partial usage 2024-10-18 00:41:09 +01:00
Rui Marinho 1214cbe9c0 Small fix for version nupkg 2024-10-17 23:47:01 +01:00
Rui Marinho e2935f735d Add new pool name 2024-10-17 22:52:57 +01:00
Rui Marinho 6cae413891 Fixes for spellcheck 2024-10-17 22:31:40 +01:00
Shane Neuville 8214fca1ed Fix Colors Namespace 2024-10-17 22:28:59 +01:00
Rui Marinho 072a33ca9f Merge branch 'main' into net9-merge-main
# Conflicts:
#	src/Controls/src/Core/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
#	src/Controls/src/Core/PublicAPI/net-windows/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-android/PublicAPI.Unshipped.txt
#	src/Core/src/PublicAPI/net-ios/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
2024-10-17 22:27:02 +01:00
Shane Neuville eb6d7f1f2b
Fix Colors Namespace (#25356) 2024-10-17 16:22:15 -05:00
Rui Marinho 174fa1e48b Smal fix 2024-10-17 22:17:46 +01:00
Peter Collins a5b3f6847a [nuget-msi-convert] Do not use new VS component IDs
Context: ce01c154f7

We've decided hold off on this change until .NET 10.
2024-10-17 16:15:11 -05:00
Alberto Aldegheri c1776170f9
Speed-up Border rendering by avoiding useless pass during size allocation (#24844)
* Speed-up Border rendering by avoiding useless pass during size allocation

* User `BorderHandler.PlatformArrange` instead of `SizeAllocated`
2024-10-17 12:20:21 -05:00
Shane Neuville bece4b5d5d Merge branch 'release/9.0.1xx' into merge_sr9_into_net9_ga
# Conflicts:
#	src/Core/src/maui.aar
2024-10-17 10:07:16 -05:00