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

15763 Коммитов

Автор SHA1 Сообщение Дата
tj-devel709 4e634ff0f0 start memory leak test 2024-10-31 12:38:47 -05:00
tj-devel709 e20c906705 move things around and use WeakReference for _iTitleBar 2024-10-22 17:38:07 -05:00
tj-devel709 77db5afc75 move sample to platform specific and add ignore safe areas 2024-10-22 10:16:13 -05:00
tj-devel709 14c6024bb9 add remove safe area 2024-10-21 13:30:47 -05:00
tj-devel709 ddc03f7b4e closer, but issue when title is replaced 2024-10-17 17:56:00 -05:00
tj-devel709 50f3ef12d2 move many things to WindowViewController 2024-10-16 13:38:29 -05:00
tj-devel709 742b8d8fc3 pausing this but working well after peer programming with Shane 2024-10-16 10:03:06 -05:00
tj-devel709 61d888fe08 remove unused call 2024-10-08 14:11:10 -05:00
tj-devel709 9a1e5a6b16 pausing for demo 2024-10-08 12:28:10 -05:00
tj-devel709 8a04c6ff42 other titlebar stuff 2024-10-08 12:28:10 -05:00
tj-devel709 9cb6a9df08 add titlebarpage to samples 2024-10-08 12:28:10 -05:00
tj-devel709 5f9ddfe50d layoutsubviews on the ContainerViewController 2024-10-08 12:28:09 -05:00
Shane Neuville 24a553f15e
Disable TitleViewSetOnShellWorksAfterNavigation (#25125) 2024-10-08 11:47:07 +01:00
Rui Marinho b424b00208
[net9.0] Move to rtm (#25017)
* Move to rtm

* Update arcade and runtime

* Update sdk

* Update Versions.props

* Fix windows build

* Update versions

* Update tools

* Update sdk

* Update appref

* Update sdk

* Update android and sdk

* Update Versions.props

* WinUI workaround
2024-10-05 00:26:54 +01:00
Rui Marinho 96f74b9b9c
[net9.0] Fix CV2 handler and uitests fixes (#25076)
* [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
2024-10-04 18:19:41 +01:00
Rui Marinho cfef6a36c2
[tests] CV 2 devicetests (#25078)
* [tests] Run Device tests with CV2

* Make sure to run on UI thread
2024-10-04 18:19:09 +01:00
Rui Marinho add2226adc
[net9.0] Merge main to net9.0 (#25083)
### Description of Change

Bring latest changes from main to net9.0
2024-10-04 18:18:42 +01:00
Rui Marinho da26dcac6c Update screenshots 2024-10-04 17:44:35 +01:00
Rui Marinho ce06a639da
Update latest stuff of arcade (#25086) 2024-10-04 15:07:25 +01:00
Rui Marinho f6520b1558 Merge branch 'main' into net9-main2 2024-10-04 14:20:01 +01:00
TJ Lambert 979ad02808
[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>
2024-10-04 14:13:36 +01:00
Rui Marinho 66cc07713b
[net9] Try fix running UITests on iOS18 (#25070)
* [housekeeping] Update & Consolidate Appium + driver versions (#24817)

* Update appium + driver versions

Updating to latest

* Move appium versions to eng/Versions.props

* Fix ps1 get-location

* Check if appium is completely missing too

No need to attempt to uninstall appium if it's not installed

* - bump versions

* - fix script

---------

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>

* Try iOS18 device

* See if this works

* Try xs

---------

Co-authored-by: Jonathan Dick <jodick@microsoft.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-10-03 22:39:11 +01:00
Stephane Delcroix 87253a5cfc
[X] allow namescope resolution before parenting (#22854)
* [X] allow namescope resolution before parenting

when an element doesn't override the NameScope (DataTemplate, etc...)
FindName fails until the element is parented.

this PR sets a field (less expensive than a BP) used only during that
time, and allow VSM to be applied.

- fixes #22001

* fix

* fixes #16208
2024-10-03 14:35:30 -05:00
Shane Neuville 6d1f2a4aae
Match Catalyst Template to iOS for Shell Flyout Items (#25056)
* Match Catalyst Template to iOS

* - NS Fixes
2024-10-03 10:08:24 +01:00
Gerald Versluis 1e26161644
Adding tests (disabled) from Control Gallery to Appium (#25024) 2024-10-03 10:07:21 +01:00
Gerald Versluis b2bc819908
(Re)enable Mail API for Mac Catalyst (#24998) 2024-10-03 09:29:24 +01:00
Rui Marinho 9d546a6b2d
Revert "Update windows samples" (#25059)
This reverts commit 05fdf09fd6.
2024-10-02 22:01:47 +01:00
Rui Marinho 60661a6054
[net9.0] Merge release rc2 to net9.0 (#25028)
### Description of Change

Bring some changes from rc2 release branch to net9.0
2024-10-02 17:31:00 +01:00
Jonathan Dick 2fac3dcaf5
[housekeeping] Update & Consolidate Appium + driver versions (#24817)
* Update appium + driver versions

Updating to latest

* Move appium versions to eng/Versions.props

* Fix ps1 get-location

* Check if appium is completely missing too

No need to attempt to uninstall appium if it's not installed

* - bump versions

* - fix script

---------

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2024-10-02 15:17:20 +01:00
Rui Marinho ed26b95f03 [release/9.0.1xx-rc2] Fix collectionview tests rc2 (#25045)
* [testing] Enable test again

* [testing] Enable CollectionViewHandler2 on UITests

* Try new changes

* try new fix

* [iOS] Dont call InitialUpdatePosition on attach, wait for LayoutSubViews

* Try update when navigating back

* Try this

* Add missing usings

* Try this

* Fix more stuff

* Fix test on mac

* Try again

* Ignore tests on windows and android

* Use the ItemsView position on compare

* Try this

* Fix

* Cleanup

* Fix test naming

* Cleanup

* try skip android install on public bots

* Update device-tests-steps.yml

* Use our bots
2024-10-02 14:18:34 +01:00
Rui Marinho 05fdf09fd6 Update windows samples 2024-10-02 14:18:34 +01:00
Rui Marinho 91cc87ea27 Update Directory.Build.targets 2024-10-02 14:18:34 +01:00
Rui Marinho 74662b9059 We want the old versions 2024-10-02 14:18:34 +01:00
Rui Marinho 386cd08ee1 [mac] Fix NSWindow usage 2024-10-02 14:18:34 +01:00
dotnet-maestro[bot] c402827d31 [release/9.0.1xx-rc2] Update dependencies from dotnet/android (#25018)
* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24480.1+azdo.10308467

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.134 -> To Version 35.0.0-rc.2.143

* darc update-dependencies --id 240434

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
2024-10-02 14:18:34 +01:00
Rui Marinho a60b4c7dea [release/9.0.1xx-rc2] Update rc2 internal (#25013)
* Update rc2 versions

* Update variables.yml

* Updateprivate build

* Make it coherant

* Update NuGet.config

* update

* Update DotNet.csproj

* Update versions

* Update arcade

* Update provision.yml

* Update provision.yml

* Update provision.yml

* Update provision.yml

* Update provision.yml

* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24461.1+azdo.10203443

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.101 -> To Version 35.0.0-rc.2.107

* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24461.1+azdo.10204821

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.107 -> To Version 35.0.0-rc.2.109

* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24463.1+azdo.10221673

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.109 -> To Version 35.0.0-rc.2.111

* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24469.1+azdo.10247408

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.111 -> To Version 35.0.0-rc.2.115

* Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24474.1+azdo.10268209

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.115 -> To Version 35.0.0-rc.2.117

* Update dependencies from https://github.com/dotnet/android build main-e885d694c51db9733305ba331519dd01df6076a4-1

Microsoft.Android.Sdk.Windows
 From Version 35.0.0-rc.2.117 -> To Version 35.0.0-rc.2.130

* Try pin windows sdk projection WindowsSdkPackageVersion

* Windows appsdk version workaround

* Provision less

* Update androdi version

* Update iOS

* update versions

* Update Versions.props

* Update NuGet.config

* Update Directory.Build.props

* Fix iOS warning

* Ignore CA1422 too

* Bump to xcode 16

* Bump xcode

* Update NewTaskSceneDelegate.cs

* Update ui-tests.yml

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-02 14:18:34 +01:00
Shane Neuville 63172cacef
Remove Drag and Drop Tests from Catalyst (#25039) 2024-10-02 13:01:55 +00:00
Alexander Heubusch 5dc75ac1d1
[iOS] Fix NRE in Shell SearchHandlerAppearanceTracker (#24970) 2024-10-02 14:32:42 +02:00
Eilon Lipton e11b78b136
Add services.AddHybridWebViewDeveloperTools() extension to enable browser dev tools (#25047)
* 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
2024-10-02 12:30:26 +01:00
Jonathan Peppers b7845f69dc
[android] update `.aotprofile` for .NET 9 RC 2 (#25035)
I recorded these with the `35.0.0-rc.2.145` Android workload as there
was one change that disables `$(AndroidEnableMarshalMethods)` that
impacts `.aotprofile` files:

* afb5f7ebfb

With this change in place, managed C# methods like these will reappear
in the profile:

    bool Android.Runtime.AndroidTypeManager:FastRegisterNativeMembers (Java.Interop.JniType,System.Type,System.ReadOnlySpan`1<char>)
    ...
    bool Android.Runtime.JNINativeWrapper:Wrap_JniMarshal_PPJ_Z (_JniMarshal_PPJ_Z,intptr,intptr,long)
    bool Android.Runtime.JNINativeWrapper:Wrap_JniMarshal_PPL_Z (_JniMarshal_PPL_Z,intptr,intptr,intptr)
    bool Android.Runtime.JNINativeWrapper:Wrap_JniMarshal_PPLLJ_Z (_JniMarshal_PPLLJ_Z,intptr,intptr,intptr,intptr,long)
    ...
    System.Delegate Android.App.Activity:GetOnActivityResult_IILandroid_content_Intent_Handler ()
    System.Delegate Android.App.Activity:GetOnBackPressedHandler ()

In the future, we hope to bring back `$(AndroidEnableMarshalMethods)`
once the known issues are worked out.

Measuring the new profile on a Pixel 7 Pro, an average of 10 runs of
the `dotnet new maui` project template:

    Before:
    Average(ms): 475.2
    Std Err(ms): 3.96316371938716
    Std Dev(ms): 12.5326240934078
    After:
    Average(ms): 447.1
    Std Err(ms): 1.75404294892305
    Std Dev(ms): 5.54677083235522

So, this change likely avoids some startup regression on Android, as
the C# methods that run on startup when
`AndroidEnableMarshalMethods=false` are now AOT-compiled.

I also added `-bl` to the `README.md`, as I thought that was useful.
2024-10-02 12:29:04 +01:00
Eilon Lipton c4a1761835
Change HybridWebView default address to 0.0.0.1 (#25042)
The 0.0.0.0 address stopped working in iOS 18/MacCat, and is possibly going to stop working in other platforms/webviews, so it's being changed to 0.0.0.1, which has been verified to work.

Fixes #24364
2024-10-02 09:53:53 +02:00
Eilon Lipton b1113d5686
Move HybridWebView platform code to handlers (attempt 2) (#24952)
* Move HybridWebView platform code to handlers

And run everything through the mappers.

Fixes #24269

* Run Android tests

* `@android.webkit.JavascriptInterface` is missing!

By changing `HybridJavaScriptInterface` to a class, the JCW now says:

    @android.webkit.JavascriptInterface
    public void sendMessage (java.lang.String p0)

---------

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
2024-10-01 15:35:30 -05:00
Parker Bibus 2b53a2db1e
Update the Benchmarks.Droid app to use built in Android GetExternalFilesDir (#25015)
* Update the Benchmarks.Droid app to use built in Android GetExternalFilesDir as a location to save tests to.

* Update src/Core/tests/Benchmarks.Droid/MainInstrumentation.cs

---------

Co-authored-by: Jonathan Peppers <jonathan.peppers@gmail.com>
2024-10-01 20:28:52 +00:00
Jakub Florkowski 9e6ddfd31b
[UITesting] Moved ButtonHandler.ImageSourceInitializesCorrectly to Appium (#24934)
* [UITesting] Moved ButtonHandler.ImageSourceInitializesCorrectly to appium

* Added snapshots
2024-10-01 14:16:50 -05:00
Jakub Florkowski f67dda276d
[iOS] Text alignment in editor - improvements (#24859)
* [iOS] Text alignment in editor - improvements

* Update Issue24583.cs

* Try old way but use content height

* less noise

* Added the first batch of snapshots

* add more screenshots

---------

Co-authored-by: tj-devel709 <tj.devel709@gmail.com>
2024-10-01 16:46:37 +01:00
Gerald Versluis 0ac60902dc
Remove excessive Picker API doc comment (#25016) 2024-10-01 09:27:52 +01:00
Stephane Delcroix efa6b9795e
[C] avoid NRE on null GesturRecognizer (#25008)
- fixes #24900
2024-09-30 18:58:28 +00:00
CSIGS@microsoft.com bc37e743d7
Juno: check in to lego/hb_7241b85a-f216-4d55-a9fa-d8030c736df5_20240925231640755. (#24935) 2024-09-30 12:29:45 -05:00
Rui Marinho 88b3562ebf
[net9.0] Merge main to net9.0 (#24953)
### Description of Change

Bring last changes from main to net9.0
2024-09-30 16:51:16 +01:00
Rui Marinho 4cd6a9f1b6 Update Compatibility.ControlGallery.WinUI.csproj 2024-09-30 16:50:30 +01:00