Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build nuget packages in CI and push to nuget.org #27

Closed
wants to merge 2,557 commits into from

Conversation

webwarrior-ws
Copy link
Collaborator

@webwarrior-ws webwarrior-ws commented Nov 19, 2024

Description of Change

Build nuget packages for commits in "main" branch or tags
and upload to nuget.org.

For main branch, create pre-relaese packages, and for tags
create stable release packages.

Issues Fixed

Fixes #94

lytico and others added 30 commits March 4, 2024 21:46
* [CI] Add image override to APIScan pool.

* Do not pass the pool to apiscan. Use the default.
* Don't measure during the layout pass

* Update Issue20920.cs
)

* Enable now passing tests and add some TableView categories

* Update Bugzilla51503.cs

* Update Issue7700.cs

* Update Issue773.cs

* - ignore a few that are still flakey
# Conflicts:
#	GitInfo.txt
#	src/Controls/tests/UITests/snapshots/ios/Issue16094Test.png
…rty input controls (dotnet#19626)

* Generalize HideSoftInputOnTapped on Android and iOS to support 3rd party input controls.

* - remove predicate on iOS

* - fix

---------

Co-authored-by: Shane Neuville <[email protected]>
…t as FabricBot replacement

 Details on the replacement service and the syntax of the new yaml configuration file is available publicly at: https://microsoft.github.io/GitOps/policies/resource-management.html

Please review and merge this PR to complete the process of onboarding to the new service.
…#21040)

Removes the part of the API documentation for WebAuthenticator so that it's not specific to Windows. This exception gets thrown on all platforms, not just Windows.
* Disable updated and setup logcat for tests

* - move shell commands to more generic spot

* Update android.cake

* - add test filter as arg

* Update android.cake

* - try removing play store

* Update android.cake

* - formalize retries a bit

* - fix

* Update android.cake

* Update android.cake
Controls.Core: enhance ItemView's, implement Frame and others
dotnet-maestro bot and others added 29 commits April 9, 2024 11:25
…40403.1 (dotnet#21703)

Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
 From Version 9.0.0-prerelease.24178.1 -> To Version 9.0.0-prerelease.24203.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
* Make sure to await async test asserts

* More

* Cases introduced in dotnet#20155

* Two more

---------

Co-authored-by: Matthew Leibowitz <[email protected]>
* Light up HideSoftInputOnTappedChanged for catalyst

* Update HideSoftInputOnTappedPageTests.cs

* - add back

* - switch to reset

* - fix up focus to work for catalyst
* Update appium to rc7

* Update Controls.AppiumTests.csproj

* Update UITest.Appium.csproj

---------

Co-authored-by: Shane Neuville <[email protected]>
After this PR: dotnet#20695

We now need to add MAUI back in there. It was not needed before because if it was blank it was assumed maui. Now it is more than just MAUI.
* Init the flex item before adding it to the layout

Fixes dotnet#21711

In some cases, adding an item before may trigger an update before
the add operation is complete. For example, adding a label with HTML
text may cause the layout to run while the label is being constructed.

To prevent that layout pass from crashing because the flex item is
not yet set, we make sure to first set the flex item, and then add it
to the layout. Then, when the layout pass runs, the item is ready to
be used.

This error might not typically appear in normal XAML layouts because
the items are first set, and then the entire page is inflated. However,
if the layout is part of a CollectionView or items are added
dynamically after the UI is loaded, this layout during add may occur.

* This too

* UI tests

* AutomationId is important :)
* [Catalyst] Allow drag item from outside the app

* [Windows]Allow DropEvent to work from outside drag

* [samples] Add sample for drop to OS

* [sample] Small cleanup

* Update DropFileToMauiApp.xaml.cs

---------

Co-authored-by: Rui Marinho <[email protected]>
Context: dotnet#21580
Similar to: dotnet#21308

Recording this app in `dotnet-trace`, I saw:

    (0.81%)	Microsoft.MacCatalyst!UIKit.UIView.get_Subviews()

Where this time is spent in:

* `Microsoft.Maui!Microsoft.Maui.Platform.WrapperView`

Reviewing the code, it calls `this.Subviews` twice, which would marshal
and create two arrays. It then calls `Subviews[0]`.

Storing in a local instead will avoid creating the array twice:

    var subviews = Subviews;
    if (subviews.Length == 0)
        return;
    //...
    var child = subviews[0];

This improves things a small amount, but is probably worth it:

    (0.72%)	Microsoft.MacCatalyst!UIKit.UIView.get_Subviews()

I'll think about making an analyzer for this, but  I didn't find any
similar cases that appear in `dotnet-trace` at the moment.

This doesn't fully solve dotnet#21580, but it's a small improvement.
### Description of Change

Upstream all the fixes!
* Add Links to Testing WIKI

* Update DEVELOPMENT.md
* Added a Ui Test (dotnet#19926)

* [Android] box view properties fix (dotnet#19926)

* Revert "[Android] box view properties fix (dotnet#19926)"

This reverts commit 1995547.

* Update BoxView (dotnet#19926)

* Update BoxView.cs

* Added snapshot

---------

Co-authored-by: Javier Suárez <[email protected]>
…rmatting

[housekeeping] Automated PR to fix formatting errors
Because currently used version 8.0.0 has vulnerability.
Build nuget packages for commits in "main" branch or tags
and upload to nuget.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.