Skip to content

Commit dcec42b

Browse files
authored
Merge branch 'master' into optimization/messenger-shared-pool
2 parents 554e771 + 1b08bd6 commit dcec42b

File tree

267 files changed

+3187
-7889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+3187
-7889
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,5 +323,5 @@ dotnet_diagnostic.SA1634.severity = none
323323
dotnet_diagnostic.SA1652.severity = none
324324

325325
dotnet_diagnostic.SA1629.severity = none # DocumentationTextMustEndWithAPeriod: Let's enable this rule back when we shift to WinUI3 (v8.x). If we do it now, it would mean more than 400 file changes.
326-
dotnet_diagnostic.SA1413.severity = none # UseTrailingCommasInMultiLineInitializers: This would also mean a lot of changes at the end of all multiline intializers. It's also debatable if we want this or not.
326+
dotnet_diagnostic.SA1413.severity = none # UseTrailingCommasInMultiLineInitializers: This would also mean a lot of changes at the end of all multiline initializers. It's also debatable if we want this or not.
327327
dotnet_diagnostic.SA1314.severity = none # TypeParameterNamesMustBeginWithT: We do have a few templates that don't start with T. We need to double check that changing this is not a breaking change. If not, we can re-enable this.

GazeInputTest/MainPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</ToggleButton>
4444
<ProgressBar Grid.Row="1" x:Name="ProgressShow" Maximum="100" />
4545
</Grid>
46-
<TextBlock Grid.Row="2" Grid.Column="0" x:Name="DeviceAvailable" Text="Device availablility not yet detected"/>
46+
<TextBlock Grid.Row="2" Grid.Column="0" x:Name="DeviceAvailable" Text="Device availability not yet detected"/>
4747
<Grid Grid.Row="2" Grid.Column="1">
4848
<Grid.ColumnDefinitions>
4949
<ColumnDefinition/>

Microsoft.Toolkit.HighPerformance/Buffers/MemoryBufferWriter{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
namespace Microsoft.Toolkit.HighPerformance.Buffers
1212
{
1313
/// <summary>
14-
/// Represents an utput sink into which <typeparamref name="T"/> data can be written, backed by a <see cref="Memory{T}"/> instance.
14+
/// Represents an output sink into which <typeparamref name="T"/> data can be written, backed by a <see cref="Memory{T}"/> instance.
1515
/// </summary>
1616
/// <typeparam name="T">The type of items to write to the current instance.</typeparam>
1717
/// <remarks>

Microsoft.Toolkit.HighPerformance/Extensions/ReadOnlySpanExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static ref readonly T DangerousGetLookupReferenceAt<T>(this ReadOnlySpan<
9999
// The result is then negated, producing the value 0xFFFFFFFF
100100
// for valid indices, or 0 otherwise. The generated mask
101101
// is then combined with the original index. This leaves
102-
// the index intact if it was valid, otherwise zeroes it.
102+
// the index intact if it was valid, otherwise zeros it.
103103
// The computed offset is finally used to access the
104104
// lookup table, and it is guaranteed to never go out of
105105
// bounds unless the input span was just empty, which for a

Microsoft.Toolkit.HighPerformance/Helpers/BitHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static bool HasFlag(uint value, int n)
5454
/// decrement the input parameter <paramref name="x"/> to ensure that the range of accepted
5555
/// values fits within the available 32 bits of the lookup table in use.
5656
/// For more info on this optimization technique, see <see href="https://egorbo.com/llvm-range-checks.html"/>.
57-
/// Here is how the code from the lik above would be implemented using this method:
57+
/// Here is how the code from the link above would be implemented using this method:
5858
/// <code>
5959
/// bool IsReservedCharacter(char c)
6060
/// {

Microsoft.Toolkit.HighPerformance/Helpers/Internals/SpanHelper.Hash.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public static unsafe int GetDjb2LikeByteHash(ref byte r0, IntPtr length)
105105
// and the final loop to combine the partial hash values.
106106
// Note that even when we use the vectorized path we don't need to do
107107
// any preprocessing to try to get memory aligned, as that would cause
108-
// the hashcodes to potentially be different for the same data.
108+
// the hash codes to potentially be different for the same data.
109109
if (Vector.IsHardwareAccelerated &&
110110
(byte*)length >= (byte*)(Vector<byte>.Count << 3))
111111
{

Microsoft.Toolkit.HighPerformance/NullableRef{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public bool HasValue
5959
get
6060
{
6161
// We know that the span will always have a length of either
62-
// 1 or 0, se instead of using a cmp instruction and setting the
62+
// 1 or 0, so instead of using a cmp instruction and setting the
6363
// zero flag to produce our boolean value, we can just cast
6464
// the length to byte without overflow checks (doing a cast will
6565
// also account for the byte endianness of the current system),

Microsoft.Toolkit.Parsers/Markdown/Blocks/CodeBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public CodeBlock()
2727
public string Text { get; set; }
2828

2929
/// <summary>
30-
/// Gets or sets the Language specified in prefix, e.g. ```c# (Github Style Parsing).<para/>
30+
/// Gets or sets the Language specified in prefix, e.g. ```c# (GitHub Style Parsing).<para/>
3131
/// This does not guarantee that the Code Block has a language, or no language, some valid code might not have been prefixed, and this will still return null. <para/>
3232
/// To ensure all Code is Highlighted (If desired), you might have to determine the language from the provided string, such as looking for key words.
3333
/// </summary>

Microsoft.Toolkit.Parsers/Microsoft.Toolkit.Parsers.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88

99
Markdown: Allows you to parse a Markdown String into a Markdown Document, and then Render it with a Markdown Renderer.
1010

11-
RSS: Allows you to parse an RSS content String into an RSS Schema.
12-
1311
</Description>
14-
<PackageTags>UWP Toolkit Windows Parsers Parsing Markdown RSS</PackageTags>
12+
<PackageTags>UWP Toolkit Windows Parsers Parsing Markdown</PackageTags>
1513
</PropertyGroup>
1614

1715
<ItemGroup>

Microsoft.Toolkit.Parsers/Rss/AtomParser.cs

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)