text
stringlengths
19
585k
label
stringclasses
2 values
category
stringclasses
2 values
language
stringclasses
14 values
repo
stringclasses
932 values
sha
stringlengths
40
40
@@ -69,6 +78,20 @@ protected override void OwnerPropertyChanged(object? sender, AvaloniaPropertyCha ToState((bool)e.OldValue!), ToState((bool)e.NewValue!)); } + else if (e.Property == ComboBox.TextProperty && Owner.IsEditable) + { + ...
bad
review
csharp
AvaloniaUI/Avalonia
299df5cccfee62e7ad2ffc01ed374ef53c0945a3
diff --git a/src/Avalonia.Controls/Automation/Peers/ComboBoxAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/ComboBoxAutomationPeer.cs index 5d71e7a8e48..7f629db9e24 100644 --- a/src/Avalonia.Controls/Automation/Peers/ComboBoxAutomationPeer.cs +++ b/src/Avalonia.Controls/Automation/Peers/ComboBoxAutomationPee...
good
review_fixed
csharp
AvaloniaUI/Avalonia
299df5cccfee62e7ad2ffc01ed374ef53c0945a3
@@ -0,0 +1,53 @@ +using System; +using Avalonia.Automation.Provider; +using Avalonia.Controls; +using Avalonia.Controls.Primitives; + +namespace Avalonia.Automation.Peers +{ + public class CalendarDayButtonAutomationPeer : ButtonAutomationPeer, ISelectionItemProvider + { + public CalendarDayButtonAutomatio...
bad
review
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
diff --git a/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs new file mode 100644 index 00000000000..49a56e7aea3 --- /dev/null +++ b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs @@ -0,0 +1,...
good
review_fixed
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
@@ -0,0 +1,53 @@ +using System; +using Avalonia.Automation.Provider; +using Avalonia.Controls; +using Avalonia.Controls.Primitives; + +namespace Avalonia.Automation.Peers +{ + public class CalendarDayButtonAutomationPeer : ButtonAutomationPeer, ISelectionItemProvider + { + public CalendarDayButtonAutomatio...
bad
review
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
diff --git a/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs new file mode 100644 index 00000000000..49a56e7aea3 --- /dev/null +++ b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs @@ -0,0 +1,...
good
review_fixed
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
@@ -0,0 +1,53 @@ +using System; +using Avalonia.Automation.Provider; +using Avalonia.Controls; +using Avalonia.Controls.Primitives; + +namespace Avalonia.Automation.Peers +{ + public class CalendarDayButtonAutomationPeer : ButtonAutomationPeer, ISelectionItemProvider + { + public CalendarDayButtonAutomatio...
bad
review
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
diff --git a/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs new file mode 100644 index 00000000000..49a56e7aea3 --- /dev/null +++ b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs @@ -0,0 +1,...
good
review_fixed
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
@@ -0,0 +1,77 @@ +using System; +using Avalonia.Automation.Provider; +using Avalonia.Controls; +using Avalonia.Controls.Primitives; + +namespace Avalonia.Automation.Peers +{ + public class CalendarDayButtonAutomationPeer : ButtonAutomationPeer, ISelectionItemProvider + { + public CalendarDayButtonAutomatio...
bad
review
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
diff --git a/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs new file mode 100644 index 00000000000..49a56e7aea3 --- /dev/null +++ b/src/Avalonia.Controls/Automation/Peers/CalendarDayButtonAutomationPeer.cs @@ -0,0 +1,...
good
review_fixed
csharp
AvaloniaUI/Avalonia
0188b072b622b620579234669db2de9732bc06a2
@@ -1,17 +1,39 @@ -using Avalonia.Controls; +using System; +using Avalonia.Automation.Provider; +using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace Avalonia.Automation.Peers { - public class MenuItemAutomationPeer : ControlAutomationPeer + public class MenuItemAutomationPeer : ControlAut...
bad
review
csharp
AvaloniaUI/Avalonia
0b1be4dd9e53ae0f885fa395ad0d1caa21a216ba
diff --git a/src/Avalonia.Controls/Automation/Peers/MenuItemAutomationPeer.cs b/src/Avalonia.Controls/Automation/Peers/MenuItemAutomationPeer.cs index 5ecfb29afc1..9fa4ede3ca1 100644 --- a/src/Avalonia.Controls/Automation/Peers/MenuItemAutomationPeer.cs +++ b/src/Avalonia.Controls/Automation/Peers/MenuItemAutomationPee...
good
review_fixed
csharp
AvaloniaUI/Avalonia
0b1be4dd9e53ae0f885fa395ad0d1caa21a216ba
@@ -34,6 +34,8 @@ </PropertyGroup> <ItemGroup> <InternalsVisibleTo Include="Avalonia.Win32.Interoperability, PublicKey=$(AvaloniaPublicKey)" /> + <InternalsVisibleTo Include="Avalonia.WinUI, PublicKey=$(AvaloniaPublicKey)" /> + <InternalsVisibleTo Include="ControlGallery.WinUI, PublicKey=$(AvaloniaPubl...
bad
review
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.Win32/Avalonia.Win32.csproj b/src/Windows/Avalonia.Win32/Avalonia.Win32.csproj index ea834e26a68..17796d2f9b7 100644 --- a/src/Windows/Avalonia.Win32/Avalonia.Win32.csproj +++ b/src/Windows/Avalonia.Win32/Avalonia.Win32.csproj @@ -34,6 +34,7 @@ </PropertyGroup> <ItemGroup> <...
good
review_fixed
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,886 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Threading.Tasks; +using global::Avalonia; +using global::Avalonia.Controls.Embedding; +using global::Avalonia.Input; +using global::Avalonia.Input.Raw; +using global::Avalonia.Logging; +using global:...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs b/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs new file mode 100644 index 00000000000..3494305e314 --- /dev/null +++ b/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs @@ -0,0 +1,915 @@ +using System; +using System.Collections.Generic; +using...
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,246 @@ +using System; +using System.Runtime.InteropServices; +using Avalonia.OpenGL; +using Avalonia.OpenGL.Egl; +using Avalonia.OpenGL.Surfaces; +using Avalonia.Platform; +using Avalonia.Win32.DirectX; +using MicroCom.Runtime; + +namespace Avalonia.Win32.OpenGl.Angle; + +internal unsafe class SwapChainGlSur...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.Win32/OpenGl/Angle/SwapChainGlSurface.cs b/src/Windows/Avalonia.Win32/OpenGl/Angle/SwapChainGlSurface.cs new file mode 100644 index 00000000000..9dfd692da31 --- /dev/null +++ b/src/Windows/Avalonia.Win32/OpenGl/Angle/SwapChainGlSurface.cs @@ -0,0 +1,252 @@ +using System; +using System....
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> + +<Package + xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" + xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" + xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" + xmlns:rescap="http://schemas.mic...
bad
review
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/samples/ControlGallery.WinUI/Package.appxmanifest b/samples/ControlGallery.WinUI/Package.appxmanifest new file mode 100644 index 00000000000..fcd91fc1ac5 --- /dev/null +++ b/samples/ControlGallery.WinUI/Package.appxmanifest @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> + +<Package + xmlns="htt...
good
review_fixed
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,379 @@ +using System; +using System.Runtime.InteropServices; +using global::Avalonia; +using global::Avalonia.Input; +using global::Avalonia.Input.Raw; +using global::Avalonia.Input.TextInput; +using global::Avalonia.Logging; +using Microsoft.UI.Xaml; +using Windows.UI.Text.Core; +using AvRect = global::Aval...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.WinUI/WinUITextInputMethod.cs b/src/Windows/Avalonia.WinUI/WinUITextInputMethod.cs new file mode 100644 index 00000000000..f1517a593d0 --- /dev/null +++ b/src/Windows/Avalonia.WinUI/WinUITextInputMethod.cs @@ -0,0 +1,384 @@ +using System; +using System.Runtime.InteropServices; +using g...
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,43 @@ +using System.Threading.Tasks; +using global::Avalonia.Controls; +using global::Avalonia.Input; +using global::Avalonia.Input.Platform; +using global::Avalonia.Logging; + +namespace Avalonia.WinUI; + +/// <summary> +/// <see cref="IPlatformDragSource"/> implementation that initiates native WinUI +/// d...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.WinUI/WinUIDragSource.cs b/src/Windows/Avalonia.WinUI/WinUIDragSource.cs new file mode 100644 index 00000000000..ed165aada9d --- /dev/null +++ b/src/Windows/Avalonia.WinUI/WinUIDragSource.cs @@ -0,0 +1,42 @@ +using System.Threading.Tasks; +using global::Avalonia.Controls; +using global...
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,886 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Threading.Tasks; +using global::Avalonia; +using global::Avalonia.Controls.Embedding; +using global::Avalonia.Input; +using global::Avalonia.Input.Raw; +using global::Avalonia.Logging; +using global:...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs b/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs new file mode 100644 index 00000000000..3494305e314 --- /dev/null +++ b/src/Windows/Avalonia.WinUI/AvaloniaSwapChainPanel.cs @@ -0,0 +1,915 @@ +using System; +using System.Collections.Generic; +using...
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -0,0 +1,110 @@ +using System; +using System.Collections.Generic; +using global::Avalonia.Automation.Provider; +using Microsoft.UI.Xaml.Automation.Peers; +using AvPeer = global::Avalonia.Automation.Peers.AutomationPeer; +using AvControlPeer = global::Avalonia.Automation.Peers.ControlAutomationPeer; +using XamlAutomat...
bad
review
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
diff --git a/src/Windows/Avalonia.WinUI/Automation/AvaloniaSwapChainPanelAutomationPeer.cs b/src/Windows/Avalonia.WinUI/Automation/AvaloniaSwapChainPanelAutomationPeer.cs new file mode 100644 index 00000000000..4b6159a5462 --- /dev/null +++ b/src/Windows/Avalonia.WinUI/Automation/AvaloniaSwapChainPanelAutomationPeer.cs...
good
review_fixed
csharp
AvaloniaUI/Avalonia
db8c86b61782572ca27e59debe8f23cfb8efdc3a
@@ -49,142 +50,197 @@ public TextLeadingPrefixCharacterEllipsis( /// <inheritdoc /> public override TextRun[]? Collapse(TextLine textLine) { - var textRuns = textLine.TextRuns; - - var runIndex = 0; - var currentWidth = 0.0; - var shapedSymbol = Tex...
bad
review
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
diff --git a/src/Avalonia.Base/Media/TextFormatting/TextLeadingPrefixCharacterEllipsis.cs b/src/Avalonia.Base/Media/TextFormatting/TextLeadingPrefixCharacterEllipsis.cs index e1f36b5f4cb..10bd3e13d96 100644 --- a/src/Avalonia.Base/Media/TextFormatting/TextLeadingPrefixCharacterEllipsis.cs +++ b/src/Avalonia.Base/Media/...
good
review_fixed
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
@@ -799,5 +799,187 @@ private SplitResult<ShapedBuffer> SplitDescending(int textLength) return new SplitResult<ShapedBuffer>(first, second); } + + /// <summary> + /// Returns the cumulative glyph advance for the logical character range + /// <c>[<paramref name="startChar"/>,...
bad
review
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
diff --git a/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs b/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs index 581ed901d0a..7be486717ee 100644 --- a/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs +++ b/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs @@ -307,57 +307,6 @@ internal doubl...
good
review_fixed
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
@@ -799,5 +799,187 @@ private SplitResult<ShapedBuffer> SplitDescending(int textLength) return new SplitResult<ShapedBuffer>(first, second); } + + /// <summary> + /// Returns the cumulative glyph advance for the logical character range + /// <c>[<paramref name="startChar"/>,...
bad
review
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
diff --git a/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs b/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs index 581ed901d0a..7be486717ee 100644 --- a/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs +++ b/src/Avalonia.Base/Media/TextFormatting/ShapedBuffer.cs @@ -307,57 +307,6 @@ internal doubl...
good
review_fixed
csharp
AvaloniaUI/Avalonia
ae3e96f21e4a4a574f7ef6a4309eeb93f081ed58
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { +#pragma warning disable CA1823 // field is used on non TV platforms + private readonly...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { +#pragma warning disable CA1823 // field is used on non TV platforms + private readonly...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -100,6 +100,11 @@ public class Control : InputElement, IDataTemplateHost, IVisualBrushInitialize, private Control? _focusAdorner; private AutomationPeer? _automationPeer; + static Control() + { + InputElement.HoldingEvent.AddClassHandler<Control>(OnFeedbackHoldEventHandle...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/Avalonia.Controls/Control.cs b/src/Avalonia.Controls/Control.cs index edd647f7722..6b37e48c42f 100644 --- a/src/Avalonia.Controls/Control.cs +++ b/src/Avalonia.Controls/Control.cs @@ -2,11 +2,11 @@ using System.Collections.Generic; using System.ComponentModel; using Avalonia.Automation.Peers; +using...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,51 @@ +using Avalonia.Input; + +namespace Avalonia.Controls.Platform +{ + public class PlatformFeedback + { + /// <summary> + /// Defines the FeedbackType attached property. + /// </summary> + public static readonly AttachedProperty<FeedbackType> FeedbackTypeProperty = + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/Avalonia.Controls/Platform/PlatformFeedback.cs b/src/Avalonia.Controls/Platform/PlatformFeedback.cs new file mode 100644 index 00000000000..b8ae925b017 --- /dev/null +++ b/src/Avalonia.Controls/Platform/PlatformFeedback.cs @@ -0,0 +1,54 @@ +using Avalonia.Input; + +namespace Avalonia.Controls +{ + ...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,63 @@ +using Avalonia.Metadata; + +namespace Avalonia.Controls.Platform +{ + internal interface IPlatformFeedback
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/Avalonia.Controls/Platform/IPlatformFeedback.cs b/src/Avalonia.Controls/Platform/IPlatformFeedback.cs new file mode 100644 index 00000000000..99ea2f37837 --- /dev/null +++ b/src/Avalonia.Controls/Platform/IPlatformFeedback.cs @@ -0,0 +1,64 @@ +using Avalonia.Metadata; + +namespace Avalonia.Controls +{...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,37 @@ +using Android.Content; +using Android.Media; +using Android.Views; +using Avalonia.Controls.Platform; + +namespace Avalonia.Android.Platform +{ + internal class AndroidPlatformFeedback(View view) : IPlatformFeedback + { + public bool Perform(FeedbackAction feedback, FeedbackType type) + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/Android/Avalonia.Android/Platform/AndroidPlatformFeedback.cs b/src/Android/Avalonia.Android/Platform/AndroidPlatformFeedback.cs new file mode 100644 index 00000000000..1adee29316e --- /dev/null +++ b/src/Android/Avalonia.Android/Platform/AndroidPlatformFeedback.cs @@ -0,0 +1,43 @@ +using Android.Conte...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { + public bool Perform(FeedbackAction feedback, FeedbackType type) + { + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { + public bool Perform(FeedbackAction feedback, FeedbackType type) + { + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { + public bool Perform(FeedbackAction feedback, FeedbackType type) + { + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,52 @@ +using System; +using AudioToolbox; +using Avalonia.Controls.Platform; +using UIKit; + +namespace Avalonia.iOS +{ + internal class IOSPlatformFeedback(AvaloniaView avaloniaView) : IPlatformFeedback + { + public bool Perform(FeedbackAction feedback, FeedbackType type) + { + ...
bad
review
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
diff --git a/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs new file mode 100644 index 00000000000..87544768610 --- /dev/null +++ b/src/iOS/Avalonia.iOS/IOSPlatformFeedback.cs @@ -0,0 +1,56 @@ +using System; +using AudioToolbox; +using Avalonia.Controls; +using UIKit; + +name...
good
review_fixed
csharp
AvaloniaUI/Avalonia
9a90dbea1c3f556e850359f5f6d8fb12ea8acc93
@@ -0,0 +1,145 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Avalonia.Media.Fonts.Tables +{ + /// <summary> + /// Parses the OpenType <c>meta</c> table (script and design language tags). + /// See <see href="https://learn.microsoft.com/typography/opentype/spec/meta"/>. +...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs b/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs new file mode 100644 index 00000000000..3acf713f0c9 --- /dev/null +++ b/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs @@ -0,0 +1,154 @@ +using System; +using System.Collections.Generic; +using System.T...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -0,0 +1,145 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Avalonia.Media.Fonts.Tables +{ + /// <summary> + /// Parses the OpenType <c>meta</c> table (script and design language tags). + /// See <see href="https://learn.microsoft.com/typography/opentype/spec/meta"/>. +...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs b/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs new file mode 100644 index 00000000000..3acf713f0c9 --- /dev/null +++ b/src/Avalonia.Base/Media/Fonts/Tables/MetaTable.cs @@ -0,0 +1,154 @@ +using System; +using System.Collections.Generic; +using System.T...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -0,0 +1,203 @@ +using System; +using System.Globalization; + +namespace Avalonia.Media.Fonts +{ + /// <summary> + /// Resolves a BCP-47 culture identifier to the ISO 15924 script subtag that best represents + /// the writing system the user is requesting. Used by the font fallback algorithm to refine + /...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/Fonts/Bcp47ScriptResolver.cs b/src/Avalonia.Base/Media/Fonts/Bcp47ScriptResolver.cs new file mode 100644 index 00000000000..6fcf23ab5bd --- /dev/null +++ b/src/Avalonia.Base/Media/Fonts/Bcp47ScriptResolver.cs @@ -0,0 +1,203 @@ +using System; +using System.Globalization; + +namespace...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -41,55 +48,357 @@ public virtual bool TryMatchCharacter(int codepoint, FontStyle style, FontWeight match = default; var key = new FontCollectionKey { Style = style, Weight = weight, Stretch = stretch }; + var cp = new Codepoint((uint)codepoint); + var script = cp.Scr...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs b/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs index 6e4283d76e6..649c47f7309 100644 --- a/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs +++ b/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs @@ -5,7 +5,9 @@ using System.Diagnostics.CodeA...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -41,55 +48,357 @@ public virtual bool TryMatchCharacter(int codepoint, FontStyle style, FontWeight match = default; var key = new FontCollectionKey { Style = style, Weight = weight, Stretch = stretch }; + var cp = new Codepoint((uint)codepoint); + var script = cp.Scr...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs b/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs index 6e4283d76e6..649c47f7309 100644 --- a/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs +++ b/src/Avalonia.Base/Media/Fonts/FontCollectionBase.cs @@ -5,7 +5,9 @@ using System.Diagnostics.CodeA...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -0,0 +1,140 @@ +//--------------------------------------------------------------------------------------------------- +// <auto-generated> +// This code was generated by UnicodeDataGenerator. +// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. +// </auto-generat...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/TextFormatting/Unicode/ScriptExtensions.data.cs b/src/Avalonia.Base/Media/TextFormatting/Unicode/ScriptExtensions.data.cs new file mode 100644 index 00000000000..4b28446e576 --- /dev/null +++ b/src/Avalonia.Base/Media/TextFormatting/Unicode/ScriptExtensions.data.cs @@ -0,0 +1,195 @@...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -113,5 +113,50 @@ public static EastAsianWidthClass GetEastAsianWidthClass(uint codepoint) { return (EastAsianWidthClass)EastAsianWidthTrie.Trie.Get(codepoint); } + + /// <summary> + /// Determines whether the given codepoint's Script_Extensions property (UAX #24) contain...
bad
review
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
diff --git a/src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeData.Lookups.cs b/src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeData.Lookups.cs index 9323d30ad5b..7ba153935d0 100644 --- a/src/Avalonia.Base/Media/TextFormatting/Unicode/UnicodeData.Lookups.cs +++ b/src/Avalonia.Base/Media/TextFormatting/Unicod...
good
review_fixed
csharp
AvaloniaUI/Avalonia
f9988d55f275d057786f5bff695c2f8d09b01b90
@@ -63,6 +63,7 @@ private static void Render(DrawingContext context, Visual visual, Rect bounds, M }) using (visual.Clip is { } clip ? context.PushGeometryClip(clip) : default(DrawingContext.PushedState?)) using (visual.OpacityMask is { } opctMask ? context.PushOpacityMask(opctMask, rect) : d...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Rendering/ImmediateRenderer.cs b/src/Avalonia.Base/Rendering/ImmediateRenderer.cs index f054e77db86..af53dd5bd0e 100644 --- a/src/Avalonia.Base/Rendering/ImmediateRenderer.cs +++ b/src/Avalonia.Base/Rendering/ImmediateRenderer.cs @@ -63,9 +63,11 @@ private static void Render(DrawingContex...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -80,6 +95,7 @@ internal override void DrawCore(DrawingContext context) using (OpacityMask != null ? context.PushOpacityMask(OpacityMask, bounds) : default) using (RenderOptions != null ? context.PushRenderOptions(RenderOptions.Value) : default) using (TextOptions != null ? cont...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -336,6 +352,16 @@ protected override void PushTextOptionsCore(TextOptions textOptions) drawingGroup.TextOptions = textOptions; } + /// <inheritdoc /> + protected override void PushEffectCore(IEffect effect, Rect bounds) + { + // Instanti...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -269,6 +269,13 @@ protected override void PushTextOptionsCore(TextOptions textOptions) => Push(new TextOptions = textOptions }); + /// <inheritdoc /> + protected override void PushEffectCore(IEffect effect, Rect bounds) => Push(new RenderDataEffectNode() + { + Effect = effect,
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Rendering/Composition/Drawing/RenderDataDrawingContext.cs b/src/Avalonia.Base/Rendering/Composition/Drawing/RenderDataDrawingContext.cs index ead6a3f7303..28370d71e1f 100644 --- a/src/Avalonia.Base/Rendering/Composition/Drawing/RenderDataDrawingContext.cs +++ b/src/Avalonia.Base/Rendering...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -74,12 +90,14 @@ public DrawingCollection Children internal override void DrawCore(DrawingContext context) { var bounds = GetBounds(); + var effectBounds = EffectBounds ?? bounds.Inflate(Effect?.GetEffectOutputPadding() ?? default); using (context.PushTransform(...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -0,0 +1,53 @@ +using System.Threading.Tasks; +using Avalonia.Controls; +using Avalonia.Controls.Shapes; +using Avalonia.Media; +using Avalonia.Media.Imaging; +using Avalonia.UnitTests; +using Xunit; + +namespace Avalonia.Skia.RenderTests; + +public class RenderTargetBitmapTests : TestBase +{
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/tests/Avalonia.RenderTests/Media/RenderTargetBitmapTests.cs b/tests/Avalonia.RenderTests/Media/RenderTargetBitmapTests.cs new file mode 100644 index 00000000000..d213bde3b56 --- /dev/null +++ b/tests/Avalonia.RenderTests/Media/RenderTargetBitmapTests.cs @@ -0,0 +1,55 @@ +#if AVALONIA_SKIA +using System.Thr...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -73,13 +89,24 @@ public DrawingCollection Children internal override void DrawCore(DrawingContext context) { - var bounds = GetBounds(); + // Compute effect bounds in local coordinate space (pre-transform) + // GetBounds() already includes transform, so we need to...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -73,13 +89,25 @@ public DrawingCollection Children internal override void DrawCore(DrawingContext context) { - var bounds = GetBounds(); + // Compute effect bounds in local coordinate space (pre-transform) + // GetBounds() already includes transform, so we need to...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -247,3 +248,33 @@ public override void Pop(ref RenderDataNodeRenderContext context) context.Context.PopTextOptions(); } } + +/// <summary> +/// A render data node that pushes an effect. +/// </summary> +class RenderDataEffectNode : RenderDataPushNode +{ + /// <summary> + /// Gets or sets the eff...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Rendering/Composition/Drawing/Nodes/RenderDataNodes.cs b/src/Avalonia.Base/Rendering/Composition/Drawing/Nodes/RenderDataNodes.cs index c7d10f69a13..52098411cd3 100644 --- a/src/Avalonia.Base/Rendering/Composition/Drawing/Nodes/RenderDataNodes.cs +++ b/src/Avalonia.Base/Rendering/Composit...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -97,6 +125,11 @@ public override Rect GetBounds() rect = rect.Union(drawing.GetBounds()); } + if (Effect != null) + { + rect = EffectBounds ?? rect.Inflate(Effect.GetEffectOutputPadding());
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -433,17 +436,43 @@ public PushedState PushTextOptions(TextOptions textOptions) return new PushedState(this); } + /// <summary> + /// Pushes an effect. + /// </summary> + /// <param name="effect">The effect.</param> + /// <param name="bounds">The bounds of th...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingContext.cs b/src/Avalonia.Base/Media/DrawingContext.cs index df6e7d112b4..8003fb7c324 100644 --- a/src/Avalonia.Base/Media/DrawingContext.cs +++ b/src/Avalonia.Base/Media/DrawingContext.cs @@ -285,7 +285,8 @@ public enum PushedStateType GeometryClip, ...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -73,13 +89,25 @@ public DrawingCollection Children internal override void DrawCore(DrawingContext context) { - var bounds = GetBounds(); + // Compute effect bounds in local coordinate space (pre-transform) + // GetBounds() already includes transform, so we need to...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -73,13 +89,24 @@ public DrawingCollection Children internal override void DrawCore(DrawingContext context) { - var bounds = GetBounds(); + // Compute local bounds from children for use when EffectBounds is not explicitly set. + // EffectBounds stores content bound...
bad
review
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
diff --git a/src/Avalonia.Base/Media/DrawingGroup.cs b/src/Avalonia.Base/Media/DrawingGroup.cs index 75921196c02..b2181d74fb6 100644 --- a/src/Avalonia.Base/Media/DrawingGroup.cs +++ b/src/Avalonia.Base/Media/DrawingGroup.cs @@ -21,6 +21,12 @@ public sealed class DrawingGroup : Drawing public static readonly S...
good
review_fixed
csharp
AvaloniaUI/Avalonia
b562013ed4006f863bfd9df81544dca3459e679b
@@ -85,6 +85,9 @@ - (BOOL)isAccessibilityElement - (NSAccessibilityRole)accessibilityRole { + if (_peer->IsScrollProvider()) + return NSAccessibilityScrollAreaRole;
bad
review
AvaloniaUI/Avalonia
45cc4992a86594ab3c5bdf2b8f6033e9d4602922
diff --git a/native/Avalonia.Native/src/OSX/automation.mm b/native/Avalonia.Native/src/OSX/automation.mm index 90c06e1ca4c..6fd2cb6218f 100644 --- a/native/Avalonia.Native/src/OSX/automation.mm +++ b/native/Avalonia.Native/src/OSX/automation.mm @@ -86,7 +86,7 @@ - (BOOL)isAccessibilityElement - (NSAccessibilityRole)ac...
good
review_fixed
AvaloniaUI/Avalonia
45cc4992a86594ab3c5bdf2b8f6033e9d4602922
@@ -0,0 +1,153 @@ +using System; +using System.Buffers; +using System.Collections.Generic; + +namespace Avalonia.Media.TextFormatting +{ + /// <summary> + /// Caches shaped text runs and bidi processing results to avoid redundant shaping + /// when only the paragraph width constraint changes (e.g., between Mea...
bad
review
csharp
AvaloniaUI/Avalonia
a077fec6f30d9811f77feed2414768a9f006d460
diff --git a/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs b/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs new file mode 100644 index 00000000000..8dc21fa387e --- /dev/null +++ b/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs @@ -0,0 +1,220 @@ +using System; +using System.Buffers; +using Syste...
good
review_fixed
csharp
AvaloniaUI/Avalonia
a077fec6f30d9811f77feed2414768a9f006d460
@@ -0,0 +1,153 @@ +using System; +using System.Buffers; +using System.Collections.Generic; + +namespace Avalonia.Media.TextFormatting +{ + /// <summary> + /// Caches shaped text runs and bidi processing results to avoid redundant shaping + /// when only the paragraph width constraint changes (e.g., between Mea...
bad
review
csharp
AvaloniaUI/Avalonia
a077fec6f30d9811f77feed2414768a9f006d460
diff --git a/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs b/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs new file mode 100644 index 00000000000..8dc21fa387e --- /dev/null +++ b/src/Avalonia.Base/Media/TextFormatting/TextRunCache.cs @@ -0,0 +1,220 @@ +using System; +using System.Buffers; +using Syste...
good
review_fixed
csharp
AvaloniaUI/Avalonia
a077fec6f30d9811f77feed2414768a9f006d460