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

16012 Коммитов

Автор SHA1 Сообщение Дата
Mike Corsaro (He/Him) 76c49533c2 Add `ToString` override to ItemTemplateContext for accessability 2024-11-13 09:18:05 -08:00
Anandhan Rajagopal fd1235627e
Enabled UI tests from XamarinUITest into Appium (#25785) 2024-11-12 16:01:58 +01:00
NirmalKumarYuvaraj d54be6f5ca
Fixed [Windows] TapGestureRecognizer not working on Entry (#25311)
* [Windows] TapGestureRecognizer not working on Entry

* RemoveHandler added for tapped and double tapped event

* Test case committed

* snapshot for ios platform has committed

* Review correction committed

* Codes modified and committed

* Properly handled tapped and double tapped event handlers.

* code changes committed

* Snapshots committed

* Comment added for why Fails on mac attribute is added.

* Removed failsOnMac attribute

---------

Co-authored-by: Karthik Raja <karthikraja.kalaimani@syncfusion.com>
Co-authored-by: KarthikRajaKalaimani <92777139+KarthikRajaKalaimani@users.noreply.github.com>
2024-11-11 12:18:44 -06:00
Anandhan Rajagopal 8b96f6d38d
[Testing] Enabling ported UITests from Xamarin.UITests to Appium (#25711)
* Enabling ported ui tests from Xamarin.UITests to appium

* reverted Bugzilla/Bugzilla37841.cs

* updated attributes

* Updated the test attributes for migrating test cases

* reverted Issue9419

* Updated Buzilla25943

* Updated test cases attributes

* reverted unwanted file changes

* modified Issue12246 based on review comments

* modified Bugzilla25943
2024-11-11 12:16:41 -06:00
Shane Neuville fad03e76d2
Setup lane to run CV2 and CV1 tests (#25719)
* Setup lane to run CV2 and CV1 tests

* - fix cake

* - fix args

* - fix

* - yaml

* - maybe

* - force CV2 for failing CV1 scenarios

* Update CarouselViewLoopNoFreeze.cs

* Update Issue12574.cs

* - force CV2
2024-11-11 09:47:31 -06:00
Shane Neuville c3c192b90d
Re-Enable Template Tests (#25674)
* Re-Enable Template Tests

* Update AppleTemplateTests.cs
2024-11-11 23:32:45 +08:00
Anandhan Rajagopal 9239105ef2
[Testing] Enabling ported UITests from Xamarin.UITests to Appium - 2 (#25731)
* enabled four test cases from xamarinui test

* ignore mac and windows for back operations

* enabled Issue8186 tests

* reverted navigation test issue changes

* enabled Issue13203

* reverted unwanted changes
2024-11-11 23:25:28 +08:00
Shane Neuville 456201fda6
Update bug-report.yml (#25771) 2024-11-11 08:49:07 -06:00
Jakub Florkowski 50adaed851
[iOS] RadioButton throws CGContextSetLineWidth - Fix (#25542)
* [iOS] RadioButton throws CGContextSetLineWidth - fix

* Update RadioButton.cs
2024-11-09 10:12:55 -06:00
Jakub Florkowski b2d1c318cb
ImageButton border (BorderWidth) overlaps the image instead of adding space - fix (#21259)
* ImageButton border (BorderWidth) overlaps the image

* Modified snapshots

* More samples

* Added another UITest

* Added pending snapshot

---------

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-11-08 18:20:53 -06:00
Shane Neuville bd61427448
Disable NSToolbar Tabs (#25137) (#25700)
* Disable NSToolbar Tabs

* - fix OS check

* - fix tabbedview extentions PR

* - bump targets

* - add missing file

* - add if/def for NET18.0 target

* - add catalyst check

* - switch to newer APIs for iOS and catalyst 18+

* - if/def for iOS18
# Conflicts:
#	src/Core/src/Platform/iOS/TabbedViewExtensions.cs
2024-11-07 06:22:58 -06:00
Rui Marinho 6f1322bdfd
[ci] Fix provisioning with sudo (#25722)
* try with sudo

* dont do doctor
2024-11-07 10:56:44 +00:00
Rui Marinho 27c4f7901a
Try not run on arm64 (#25701)
* Try not run on arm64

* Add timeouts

* Increase the timeout to 30 min on template tests
2024-11-06 23:22:46 +00:00
Javier Suárez e720f1e5f0
[Testing] Reenable test ported from Xamarin.UITest (#25624)
* Reenable test ported from Xamarin.UITest

* Added Category

* Updated test

* More changes
2024-11-06 14:34:52 +01:00
Gerald Versluis 6a65d5e444
Fix minor online API docs warnings (#25685) 2024-11-06 12:54:54 +01:00
Shane Neuville 1412b38245
Skip invalidation on propagation (#25652)
* Skip Invalidation unless you're my immediate child

* - fix override on test

* Fix Legacy Layouts Invalidation Propagation

* - use invalidation args to propagate depth
2024-11-05 11:46:42 -06:00
Bret Johnson 421e8d6c21
Update developer doc to direct installing VS 17.12 or newer, not 17.10 (#25678)
You are really supposed to use 17.12 for .NET9 support.
Also, when I used 17.11, though it mostly worked, I saw the error "The 'interceptors' feature is not enabled in this namespace. Add '<InterceptorsNamespaces>...". That error went away when moving to 17.12 P5.

Co-authored-by: Bret Johnson <bretjohn@microsoft.com>
2024-11-04 22:31:21 +00:00
Peter Spada 76a76fbaef
For Android, respect Minimum/Maximum size requests even when size is set (#25164)
### Description of Change

This change is for Android layout only: Clamp the final width/height
within the minimum/maximum sizes. Since the layout mode is being set to
`MeasureSpecMode.Exactly`, we need to give Android the exact final
measurement, it will not take minimum/maximum size requests into
account.

See the bug for full info.

### Issues Fixed

Fixes:
* https://github.com/dotnet/maui/issues/25163
2024-11-04 08:36:19 -08:00
Rui Marinho 3725647aba
[ci] Templates need xcodeselect (#25640)
* [ci] Templates need xcodeselect

* try this

* Just set xcode on the macs

* Remove old xamarin settings if they exist

fix

* try install runtime iOS18
2024-11-04 16:32:01 +00:00
Šimon Rozsíval ff86add506
[X] Delay binding context type check until relative binding source is resolved (#25600)
* Delay binding context type check until relative binding source is resolved

* Add test

* Fix test name

* Check that we produce a warning when there is a mismatch

* Make the exception message exactly the same between compiled and non-compiled binding
2024-11-04 16:15:58 +01:00
Jakub Florkowski e8c96c5087
[iOS] Frames' content update (#20501)
* [iOS] Fixed updating frame's content (#19127)

* Added a UiTest (#19127)

* Code refactor

---------

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-11-02 08:17:39 -05:00
Jonathan Dick 1ddd9a0e39
Android: Opt out of edge to edge enforcement on api 35+ (#25517)
Android 35+ enforces apps extending "Edge to Edge" by default. See
https://github.com/dotnet/maui/issues/24742 for details.

For now, a better compromise is to disable this by default in MAUI apps,
until we can provide better support for edge to edge within .NET MAUI
itself as well as better safe area insets on Android.

If you still want to manually make your app more compatible with edge to
edge, you can disable this implicit opt out by overriding the default
theme, changing the `maui_edgetoedge_optout` attribute to `false` and
the theme yourself:

```xml
<style name="MainThemeEdgeToEdge" parent="Maui.MainTheme.NoActionBar">
   <item name="maui_edgetoedge_optout">false</item>
</style>
```

And then applying the theme by calling it before the `base.OnCreate(..)`
in your activity subclass (in the OnCreate method override):

```csharp
protected override void OnCreate(Bundle? savedInstanceState)
{
    SetTheme(Resource.Style.MainThemeEdgeToEdge);

    base.OnCreate(savedInstanceState);
}
```

This also fixes a previous bug where we were always switching the theme
based on the presence of the `maui_splash` attribute, not the actual
value of the attribute.

Finally, it moves more calls into native android and reduces the
boundary crossing for this specific method.



The new "Default" of opting out of the Edge to Edge enforcement on an
Android 35+ device looks now like this:

![Screenshot_1729819287](https://github.com/user-attachments/assets/15ddc7fc-9334-4f92-82de-c0b7e19921db)

If you revert to the old behaviour by disabling the opt out, it will
look like this:

![Screenshot_1729819354](https://github.com/user-attachments/assets/1770259e-0a9e-49ea-860e-37e6131a09c4)
2024-11-01 14:45:42 -04:00
Rui Marinho 0d3d8715cf
Try skip provisionator (#25615)
don t do xcode

No secrets

Skip provisioning on templates

Skip for uitests

Try xcode select

try again

Fix yml

fix sikpXcode

fix variable

again

Fix skip xcode
2024-11-01 12:44:24 +00:00
redth e713258c18 Merge branch 'main' into dev/redth/android-edgetoedge-optout 2024-10-31 14:45:23 -04:00
redth bd46110aa3 Fix attr type 2024-10-31 14:44:05 -04:00
redth 2e43c5e018 Fix copy/pasta commment 2024-10-31 14:42:19 -04:00
Rui Marinho 2b36322fd1
[main] Merge release 9.0.1xx to main (#25589) 2024-10-31 18:35:59 +00:00
redth fb788244f0 Refactor edge opt out into attribute
We can now inherit the maui theme and override the `maui_edgetoedge_optout` value in the new theme and it will do the right thing.
2024-10-31 14:32:39 -04:00
redth b5491d96ae Move oncreate to platform interop
This moves most of our MauiAppCompatActivity override into a platform interop method.

The other key change is switching how we check for the maui_splash attribute.  Previously we were really just resolving that it exists, not checking the actual value, so the theme was always going to be switched out.

This should 'fix' the splash attribute check.
2024-10-31 14:32:00 -04:00
Rui Marinho 1fbe8c16a2 Update NuGet.config 2024-10-31 16:08:16 +00:00
Rui Marinho 309e9db304 Update NuGet.config 2024-10-31 15:58:15 +00:00
redth eed87350a5 No need for a MainTheme base 2024-10-31 11:55:22 -04:00
redth eebc3f3a82 Remove prev approach 2024-10-31 10:22:17 -04:00
redth 6b474a5179 Refactor themes to default on v35+ to edge to edge opt out 2024-10-31 10:21:17 -04:00
Javier Suárez d91ba8e19e
[Testing] Implement Pinch gestures in UITest extensions methods (#25316)
* Implement Pinch gestures in UITest extensions methods

* Updated test

* Updated test

* More changes

* Apply suggestions from code review

---------

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2024-10-31 14:29:54 +01:00
Javier Suárez 2077463aac
[Testing] More Appium actions (#25569)
* More Appium actions

* Fixed build

* Update src/TestUtils/src/UITest.Appium/HelperExtensions.cs

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Update src/TestUtils/src/UITest.Appium/HelperExtensions.cs

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Update src/TestUtils/src/UITest.Appium/HelperExtensions.cs

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Update src/TestUtils/src/UITest.Appium/HelperExtensions.cs

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

---------

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2024-10-31 10:50:24 +00:00
Javier Suárez 8e603a4f36
[Testing] Enabling ported UITests from Xamarin.UITests to Appium #2 (#25378)
* Fix up

* - fix

* More changes (fix build)

* Fixed build errors

* More fixes

* More changes

* More changes

* More changes

* Fixed build error

---------

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-10-31 10:35:52 +01:00
Rui Marinho cb38cfbc27
[ci] Skip provisioning extra (#25605)
* [ci] Skip provisioning when doing the pack

* Add it to handlers

* Try skip the variables

* Update provision.yml

* Update versions
2024-10-30 21:50:18 +00:00
Shane Neuville ff813a9fd0 Merge branch 'release/9.0.1xx' into merge_main
# Conflicts:
#	NuGet.config
#	eng/Version.Details.xml
#	eng/Versions.props
2024-10-30 16:13:05 -05:00
Gerald Versluis aeda29063f
Remove all To be added. from API docs (#25595) 2024-10-30 15:58:33 -05:00
dotnet-maestro[bot] 33b737d0b0
Update dependencies from https://github.com/dotnet/xharness build 20241024.9 (#25553)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 10.0.0-prerelease.24514.1 -> To Version 10.0.0-prerelease.24524.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-30 15:22:44 +00:00
Vignesh-SF3580 33042f1796
[Windows] Fixed TextCell Command executes only once (#25066)
* Fixed-21112 : TableView TextCell command executes only once

* added test cases.

* updated testcases.

* updated Issues/Issue21112.cs

* Updated testcases.

* updated testcases.

* testcases updated.

* updated testcases.

* viewmodel name updated with IssueId.
2024-10-30 09:37:59 -05:00
Tamilarasan Paranthaman 1e821b01f2
[Testing] Written UI test for the issue resolved in PR 25453 (#25573)
* Automation sample for 25453.

* Simplified the sample.

* Removed platform conditions.
2024-10-30 09:36:08 -05:00
github-actions[bot] d18a510ef0
Juno: check in to lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20241029212245301. (#25593)
Co-authored-by: CSIGS-ExpiresOn-12-15-2024 <csigs@outlook.com>
2024-10-30 12:15:47 +00:00
github-actions[bot] 1c3e341bf1
Juno: check in to lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20241029171919460. (#25584)
Co-authored-by: CSIGS-ExpiresOn-12-15-2024 <csigs@outlook.com>
2024-10-30 12:15:28 +00:00
Javier Suárez 8d00e9b48b
[Testing] Added UITests method overrides allowing the use queries (#25559)
* Added UITests method overrides allowing the use queries

* More changes
2024-10-30 12:32:25 +01:00
Rui Marinho 9b4e90ee04
[ci] bump net8 maui (#25592) 2024-10-29 19:03:58 -05:00
Rui Marinho 5be73796af
Bump aspnet 8.0.10 (#25586) 2024-10-29 17:25:23 -05:00
Shane Neuville b7e4c274dc
Fix task clearing (#25588) 2024-10-29 15:36:49 -05:00
Jonathan Dick 0d9392136e
Fix missing SeedData (#25582) 2024-10-29 15:00:47 -04:00