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

1031 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Dick ecfa27d3ee
Merge pull request #347 from dotnet/paintgradientstop
Renamed GradientStop to PaintGradientStop
2022-03-15 11:03:36 -04:00
Javier Suárez Ruiz 0da9a94dfe Renamed GradientStop to PaintGradientStop 2022-03-15 12:35:16 +01:00
jonlipsky d4cb44a83b
Merge pull request #345 from eerhardt/RevertNamedColors
Revert named colors
2022-03-10 16:18:18 -08:00
Eric Erhardt c5df7eaa81 Add ParseLightGoldenrodYellowWithSpace benchmark 2022-03-10 17:23:25 -06:00
Eric Erhardt c47bf0a1f1 Revert Named Colors change
The previous change caused a startup-regression with Color because it spends time building up a dictionary as soon as the Color type is touched (in its static ctor). Changing this code back to use pattern-matching, which forces us to allocate a string, for now. Once we have a compiler that supports pattern-matching on a ReadOnlySpan<char>, we can do this allocation free.

This is no worse than the original implementation, which also always allocated the lowered string to do pattern matching on.
2022-03-10 17:14:52 -06:00
jonlipsky 48ef07882e
Merge pull request #333 from dotnet/geometryutil
Renamed Geometry class to GeometryUtil
2022-03-10 12:55:04 -08:00
jonlipsky 41f98ab2bf
Merge pull request #343 from eerhardt/OptimizeColorParsing
Optimize Color Parsing
2022-03-10 12:54:00 -08:00
Eric Erhardt 4728bc41ed Fix classic build 2022-03-10 11:44:02 -06:00
jonlipsky 8c22f8e8d1
Merge pull request #341 from dotnet/strokedashoffset
Include StrokeDashOffset property
2022-03-10 08:44:30 -08:00
Rui Marinho 79084b0c51
Merge pull request #344 from dotnet/pending-rect-renaming
Missing Rectangle to Rect renaming changes
2022-03-10 11:20:28 +00:00
Javier Suárez Ruiz eed8291f21 Missing Rectangle to Rect renaming changes 2022-03-10 09:47:27 +01:00
Eric Erhardt e8cd5ba804 Add Microsoft.Maui.Graphics.Benchmarks
Add a Color Parsing benchmark.
2022-03-09 20:58:25 -06:00
Eric Erhardt 2fc1a9e6db Add more parsing unit tests.
Spanify FromRgba.
Fix Color.TryParse to not throw exceptions.
Add Grey colors to the named table.
2022-03-09 20:58:25 -06:00
Eric Erhardt 9cace0d81c Consolidate the code and only switch on int/double.Parse. 2022-03-09 20:58:16 -06:00
Eric Erhardt 9f2e493f4c Optimize Color Parsing
This method was showing up in a profile of the startup of the .NET Podcasts app.

Optimize it to not allocate intermediate strings on .NET Core, and instead use Span operations.
2022-03-08 21:45:21 -06:00
Javier Suárez Ruiz 53d75ef828 Added Android and iOS implementations 2022-03-07 16:46:24 +01:00
Javier Suárez Ruiz 5dda528c4c Updated samples 2022-03-07 16:28:47 +01:00
Javier Suárez Ruiz 90a286b6c6 Updated WinUI implementation 2022-03-07 16:26:47 +01:00
Javier Suárez Ruiz 0efeda81e6 Include StrokeDashOffset property 2022-03-07 15:49:25 +01:00
Jonathan Dick cc1e48974d
Merge pull request #334 from dotnet/release/6.0.2xx-preview14
Merge p14 updates back to main
2022-03-03 12:25:16 -05:00
Javier Suárez Ruiz 2352b024e0 Renamed Geometry class to GeometryUtil 2022-03-03 10:02:52 +01:00
Matthew Leibowitz b088c6ce6d
Restore Skia packages (#319) 2022-03-03 08:09:15 +02:00
redth 835f78f998 escape replace 2022-03-02 16:25:27 -05:00
redth 36d4c03493 Changes for updated tizen script 2022-03-02 16:10:09 -05:00
redth dfd399f6eb Actual workload manifests are still 200 2022-03-02 15:52:02 -05:00
redth 08cf73863b Use 300 band to build 2022-03-02 15:43:28 -05:00
Jonathan Dick 0ad060f5b1
Update GitInfo.txt 2022-03-01 17:56:48 -05:00
Jonathan Dick 5b97ff55bb
Merge pull request #318 from dotnet/rename-rectangle
Changes in Rectangle types
2022-03-01 17:55:46 -05:00
redth 9a9ab39a72 Merge branch 'main' into rename-rectangle 2022-03-01 17:27:35 -05:00
Jonathan Dick bc0840d414
Merge pull request #323 from dotnet/darc-main-f514bd6d-d72e-4bd4-88ed-19db4ff9175a
[main] Update dependencies from xamarin/xamarin-android
2022-03-01 17:27:17 -05:00
redth d6c702777d Fix workload sdk band install location in tizen script 2022-03-01 17:08:16 -05:00
redth 6e25fe2f6d Try pinning sdk to 200 to build 2022-03-01 16:32:32 -05:00
redth fe8f1a73c7 Merge branch 'main' into darc-main-f514bd6d-d72e-4bd4-88ed-19db4ff9175a 2022-03-01 16:13:14 -05:00
Jonathan Dick 430eab4094
Merge pull request #326 from dotnet/darc-main-468b20d3-fc3c-4f66-a931-aaf7f662fee7
[main] Update dependencies from xamarin/xamarin-macios
2022-03-01 16:12:57 -05:00
redth 1a9ff6caa9 Fix workload sdk bands 2022-03-01 14:50:55 -05:00
Jonathan Dick 4051e29da8
Merge pull request #329 from dotnet/fix_color
Fix Color Type converter
2022-03-01 14:47:55 -05:00
dotnet-maestro[bot] b115ba975b Update dependencies from https://github.com/xamarin/xamarin-android build main-c71dfe6705d8f2edd8c2c7d75a46ed4797d84982-1
Microsoft.Android.Sdk.Windows
 From Version 31.0.200-preview.14.95 -> To Version 31.0.200-preview.14.106

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref
 From Version 6.0.200-rtm.22107.3 -> To Version 6.0.300-preview.22128.2 (parent: Microsoft.Android.Sdk.Windows
2022-03-01 13:40:09 +00:00
dotnet-maestro[bot] 699082f290 Update dependencies from https://github.com/xamarin/xamarin-macios build 20220228.20
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.91
2022-03-01 13:30:14 +00:00
Stephane Delcroix 2e4151ee30 Fix Color Type converter
For hystorical reasons, this code parses colors prefixed with 'Color.'.
This isn't what is expected as a XAML value.

Also, this code removes the fallback for eventually missing colors in
the switch, and fail faster
2022-02-28 17:23:56 +01:00
Rui Marinho bb6d3266ff
Merge pull request #328 from dotnet/fix-pool
[ci] Fix usage for EO pools
2022-02-28 10:59:48 +00:00
Rui Marinho 8a747f3a21
Move to MonoAndroid12.0 2022-02-28 10:14:59 +00:00
dotnet-maestro[bot] 7fecdb6ff5 Update dependencies from https://github.com/xamarin/xamarin-macios build 20220226.3
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.82
2022-02-27 13:37:07 +00:00
jonlipsky 957bb2653a
Merge pull request #327 from tracplus-hpaterson/patch-1
Bugfix: Grammar.
2022-02-26 17:18:40 -08:00
dotnet-maestro[bot] 73354eb12c Update dependencies from https://github.com/xamarin/xamarin-macios build 20220225.28
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.80
2022-02-26 13:27:52 +00:00
Rui Marinho 926667fc74
Remove extra nuspec 2022-02-25 19:32:06 +00:00
Rui Marinho d64df13182
Fix pipeline 2022-02-25 19:31:55 +00:00
Rui Marinho a03eaf385a
try fix condition 2022-02-25 19:19:23 +00:00
Rui Marinho dbef1484e9
Try again 2022-02-25 18:18:08 +00:00
Rui Marinho 5afcd5e98c
Bump TargetFrameworkVersion Android 2022-02-25 17:52:18 +00:00
Rui Marinho 4a94abef29
Revert "Don't build classic"
This reverts commit 8d6fbe7941.
2022-02-25 17:51:55 +00:00