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

14374 Коммитов

Автор SHA1 Сообщение Дата
Gerald Versluis ef8ddbf8d5
Remove Fuschia once again... (#19434)
We're not doing this again!
2023-12-15 11:40:36 +00:00
Jonathan Dick cd55c55f58
Update version for CI/Nightlies (#19425)
We now have 8.0.5-preview in the SR1 release branch, so bumping this up.
2023-12-14 19:37:06 +00:00
Javier Suárez 33f5d20be7
[Testing] Added UI Test for manual test D9 (#18762)
* Added UI Test

* Updated test

* Changes to ensure other tests

* Revert changes

* Updated test
2023-12-14 13:39:06 +01:00
github-actions[bot] a19fbb7760
[create-pull-request] automated change (#19413)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-14 10:06:03 +00:00
E.Z. Hart 6ef3167156
Schedule Android layout requests received during layout on the UI thread (#19349)
* Schedule Android layout requests received during layout on the UI thread
Fixes #18039

* Remove extra InvokeOnMainThreadAsync
2023-12-13 16:28:34 -06:00
Jonathan Dick dfa745d873
Preview release branding (#19403) 2023-12-13 20:34:19 +00:00
Ivan Povazan 572fcf26ca
[NativeAOT] integration tests for testing MAUI compatibility on iOS (#19194)
This introduces two new integration tests which are testing MAUI compatibility with NativeAOT on iOS.
The added tests will enable us to catch early any regression in compatibility between MAUI iOS and NativeAOT, but also to guide us forward as we progress with: https://github.com/dotnet/maui/issues/18658

### Changes

- Introduced new test cases:
    1. `PublishNativeAOT` - tests publishing a template MAUI iOS app with NativeAOT 
    2. `PublishNativeAOTCheckWarnings` - tests the generated warnings according to https://github.com/dotnet/maui/pull/19194#discussion_r1422072380
- Created a new utility method `DotnetInternal.ConstructBuildArgs` with a common logic for setting up build arguments which is shared between tests calling `Build` and `Publish` targets
- Added `BuildWarningsUtilities.cs` which encapsulates all the logic for parsing, storing and comparing build warnings

NOTE: This should be an initial set of tests verifying our progress in the effort of making MAUI trim-compatible (with NativeAOT). The set can and will be expanded to testing on device, covering support for other iOS-platforms with NativeAOT etc, as we progress.
2023-12-13 13:12:14 -06:00
Shane Neuville 2ff9fd1040
Remove circular reference from ShapeDrawable (#19347) 2023-12-13 17:31:44 +00:00
dotnet-maestro[bot] d6edc628cf
Update dependencies from https://github.com/dotnet/xharness build 20231206.1 (#19336)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.23577.1 -> To Version 9.0.0-prerelease.23606.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2023-12-13 16:36:53 +00:00
Gerald Versluis 9b99433e77
Correct nullable annotations on IMediaPicker (#19157)
* Correct nullable annotations on IMediaPicker

* Fix PublicAPI

* Update docs

* Fix PublicAPI Windows
2023-12-13 09:39:41 +01:00
Matthew Leibowitz 3c7b65264d
Preserve logs from retries as they have data! (#19341) 2023-12-12 17:22:02 +00:00
Matthew Leibowitz 7acd5c2990
Disable failing semantic tests on iOS (#19344)
Fixes #19122
2023-12-12 13:26:17 +01:00
Matthew Leibowitz 6d4395e7b4
Reduce the complexity of the AttachAndRun code (#19352)
Sometimes the Windows tests fail with no apparent reason, hopefully the
slightly reduced complexit and more linear flow makes remote debugging
easier. A specific change to first remove the window content before
removing the view from the container might help.
2023-12-12 12:18:18 +00:00
github-actions[bot] e3f4ed7685
[create-pull-request] automated change (#19351)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-12 11:32:25 +00:00
Axemasta 610007f8da
Fix Collection View Gray Background (#17464)
CollectionView on iOS always applies a gray background color when an item is selected. Even if visual state manager is used, the gray color appears and cannot be changed. This behaviour is preserved it not using VSM & fixed when using VSM (instead there is no color).
2023-12-12 00:51:29 +00:00
Artem Valieiev 228706d4a7
Allow GesturePlatformManager to be created for views with null window (#18938)
* Allow GesturePlatformManager to be created for views with null window property (Embedding case)
* Set _window field to null in DisconnectGestures() of GestureManager
* Replace _window reference with boolean _didHaveWindow
* Remove invalid unit test
2023-12-12 00:54:57 +02:00
Gerald Versluis be8bda6915
Add step cleanup leftover .appium(-doctor) folders (#19248) 2023-12-11 21:48:40 +00:00
Javier Suárez 7c54927001
Added lifecycle methods to UITest (#19102)
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2023-12-11 20:00:24 +01:00
Javier Suárez 174a3a9ef6
Added DragCoordinates action to appium UITest (#19333) 2023-12-11 14:39:02 +01:00
Javier Suárez 089eacc81d
[Testing] Add scroll methods to UITest (#19181)
* Added more scroll methods to UITests

* Using ScrollStrategy

* Fix merge issues

* Fix merge issue
2023-12-11 14:32:49 +01:00
github-actions[bot] 5753b98fb5
[create-pull-request] automated change (#19316)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-11 11:08:53 +00:00
github-actions[bot] d21fae3591
[create-pull-request] automated change (#19305)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-08 10:56:30 +00:00
WdeBruin 1373dc108e
Fix for button cornerradius 0 on android (#18959)
* Also setcornerradius if radius is 0. It didn't go into this block and used default cornerradius of 6, when set to 0.

* Added a devicetest for cornerradius on Android

---------

Co-authored-by: Wouter de Bruin <wouter.de.bruin@capgemini.com>
2023-12-08 10:51:57 +01:00
Mike Bond 42bb69ef5d
[ci] Execute build.ps1 from bash on Mac to avoid STDIO streams hang (#19257)
* Use Start-Process to run build.ps1

* Show Start-Process command

* Fix: Comma separator prior to -Script argument

* Dedicated .cake parameter setting for -Script

* Fix: Start-Process: Start 3rd parameter with a quote and not an escaped quote

* Execute build.ps1 under pwsh in bash

* Remove references to Start-Process since that solution did not work

* Execute build.ps1 from bash on Mac only
2023-12-07 23:11:25 +00:00
redth 31f2d5bc8c Stable versioning 2023-12-07 13:13:40 -05:00
Shane Neuville c9a4cb462b
Set CancelsTouchesInView for custom PGR (#19283)
* Set CancelsTouchesInView for custom PGR

* - add test

* - add check for android
2023-12-07 12:52:02 -05:00
Shane Neuville 4bf61066ab
[WinUI] Fix resizing CV rows when content size changed (#18932)
* [WinUI] Fix resizing CV rows when content size changed

When measuring the ItemContentControl we might not get the right value if the size of its content just changed. In order to ensure we get the up to date value, we first measure the content (to update DesiredSize), and then we measure the ItemContentControl.

Fixes https://github.com/dotnet/maui/issues/18078

* - simplify down measure/arrange calls

* - return ItemHeight/ItemWidth

* - simplify

* Add CV/SwipeView test

* Minor code cleanup

* - add comment

* Fix build

* - cleanup and add tests

* - add tests

* - cleanup

* - add additional measure checking and ignore on iOS for now

* - change to button

* - wait for controls to finish loading

* - add code just in case view is already parented to previous panel

---------

Co-authored-by: Emanuel Fernandez Dell'Oca (from Dev Box) <emafern@microsoft.com>
2023-12-07 09:48:28 -07:00
Gerald Versluis 536b00a0e9
Correct InputView.MaxLengthProperty declaring type (#17788) 2023-12-07 16:01:04 +01:00
github-actions[bot] 93823bf33d
[create-pull-request] automated change (#19241)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-12-07 13:51:04 +00:00
molesmoke 91a99f772c
[Windows] Fix setting flyout width (#19068) (#19070)
PaneContentGrid width/height will be zero if the flyout has not yet been shown

Co-authored-by: Jeremy Powell <jeremy@visionaid.com>
2023-12-07 14:16:42 +01:00
Eilon Lipton 1f8b824761
Use System.Net.WebUtility.HtmlDecode instead of System.Web.HttpUtility.HtmlDecode (#19237)
Fixes #19183
2023-12-06 09:55:16 +00:00
vividos aeabd1afdb
fix using local asset files on windows (#16930)
* fix using UrlWebViewSource with a URL containing a LocalScheme URL on windows that should trigger a call to CoreWebView2.SetVirtualHostNameToFolderMapping()

* fix using HtmlWebViewSource with a BaseUrl containing a LocalScheme URL on windows that should set up virtual host name to folder mapping correctly

* moved checking uri string with local scheme to own static method

* moved checking data uri string to own static method

* replaced ToLowerInvariant() call with StartsWith() parameter StringComparison.OrdinalIgnoreCase

* added test buttons to platform specifics samples for Windows WebView about loading local assets

* changed sample HTML text to use raw string literals

Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>

* put StartsWith() check on one line

Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>

* removed flag _navigatingToHtmlWithBaseUrl and directly recognize WebView2 data URI with inserted base tag

---------

Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>
2023-12-06 10:49:08 +01:00
Rui Marinho 947a4b6d8f
[ci] Use the token from the variable group (#19234) 2023-12-05 20:09:58 +00:00
Rui Marinho 9403ad4922
[testing] Increase timeout for device tests (#19184) 2023-12-05 20:09:36 +00:00
Gerald Versluis 7f202fcd3b
Fix flaky Appium install (#19223) 2023-12-05 15:13:12 +00:00
Rui Marinho ce281d6b8b
Remove try catch 2023-12-05 12:12:48 +00:00
Javier Suárez 5b95ab4a45
Revert 2023-12-05 11:52:30 +00:00
Javier Suárez b0bf616333
Added pending reference 2023-12-05 11:52:30 +00:00
Javier Suárez 49ec3e01e4
Changes in the sample 2023-12-05 11:52:30 +00:00
Javier Suárez 912a93d508
Updated test 2023-12-05 11:52:30 +00:00
Javier Suárez 66ff9f3c43
Added separated tests 2023-12-05 11:52:30 +00:00
Javier Suárez c781048a51
Fix build errors 2023-12-05 11:52:29 +00:00
Javier Suárez ab8f32a371
More changes 2023-12-05 11:52:29 +00:00
Javier Suárez 88081d45ab
Updated test 2023-12-05 11:52:29 +00:00
Javier Suárez 135cf274f3
Removed unnecessary device test 2023-12-05 11:52:29 +00:00
Javier Suárez e1140f12c7
Pending change 2023-12-05 11:52:28 +00:00
Javier Suárez fdd138eee6
Updated test 2023-12-05 11:52:28 +00:00
Javier Suárez 4b2bd9237f
Skip Device Test 2023-12-05 11:52:27 +00:00
Javier Suárez cbefd658a8
Added UI Test for keyboard and focus 2023-12-05 11:51:57 +00:00
dotnet-maestro[bot] 68c5c1564b
Update dependencies from https://github.com/dotnet/xharness build 20231127.1 (#19187)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.23570.2 -> To Version 9.0.0-prerelease.23577.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2023-12-05 11:38:50 +00:00