author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
1,799
25.06.2020 11:10:20
21,600
87be2b3a9ee945fe52668bab0979895c98ee5686
Fix NRT annotations and change BufferTextWriter.Encoding to throw instead of return null Merges v2.4 into master
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/BufferTextWriterTests.cs", "new_path": "src/Nerdbank.Streams.Tests/BufferTextWriterTests.cs", "diff": "@@ -21,7 +21,7 @@ public class BufferTextWriterTests : TestBase\npublic BufferTextWriterTests(ITestOutputHelper logger)\n: base(lo...
C#
MIT License
aarnott/nerdbank.streams
Fix NRT annotations and change BufferTextWriter.Encoding to throw instead of return null Merges v2.4 into master
1,799
25.06.2020 11:50:07
21,600
ab09fe374facab1d7be066a3b34bb333c5aa54e6
Add .NET Core 3.1 target to the library See for a C# deficiency that prohibits overriding Stream.DisposeAsync
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"MessagePack\"]\npath = ext/MessagePack\nurl = https://github.com/AArnott/MessagePack-CSharp.git\n- branch = nerdbank.streams\n+ branch = NerdbankStreamsConsumption\nshallow = true\n" }, { "...
C#
MIT License
aarnott/nerdbank.streams
Add .NET Core 3.1 target to the library See https://github.com/dotnet/csharplang/issues/3613 for a C# deficiency that prohibits overriding Stream.DisposeAsync
1,799
25.06.2020 16:38:11
21,600
14832da885b42f16a05606555d2e60adc5b2f6e4
Fix timeouts of ConcurrentChatOverManyChannels test in CI/PR
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -346,7 +346,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nthis.mx2.TraceSource.Switch.Level = Sourc...
C#
MIT License
aarnott/nerdbank.streams
Fix timeouts of ConcurrentChatOverManyChannels test in CI/PR
1,799
25.06.2020 15:47:12
21,600
11e3b36327e1459ecdb88b7c7e78e660f6fbbeab
Use 64-bit integer for channel IDs The javascript version already had this. Since we're redefining almost everywhere that channel IDs are used as part of the v3 of the protocol, it seems a reasonable time to upgrade to 64-bit integers on the .NET side as well.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -740,7 +740,8 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nvar channel = this.mx1.CreateChannel();\n...
C#
MIT License
aarnott/nerdbank.streams
Use 64-bit integer for channel IDs The javascript version already had this. Since we're redefining almost everywhere that channel IDs are used as part of the v3 of the protocol, it seems a reasonable time to upgrade to 64-bit integers on the .NET side as well.
1,799
25.06.2020 17:58:40
21,600
4110e412cf839a350b0119f4ee5a3b42dce4c685
Remove DefaultTraceListener in tests This makes the stress test run *much* faster.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -47,6 +47,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nFunc<string, MultiplexingStream.QualifiedCh...
C#
MIT License
aarnott/nerdbank.streams
Remove DefaultTraceListener in tests This makes the stress test run *much* faster.
1,799
25.06.2020 20:42:24
21,600
ba05aa84c04a89bd0c35f6d27a922e89e52a9ae8
Add synchronous MultiplexingStream.Create method for v3
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -219,6 +219,33 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate Func<QualifiedChannelId, string, TraceSource?>? DefaultChannelTraceSourceFa...
C#
MIT License
aarnott/nerdbank.streams
Add synchronous MultiplexingStream.Create method for v3
1,799
26.06.2020 07:59:20
21,600
b82ab392d829079eda115093780e81267a7025b4
Make MultiplexingStream.Options freezable
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -1020,17 +1020,6 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n}\n}\n- [Fact]\n- public void Options_...
C#
MIT License
aarnott/nerdbank.streams
Make MultiplexingStream.Options freezable
1,799
26.06.2020 08:23:35
21,600
5579c548f846eeb131feceed05a127e86fc2a0ef
Push own pull requests to CI feed
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/publish-deployables.yml", "new_path": "azure-pipelines/publish-deployables.yml", "diff": "@@ -11,4 +11,4 @@ steps:\nnuGetFeedType: internal\npublishVstsFeed: $(ci_feed)\nallowPackageConflicts: true\n- condition: and(succeeded(), ne(variables['c...
C#
MIT License
aarnott/nerdbank.streams
Push own pull requests to CI feed
1,799
26.06.2020 16:19:06
21,600
519ec2cd249915b2d784d568845f16b2936d7619
Switch channel IDs from long to ulong
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -90,7 +90,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nvar ch = await Task.WhenAll(mx1.OfferChanne...
C#
MIT License
aarnott/nerdbank.streams
Switch channel IDs from long to ulong
1,799
08.07.2020 17:45:33
21,600
963668651423ded71502e105310b62a59b415594
Dispose of streams used as mxstream channels when channels close
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -205,6 +205,33 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n#pragma warning restore CS0618 // Type o...
C#
MIT License
aarnott/nerdbank.streams
Dispose of streams used as mxstream channels when channels close
1,799
09.07.2020 11:53:16
21,600
b358fa68d06bbebb640c3db461f1fb47b033da65
Remove unused parameter in internal method
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -574,7 +574,7 @@ namespace Nerdbank.Streams\nif (channelOptions.ExistingPipe is object)\n{\nAssumes.NotNull(this.channelIO);\n- t...
C#
MIT License
aarnott/nerdbank.streams
Remove unused parameter in internal method
1,799
13.07.2020 17:04:17
21,600
6e2ca8c963ca4a592e527e156b3ea6815e71b1d7
Add MonitoringStream.IsDisposed property
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MonitoringStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MonitoringStreamTests.cs", "diff": "@@ -427,6 +427,14 @@ public class MonitoringStreamTests : TestBase\nAssert.Equal(1, this.monitoringStream.Position);\n}\n+ [Fact]\...
C#
MIT License
aarnott/nerdbank.streams
Add MonitoringStream.IsDisposed property
1,799
13.07.2020 15:33:24
21,600
665e18ab7a56d2603ed18e15a2dcb099e59d247d
Cancel LinkToAsync when Channel shuts down This will add assurance that streams/pipes that are connected to the Channel will shutdown because their reader/writer has completed.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -208,7 +208,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n[Fact]\npublic async Task ChannelDispose_...
C#
MIT License
aarnott/nerdbank.streams
Cancel LinkToAsync when Channel shuts down This will add assurance that streams/pipes that are connected to the Channel will shutdown because their reader/writer has completed.
1,799
14.07.2020 09:40:22
21,600
6a14b44a0466e72a16ccc73daf4859212aca567d
Only cancel LinkToAsync in one direction This avoids data loss when pipes complete while others are still propagating received data.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -112,11 +112,17 @@ namespace Nerdbank.Streams\nprivate PipeWriter? mxStreamIOWriter;\n/// <summary>\n- /// The I/O to expose on t...
C#
MIT License
aarnott/nerdbank.streams
Only cancel LinkToAsync in one direction This avoids data loss when pipes complete while others are still propagating received data.
1,799
14.07.2020 09:40:34
21,600
0510b661b821b81ce0848def0683b4478fd81737
Rename test property to better fit its function
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -932,7 +932,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nawait channel1Stream.FlushAsync(this.Time...
C#
MIT License
aarnott/nerdbank.streams
Rename test property to better fit its function
1,799
21.07.2020 08:58:13
21,600
486a5871b3ffc419a05ff7566614adbce8ede164
Fix StreamPipeReader to better emulate other PipeReader implementations Add many more StreamPipeReader tests and fix up some behaviors
[ { "change_type": "ADD", "old_path": null, "new_path": "ext/MessagePack", "diff": "+Subproject commit a3e2a28e785fab6a413164e5bec278a7b83758d6\n" }, { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/StreamPipeReaderTestBase.cs", "new_path": "src/Nerdbank.Streams.Tests...
C#
MIT License
aarnott/nerdbank.streams
Fix StreamPipeReader to better emulate other PipeReader implementations Add many more StreamPipeReader tests and fix up some behaviors
1,799
21.07.2020 17:38:38
21,600
3b7366b54ea71d22227b49e3141f00dd35265a2e
Update scripts from Library.Template
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/Convert-PDB.ps1", "new_path": "azure-pipelines/Convert-PDB.ps1", "diff": "<#\n.SYNOPSIS\n- Builds all projects in this repo.\n+ Converts between Windows PDB and Portable PDB formats.\n.PARAMETER DllPath\nThe path to the DLL whose PDB is to be c...
C#
MIT License
aarnott/nerdbank.streams
Update scripts from Library.Template
1,799
21.07.2020 17:50:46
21,600
42d6ce345050b32c1a7854ae861a7eee7f90b737
Get more tests passing on mono off Windows
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/ProcessJobTracker.cs", "new_path": "src/Nerdbank.Streams.Tests/ProcessJobTracker.cs", "diff": "/* This is a derivative from multiple answers on https://stackoverflow.com/questions/3342941/kill-child-process-when-parent-process-is-kil...
C#
MIT License
aarnott/nerdbank.streams
Get more tests passing on mono off Windows
1,799
22.07.2020 07:53:38
21,600
c42aa40f70f5ebd19feae769e15887751ca02a16
Stabilize CreateChannelAsync_AcceptByAnotherId test
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -300,10 +300,12 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n[Fact]\npublic async Task CreateChannel...
C#
MIT License
aarnott/nerdbank.streams
Stabilize CreateChannelAsync_AcceptByAnotherId test
1,799
22.07.2020 08:07:19
21,600
077285f1286015511d8c198a72a1a86592bddbf5
Fix TryRead_FalseCanBeCalledRepeatedly test stability
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/StreamPipeReaderTestBase.cs", "new_path": "src/Nerdbank.Streams.Tests/StreamPipeReaderTestBase.cs", "diff": "@@ -156,7 +156,13 @@ public abstract class StreamPipeReaderTestBase : TestBase\n[Fact]\npublic void TryRead_FalseCanBeCalled...
C#
MIT License
aarnott/nerdbank.streams
Fix TryRead_FalseCanBeCalledRepeatedly test stability
1,799
24.07.2020 10:59:10
21,600
b248f408c7b7475fea0732848728f8e549fa10c9
Avoid crashing .NET Core processes while canceling async I/O Workaround for
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/PipeExtensions.cs", "new_path": "src/Nerdbank.Streams/PipeExtensions.cs", "diff": "@@ -469,7 +469,21 @@ namespace Nerdbank.Streams\n// we can return a decorated PipeReader that calls us from its Complete method directly.\nvar combinedToken...
C#
MIT License
aarnott/nerdbank.streams
Avoid crashing .NET Core processes while canceling async I/O Workaround for https://github.com/dotnet/runtime/issues/39902
1,799
26.07.2020 17:04:19
21,600
b3f5d96d3e953d3b99190d8e9d80a4e71249b9eb
Add YAML-based release pipeline
[ { "change_type": "ADD", "old_path": null, "new_path": "azure-pipelines/release.yml", "diff": "+trigger: none # We only want to trigger manually or based on resources\n+pr: none\n+\n+resources:\n+ pipelines:\n+ - pipeline: CI\n+ source: Nerdbank.Streams\n+ trigger:\n+ tags:\n+ - auto-release\n+\n+sta...
C#
MIT License
aarnott/nerdbank.streams
Add YAML-based release pipeline
1,799
04.08.2020 08:37:58
21,600
028f77cf828e371b7bbedbcc3e6a1bf9bee90a2b
Upgrade all NPM dependencies in yarn.lock
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/yarn.lock", "new_path": "src/nerdbank-streams/yarn.lock", "diff": "\"@babel/code-frame@^7.0.0\":\n- version \"7.8.3\"\n- resolved \"https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf4...
C#
MIT License
aarnott/nerdbank.streams
Upgrade all NPM dependencies in yarn.lock
1,799
04.08.2020 08:38:39
21,600
5f1a2a2b0243f047537bf5af874a445ec9530c03
Update System.Runtime.CompilerServices.Unsafe to 4.7.0 We don't go beyond that for now because this is what VS consumes.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<PackageReference Include=\"System.Buffers\" Version=\"4.5.0\" />\n<PackageReference Include=\"System.IO.Pipelines\" Version=\"4.7.0\" />\n<Pack...
C#
MIT License
aarnott/nerdbank.streams
Update System.Runtime.CompilerServices.Unsafe to 4.7.0 We don't go beyond that for now because this is what VS consumes.
1,799
04.08.2020 09:53:06
21,600
0267ac561ba48e2ff83c915a18b05c0f3e46e2a3
Resolve conflicting version requirements These package references were no longer required as direct references.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<PackageReference Include=\"Microsoft.VisualStudio.Threading\" Version=\"16.5.132\" PrivateAssets=\"build;analyzers;compile\" />\n<PackageRefere...
C#
MIT License
aarnott/nerdbank.streams
Resolve conflicting version requirements These package references were no longer required as direct references.
1,799
17.08.2020 13:22:45
21,600
f3acc42e66507b5a792aeef5723a2e6d1d5c0432
Allow downstream users to reference our ref assemblies The Substream class implements IAsyncDisposable, and as such, cannot be used from C# 8 in a `using` block unless both assemblies that define `IAsyncDisposable` are referenced.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "</PropertyGroup>\n<ItemGroup>\n- <PackageReference Include=\"Microsoft.Bcl.AsyncInterfaces\" Version=\"1.0.0\" PrivateAssets=\"compile\" />\n+ <...
C#
MIT License
aarnott/nerdbank.streams
Allow downstream users to reference our ref assemblies The Substream class implements IAsyncDisposable, and as such, cannot be used from C# 8 in a `using` block unless both assemblies that define `IAsyncDisposable` are referenced.
1,799
08.09.2020 08:57:43
21,600
f62416c5e0ba89c510607dcde20524acae99c2ba
Bump Microsoft.VisualStudio.Threading.Analyzers to 16.7.56
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<PackageReference Include=\"Microsoft.Bcl.AsyncInterfaces\" Version=\"1.1.1\" PrivateAssets=\"compile\" />\n<PackageReference Include=\"Microsof...
C#
MIT License
aarnott/nerdbank.streams
Bump Microsoft.VisualStudio.Threading.Analyzers to 16.7.56
1,799
17.09.2020 09:48:22
21,600
2155d57c0798f45ad5b71a08cb0116effcc1ee3f
Syntax touch-ups
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -244,7 +244,7 @@ export class ChannelClass extends Channel {\n}\nthis.remoteWindowFilled += transmittedBytes;\n- if (this.remoteWindowFilled == this.remoteWind...
C#
MIT License
aarnott/nerdbank.streams
Syntax touch-ups
1,799
17.09.2020 09:48:46
21,600
2255046f70f3223a2cdc550b890c21903d593d11
Add test for canceling channel offers
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/tests/MultiplexingStream.spec.ts", "new_path": "src/nerdbank-streams/src/tests/MultiplexingStream.spec.ts", "diff": "@@ -6,6 +6,8 @@ import { getBufferFrom } from \"../Utilities\";\nimport { startJsonRpc } from \"./jsonRpcStreams\";\ni...
C#
MIT License
aarnott/nerdbank.streams
Add test for canceling channel offers
1,799
17.09.2020 08:38:04
21,600
7b50716ad7e2ac82d5d5b52e9bae44161b4416cc
Avoid uncaught promise rejection when canceling a channel offer
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -8,6 +8,7 @@ import { IDisposableObservable } from \"./IDisposableObservable\";\nimport { MultiplexingStreamClass, MultiplexingStream } from \"./MultiplexingSt...
C#
MIT License
aarnott/nerdbank.streams
Avoid uncaught promise rejection when canceling a channel offer
1,799
17.09.2020 09:58:46
21,600
c273f3b7a1bec2e49d314cc270edb4947a009404
Fix js->ts maps Fixes
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/.gitignore", "new_path": "src/nerdbank-streams/.gitignore", "diff": "dist/\n-*.js\n+out/\n+asyncprocess.js\n+gulpfile.js\n*.d.ts\n*.js.map\n" }, { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/gulpfile.ts", "ne...
C#
MIT License
aarnott/nerdbank.streams
Fix js->ts maps Fixes #244
1,799
18.09.2020 18:33:39
21,600
734a48f591310be2ea7eba1362003636686d384d
Set version to '2.7-alpha'
[ { "change_type": "MODIFY", "old_path": "version.json", "new_path": "version.json", "diff": "{\n- \"$schema\": \"https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json\",\n- \"version\": \"2.6-alpha\",\n+ \"$schema\": \"https://raw.githu...
C#
MIT License
aarnott/nerdbank.streams
Set version to '2.7-alpha'
1,799
18.09.2020 18:33:39
21,600
10efc9af067684b50b84173c6b291efd7ea067e5
Set version to '2.6'
[ { "change_type": "MODIFY", "old_path": "version.json", "new_path": "version.json", "diff": "{\n- \"$schema\": \"https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json\",\n- \"version\": \"2.6-alpha\",\n+ \"$schema\": \"https://raw.githu...
C#
MIT License
aarnott/nerdbank.streams
Set version to '2.6'
1,799
21.09.2020 16:10:18
21,600
db1e573922c63dbc926df244f3e88d80291de34e
Fix BufferTextWriter.Dispose() to not throw without initialization
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/BufferTextWriterTests.cs", "new_path": "src/Nerdbank.Streams.Tests/BufferTextWriterTests.cs", "diff": "@@ -152,6 +152,14 @@ public class BufferTextWriterTests : TestBase\nAssert.Equal(DefaultEncodingNoPreamble.GetBytes(\"b\"), this.s...
C#
MIT License
aarnott/nerdbank.streams
Fix BufferTextWriter.Dispose() to not throw without initialization
1,799
02.10.2020 11:12:22
21,600
ca31516045a33812a24c07c8999458a8cd4bda50
Log frame type that was sent after termination
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -1079,7 +1079,7 @@ namespace Nerdbank.Streams\n}\nelse\n{\n- Assumes.False(this.channelsPendingTermination.Contains(qualifiedChannelId), \"Sendin...
C#
MIT License
aarnott/nerdbank.streams
Log frame type that was sent after termination
1,799
02.10.2020 11:36:23
21,600
fcee4fa74bfce56c36465ca12fb0bb3580f235e6
Avoid MultiplexingStream self-destruct when ContentProcessed follows ChannelTerminated Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamV2Tests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamV2Tests.cs", "diff": "@@ -135,4 +135,35 @@ public class MultiplexingStreamV2Tests : MultiplexingStreamTests\nawait writeTask;\n}\n+\n+ /// <summ...
C#
MIT License
aarnott/nerdbank.streams
Avoid MultiplexingStream self-destruct when ContentProcessed follows ChannelTerminated Fixes #253
1,799
02.10.2020 13:18:31
21,600
998ea94845969dab4f7233719cdb378e92cfc780
Add Stress trait to stress test
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -390,6 +390,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n[Fact]\n[Trait(\"SkipInCodeCoverage\", \"...
C#
MIT License
aarnott/nerdbank.streams
Add Stress trait to stress test
1,799
02.10.2020 17:56:24
21,600
8dada69bc3af9d544ed043b2377f9c38b781e8c6
Suppress critical events about ObjectDisposedException when we are disposed already Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -1175,6 +1175,12 @@ namespace Nerdbank.Streams\nprivate void Fault(Exception exception)\n{\n+ if (exception is ObjectDisposedException && this.Co...
C#
MIT License
aarnott/nerdbank.streams
Suppress critical events about ObjectDisposedException when we are disposed already Fixes #256
1,799
07.10.2020 17:35:36
21,600
5589e3d982996f043942a96e17809771b629305f
Remove MultiplexingStream 20KB allocation that was dead code
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -720,7 +720,6 @@ namespace Nerdbank.Streams\nprivate async Task ReadStreamAsync()\n{\n- Memory<byte> payloadBuffer = new byte[FramePayloadMaxLeng...
C#
MIT License
aarnott/nerdbank.streams
Remove MultiplexingStream 20KB allocation that was dead code
1,799
10.10.2020 09:33:35
18,000
227ee889fe070bbf1ffcf57d9842887f7bdc3570
Update and fix `SimplexStream` doc Fixes
[ { "change_type": "MODIFY", "old_path": "doc/SimplexStream.md", "new_path": "doc/SimplexStream.md", "diff": "-# Half-duplex Stream\n+# Simplex Stream\n-The `HalfDuplexStream` class is a .NET `Stream`-derived type that allows\n+The `SimplexStream` class is a .NET `Stream`-derived type that allows\none...
C#
MIT License
aarnott/nerdbank.streams
Update and fix `SimplexStream` doc Fixes #259
1,799
13.10.2020 15:59:33
18,000
9f89b93e92230d9966269bf65eb464e6d49c7cf4
Cleanup redundant and stale DefineConstants property Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<CodeAnalysisRuleSet>..\\shipping.ruleset</CodeAnalysisRuleSet>\n<AllowUnsafeBlocks>true</AllowUnsafeBlocks>\n<DefineConstants>$(DefineConstants...
C#
MIT License
aarnott/nerdbank.streams
Cleanup redundant and stale DefineConstants property Closes #264
1,799
26.10.2020 09:15:54
21,600
0aedacc7fdc249cbcb07e59d0b19f46ba8df7773
Decrease dependabot frequency to monthly
[ { "change_type": "MODIFY", "old_path": ".github/dependabot.yml", "new_path": ".github/dependabot.yml", "diff": "@@ -6,8 +6,8 @@ updates:\n- package-ecosystem: npm\ndirectory: /src/nerdbank-streams\nschedule:\n- interval: weekly\n+ interval: monthly\n- package-ecosystem: nuget\ndirectory: /src\nsched...
C#
MIT License
aarnott/nerdbank.streams
Decrease dependabot frequency to monthly
1,799
02.11.2020 11:28:29
25,200
d4fa7fdffada586fcd64589b819eff1db1867a70
Remove macOS from Azure Pipeline runs * Remove macOS from Azure Pipeline runs AzP's mac pool is too often flooded, leading to very slow build times.
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -10,6 +10,12 @@ trigger:\n- '*.md'\n- .vscode/\n+parameters:\n+- name: includeMacOS\n+ displayName: Build on macOS\n+ type: boolean\n+ default: false # macOS is often bogged down in Azure Pip...
C#
MIT License
aarnott/nerdbank.streams
Remove macOS from Azure Pipeline runs (#283) * Remove macOS from Azure Pipeline runs AzP's mac pool is too often flooded, leading to very slow build times.
1,799
03.11.2020 12:19:14
25,200
316134cc77def6c2b00f7c4a8ae9a7c94174d319
Collect test symbols and logs
[ { "change_type": "ADD", "old_path": null, "new_path": "azure-pipelines/Get-SymbolFiles.ps1", "diff": "+<#\n+.SYNOPSIS\n+ Collect the list of PDBs built in this repo, after converting them from portable to Windows PDBs.\n+.PARAMETER Path\n+ The root path to recursively search for PDBs.\n+.PARAMETER T...
C#
MIT License
aarnott/nerdbank.streams
Collect test symbols and logs
1,799
03.11.2020 13:03:24
25,200
74e4bb192a228bbe7d678ba555356f2f162cc4ec
Stop collecting in artifact
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/dotnet.yml", "new_path": "azure-pipelines/dotnet.yml", "diff": "@@ -32,8 +32,3 @@ steps:\narguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 --filter \"TestCategory!=FailsInCloudTest\" -v n /p:CollectCoverage=true --settings \"$(Bu...
C#
MIT License
aarnott/nerdbank.streams
Stop collecting in artifact
1,799
10.12.2020 08:01:57
25,200
8b43d57246df79ac36fc4a011e5e3c66ec3e7cb9
Bump System.IO.Pipelines from 4.7.2 to 5.0.1
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamChannelOptionsTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamChannelOptionsTests.cs", "diff": "@@ -77,6 +77,7 @@ public class MultiplexingStreamChannelOptionsTests : TestBase\n{\nvar options = ...
C#
MIT License
aarnott/nerdbank.streams
Bump System.IO.Pipelines from 4.7.2 to 5.0.1
1,799
10.12.2020 08:16:18
25,200
b5b5de154608c500bf8bb10f9578800d582e2149
Update several package dependencies
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Interop.Tests/Nerdbank.Streams.Interop.Tests.csproj", "new_path": "src/Nerdbank.Streams.Interop.Tests/Nerdbank.Streams.Interop.Tests.csproj", "diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"Microsoft.VisualStudio.Threadin...
C#
MIT License
aarnott/nerdbank.streams
Update several package dependencies
1,799
30.03.2021 13:02:28
21,600
2b142fa6a38b15e4b06ecc53bf073aa49fd1de34
Add `ROS<byte>.AsStream` overload that takes a disposing callback
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/ReadOnlySequenceStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/ReadOnlySequenceStreamTests.cs", "diff": "@@ -130,6 +130,22 @@ public class ReadOnlySequenceStreamTests : TestBase\nAssert.True(((IDisposableObservable)this.def...
C#
MIT License
aarnott/nerdbank.streams
Add `ROS<byte>.AsStream` overload that takes a disposing callback
1,799
30.03.2021 13:05:10
21,600
b79bc37221cd5e3d032430665ef4bed89788e5b7
Update SDK to 5.0.201 and target net5.0 for benchmarks
[ { "change_type": "MODIFY", "old_path": "global.json", "new_path": "global.json", "diff": "{\n\"sdk\": {\n- \"version\": \"3.1.301\",\n+ \"version\": \"5.0.201\",\n\"rollForward\": \"patch\",\n\"allowPrerelease\": false\n}\n" }, { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams...
C#
MIT License
aarnott/nerdbank.streams
Update SDK to 5.0.201 and target net5.0 for benchmarks
1,799
30.03.2021 14:14:50
21,600
b851fce44cf8df6d9b8152fb56503402f9c0a161
PipeReaderStream.Dispose should only invoke callback once
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/ReadOnlySequenceStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/ReadOnlySequenceStreamTests.cs", "diff": "@@ -144,6 +144,11 @@ public class ReadOnlySequenceStreamTests : TestBase\nexpectedArg);\nstream.Dispose();\nAssert.Tru...
C#
MIT License
aarnott/nerdbank.streams
PipeReaderStream.Dispose should only invoke callback once
1,799
30.03.2021 14:15:49
21,600
55441642fcaf03fe2260751892596f247a02059a
Add `PipeReader.AsPrebufferedStreamAsync` extension method
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs", "new_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs", "diff": "@@ -287,6 +287,30 @@ public partial class PipeExtensionsTests : TestBase\nAssert.NotSame(pipes.Item1.Output, pipeAgain.Output);\n}\n+ ...
C#
MIT License
aarnott/nerdbank.streams
Add `PipeReader.AsPrebufferedStreamAsync` extension method
1,799
30.03.2021 14:59:00
21,600
a6f3d79ca68dc7f85ab7d3599c0f7b3ef2b99e15
Fix release github connection
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/release.yml", "new_path": "azure-pipelines/release.yml", "diff": "@@ -28,7 +28,7 @@ stages:\n- task: GitHubRelease@1\ndisplayName: GitHub release (create)\ninputs:\n- gitHubConnection: GitHub AArnott\n+ gitHubConnection: github.com_AArnott_OAut...
C#
MIT License
aarnott/nerdbank.streams
Fix release github connection
1,799
30.03.2021 16:03:56
21,600
aefc6819697f908a2f70d7b5911f92f5ffdca79b
Add arg validation and fixup nullable annotation
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/PipeExtensions.cs", "new_path": "src/Nerdbank.Streams/PipeExtensions.cs", "diff": "@@ -62,6 +62,8 @@ namespace Nerdbank.Streams\n/// </remarks>\npublic static async Task<Stream> AsPrebufferedStreamAsync(this PipeReader pipeReader, Cancella...
C#
MIT License
aarnott/nerdbank.streams
Add arg validation and fixup nullable annotation
1,799
20.04.2021 15:15:00
21,600
97b64ddd09d1d74b7df5cd5a2a785a8faf7c567c
Do not dispose of and write to PipeWriter concurrently Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -611,7 +611,15 @@ namespace Nerdbank.Streams\nthis.TraceSource.TraceEvent(TraceEventType.Information, (int)TraceEventId.StreamDisposed, \"Disposi...
C#
MIT License
aarnott/nerdbank.streams
Do not dispose of and write to PipeWriter concurrently Fixes #255
1,799
20.04.2021 15:57:17
21,600
24aa9d802ed585ed68806eb888a50f4920977ff8
Honor writer cancellation/completion in LinkToAsync Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/PipeExtensions.cs", "new_path": "src/Nerdbank.Streams/PipeExtensions.cs", "diff": "@@ -380,20 +380,25 @@ namespace Nerdbank.Streams\n/// Forwards all bytes coming from a <see cref=\"PipeReader\"/> to the specified <see cref=\"PipeWriter\"/...
C#
MIT License
aarnott/nerdbank.streams
Honor writer cancellation/completion in LinkToAsync Fixes #251
1,799
21.04.2021 09:11:38
21,600
56ec0941ef92d8bd7adf751fef48e963759d2d4f
Avoid 1st chance exceptions in one-way mxstream channels The added test for one-way mx channel already passed, but when run in the debugger the test reveals the 2 first chance exceptions that were thrown before the fix is applied. Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -388,6 +388,23 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nawait this.TransmitAndVerifyAsync(b, a, ...
C#
MIT License
aarnott/nerdbank.streams
Avoid 1st chance exceptions in one-way mxstream channels The added test for one-way mx channel already passed, but when run in the debugger the test reveals the 2 first chance exceptions that were thrown before the fix is applied. Closes #252
1,799
21.04.2021 13:59:53
21,600
65ce62795eb8c20027bb647d68e490a85fbd4965
Block transmission of frames regarding terminated channels Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -1087,6 +1087,12 @@ namespace Nerdbank.Streams\n}\nelse\n{\n+ if (!this.openChannels.ContainsKey(qualifiedChannelId))\n+ {\n+ // Drop frames rega...
C#
MIT License
aarnott/nerdbank.streams
Block transmission of frames regarding terminated channels Fixes #209
1,799
29.04.2021 08:11:07
21,600
68a02c794ae446c847eb5d122b2d1c4d28f9e899
Add vs-validation as compiler reference for downstream users Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<PackageReference Include=\"Microsoft.CodeAnalysis.PublicApiAnalyzers\" Version=\"3.3.2\" PrivateAssets=\"all\" />\n<PackageReference Include=\"...
C#
MIT License
aarnott/nerdbank.streams
Add vs-validation as compiler reference for downstream users Fixes #336
1,799
01.05.2021 17:11:37
21,600
7fc4f2fee2ba63af1857b416e57956b4955ff325
Enable NestedStream.Position.set
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/NestedStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/NestedStreamTests.cs", "diff": "@@ -50,6 +50,17 @@ public class NestedStreamTests : TestBase\nAssert.Throws<ObjectDisposedException>(() => this.stream.CanSeek);\n}\n+ [Fa...
C#
MIT License
aarnott/nerdbank.streams
Enable NestedStream.Position.set
1,799
22.05.2021 22:56:11
21,600
eb2a696cbbb8a7ff9458b7729e3f83100a0d767b
Add `MultiplexingStream.Options.StartSuspended` property This allows `MultiplexingStream.ChannelOffered` handlers to be added before listening has started, thereby mitigating a race condition with incoming channel offers immediately after the connection is created. Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamOptionsTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamOptionsTests.cs", "diff": "@@ -95,6 +95,7 @@ public class MultiplexingStreamOptionsTests\nDefaultChannelTraceSourceFactoryWithQualifier = (...
C#
MIT License
aarnott/nerdbank.streams
Add `MultiplexingStream.Options.StartSuspended` property This allows `MultiplexingStream.ChannelOffered` handlers to be added before listening has started, thereby mitigating a race condition with incoming channel offers immediately after the connection is created. Closes #345
1,799
09.09.2021 12:46:08
21,600
3ca966d6527aaa754e93cdf4c29d3769790fe405
Avoid disposing (and logging) `MultiplexingStream` more than once Also only mark `Completion` as done at the end of disposal. This should help ensure that all logging to the `TraceSource` has completed before the `Completion` task is complete.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -649,8 +649,14 @@ namespace Nerdbank.Streams\n/// <returns>A task that indicates when disposal is complete.</returns>\npublic async ValueTask Dis...
C#
MIT License
aarnott/nerdbank.streams
Avoid disposing (and logging) `MultiplexingStream` more than once Also only mark `Completion` as done at the end of disposal. This should help ensure that all logging to the `TraceSource` has completed before the `Completion` task is complete.
1,799
09.09.2021 13:13:13
21,600
683ad3aafec4cf431e551fb2e49afa4730ab6e4a
Fix disposal exceptions now caught by tests after the last change
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Formatters.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Formatters.cs", "diff": "@@ -5,10 +5,8 @@ namespace Nerdbank.Streams\n{\nusing System;\nusing System.Buffers;\n- using System.Collections.Generic;\nusi...
C#
MIT License
aarnott/nerdbank.streams
Fix disposal exceptions now caught by tests after the last change
1,799
09.09.2021 19:58:35
21,600
ec24025ce44724bee1059eca3c0473d3830d5fc7
Enable testing on mono
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/dotnet.yml", "new_path": "azure-pipelines/dotnet.yml", "diff": "@@ -12,7 +12,7 @@ steps:\ncommand: test\narguments: --no-build -c $(BuildConfiguration) -f net472 --filter \"TestCategory!=FailsInCloudTest\" -v n /p:CollectCoverage=true --setting...
C#
MIT License
aarnott/nerdbank.streams
Enable testing on mono
1,799
14.09.2021 11:36:31
21,600
f8386230fbf3ef2ae78961f929ebf1cb70247e4b
Log test ID and simpler timestamp on test log messages
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamSeededChannelTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamSeededChannelTests.cs", "diff": "@@ -42,14 +42,14 @@ public class MultiplexingStreamSeededChannelTests : TestBase, IAsyncLifetime\nva...
C#
MIT License
aarnott/nerdbank.streams
Log test ID and simpler timestamp on test log messages
1,799
14.09.2021 14:12:02
21,600
3ff91d76bdf92f5fa2b1e077605d7252b05990b9
Break `MultiplexingStream` out of the read loop when disposal starts
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -788,7 +788,7 @@ namespace Nerdbank.Streams\n{\ntry\n{\n- while (!this.Completion.IsCompleted)\n+ while (!this.DisposalToken.IsCancellationReques...
C#
MIT License
aarnott/nerdbank.streams
Break `MultiplexingStream` out of the read loop when disposal starts
1,799
14.09.2021 14:16:56
21,600
093bfa953bf8fa7d98c9ac6b1711771080f77477
Protect thread-safety in the `V1Formatter` for reading vs. disposal
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Formatters.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Formatters.cs", "diff": "@@ -143,27 +143,34 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate static readonly byte[] ProtocolMagicNumber = new byt...
C#
MIT License
aarnott/nerdbank.streams
Protect thread-safety in the `V1Formatter` for reading vs. disposal
1,799
15.09.2021 08:34:28
21,600
2fed7917362f1a611454cca18fee240bd7bb9a0f
Capture test hang dumps on linux and mac
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/Darwin.runsettings", "new_path": "azure-pipelines/Darwin.runsettings", "diff": "-<RunSettings />\n+<RunSettings>\n+ <DataCollectionRunSettings>\n+ <DataCollectors>\n+ <DataCollector friendlyName=\"blame\" enabled=\"True\">\n+ <Configuration>\n+...
C#
MIT License
aarnott/nerdbank.streams
Capture test hang dumps on linux and mac
1,799
15.09.2021 11:00:01
21,600
d0984712023947edef78ba87fa6c26465467904d
Don't fault for `ObjectDisposedException` when we're disposing This should address test instability that showed up in Azure Pipelines.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -1258,7 +1258,7 @@ namespace Nerdbank.Streams\nprivate void Fault(Exception exception)\n{\n- if (exception is ObjectDisposedException && this.Com...
C#
MIT License
aarnott/nerdbank.streams
Don't fault for `ObjectDisposedException` when we're disposing This should address test instability that showed up in Azure Pipelines.
1,799
02.11.2021 08:23:20
21,600
9b437acec9fa8f88669d34690983a648fa0bcde5
Do not propagate a CancellationToken from a method arg to a long-lived state machine This fixes which is a hang that occurs when the `CancellationToken` passed to `MultiplexingStream.CreateAsync` is cancelled after `CreateAsync` has completed.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -307,6 +307,25 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nawait Assert.ThrowsAnyAsync<OperationCan...
C#
MIT License
aarnott/nerdbank.streams
Do not propagate a CancellationToken from a method arg to a long-lived state machine This fixes #414, which is a hang that occurs when the `CancellationToken` passed to `MultiplexingStream.CreateAsync` is cancelled after `CreateAsync` has completed.
1,799
02.11.2021 08:39:36
21,600
75f685126b4afc287a4c782a0b6e5d073b8aa96c
Switch to ubuntu 18.04 on AzP AzP doesn't offer 16.04 any more.
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/build.yml", "new_path": "azure-pipelines/build.yml", "diff": "@@ -20,7 +20,7 @@ jobs:\n- job: Linux\npool:\n- vmImage: Ubuntu 16.04\n+ vmImage: Ubuntu 18.04\nsteps:\n- checkout: self\nclean: true\n@@ -49,7 +49,7 @@ jobs:\n- Linux\n- macOS\npool...
C#
MIT License
aarnott/nerdbank.streams
Switch to ubuntu 18.04 on AzP AzP doesn't offer 16.04 any more.
1,799
18.11.2021 08:33:34
25,200
5c6649f7f08e0d46576970eec3ddf311ce65c6c3
Don't leak promises, nor throw on mxstream shutdown
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -244,7 +244,7 @@ export class ChannelClass extends Channel {\n}\n}\n- public dispose() {\n+ public async dispose() {\nif (!this.isDisposed) {\nsuper.dispose();...
C#
MIT License
aarnott/nerdbank.streams
Don't leak promises, nor throw on mxstream shutdown
1,799
18.11.2021 08:59:36
25,200
254a59a78e51b0fe7fb225bd51e966583ab6f2d0
Rewrite `writeAsync` in terms of `Promise<void>`
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Utilities.ts", "new_path": "src/nerdbank-streams/src/Utilities.ts", "diff": "@@ -4,15 +4,15 @@ import { Deferred } from \"./Deferred\";\nimport { IDisposableObservable } from \"./IDisposableObservable\";\nexport async function writeAsy...
C#
MIT License
aarnott/nerdbank.streams
Rewrite `writeAsync` in terms of `Promise<void>`
1,799
18.11.2021 13:35:06
25,200
4f231d268941b48c1164098e0f8e770c813d1850
Update vscode-jsonrpc to 6.0.0 in testing
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/package.json", "new_path": "src/nerdbank-streams/package.json", "diff": "\"promise\": \"^8.1.0\",\n\"tslint\": \"^6.1.3\",\n\"typescript\": \"^4.3.5\",\n- \"vscode-jsonrpc\": \"^5.0.1\"\n+ \"vscode-jsonrpc\": \"^6.0.0\"\n},\n\"dependencies...
C#
MIT License
aarnott/nerdbank.streams
Update vscode-jsonrpc to 6.0.0 in testing
1,799
14.12.2021 10:45:49
25,200
eddbf261f2776425140f9370887b4cb09d3a25a3
Update System.IO.Pipelines to 6.0.1 This includes the fix for
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/FullDuplexStream.cs", "new_path": "src/Nerdbank.Streams/FullDuplexStream.cs", "diff": "@@ -119,9 +119,27 @@ namespace Nerdbank.Streams\npublic override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToke...
C#
MIT License
aarnott/nerdbank.streams
Update System.IO.Pipelines to 6.0.1 This includes the fix for https://github.com/dotnet/runtime/issues/58909
1,799
11.01.2022 08:40:00
25,200
2d1f4bd243c131f77e12864a296ecd666e94ffca
Add NOTICE file giving credit to dotnet/runtime
[ { "change_type": "MODIFY", "old_path": "Directory.Build.props", "new_path": "Directory.Build.props", "diff": "</PropertyGroup>\n</Target>\n+ <ItemGroup>\n+ <None Include=\"$(MSBuildThisFileDirectory)NOTICE\" Pack=\"true\" PackagePath=\"\" Visible=\"false\" />\n+ </ItemGroup>\n+\n<PropertyGroup Condi...
C#
MIT License
aarnott/nerdbank.streams
Add NOTICE file giving credit to dotnet/runtime
1,799
11.01.2022 08:43:04
25,200
609516050953aac6d660cb8cf01ba58f846bdad4
Promote PublicAPI.Unshipped.txt to shipped
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/netcoreapp2.1/PublicAPI.Shipped.txt", "new_path": "src/Nerdbank.Streams/netcoreapp2.1/PublicAPI.Shipped.txt", "diff": "@@ -280,3 +280,9 @@ override Nerdbank.Streams.MultiplexingStream.QualifiedChannelId.Equals(object? o\noverride Nerdbank....
C#
MIT License
aarnott/nerdbank.streams
Promote PublicAPI.Unshipped.txt to shipped
1,799
20.01.2022 16:09:07
25,200
049aebfba345feccd1f20c88f0d7f17f1973eacf
Remove `SequenceReader<T>` members that are not in netstandard2.1 Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/SequenceReader.Search.cs", "new_path": "src/Nerdbank.Streams/SequenceReader.Search.cs", "diff": "@@ -413,42 +413,6 @@ Continue:\nreturn false;\n}\n- /// <summary>\n- /// Try to read everything up to the given <paramref name=\"delimiter\"/>...
C#
MIT License
aarnott/nerdbank.streams
Remove `SequenceReader<T>` members that are not in netstandard2.1 Fixes #437
1,799
24.01.2022 16:13:14
25,200
131860bc81f5ac80163391d15a9d7d2b3e51fb8c
Remove unnecessary reference to System.Net.WebSockets
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<PackageReference Include=\"Microsoft.VisualStudio.Threading.Analyzers\" Version=\"16.10.56\" PrivateAssets=\"all\" />\n<PackageReference Includ...
C#
MIT License
aarnott/nerdbank.streams
Remove unnecessary reference to System.Net.WebSockets
1,799
16.02.2022 21:10:34
25,200
1fbe8823914858f5d9524ca55c53094576dc17ab
Expose StreamPipeReader with sync Read method Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/SpanPolyfillExtensions.cs", "new_path": "src/Nerdbank.Streams/SpanPolyfillExtensions.cs", "diff": "@@ -59,6 +59,32 @@ namespace Nerdbank.Streams\n}\n}\n+ /// <summary>\n+ /// Reads from the stream into a memory buffer.\n+ /// </summary>\n+...
C#
MIT License
aarnott/nerdbank.streams
Expose StreamPipeReader with sync Read method Closes #436
1,799
22.03.2022 16:42:28
21,600
b7f823f9dbfc9cc1631defb4f9dc5598e337260e
Define `IBufferWriter<T>.Write(ReadOnlySequence<T>)` extension method
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/netstandard2.0/PublicAPI.Unshipped.txt", "new_path": "src/Nerdbank.Streams/netstandard2.0/PublicAPI.Unshipped.txt", "diff": "+Nerdbank.Streams.BufferWriterExtensions\nNerdbank.Streams.StreamPipeReader\nNerdbank.Streams.StreamPipeReader.Rea...
C#
MIT License
aarnott/nerdbank.streams
Define `IBufferWriter<T>.Write(ReadOnlySequence<T>)` extension method
1,799
22.03.2022 16:56:54
21,600
ec208997090d880bd72e473db680f7577d744dd3
Add `ReadOnlySequence<T>.Clone()` extension method
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/ReadOnlySequenceExtensions.cs", "new_path": "src/Nerdbank.Streams/ReadOnlySequenceExtensions.cs", "diff": "@@ -5,8 +5,28 @@ namespace Nerdbank.Streams;\nusing System.Buffers;\n-internal static class ReadOnlySequenceExtensions\n+/// <summar...
C#
MIT License
aarnott/nerdbank.streams
Add `ReadOnlySequence<T>.Clone()` extension method
1,799
31.05.2022 13:59:02
21,600
458b30b7ac65374349c3c6d7eb159b863301a30c
Add MultiplexingStream.Create to NPM package
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "new_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "diff": "@@ -75,7 +75,7 @@ export abstract class MultiplexingStream implements IDisposableObservable {\n}\noptions = options || {};\n- options.protoc...
C#
MIT License
aarnott/nerdbank.streams
Add MultiplexingStream.Create to NPM package
1,799
07.06.2022 15:44:43
21,600
a41243a24b54b5a53badcac4869658f3c7a313cd
Consolidate vs-threading package version in a property This should allow Dependabot to send package upgrade PRs that succeed since they won't leave analyzers behind, producing a downgrade warning.
[ { "change_type": "MODIFY", "old_path": "Directory.Build.props", "new_path": "Directory.Build.props", "diff": "<EmbedUntrackedSources>true</EmbedUntrackedSources>\n<IncludeSymbols Condition=\" '$(DebugType)' != 'embedded' \">true</IncludeSymbols>\n<SymbolPackageFormat>snupkg</SymbolPackageFormat>\n+\...
C#
MIT License
aarnott/nerdbank.streams
Consolidate vs-threading package version in a property This should allow Dependabot to send package upgrade PRs that succeed since they won't leave analyzers behind, producing a downgrade warning.
1,799
07.06.2022 17:07:32
21,600
224863032da005e543cde8d2b1b473a9fc83b926
Move vs-threading package version in Packages.props This in hopes that Dependabot will recognize the format and update it.
[ { "change_type": "MODIFY", "old_path": "Directory.Build.props", "new_path": "Directory.Build.props", "diff": "<EmbedUntrackedSources>true</EmbedUntrackedSources>\n<IncludeSymbols Condition=\" '$(DebugType)' != 'embedded' \">true</IncludeSymbols>\n<SymbolPackageFormat>snupkg</SymbolPackageFormat>\n-\...
C#
MIT License
aarnott/nerdbank.streams
Move vs-threading package version in Packages.props This in hopes that Dependabot will recognize the format and update it.
1,799
20.06.2022 08:25:31
21,600
b81479390b595d82f5de2a9d9155ba75b84b4133
Remove launchSettings.json file
[ { "change_type": "DELETE", "old_path": "test/IsolatedTestHost/Properties/launchSettings.json", "new_path": null, "diff": "-{\n- \"profiles\": {\n- \"IsolatedTestHost\": {\n- \"commandName\": \"Executable\",\n- \"commandLineArgs\": \"\\\"D:\\\\git\\\\Microsoft.VisualStudio.MultiplexingStream\\\\bin\\...
C#
MIT License
aarnott/nerdbank.streams
Remove launchSettings.json file
1,799
20.06.2022 13:21:22
21,600
57bfcb0326eab6b119487a44da4480d767598fa4
Only call mxStreamIOReader.Complete from the owner of that object `PipeReader.Complete` is *not* thread-safe, so it should only be called by the method containing the read loop.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -96,6 +96,14 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate bool isDisposed;\n+ /// <summary>\n+ /// The original excepti...
C#
MIT License
aarnott/nerdbank.streams
Only call mxStreamIOReader.Complete from the owner of that object `PipeReader.Complete` is *not* thread-safe, so it should only be called by the method containing the read loop.
1,799
20.06.2022 16:09:42
21,600
3f29dbf1e8c24d83b9262f32ff21f14203198a22
Protect `mxStreamIOWriter` against thread-safety issues on disposal
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -64,6 +64,11 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate readonly QualifiedChannelId channelId;\n+ /// <summary>\n+ //...
C#
MIT License
aarnott/nerdbank.streams
Protect `mxStreamIOWriter` against thread-safety issues on disposal
1,799
20.06.2022 16:37:01
21,600
5948752d81e7699a5fea3313d4a9bd4397f512f0
Target .NET 6 in tests instead of .NET 5
[ { "change_type": "MODIFY", "old_path": "Directory.Build.props", "new_path": "Directory.Build.props", "diff": "<AnalysisLevel>latest</AnalysisLevel>\n<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>\n<GenerateDocumentationFile>true</GenerateDocumentationFile>\n- <DefineConstants Condition=\" '...
C#
MIT License
aarnott/nerdbank.streams
Target .NET 6 in tests instead of .NET 5
1,799
01.07.2022 16:41:16
21,600
a4df98794813189202a9894edc447c50207d7fae
Add trace messages to MultiplexingStream
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -771,9 +771,9 @@ namespace Nerdbank.Streams\nif (isCompleted)\n{\n- if (this.TraceSource.Switch.ShouldTrace(TraceEventType.Verbos...
C#
MIT License
aarnott/nerdbank.streams
Add trace messages to MultiplexingStream
1,799
01.07.2022 17:03:41
21,600
80f4d6555c3a4482154552f26617a1328226d590
Add test to verify that faulting a `Channel.Input` will not cause other channels to fail This demonstrates
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs", "diff": "@@ -1151,6 +1151,32 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nMultiplexingStream.CreateAsync(pair.It...
C#
MIT License
aarnott/nerdbank.streams
Add test to verify that faulting a `Channel.Input` will not cause other channels to fail This demonstrates #498.
1,799
01.07.2022 17:18:29
21,600
6da2056c6159d42dd0e72b24ea754ab3eb814f27
Isolate channel incoming data handling failures to just the channel Previous to this change, a fault would fault the whole `MultiplexingStream`. Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -398,7 +398,19 @@ namespace Nerdbank.Streams\n}\n}\n- internal async ValueTask OnContentAsync(FrameHeader header, ReadOnlySequenc...
C#
MIT License
aarnott/nerdbank.streams
Isolate channel incoming data handling failures to just the channel Previous to this change, a fault would fault the whole `MultiplexingStream`. Fixes #498
1,799
01.07.2022 17:47:18
21,600
c3ee8d00c1043950a942b7b11ee574b30ccadc3a
Suppress the netcoreapp2.1 targeting warning Just for 2.8 for servicing.
[ { "change_type": "MODIFY", "old_path": "src/Directory.Build.props", "new_path": "src/Directory.Build.props", "diff": "<Nullable>enable</Nullable>\n<GenerateDocumentationFile>true</GenerateDocumentationFile>\n<DefineConstants Condition=\" '$(TargetFramework)' == 'netcoreapp2.1' or '$(TargetFramework)...
C#
MIT License
aarnott/nerdbank.streams
Suppress the netcoreapp2.1 targeting warning Just for 2.8 for servicing.
1,799
01.07.2022 19:13:56
21,600
14ad3ec0ed7ad014af7e4adaed2c125ac15d9ef3
Fix NPM package collection
[ { "change_type": "MODIFY", "old_path": "azure-pipelines/build.yml", "new_path": "azure-pipelines/build.yml", "diff": "@@ -19,6 +19,7 @@ jobs:\n- template: dotnet.yml\n- template: node.yml\n+ - template: collect-artifacts.yml\n- job: Linux\npool:\n@@ -30,6 +31,7 @@ jobs:\n- template: install-dependen...
C#
MIT License
aarnott/nerdbank.streams
Fix NPM package collection
1,808
28.07.2022 10:28:24
-7,200
55d295f6ae26c6074e44a666c25f9c0ee22ec6a4
Support concurrent BeginRead and BeginWrite in CombinedStream
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/FullDuplexStream.cs", "new_path": "src/Nerdbank.Streams/FullDuplexStream.cs", "diff": "@@ -143,6 +143,16 @@ namespace Nerdbank.Streams\npublic override void WriteByte(byte value) => this.writableStream.WriteByte(value);\n+ public override ...
C#
MIT License
aarnott/nerdbank.streams
Support concurrent BeginRead and BeginWrite in CombinedStream
1,808
28.07.2022 11:01:25
-7,200
18efda7fcfa60aa0284f3a8f26d6ccc17d18161b
Use Task.Factory.FromAsync to provide AsyncCallback
[ { "change_type": "MODIFY", "old_path": "test/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "new_path": "test/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "diff": "@@ -95,14 +95,35 @@ public class FullDuplexStreamPairTests : TestBase\npublic async Task Read_ConcurrentWrite()\n{\nbyte...
C#
MIT License
aarnott/nerdbank.streams
Use Task.Factory.FromAsync to provide AsyncCallback
1,799
23.08.2022 08:03:43
21,600
45b311160ecce97de65c5c6f9c8aecf402716890
Finish the documentation in README
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -44,4 +44,4 @@ Specialized .NET Stream classes\nread directly from any `ReadOnlySequence<byte>`, making it more reusable than `StreamReader`\nand thus allows for alloc-free reading across many sequences.\n1. [`D...
C#
MIT License
aarnott/nerdbank.streams
Finish the documentation in README
1,799
05.09.2022 08:05:01
21,600
29a0e9cd9adc6b61321cfa2f6e1c37d412542cf7
Fix whitespace that produces build warning
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MockMemoryPool`1.cs", "new_path": "src/Nerdbank.Streams.Tests/MockMemoryPool`1.cs", "diff": "@@ -12,6 +12,7 @@ internal class MockMemoryPool<T> : MemoryPool<T>\npublic override int MaxBufferSize => throw new NotImplementedException()...
C#
MIT License
aarnott/nerdbank.streams
Fix whitespace that produces build warning
1,799
28.09.2022 10:17:43
21,600
df19c898075d977fe258ae5b70c1a5b71124d5d9
Observe acceptance rejection so it doesn't crash the process
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -203,6 +203,9 @@ export class ChannelClass extends Channel {\n// or even expect it to be recognized by anyone else.\n// The acceptance promise rejection is obs...
C#
MIT License
aarnott/nerdbank.streams
Observe acceptance rejection so it doesn't crash the process
1,799
01.10.2022 10:29:30
21,600
c6955dcf57ded171f7cd3a97f4655fb3991953fc
Address new analyzer warnings
[ { "change_type": "MODIFY", "old_path": "ext/.editorconfig", "new_path": "ext/.editorconfig", "diff": "[*.{cs,csx,vb,vbx,h,cpp,idl}]\ndotnet_analyzer_diagnostic.severity = none\n+\n+[*.cs]\n+dotnet_diagnostic.DOC104.severity = silent\n" }, { "change_type": "MODIFY", "old_path": "src/Nerdb...
C#
MIT License
aarnott/nerdbank.streams
Address new analyzer warnings
1,799
15.10.2022 20:12:26
21,600
21ab2bdab585febcd4e3982df9762fab2d943d5b
Start signing with the Nerdbank authenticode cert
[ { "change_type": "ADD", "old_path": null, "new_path": "azure-pipelines/SignClient.json", "diff": "+{\n+ \"SignClient\": {\n+ \"AzureAd\": {\n+ \"AADInstance\": \"https://login.microsoftonline.com/\",\n+ \"ClientId\": \"c248d68a-ba6f-4aa9-8a68-71fe872063f8\",\n+ \"TenantId\": \"16076fdc-fcc1-4a15-b1c...
C#
MIT License
aarnott/nerdbank.streams
Start signing with the Nerdbank authenticode cert