-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Merge Maui.Graphics into Maui! (net7.0 / main) #8739
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…-89eaef8bacdf [main] Update dependencies from xamarin/xamarin-macios
…-9981cf2e4b88 [main] Update dependencies from xamarin/xamarin-android
Color: add overloads so `int` does not get clamped like a `float`
ScalingCanvas: DrawPath, FillPath, and ClipPath respect distinct X and Y scales
Software Bill of Materials (SBOM) manifest generation
* Update dependencies from https://github.com/xamarin/xamarin-macios build 20220207.42 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.217 * Update dependencies from https://github.com/xamarin/xamarin-android build main-4342afd8dc89202bb501d0552a7945fbed8101d3-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.57 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22106.1 (parent: Microsoft.Android.Sdk.Windows * Remove emsdk explicit version * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220208.27 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.235 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220209.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.244 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220210.25 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.249 * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220211.24 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.252 * Update dependencies from https://github.com/xamarin/xamarin-android build main-f9892cc8e63f6990ef4e4c426dde66a84d0d3816-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.74 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220214.17 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.300-preview.14.254 * Update dependencies from https://github.com/xamarin/xamarin-android build main-ee4322054292a8f6e33ca6c53fe9ce609fce3c95-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.77 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220215.73 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.5 * Update dependencies from https://github.com/xamarin/xamarin-android build main-db56e3877069a5c519f61a0b1722726f890c77a6-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.84 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220216.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.18 * Update dependencies from https://github.com/xamarin/xamarin-android build main-25e0eefbd20bb4778a4717e4ef587a080c82bca0-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.89 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-android build main-ebdd4b826cc208202ac1793484cad2fe0036abc2-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.91 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-android build main-d73e048af287b32c69d825191337927081bf8d3c-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.93 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Update dependencies from https://github.com/xamarin/xamarin-macios build 20220219.1 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.300-preview.14.200 -> To Version 15.2.302-preview.14.34 * Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Bump iOS, bring back emsdk * try removing the signing until we can build * try get things to run * 🕵🏼 * wrong thing * and vs again * wrong files * build all again * Update dependencies from https://github.com/xamarin/xamarin-android build main-0583ca1d3a44f4ffc6a29b487ef2b4ed33d2c067-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.53 -> To Version 31.0.200-preview.14.95 Dependency coherency updates Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Manifest-6.0.100 From Version 6.0.200-rtm.22078.8 -> To Version 6.0.200-rtm.22107.3 (parent: Microsoft.Android.Sdk.Windows * Try this way * And this one * moar * asdf * asdf * asdf * try params * asdf * asdf * asdf * sadf * asdf * :( * asdf Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: redth <jondick@gmail.com> Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
…ild 20220221.19 (#321) Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.302-preview.14.34 -> To Version 15.2.302-preview.14.40 Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…uild main-5d2bc5eded8442da5baf35ee67bf4f719b8d466f-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.97
…ild 20220223.36 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.302-preview.14.40 -> To Version 15.2.302-preview.14.56
…uild main-4fb6056c555c3f293c068740e7a10a1be5de784c-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.99
* Attempt to evaluate signingCondition to include/exclude settings at the time the sbom stage is run * Evaluate signingCondition as part of a condition property and not as a conditional expression * Apply signingCondition to the stages defined for PRs and CIs * Try using two SBOM jobs with opposing conditional logic within the same stage * Unique names for SBOM jobs * SBOM: Execute PR job based on unsignedCondition * Remove closing paren from unsignedCondition * Remove stage name as parameter to condition * Remove succeeded() from original signingCondition * Multi-line conditions * Use single signingCondition * SBOM: Unsigned PR job: Include condition for success of the windows (build) stage * Target production support for the SBOM shared template job name & display name * Ensure SBOM_PR job only executes if the build 'windows' job succeeds by making the SBOM stage dependent on the success of the windows stage * Spell out acronyms in comments
…ild 20220224.52 Microsoft.tvOS.Sdk , Microsoft.macOS.Sdk , Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk From Version 15.2.302-preview.14.40 -> To Version 15.2.302-preview.14.75
…uild main-b3cb3a9e49bbffed4fd00f716ce04ab502396fae-1 Microsoft.Android.Sdk.Windows From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.104 Dependency coherency updates Microsoft.NETCore.App.Ref From Version 6.0.3 -> To Version 6.0.3 (parent: Microsoft.Android.Sdk.Windows
…uild 6.0.4xx-052bfb661739066b8598f5b0b066cee5a99a1e15-1 Microsoft.Android.Sdk.Windows From Version 32.0.414 -> To Version 32.0.415
…-ffd2c718c6b8 [main] Update dependencies from xamarin/xamarin-android
mattleibow
added
the
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
label
Jul 14, 2022
# Conflicts: # src/Controls/Foldable/src/Controls.Foldable.csproj # src/Core/src/Core.csproj # src/Essentials/src/Essentials.csproj
jsuarezruiz
approved these changes
Jul 22, 2022
This was referenced Jul 26, 2022
Open
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
There are several reasons this is a good idea:
Tasks
The only code changes to this was to make sure it could build in the new, stricter repo. This included changes to nullability checks and other warnings. There is no functional changes and I even copied over the same tests and samples.
The reason to not use maui itself in the graphics samples is because:
a) I didn't want to change anything
b) maui is not required and testing graphics without maui is not hard or a lot of code
c) allows devs to contribute to graphics without even touching maui code in this repo.
I have also opened issues for each platform that was not brought along. This included GTK, UWP and Blazor. Not because we don't want to support them, just that we never published nugets for them, they don't build as-is and this PR has to be merged soon. Those platforms can be added to this repo in a new PR if there is any demand for it.
Issues Fixed
Fixes #7901