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

16031 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix 09d1ba37c8 fix 2024-11-18 10:04:28 +00:00
Stephane Delcroix 67f0faee91 fix more warnings 2024-11-18 10:04:27 +00:00
Vignesh-SF3580 3c9c96b68c
Toggling Header/Footer in CollectionView Dynamically throws an exception (#25743)
* Fixed - 25724 : "ObjectDisposedException" When Toggling Header/Footer in CollectionView Dynamically

* updating nullable enable property

* reverting unnecessary changes

---------

Co-authored-by: praveenkumarkarunanithi <praveenkumar.karunanithi@syncfusion.com>
2024-11-18 09:56:05 +00:00
Jakub Florkowski 7143174eca
Fixed CarouselView Loop="False" rendering items incorrectly (#25545)
* Fixed CarouselView Loop="False" rendering items incorrectly

* Added snapshots
2024-11-18 03:11:37 +00:00
Gerald Versluis 83d9676a0d
Update README.md (#25840) 2024-11-18 00:30:54 +00:00
Jakub Florkowski 205185b7dc
Fixed the test (#25877) 2024-11-18 00:19:57 +00:00
Rui Marinho bdd1a3cd73
[housekeeping] Try run template tests on arm64 (#25895)
* Try run tests on arm64

* [testing] Check OSArchitecture to find the PrivacyManifest

* [testing] Fix arch for more tests
2024-11-18 00:17:43 +00:00
Rui Marinho 083ffa88d9
[housekeeping] Run dotnet format on main (#25894) 2024-11-16 09:06:13 +01:00
Rui Marinho f6e6a73cbc
Revert "[Testing] Implement ContextMenu UITest extension methods (#25340)" (#25897)
This reverts commit a11555b9c8.
2024-11-15 21:45:38 -08:00
Rui Marinho 8dae1216e0
[ci] Fix the internal build and update arcade (#25875)
* This works

* Update arcade
2024-11-15 17:23:41 -08:00
Shane Neuville 3992a45f2a
Update bug-report.yml (#25868) 2024-11-14 13:46:15 -06:00
Yusuke Yamada ec50772102
[localization] Fix template names in Japanese localization for .NET MAUI ContentPage and Window (#25858) 2024-11-14 09:55:34 -08:00
Rui Marinho 3006eb87f6
Move main to GA builds (#25838)
* Move main to GA builds

* These tests fail
2024-11-14 09:37:25 -08:00
Javier Suárez a11555b9c8
[Testing] Implement ContextMenu UITest extension methods (#25340)
* Add ContextMenu UITest extension methods

* Simplified test
2024-11-13 16:03:49 -08:00
Raka Rasell 6e56d11fe9
Fixed README for .NET 9 (#25821)
* chore: update README for .NET 9

* Apply suggestions from code review

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
2024-11-13 19:17:12 +01:00
Anandhan Rajagopal 0af4a9a882
[Testing] Enabling ported UITests from Xamarin.UITests to Appium - 8 (#25814)
* Migrated the Issue2740 and ListViewNRE (#1)

* Migrated the Issue2740 and ListViewNRE

* Migrated the Issue1355 and Issue2923

* Feedback addressed

---------

Co-authored-by: nivetha-nagalingam <nivetha.nagalingam@syncfusion.com>

* optimized the test code changes

---------

Co-authored-by: nivetha-nagalingam <nivetha.nagalingam@syncfusion.com>
2024-11-13 17:52:32 +01:00
Matthew Leibowitz 353f1a3064
Download using new APIs (#25800)
* Download using new APIs

mono is no longer found on machines

* fix
2024-11-12 22:47:08 -08:00
Shane Neuville 8b7989afb6
Update bug-report.yml to include .NET 8 SR10 (#25810) 2024-11-12 19:32:33 -06:00
Jakub Florkowski b9562d0d22
Better exception for using viewCell with collection View (#25681) 2024-11-13 08:30:06 +08:00
Anandhan Rajagopal c1bb5fd280
[Testing] Enabling ported UITests from Xamarin.UITests to Appium - 4 (#25751)
* enabled UI tests from XamarinUItests into Appium

* enabled Issue13390

* Enabled Issue 4356
2024-11-12 22:27:56 +00: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