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

16002 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Dick 5fbffd6f4c
[release/9.0.1xx] Fix toggle for including sample content in template (#25564)
Backport of #25549 to release/9.0.1xx

/cc @Redth @jfversluis
2024-10-28 22:14:17 -04:00
Gerald Versluis fcb740fdcb Update SimpleTemplateTest.cs 2024-10-29 00:30:26 +00:00
Gerald Versluis 84f84d1179 Update AppShell.xaml.cs 2024-10-29 00:30:26 +00:00
redth cc26fd175c Use long name for template param 2024-10-29 00:30:26 +00:00
redth 8700506bf7 Fix test case flag 2024-10-29 00:30:26 +00:00
Gerald Versluis b718254519 Rename sample content switch 2024-10-29 00:30:26 +00:00
Gerald Versluis 8a25d8bcd1 Fix toggle including sample content in template 2024-10-29 00:30:26 +00:00
Jonathan Dick ad6f752f70
Fix toggle for including sample content in template (#25549)
### Description of Change

This fixes the toggle for including sample content in the template. In
#25419 some last-minute changes were made to not make the sample content
show up by default, but that introduced a bug where you couldn't get the
sample content to show up at all using Visual Studio.

With this change the sample content can optionally be included again in
Visual Studio by using the checkbox and through the CLI by specifying
either `--sample-content` or `-sc`.

Also the not used `Empty` switch was removed as well as the
`SampleContent` variable which did not serve any additional purpose.
2024-10-28 20:28:55 -04:00
Gerald Versluis 58f5b40ee5 Update SimpleTemplateTest.cs 2024-10-28 23:17:06 +01:00
Gerald Versluis d311ed9ea0 Update AppShell.xaml.cs 2024-10-28 21:48:10 +01:00
redth 3fc2f0df15 Use long name for template param 2024-10-28 14:28:48 -04:00
redth 7ec0b74940 Fix test case flag 2024-10-28 14:23:55 -04:00
Gerald Versluis d93ee4e8ac Rename sample content switch 2024-10-28 15:38:30 +01:00
Gerald Versluis 1c17375aad Fix toggle including sample content in template 2024-10-28 10:41:48 +01:00
Rui Marinho f269ef3de7
[main] Merge release 9.0.1xx to main (#25527)
### Description of Change

Bring latest changes to main from release branch and the new template.
2024-10-26 00:48:49 +01:00
Tamilarasan Paranthaman 8845bdcc36
[iOS] Fix for TextDecorations not updating after modifying Label text (#25339)
* Fixed 16967

* added snapshots.
2024-10-25 22:32:43 +01:00
Jonathan Peppers 8f8de3d657
[gh actions] use "inclusive heat sensor" v0.1.1 (#25532)
Context: https://github.com/dotnet/maui/pull/25389
Context: https://github.com/jonathanpeppers/inclusive-heat-sensor/releases/tag/v0.1.1

The version of the action in #25389 had an issue where a non-zero exit
code could make the step fail. This would trigger a GitHub
notification for the commenter.

So, to avoid that, the v0.1.1 release:

* Uses `continue-on-error: true` in the step that runs the action.

* Explicitly `exit 0` in powershell, this was the true cause of the
  non-zero exit code.

Note that we're still testing out this idea, our goal is to run this
silently to decide how useful this will be.

I also made this no longer run on `pull_request` reopen, as this event
doesn't make sense.
2024-10-25 21:55:15 +01:00
dotnet-maestro[bot] b801f2f9d6
Update dependencies from https://github.com/xamarin/xamarin-macios build 20241025.6 (#25530)
Microsoft.iOS.Sdk.net9.0_18.0 , Microsoft.MacCatalyst.Sdk.net9.0_18.0 , Microsoft.macOS.Sdk.net9.0_15.0 , Microsoft.tvOS.Sdk.net9.0_18.0
 From Version 18.0.9614 -> To Version 18.0.9615

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-25 18:00:13 +01:00
Rui Marinho ec6473632b [ci] Add new fonts to Sign list (#25526) 2024-10-25 16:46:48 +01:00
TJ Lambert 9f5fc1d820 Fix Button Regression with null image source (#25485) 2024-10-25 16:46:42 +01:00
Rui Marinho e3b10769b3
[ci] Add new fonts to Sign list (#25526) 2024-10-25 15:41:41 +01:00
TJ Lambert 743afa0bac
Fix Button Regression with null image source (#25485) 2024-10-25 08:11:55 -05:00
Rui Marinho 5736fea6f4 Revert "Stable (#25475)"
This reverts commit 53c7a3d953.
2024-10-25 14:09:11 +01:00
Rui Marinho 9ee0ec5806 Revert "[release/9.0.1xx] Updates for ASPNET GA branding (#25348)"
This reverts commit 6e039af17a.

# Conflicts:
#	NuGet.config
#	eng/Version.Details.xml
#	eng/Versions.props
2024-10-25 13:58:42 +01:00
Javier Suárez ab4a200ecb
Renamed RunningApp to App to easily reenable ported tests from Xamarin.UITest (#25522) 2024-10-25 13:46:35 +01:00
redth 22d8b20f82 Add DisableOptOutEdgeToEdgeEnforcement style
This will make it easier for devs to intentionally revert the implied opt-out of android 35 edge to edge enforcement behaviour that this PR also adds to MAUI.

Now all that's needed is to apply the disable style like this:

```csharp
protected override void OnCreate(Bundle? savedInstanceState)
{

	Theme?.ApplyStyle(Microsoft.Maui.Resource.Style.DisableOptOutEdgeToEdgeEnforcement, force: true);

	base.OnCreate(savedInstanceState);
}
```
2024-10-24 22:36:33 -04:00
Jonathan Peppers 4bb47d4267
[android] update AOT profile for .NET 9 GA (#25509)
There are very few changes as this point, but recording a new profile
shows a few changes, and maybe improvement by a very small amount:

    Before:
    Average(ms): 450.1
    Std Err(ms): 3.53537676760043
    Std Dev(ms): 11.1798429724611
    After:
    Average(ms): 448.6
    Std Err(ms): 2.54383787044519
    Std Dev(ms): 8.04432166879912

This is an average of 10 runs on a `dotnet new maui` template on a Pixel 7 Pro.

It might be effectively *the same*, but it's worth updating I suppose.
2024-10-25 02:41:01 +01:00
Paul Anderson bf4cafb013
Add New .NET MAUI Template with Syncfusion Toolkit Integration (#25419)
* Added a new project template for .NET MAUI that integrates the Syncfusion Toolkit
---------
2024-10-24 19:35:40 -05:00
redth a5b47ed5f0 Android: Opt out of edge to edge enforcement on api 35+
See https://github.com/dotnet/maui/issues/24742 for details.

It seems to be a better compromise to disable this by default in MAUI apps.  You can still opt out by including a similar style:

```xml
<style name="DisableOptOutEdgeToEdgeEnforcement">
   <item name="android:windowOptOutEdgeToEdgeEnforcement">false</item>
</style>
```

And then applying it in a similar way, either by calling it before the `base.OnCreate(..)` in your activity subclass (in the OnCreate method override), or by registering for the ActivityOnCreate lifecycle callback.

Eg:

```csharp
protected override void OnCreate(Bundle? savedInstanceState)
{
    // Disable Edge to Edge opt out by calling this before base.OnCreate()
    Theme?.ApplyStyle(Resource.Style.DisableOptOutEdgeToEdgeEnforcement, force: true);

    base.OnCreate(savedInstanceState);
}
```
2024-10-24 19:22:32 -04:00
vishnumenon2684 a7259759b0
Update UITest.cs (#25507)
ui test case running fixed from visual studio
2024-10-24 14:59:36 -05:00
github-actions[bot] d541b54292
Update UITest.cs (#25508)
ui test case running fixed from visual studio

Co-authored-by: vishnumenon2684 <95695113+vishnumenon2684@users.noreply.github.com>
2024-10-24 14:59:03 -05:00
vishnumenon2684 505d0fce59
Fixed Size not calculated properly when invoking UseMauiCompatibility method in MauiProgram (#25494)
Co-authored-by: Nirmalkumar <nirmalkumar.yuvaraj@syncfusion.com>
2024-10-24 13:28:47 -05:00
dotnet-maestro[bot] 5eb0fc8c16
[release/9.0.1xx] Update dependencies from xamarin/xamarin-macios (#25503)
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20241024.6

Microsoft.iOS.Sdk.net9.0_18.0 , Microsoft.MacCatalyst.Sdk.net9.0_18.0 , Microsoft.macOS.Sdk.net9.0_15.0 , Microsoft.tvOS.Sdk.net9.0_18.0
 From Version 18.0.9612 -> To Version 18.0.9614

* Update NuGet.config

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2024-10-24 18:07:19 +01:00
vishnumenon2684 9939516e2f
25421- ListViewRenderer Crash in HostApp and BindingError was occured in windows platforms (#25453)
* 25421- ListViewRenderer Crash in HostApp

* Review concerns.

* changes removed
2024-10-24 09:49:33 -05:00
github-actions[bot] f1244908aa
Fix TitleBar comment mistake (#25480)
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-10-23 23:11:17 +01:00
github-actions[bot] d0897e89db
[testing] Move to run the catalyst device tests on arm (#25486)
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-10-23 23:10:56 +01:00
dotnet-maestro[bot] 3c2edd858d
Update dependencies from https://github.com/dotnet/android build 9.0.1xx-278e101698269c9bc8840aa94d72e7f24066a96d-1 (#25481)
Microsoft.Android.Sdk.Windows
 From Version 35.0.3 -> To Version 35.0.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-23 23:10:35 +01:00
Rui Marinho 2e6487fd35
[testing] Move to run the catalyst device tests on arm (#25482) 2024-10-23 23:09:30 +01:00
Javier Suárez 4c75db4795
Added more ignore attributes to quickly detect UITests already failing with Xamarin.UITest (#25345) 2024-10-23 10:20:00 -05:00
Rui Marinho 53c7a3d953
Stable (#25475)
* Produce stable packages

* Update Versions.props
2024-10-23 16:06:12 +01:00
Jakub Florkowski b6ea3df931
Background gradients fixes (#25194)
* Background gradients fixes

* Add test snapshots

* Pending snapshot

---------

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-10-23 14:12:19 +01:00
Jakub Florkowski 19e900db40
Remove excessive BoxView API comments (#25399) 2024-10-23 14:11:18 +01:00
Rui Marinho 454a30dae3
[testing] These Semantic tests seem to fail often on MacCatalyst (#25408)
* [tests] Skip semantic tests on iOS

* [testing] Skip on MACCATALYST

* Update HandlerTestBaseOfT.Tests.cs
2024-10-23 11:23:59 +01:00
Shane Neuville 98249b265f
Add note to PR template about only targeting main (#25402)
* Add note to PR template about branch to target

* Update PULL_REQUEST_TEMPLATE.md
2024-10-23 11:04:53 +01:00
dotnet-maestro[bot] 39ccc2a8a9
Update dependencies from https://github.com/dotnet/android build 9.0.1xx-e93c9239aea752b71dca0cfbddd3d32a506079de-1 (#25460)
Microsoft.Android.Sdk.Windows
 From Version 35.0.1-rtm.61 -> To Version 35.0.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-23 11:04:12 +01:00
github-actions[bot] 8e4105b3f9
[release/9.0.1xx] [testing] These Semantic tests seem to fail often on MacCatalyst (#25459)
* [tests] Skip semantic tests on iOS

* [testing] Skip on MACCATALYST

* Update HandlerTestBaseOfT.Tests.cs

---------

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2024-10-23 11:02:23 +01:00
Vignesh-SF3580 c21b5184d1
[Android] Fixed CollectionView MeasureFirstItem Rendering issue (#25367)
* Fixed-25191 : CollectionView ItemSizingStrategy:MeasureFirstItem renders labels incorrectly.

* added windows snapshot.
2024-10-22 18:56:31 -05:00
Rui Marinho 6e039af17a
[release/9.0.1xx] Updates for ASPNET GA branding (#25348)
* Update GA branding

* Update arcade

* update to internal

* Update variables.yml

* Update DotNet.csproj

* Update DotNet.csproj

* Update Workloads.csproj

* Update NuGet.config

* Try this

* Update sdk , aspnet and runtime

* Update iOS and Android for ga

* Skip blazor test

* Fix Emscripten dependency

* Update NuGet.config

---------

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
2024-10-23 00:41:50 +01:00
Gerald Versluis ea0e7bbf34
Moving last Xamarin.UITests to Appium (#25366)
* Moving last Xamarin.UITests to Appium

* Fix build error

* arg

* Fix build errors

* Removed duplicated files

* More changes

* Fix test errors

---------

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2024-10-22 16:04:37 -05:00
dotnet-maestro[bot] 271f8ae898
Update dependencies from https://github.com/dotnet/xharness build 20241014.1 (#25417)
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.24510.3 -> To Version 10.0.0-prerelease.24514.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-22 20:13:18 +01:00