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

15118 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix c8f62541a7 fix 2024-09-24 10:48:14 +02:00
Stephane Delcroix 50a6462695 test 2024-09-24 10:24:02 +02:00
dotnet-maestro[bot] a4d2290ef8
Update dependencies from https://github.com/dotnet/xharness build 20240917.4 (#24872)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 10.0.0-prerelease.24466.1 -> To Version 10.0.0-prerelease.24467.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-09-23 17:01:47 +01:00
Alberto Aldegheri 0e5e86a48c
Adds a rendering performance test (#24762) 2024-09-21 19:19:41 +00:00
Jakub Florkowski 4b8e604a02
[iOS] Tab Selected Icon Color not changing if using Font icons - fix (#22437)
* Added a UITest (#22032)

* Fix #22032

* Added snapshots

* Updated test

* Fixed namespace

* Pending Android snapshot

* Update Issue22032.cs

* UI test improvements

---------

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-09-19 21:46:45 -05:00
Shane Neuville a7e3ff808b
Add newer cmd linetools paths to cake (#24828) 2024-09-19 12:30:08 -04:00
TJ Lambert 14c77194c5
Improve keyboard scrolling with editors, contentInsets, and different keyboards (#24589)
* Changes to improve keyboard scrolling with editors, contentInsets, and different keyboards

* picker6 screenshot

* Add entry7 screenshot test

* reset test state

* fix the distance between keyboard and cursor and remove null forgiving

* bottomBoundary should have the TextDistanceFromBottom when the bottom is not the keyboard

* FireAndForget

* new entry7 screenshot

* add back the distance from bottom in the insets

* Allow partial scrolling one direction and then moving the next scrollview the opposite direction

* Adjust insets on UITextView and other scrollviews

* we dont need more inset if no keyboard intersection

* add edge case where we have small editor
2024-09-19 06:16:32 -05:00
TJ Lambert 60076be75d
Add Padding for iOS Buttons in some scenarios (#24760)
* Add padding for buttons that need it and UITest

* lost some spaces in the xaml

* android and windows screenshot
2024-09-19 05:38:17 -05: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
Shane Neuville b2c1d25f7a
Update bug-report.yml with 8.0.90 SR9 (#24791) 2024-09-16 12:37:32 -05:00
Rui Marinho 3de5be94b0
ºci´Uitests on Pipelines (#24765) 2024-09-14 12:58:20 +01:00
Rui Marinho 0de3f8aa02
[ci] Use our own pool (#24754) 2024-09-13 18:02:41 +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
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
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
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
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
TJ Lambert 68f6e4be97
Re-able the Localization steps and add new credentials (#24629) 2024-09-09 11:21:47 +01:00
Peter Spada cf002538cb
Fix layout when MinimumWidth/HeightRequest is removed on Windows (#24639)
* Fix layout when MinimumWidth/HeightRequest is removed on Windows

* Request smaller sizes to see if it fixes tests

* Use AssertionExtensions.AssertEventually to test layout values
2024-09-08 18:45:13 +00:00
Jakub Florkowski c89f12c851
[Android] invalidate shadows on parent's size change (#24561)
* [Android] invalidate shadows on parent's size change

* Update WrapperView.cs

* Added snapshots
2024-09-08 12:44:24 -05:00
Alberto Aldegheri 2c7458e543
Fix border lagging and unwanted animations on iOS (#24360)
* Fix border lagging and unwanted animations on iOS

* Update src/Core/src/Platform/iOS/StrokeExtensions.cs

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

* Add some control on the test case

* Ensure every CALayer used by MAUI does not use animations.

---------

Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>
2024-09-07 18:51:17 -05:00
Shane Neuville 336f7f4523
Remove duplicate versions of tests (#24611) 2024-09-07 09:40:30 -05:00
Alberto Aldegheri bcba26ff76
Improve performance and stability of `BindableLayout` (#23136)
* Improve performance and stability of `BindableLayout`
Fixes #23135
Fixes #10918

* Remove `IDispatcher` from `BindableLayout` enhancements

* Fix empty view not removed when adding an item on an empty observable collection

* Adjust MemoryTests to account for the improved `BindableLayout` behavior
2024-09-06 15:54:32 +00:00
Bret Johnson 566b8598ab
Improve Android device type check and improve UI Test cake scripts (#24495)
* Improve Android device type check to use screen size

For Android visual tests, they should be run with the right
device image (currently a Nexus 5X API 30). However,
there's no easy way to check the device type for Appium.
The check that was there before works on CI
since the DEVICE_SKIN environment variable is set there
(set by the android.cake script). And it can work locally if
folks run android.cake then launch VS from that console
session to get the env variable - but it doesn't work if VS
is run separately (normal case).

So update this with a different check. Getting the actual
Android device type requires using adb. We might eventually
do that, but for now just use a screen size check as a proxy
for the device type. Also update the failure message to give
good instructions.

* Add a "uitest-prepare" target to android.cake

uitest-prepare will build the test app, launch
the emulator, and deploy the test app. But
it won't actually run any tests.

* Validate that JAVA_HOME is set

Also display the Android image name

* Check Android device capabilties for a match

* Add uitest-prepare target for ios.cake to match android
2024-09-06 09:32:10 -05:00
BagavathiPerumal 948632193f
Resolved Text Jump Issue in Entry Control with HorizontalTextAlignment Set to End (#24485)
* fix-24405-Fixed-Entry-Text-Alignment-Issue

* Fix-24405-Removed local variable and added old comment.

* fix-24405-Testcase sample updated.

* Fix-24405-Test case changes committed.

* fix-24405-Updated new logic.

* fix-24405-Test script changes committed.

* fix-24405-Modified script and sample files.

* fix-24405-Modified test sample code.

* Fix-24405-Snapshots added for windows, iOS and Android.

* Fix-24405-Updated Testscript method name.
2024-09-06 09:29:06 -05:00
Alberto Aldegheri bc5b90b257
Avoid recomputing bindings multiple times (#24553)
Fixes #10806
2024-09-06 08:54:00 -05:00
Matthew Leibowitz 5b99501c0f
Regenerate the shipped and unshipped API files (#24613) 2024-09-06 19:46:52 +08:00
Nicholas Bauer afc1f5c398
Null guard in `ShellFlyoutTemplatedContentRenderer.HeaderContainer.UpdateMinimumHeight` (#16573)
* Null guard

* Update ShellFlyoutTemplatedContentRenderer.cs

* Update ShellFlyoutTemplatedContentRenderer.cs

---------

Co-authored-by: Shane Neuville <shane94@hotmail.com>
2024-09-06 01:11:16 +08:00
dustin-wojciechowski 84e46ba892
UI testing doc changes (#24165)
* Added note to ignore device tests

* Update note for new devs, Added section on VerifyScreenshots, Explanation about AutomationId

* Removed Fixture Setup/Teardown

* Moved paragraphs around and added new subheadings to make it easier to read. Used correct formatting for class names. Removed GalleryPage content. Removed some redundant content.

* Added note about FailsOn attribute, elaborated on DeviceTests note

* Fixed spelling errors

* Alternate word

* Added back the bit about GalleryPage

* Fixed incorrect link for DeviceTests, added bit about Issue text

* Redid intro

* Added screenshots to the VerifyScreenshots section

* Removed section

* Added info about logging

* Fixed screenshot tags

* One more tag fix

* Fixed spelling, added some syntax formatting

* Addressed comments

* Changed links to permalinks

* Added pic of failed test screenshot
2024-09-05 10:13:16 -05:00
Matthew Leibowitz 31e3d59a9c
Update RefreshView.cs (#24597) 2024-09-05 14:22:44 +01:00
dustin-wojciechowski 1a2c80f518
Renamed file to include xaml suffix (#24598) 2024-09-05 14:22:24 +01:00
Shane Neuville 95228617a7
Revert "Fix SafeArea adjustments (#23729)" (#24600)
This reverts commit 14b29b04af.
2024-09-05 10:59:57 +01:00
Jakub Florkowski 5c0e6d64a1
RefreshView IsEnabled enhancements (#24290) 2024-09-04 17:44:56 +02:00