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 |
|---|---|---|---|---|---|---|---|---|---|
20,821 | 10.01.2021 05:24:36 | -3,600 | e2d9ebefb06221db48d8110679e3258204b93d98 | Fix TypeError in EventDriver | [
{
"change_type": "MODIFY",
"old_path": "lib/Loop/EventDriver.php",
"new_path": "lib/Loop/EventDriver.php",
"diff": "@@ -144,9 +144,9 @@ final class EventDriver extends DriverFoundation\n// Manually free the loop handle to fully release loop resources.\n// See https://github.com/amphp/amp/issues/177.... | PHP | MIT License | amphp/amp | Fix TypeError in EventDriver (#339) |
20,830 | 07.11.2021 17:49:33 | -28,800 | ac89b9e2ee04228e064e424056a08590b0cdc7b3 | Add default value of null to complete() | [
{
"change_type": "MODIFY",
"old_path": "lib/Deferred.php",
"new_path": "lib/Deferred.php",
"diff": "@@ -24,7 +24,7 @@ final class Deferred\n*\n* @param T $result Result of the operation.\n*/\n- public function complete(mixed $result): void\n+ public function complete(mixed $result = null): void\n{\n... | PHP | MIT License | amphp/amp | Add default value of null to complete() (#368)
Co-authored-by: Niklas Keller <me@kelunik.com> |
20,847 | 25.06.2022 20:14:14 | -7,200 | 9579bc7ab58b3b378b32131dccfb36a0346e3e3a | Fix `weakClosure()` not preserving original scope | [
{
"change_type": "MODIFY",
"old_path": "src/functions.php",
"new_path": "src/functions.php",
"diff": "@@ -136,19 +136,27 @@ function weakClosure(\\Closure $closure): \\Closure\nreturn $closure;\n}\n+ // For internal classes use \\Closure::bindTo() without scope.\n+ $scope = $reflection->getClosureSc... | PHP | MIT License | amphp/amp | Fix `weakClosure()` not preserving original scope (#393) |
20,847 | 01.08.2022 05:10:10 | -7,200 | d333e869193878ddad1b7676a07b44c53c29d09a | Allow GC of arguments during `async()` closure execution | [
{
"change_type": "MODIFY",
"old_path": "src/functions.php",
"new_path": "src/functions.php",
"diff": "@@ -31,7 +31,8 @@ function async(\\Closure $closure, mixed ...$args): Future\n$state = $closure = $args = null;\ntry {\n- $s->complete($c(...$a));\n+ // Clear $a to allow garbage collection\n+ $s->c... | PHP | MIT License | amphp/amp | Allow GC of arguments during `async()` closure execution (#395) |
20,819 | 09.01.2023 01:41:31 | -10,800 | 637227bfc217d63fc4d33aceda28024810e8b051 | Fix await example | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -205,7 +205,7 @@ $uris = [\ntry {\n$responses = Future\\await(array_map(function ($uri) use ($httpClient) {\n- return $httpClient->request(new Request($uri, 'HEAD'));\n+ return Amp\\async(fn () => $httpClient->r... | PHP | MIT License | amphp/amp | Fix await example (#411) |
1,799 | 24.01.2017 17:23:32 | 28,800 | 7926b8be340af5dcafb0a7eeade5c30462b72646 | Modernize build authoring a bit | [
{
"change_type": "DELETE",
"old_path": "EnlistmentInfo.props",
"new_path": null,
"diff": "-<?xml version=\"1.0\" encoding=\"utf-8\"?>\n-<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\" ToolsVersion=\"4.0\">\n- <PropertyGroup>\n- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBui... | C# | MIT License | aarnott/nerdbank.streams | Modernize build authoring a bit |
1,799 | 24.01.2017 17:23:32 | 28,800 | 5ab542e7f942d105ebec1d3280c59d9409588b8a | Add support for netstandard1.0 | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream.NuGet/Nerdbank.FullDuplexStream.NuGet.nuproj",
"new_path": "src/Nerdbank.FullDuplexStream.NuGet/Nerdbank.FullDuplexStream.NuGet.nuproj",
"diff": "<!--<TargetFramework>dotnet</TargetFramework>-->\n<TargetPath>lib\\dotnet\\%(FileNam... | C# | MIT License | aarnott/nerdbank.streams | Add support for netstandard1.0 |
1,799 | 01.09.2017 03:44:43 | 25,200 | ba69d4c1f667d86b68c78ddc9c8126af1d73ae36 | Throw ObjectDisposedException after disposal
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream.Tests/FullDuplexStreamTests.cs",
"new_path": "src/Nerdbank.FullDuplexStream.Tests/FullDuplexStreamTests.cs",
"diff": "@@ -203,4 +203,34 @@ public class FullDuplexStreamTests : IDisposable\nAssert.Equal(Data3Bytes.Length, bytesRead... | C# | MIT License | aarnott/nerdbank.streams | Throw ObjectDisposedException after disposal
Fixes #1 |
1,799 | 01.09.2017 03:51:36 | 25,200 | e40df9c124caae6ecb4b24fd014b48eb9e381ca8 | Hide Validation dependency from compiler downstream
This way, folks don't get a Requires public class just because they want FullDuplexStream. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"new_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"Validation\" Version=\"2.3.7\" />\n+ <PackageRefere... | C# | MIT License | aarnott/nerdbank.streams | Hide Validation dependency from compiler downstream
This way, folks don't get a Requires public class just because they want FullDuplexStream. |
1,799 | 23.06.2018 12:40:07 | 25,200 | 33cc8cef69ab373c82d8a617c2b52a235f3d9f7a | Get tests running in Test Explorer again | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream.Tests/Nerdbank.FullDuplexStream.Tests.csproj",
"new_path": "src/Nerdbank.FullDuplexStream.Tests/Nerdbank.FullDuplexStream.Tests.csproj",
"diff": "<AdditionalFiles Include=\"..\\Nerdbank.FullDuplexStream\\stylecop.json\" Link=\"sty... | C# | MIT License | aarnott/nerdbank.streams | Get tests running in Test Explorer again |
1,799 | 23.06.2018 12:40:18 | 25,200 | 0e183282fad505f2b2fccbddfea0fc573e43c43f | Throw ObjectDisposedException more consistently | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream.Tests/FullDuplexStreamTests.cs",
"new_path": "src/Nerdbank.FullDuplexStream.Tests/FullDuplexStreamTests.cs",
"diff": "@@ -203,4 +203,116 @@ public class FullDuplexStreamTests : IDisposable\nAssert.Equal(Data3Bytes.Length, bytesRea... | C# | MIT License | aarnott/nerdbank.streams | Throw ObjectDisposedException more consistently |
1,799 | 23.06.2018 12:59:07 | 25,200 | 20dfc5fb83768afe2ac8ca516b6a0a1c8fc5cd41 | Use latest MSBuild.Sdk.Extras | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/global.json",
"diff": "+{\n+ \"msbuild-sdks\": {\n+ \"MSBuild.Sdk.Extras\": \"1.5.4\"\n+ }\n+}\n"
}
] | C# | MIT License | aarnott/nerdbank.streams | Use latest MSBuild.Sdk.Extras |
1,799 | 23.06.2018 12:59:15 | 25,200 | 73eadc8dc65031a816ab16c1e23ea855d8e3d1a1 | Build and restore in one step on Appveyor | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -11,10 +11,8 @@ image: Visual Studio 2017\nconfiguration: Release\nenvironment:\nVisualStudioVersion: 15.0\n-before_build:\n-- ps: msbuild src /nologo /m /v:quiet /t:restore\nbuild_script:\n-- ps: msbuil... | C# | MIT License | aarnott/nerdbank.streams | Build and restore in one step on Appveyor |
1,799 | 06.07.2018 19:40:56 | 25,200 | 50ac6b09d60f702fdf59dd0a2724d88edab558dd | Retrofit package and projects for multiple stream classes | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -15,12 +15,12 @@ build_script:\n- ps: msbuild src /nologo /m /v:minimal /fl /flp:verbosity=detailed /restore /t:build,pack\ntest_script:\n- cmd: >-\n- SET testdir=bin\\Nerdbank.FullDuplexStream.Tests\\%c... | C# | MIT License | aarnott/nerdbank.streams | Retrofit package and projects for multiple stream classes |
1,799 | 08.07.2018 12:04:05 | 25,200 | 046bf38db51584c1a57a1f356f5eb430bbcd5a1e | Add WebSocketStream | [
{
"change_type": "MODIFY",
"old_path": "src/Directory.Build.props",
"new_path": "src/Directory.Build.props",
"diff": "<ItemGroup>\n<PackageReference Include=\"Nerdbank.GitVersioning\" Version=\"1.6.35\" PrivateAssets=\"all\" />\n- <PackageReference Include=\"StyleCop.Analyzers\" Version=\"1.0.2\" Pr... | C# | MIT License | aarnott/nerdbank.streams | Add WebSocketStream |
1,799 | 08.07.2018 17:48:54 | 25,200 | 669d41b4d8d3b7f1fea373b12a7c0a5cedf41011 | Add release notes referring folks to Nerdbank.Streams | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"new_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"diff": "<RepositoryUrl>https://github.com/AArnott/Nerdbank.FullDuplexStream</RepositoryUrl>\n<RepositoryType>git</Re... | C# | MIT License | aarnott/nerdbank.streams | Add release notes referring folks to Nerdbank.Streams |
1,799 | 08.07.2018 17:58:35 | 25,200 | 8b8f0bc7a266f1575d53d8ad0cd85b27f377144d | Fix reference to LICENSE.txt file | [
{
"change_type": "MODIFY",
"old_path": "src/stylecop.json",
"new_path": "src/stylecop.json",
"diff": "\"copyrightText\": \"Copyright (c) {companyName}. All rights reserved.\\nLicensed under the {licenseName} license. See {licenseFile} file in the project root for full license information.\",\n\"vari... | C# | MIT License | aarnott/nerdbank.streams | Fix reference to LICENSE.txt file |
1,799 | 08.07.2018 19:02:56 | 25,200 | 3080bfd6e6555fef3479e8d720f858af11af827e | Ship from fullduplexstream | [
{
"change_type": "MODIFY",
"old_path": "src/version.json",
"new_path": "src/version.json",
"diff": "\"$schema\": \"https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json\",\n\"version\": \"1.1\",\n\"publicReleaseRefSpec\": [\n- \"^refs/... | C# | MIT License | aarnott/nerdbank.streams | Ship from fullduplexstream |
1,799 | 08.07.2018 19:29:16 | 25,200 | 44ff38a972c09e16df7cff36c1c0fd856fec216c | Fix projectUrl attribute in nuget spec | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"new_path": "src/Nerdbank.FullDuplexStream/Nerdbank.FullDuplexStream.csproj",
"diff": "<Description>Full duplex Stream for in-proc communication between two components.</Description>\n<Company>An... | C# | MIT License | aarnott/nerdbank.streams | Fix projectUrl attribute in nuget spec |
1,799 | 09.07.2018 20:25:21 | 25,200 | 02d10f0ee7f03d1225673397afc4b6c7aec1ad26 | Add ByteQueueStream
Toward | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"new_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"diff": "<ItemGroup>\n<PackageReference Include=\"Microsoft.VisualStudio.Threading\" Version=\"15.7.23\" />\n<PackageReference In... | C# | MIT License | aarnott/nerdbank.streams | Add ByteQueueStream
Toward #6 |
1,799 | 10.07.2018 14:17:47 | 25,200 | 1b5de6511b246100245a40fcf7e79b54a119a3ba | Disable unstable test and leverage ReadAsync helper method in test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/TestBase.cs",
"new_path": "src/Nerdbank.Streams.Tests/TestBase.cs",
"diff": "@@ -36,6 +36,12 @@ public abstract class TestBase\nRequires.NotNull(buffer, nameof(buffer));\ncount = count ?? buffer.Length;\n+\n+ if (count == 0)\n+ {\n+ ... | C# | MIT License | aarnott/nerdbank.streams | Disable unstable test and leverage ReadAsync helper method in test |
1,799 | 10.07.2018 14:33:13 | 25,200 | 8167967ce1436f4229f05bd095da8411bd09051c | Replace ByteQueueStream with HalfDuplexStream
The new class is implemented in terms of System.IO.Pipelines | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamTests.cs",
"diff": "@@ -121,7 +121,11 @@ public class FullDuplexStreamTests : IDisposable\nbyte[] buffer = new byte[5];\nvar readTask = this.stream2.R... | C# | MIT License | aarnott/nerdbank.streams | Replace ByteQueueStream with HalfDuplexStream
The new class is implemented in terms of System.IO.Pipelines |
1,799 | 10.07.2018 15:00:18 | 25,200 | d98d82220be1f6e2b3da408c0fd326f1580756c3 | Run tests on more platforms on appveyor | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -36,7 +36,7 @@ test_script:\ncodecov -f \"%testdir%code_coverage.xml\"\n- dotnet test src\\Nerdbank.Streams.Tests --no-build -f netcoreapp2.0\n+ dotnet test src\\Nerdbank.Streams.Tests --no-build\nartifa... | C# | MIT License | aarnott/nerdbank.streams | Run tests on more platforms on appveyor |
1,799 | 12.07.2018 07:51:15 | 25,200 | 3adb82fe961d542220c3340b9245a0e244aac507 | Switch from FullDuplexStream to Pipe for internal buffering
This significantly reduces allocations in SendLargePayloadOnManyChannels test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.ChannelStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.ChannelStream.cs",
"diff": "@@ -5,6 +5,7 @@ namespace Nerdbank.Streams\n{\nusing System;\nusing System.IO;\n+ using System.IO.Pipelines;\nusing Syst... | C# | MIT License | aarnott/nerdbank.streams | Switch from FullDuplexStream to Pipe for internal buffering
This significantly reduces allocations in SendLargePayloadOnManyChannels test |
1,799 | 12.07.2018 07:53:40 | 25,200 | 2cd61eb3047983e2212686c871ab90856bfff403 | Update to vs-threading 15.8.122 | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"new_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"diff": "<DebugType>Full</DebugType>\n</PropertyGroup>\n<ItemGroup>\n- <PackageReference Include=\"Microsoft.VisualStudio.Threadi... | C# | MIT License | aarnott/nerdbank.streams | Update to vs-threading 15.8.122 |
1,799 | 12.07.2018 11:49:01 | 25,200 | f14186e1806e2cd80e236c5f77881286a4fdc825 | Add PipeStream, which wraps a pipe reader and/or writer | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -21,6 +21,8 @@ The streams in this package focus on communication (not persistence).\nefficient binary transfers.\n4. [`WebSocketStream`](doc/WebSocketStream.md) wraps a `WebSocket` to conform to a `Stream`\nAPI... | C# | MIT License | aarnott/nerdbank.streams | Add PipeStream, which wraps a pipe reader and/or writer |
1,799 | 13.07.2018 08:25:40 | 25,200 | 4ec323b37daa5f441c68d9d9d66f5d3dd68e5f75 | Fix test bug when channelCount != 1 | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -147,6 +147,7 @@ public class MultiplexingStreamPerfTests : TestBase, IAsyncLifetime\n{\nbyte[] clientBuffer = clie... | C# | MIT License | aarnott/nerdbank.streams | Fix test bug when channelCount != 1 |
1,799 | 13.07.2018 09:40:12 | 25,200 | 4f29ae45b97abb1e85b9dad651608677a0e4d84d | Tie the isolated test host process lifetime to running tests | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"diff": "@@ -12,7 +12,7 @@ using Nerdbank.Streams;\nusing Xunit;\nusing Xunit.Abstractions;\n-public class HalfDuplexStreamTests : TestBase... | C# | MIT License | aarnott/nerdbank.streams | Tie the isolated test host process lifetime to running tests |
1,799 | 13.07.2018 11:30:09 | 25,200 | d47e802e9773e566b5e1ef02b3ea771c94a634e4 | Fix ProcessJobTracker.Dispose | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/ProcessJobTracker.cs",
"new_path": "src/Nerdbank.Streams.Tests/ProcessJobTracker.cs",
"diff": "@@ -98,15 +98,7 @@ internal class ProcessJobTracker : IDisposable\n/// </summary>\npublic void Dispose()\n{\n- if (this.jobHandle != null)... | C# | MIT License | aarnott/nerdbank.streams | Fix ProcessJobTracker.Dispose |
1,799 | 13.07.2018 15:51:15 | 25,200 | cbe2b9709d459680a1ddfe53a0431f38b582c844 | Fix hang in test when channelCount > 2 | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -9,6 +9,7 @@ using System.IO.Pipes;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\n+using ... | C# | MIT License | aarnott/nerdbank.streams | Fix hang in test when channelCount > 2 |
1,799 | 13.07.2018 16:27:38 | 25,200 | 951f5eb63321ed0f6f3a4b29cfa5536c271e904c | Move channelCount in test to class constant | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -20,6 +20,7 @@ public class MultiplexingStreamPerfTests : TestBase, IAsyncLifetime\n{\nprivate const int SegmentSiz... | C# | MIT License | aarnott/nerdbank.streams | Move channelCount in test to class constant |
1,799 | 13.07.2018 17:13:08 | 25,200 | 447d63494a010d5ef6c6739b4583c1f2cad7d4d2 | Multiplexing doc update | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -14,7 +14,7 @@ The streams in this package focus on communication (not persistence).\n2. [`FullDuplexStream`](doc/FullDuplexStream.md) provides *two* `Stream` objects, which you\nassign out to each of two partie... | C# | MIT License | aarnott/nerdbank.streams | Multiplexing doc update |
1,799 | 13.07.2018 17:17:00 | 25,200 | 059aef0c3007b1805bf580b11f42bda6dde47c06 | Document disposal of channels. | [
{
"change_type": "MODIFY",
"old_path": "doc/MultiplexingStream.md",
"new_path": "doc/MultiplexingStream.md",
"diff": "@@ -18,19 +18,32 @@ You can now create individual channels that are each streams of their own. One p\nand the other party must accept it. This can happen in either order, but both si... | C# | MIT License | aarnott/nerdbank.streams | Document disposal of channels. |
1,799 | 13.07.2018 22:57:05 | 25,200 | 2e57f0c48c49873efde7c48cd3c11b8c0ff60e86 | Fix code coverage collection and reporting | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -12,6 +12,7 @@ image: Visual Studio 2017\nconfiguration: Release\nenvironment:\nVisualStudioVersion: 15.0\n+ codecov_token: b8be69b5-6dc3-40f8-a4c7-4e13a42654a3\nbuild_script:\n- dotnet build src\n- dotn... | C# | MIT License | aarnott/nerdbank.streams | Fix code coverage collection and reporting |
1,799 | 13.07.2018 23:40:58 | 25,200 | 7ea798d85a430c087c813c7fa6459dd01ff49121 | Improve code coverage of tests | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"diff": "@@ -27,6 +27,13 @@ public class HalfDuplexStreamTests : TestBase\n{\n}\n+ [Fact]\n+ public void DefaultCtor()\n+ {\n+ var stream =... | C# | MIT License | aarnott/nerdbank.streams | Improve code coverage of tests |
1,799 | 14.07.2018 11:55:05 | 25,200 | 6f9139ecaade8dc998b3355bd2b42438345c6a63 | Add the Stream.ReadSlice(int) extension method | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -25,6 +25,8 @@ The streams in this package focus on communication (not persistence).\nAPI for interop with many APIs that accept streams.\n5. [`PipeStream`](doc/PipeStream.md) wraps a `System.IO.Pipelines.PipeRe... | C# | MIT License | aarnott/nerdbank.streams | Add the Stream.ReadSlice(int) extension method |
1,799 | 14.07.2018 21:12:33 | 25,200 | d359b28ceb7120218ff2660d3625d1bd875be57d | Fix typo and remove installation instructions | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -26,10 +26,4 @@ The streams in this package focus on communication (not persistence).\n5. [`PipeStream`](doc/PipeStream.md) wraps a `System.IO.Pipelines.PipeReader` and/or\n`System.IO.Pipelines.PipeWriter` withi... | C# | MIT License | aarnott/nerdbank.streams | Fix typo and remove installation instructions |
1,799 | 14.07.2018 21:13:06 | 25,200 | efa65e9fd432347ecd43762c128204c905c5f009 | Don't build doc changes on appveyor | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -6,6 +6,12 @@ branches:\n- /^v\\d+(?:\\.\\d+)?$/\n- /[\\b_]validate\\b/\nskip_tags: true\n+skip_commits:\n+ files:\n+ - doc/*\n+ - .github/*\n+ - '**/*.md'\n+ - .vsts-ci.yml\nnuget:\ndisable_publish_on_p... | C# | MIT License | aarnott/nerdbank.streams | Don't build doc changes on appveyor |
1,799 | 17.07.2018 20:44:24 | 25,200 | f23d35e68afe8d0475361edd0497f084d14af9ac | Add UsePipeReader and UsePipeWriter extension methods on Stream | [
{
"change_type": "MODIFY",
"old_path": "src/Directory.Build.props",
"new_path": "src/Directory.Build.props",
"diff": "<Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\\obj\\$(MSBuildProjectName)\\</BaseIntermedia... | C# | MIT License | aarnott/nerdbank.streams | Add UsePipeReader and UsePipeWriter extension methods on Stream |
1,799 | 17.07.2018 23:03:24 | 25,200 | bb3833c71290a4e1b1ef3270044c3f0bceca24cb | Advertise Stream.UsePipe* extension methods in README | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -25,5 +25,7 @@ The streams in this package focus on communication (not persistence).\nAPI for interop with many APIs that accept streams.\n5. [`PipeStream`](doc/PipeStream.md) wraps a `System.IO.Pipelines.PipeRe... | C# | MIT License | aarnott/nerdbank.streams | Advertise Stream.UsePipe* extension methods in README |
1,799 | 17.07.2018 23:06:38 | 25,200 | 2f8c5ca5df2cb6ad9d8f13f6ffb5a26daeed954a | Document new stream as pipe APIs | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/StreamAsPipe.md",
"diff": "+# Access streams using Pipelines APIs\n+\n+The `Stream.UsePipeReader()` and `Stream.UsePipeWriter()` extension methods on a `Stream` facilitates\n+reading and writing to a stream using modern and efficient new pip... | C# | MIT License | aarnott/nerdbank.streams | Document new stream as pipe APIs |
1,799 | 18.07.2018 16:07:29 | 25,200 | add3972aeea31c75c7b60ae69bbd617d7a470451 | Give PipeStream an IDuplexPipe ctor | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/PipeStream.cs",
"new_path": "src/Nerdbank.Streams/PipeStream.cs",
"diff": "@@ -28,6 +28,24 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate readonly PipeReader reader;\n+ /// <summary>\n+ /// Initializes a new instance of the <see cr... | C# | MIT License | aarnott/nerdbank.streams | Give PipeStream an IDuplexPipe ctor |
1,799 | 18.07.2018 16:38:58 | 25,200 | 6dc5fc8b523d392e8440101e798320dffbdb70c8 | Hide PipeStream in favor of AsStream extension methods | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -23,7 +23,8 @@ The streams in this package focus on communication (not persistence).\nefficient binary transfers.\n4. [`WebSocketStream`](doc/WebSocketStream.md) wraps a `WebSocket` to conform to a `Stream`\nAPI... | C# | MIT License | aarnott/nerdbank.streams | Hide PipeStream in favor of AsStream extension methods |
1,799 | 20.07.2018 13:04:55 | 25,200 | e8691d2c50c49e20ed787dfab0821566e7a918e4 | Fix last test
This brings about a memory allocation regression. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/PipeStream.cs",
"new_path": "src/Nerdbank.Streams/PipeStream.cs",
"diff": "namespace Nerdbank.Streams\n{\nusing System;\n- using System.Collections.Generic;\n+ using System.Buffers;\nusing System.IO;\nusing System.IO.Pipelines;\n- using Sy... | C# | MIT License | aarnott/nerdbank.streams | Fix last test
This brings about a memory allocation regression. |
1,799 | 20.07.2018 16:54:57 | 25,200 | 481c7ebc2f4c98d6d23e3bda580db507906b277a | Avoid allocations from TraceEvent when not tracing | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"diff": "@@ -215,7 +215,10 @@ namespace Nerdbank.Streams\nprivate async Task AutoCloseOnPipesClosureAsync()\n{\n#if TRACESOURCE\n+ if (this.T... | C# | MIT License | aarnott/nerdbank.streams | Avoid allocations from TraceEvent when not tracing |
1,799 | 20.07.2018 17:08:01 | 25,200 | 36573b8d16d7c3170c36ee1e700527c386dba7af | Add FlushAsync to help regulate perf tests
The GC pressure appears less after this change, because the sender doesn't allocate tons of memory when it outpaces the receiver. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -76,6 +76,7 @@ public class MultiplexingStreamPerfTests : TestBase, IAsyncLifetime\nfor (int i = 0; i < segmentCoun... | C# | MIT License | aarnott/nerdbank.streams | Add FlushAsync to help regulate perf tests
The GC pressure appears less after this change, because the sender doesn't allocate tons of memory when it outpaces the receiver. |
1,799 | 20.07.2018 20:21:08 | 25,200 | 5413d920638caaec80a0e1039b30401c33dc4142 | Remove unnecessary CopyTo method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"diff": "@@ -514,7 +514,7 @@ namespace Nerdbank.Streams\n}\nelse\n{\n- sequence.CopyTo(backupBuffer);\n+ sequence.CopyTo(backupBuffer.Span);\nreturn backupBu... | C# | MIT License | aarnott/nerdbank.streams | Remove unnecessary CopyTo method |
1,799 | 20.07.2018 20:23:19 | 25,200 | 37a611098eb43f12bf01758d21cc84911c84655b | Remove Stream facade from GC pressure test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\nusing Syste... | C# | MIT License | aarnott/nerdbank.streams | Remove Stream facade from GC pressure test |
1,799 | 20.07.2018 23:15:34 | 25,200 | 25d2606388f8b065902cdd11f2339f9de4ccc793 | Add ephemeral channel support and test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"diff": "@@ -233,7 +233,7 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n{\nawait s.WriteAsync(send, 0, send.Lengt... | C# | MIT License | aarnott/nerdbank.streams | Add ephemeral channel support and test |
1,799 | 21.07.2018 21:42:31 | 25,200 | 261e7f0e7592702bf46ea1587cf3b5808c224dd4 | Implement the rest of the NotImplemented behavior | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"diff": "@@ -420,6 +420,58 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\n}));\n}\n+ [Fact]\n+ public async Task E... | C# | MIT License | aarnott/nerdbank.streams | Implement the rest of the NotImplemented behavior |
1,799 | 22.07.2018 06:56:29 | 25,200 | 9af6d915bfd5f296721c1e078eeca82cbae1b344 | Drop .netstandard1.3 support
It wasn't adding any platforms of significance over .netstandard1.6, and we weren't testing the .netstandard1.3 build either.
It far simplifies the use of TraceSource too. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"diff": "@@ -47,9 +47,7 @@ namespace Nerdbank.Streams\nthis.Id = id;\nthis.Name = name;\nthis.OfferedByThem = offeredByRemote;\n-#if TRACESOU... | C# | MIT License | aarnott/nerdbank.streams | Drop .netstandard1.3 support
It wasn't adding any platforms of significance over .netstandard1.6, and we weren't testing the .netstandard1.3 build either.
It far simplifies the use of TraceSource too. |
1,799 | 22.07.2018 07:33:57 | 25,200 | c26c4099d44aac96abd767f535bfbcb471334d50 | Make MultiplexingStreamOptions a nested type | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"diff": "@@ -36,8 +36,8 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nmx2TraceSource.Listeners.Add(new XunitTrace... | C# | MIT License | aarnott/nerdbank.streams | Make MultiplexingStreamOptions a nested type |
1,799 | 22.07.2018 09:01:32 | 25,200 | a6af5fc97aaa258389db399acec619ab16b1766c | Stabilize a sporatically failing test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"diff": "@@ -417,12 +417,22 @@ namespace Nerdbank.Streams\nTaskCompletionSource<Channel> pendingAcceptChannel = null;\nlock (this.syncObject)\n{\n- if (this.... | C# | MIT License | aarnott/nerdbank.streams | Stabilize a sporatically failing test |
1,799 | 22.07.2018 08:32:48 | 25,200 | 6cfd29d2616ef77fa4eaeafad75d97f4aff0dcf3 | Treat warnings as errors on AppVeyor | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -18,6 +18,7 @@ image: Visual Studio 2017\nconfiguration: Release\nenvironment:\nVisualStudioVersion: 15.0\n+ TreatWarningsAsErrors: true\ncodecov_token: b8be69b5-6dc3-40f8-a4c7-4e13a42654a3\nbuild_script... | C# | MIT License | aarnott/nerdbank.streams | Treat warnings as errors on AppVeyor |
1,799 | 22.07.2018 08:32:31 | 25,200 | 6f21d9fa598e8f3955fb0d64895668749aab37a2 | Implement ChannelOffered event | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"diff": "@@ -472,6 +472,68 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nAssert.Throws<InvalidOperationException>... | C# | MIT License | aarnott/nerdbank.streams | Implement ChannelOffered event |
1,799 | 22.07.2018 21:15:24 | 25,200 | 13153ccd7f522d5c799f78687b358976bb803fb2 | All channels require non-null names | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"diff": "@@ -42,6 +42,7 @@ namespace Nerdbank.Streams\n{\nRequires.NotNull(multiplexingStream, nameof(multiplexingStream));\nRequires.NotNull... | C# | MIT License | aarnott/nerdbank.streams | All channels require non-null names |
1,799 | 23.07.2018 01:50:58 | 25,200 | c33a1406643d737911e00244f6f3798d24e5f55d | Add logging to better diagnose hung test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/WebSocketStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/WebSocketStreamTests.cs",
"diff": "@@ -253,6 +253,7 @@ public class WebSocketStreamTests : TestBase\nint bytesJustRead = await this.stream.ReadAsync(recvBuffer, bytesR... | C# | MIT License | aarnott/nerdbank.streams | Add logging to better diagnose hung test |
1,799 | 23.07.2018 02:26:47 | 25,200 | 004071d887d7f3c551c6af2d7eb0f7842cb1750c | Override Memory<T> overloads of our Streams
On .NET Core 2.1 only, where those overloads exist. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/NestedStream.cs",
"new_path": "src/Nerdbank.Streams/NestedStream.cs",
"diff": "@@ -88,6 +88,17 @@ namespace Nerdbank.Streams\nreturn bytesRead;\n}\n+#if SPAN_BUILTIN\n+ /// <inheritdoc />\n+ public override async ValueTask<int> ReadAsync(M... | C# | MIT License | aarnott/nerdbank.streams | Override Memory<T> overloads of our Streams
On .NET Core 2.1 only, where those overloads exist. |
1,799 | 23.07.2018 03:17:13 | 25,200 | 2883ccdd74f6b4e62bdd824ebc089e78d06b676b | Multiplexing stream doc update | [
{
"change_type": "MODIFY",
"old_path": "doc/MultiplexingStream.md",
"new_path": "doc/MultiplexingStream.md",
"diff": "@@ -5,15 +5,17 @@ represent many \"channels\" of communication. Each channel may carry a different p\n(or simply carry binary data) and is efficiently carried over the stream with no... | C# | MIT License | aarnott/nerdbank.streams | Multiplexing stream doc update |
1,799 | 23.07.2018 18:05:23 | 21,600 | 0c04811dfaf13fc5de1e97f11f422563aafc7dba | Fix NRE thrown from PipeStream | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs",
"diff": "@@ -146,12 +146,48 @@ public class PipeStreamTests : TestBase\nawait this.WriteAsync(new byte[5], 5, 0, useAsync);\n}\n- [Theory]\n- [Pairwise... | C# | MIT License | aarnott/nerdbank.streams | Fix NRE thrown from PipeStream |
1,799 | 23.07.2018 18:05:57 | 21,600 | af291cc050e9a9b2176be58899eed42010e33bb4 | Define SPAN_BUILTIN for test project too | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Directory.Build.targets",
"diff": "+<Project>\n+ <PropertyGroup>\n+ <Configuration Condition=\" '$(Configuration)' == '' \">Debug</Configuration>\n+ <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\\obj\\$(MSBuildProjectName)\\</Bas... | C# | MIT License | aarnott/nerdbank.streams | Define SPAN_BUILTIN for test project too |
1,799 | 23.07.2018 18:23:26 | 21,600 | 2098c0e5dba472211b208e99b8a6fb9828e09661 | PipeStream now "completes" the pipe reader
When the writer indicates writing is complete and the stream has reached the end of that data, we now "Complete()" the reader as well to indicate that reading is done for other purposes. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs",
"diff": "@@ -82,6 +82,21 @@ public class PipeStreamTests : TestBase\nawait completion.Task.WithCancellation(this.TimeoutToken);\n}\n+ [Fact]\n+ public ... | C# | MIT License | aarnott/nerdbank.streams | PipeStream now "completes" the pipe reader
When the writer indicates writing is complete and the stream has reached the end of that data, we now "Complete()" the reader as well to indicate that reading is done for other purposes. |
1,799 | 24.07.2018 09:01:41 | 21,600 | 62698e0d5fe1638331de0f89671e34874190d216 | Auto-close channel when writing is done at both ends | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamTests.cs",
"diff": "@@ -534,6 +534,34 @@ public class MultiplexingStreamTests : TestBase, IAsyncLifetime\nawait acceptTask.WithCancellation(this.T... | C# | MIT License | aarnott/nerdbank.streams | Auto-close channel when writing is done at both ends |
1,799 | 24.07.2018 12:37:41 | 21,600 | ab5a1f46bb90e0238cc1566903f70c71ee091fca | Hide WebSocketStream behind a WebSocket.AsStream() extension method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/WebSocketStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/WebSocketStreamTests.cs",
"diff": "@@ -9,6 +9,7 @@ using System.Net.WebSockets;\nusing System.Text;\nusing System.Threading;\nusing System.Threading.Tasks;\n+using Mic... | C# | MIT License | aarnott/nerdbank.streams | Hide WebSocketStream behind a WebSocket.AsStream() extension method |
1,799 | 25.07.2018 08:28:52 | 21,600 | fa72f71b99e5b2eff08bedb1a939ad48bbb1c52e | Add UsePipe extension method and WebSocket-as-Pipe extension method | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -21,12 +21,10 @@ The streams in this package focus on communication (not persistence).\njust one transport stream (e.g. named pipe or web socket) and use it for many independent\nprotocols. For example, one migh... | C# | MIT License | aarnott/nerdbank.streams | Add UsePipe extension method and WebSocket-as-Pipe extension method |
1,799 | 26.07.2018 07:34:54 | 21,600 | ee68198337abee384a25b136f3c6c960b8efe5ea | Use Memory<byte> instead of ArraySegment<byte> in MockWebSocket | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MockWebSocket.cs",
"new_path": "src/Nerdbank.Streams.Tests/MockWebSocket.cs",
"diff": "// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\nusing System;\n+using System.Buffers;\n... | C# | MIT License | aarnott/nerdbank.streams | Use Memory<byte> instead of ArraySegment<byte> in MockWebSocket |
1,799 | 26.07.2018 11:12:33 | 21,600 | 2b27ddc0f83349eadce29ccdfa8cc45ea38fc223 | Normalize all TraceSource calls | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"diff": "@@ -234,7 +234,11 @@ namespace Nerdbank.Streams\nprivate void Fault(Exception exception)\n{\n- this.UnderlyingMultiplexingStream.Tra... | C# | MIT License | aarnott/nerdbank.streams | Normalize all TraceSource calls |
1,799 | 26.07.2018 13:44:50 | 21,600 | 7cbb77be8e6637a1c27c194b226e1ed1e22201ad | Add tracing of bytes transmitted over channels | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"new_path": "src/Nerdbank.Streams.Tests/Nerdbank.Streams.Tests.csproj",
"diff": "<IsPackable>false</IsPackable>\n<GenerateDocumentationFile>true</GenerateDocumentationFile>\n<NoWarn>$(NoWarn);CS1591</N... | C# | MIT License | aarnott/nerdbank.streams | Add tracing of bytes transmitted over channels |
1,799 | 26.07.2018 21:41:02 | 21,600 | 20dab9b7ed271e2b1dd97be3394a6860cbfd0978 | Add StreamJsonRpc perf test | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "using System;\nusing System.Buffers;\nusing System.Diagnostics;\n+using System.IO;\nusing System.IO.Pipes;\nusing Syst... | C# | MIT License | aarnott/nerdbank.streams | Add StreamJsonRpc perf test |
1,799 | 28.07.2018 20:55:42 | 21,600 | f583be29aaa33ec9a47035e8400fcd1b5567f3e3 | Add nuget.config solution item | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.sln",
"new_path": "src/Nerdbank.Streams.sln",
"diff": "@@ -11,6 +11,7 @@ Project(\"{2150E333-8FDC-42A3-9474-1A3956D46DE8}\") = \"Solution Items\", \"Solution\n..\\.gitignore = ..\\.gitignore\nDirectory.Build.props = Directory.Build.props\n... | C# | MIT License | aarnott/nerdbank.streams | Add nuget.config solution item |
1,799 | 28.07.2018 20:58:25 | 21,600 | 822ea60fb17b4403ce9d9b4f3119becfb5ca1e3b | Add .ConfigureAwait(false) when awaiting ValueTask | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs",
"diff": "@@ -188,7 +188,7 @@ namespace Nerdbank.Streams\n{\nwhile (!this.IsDisposed)\n{\n- var result = await this.transmissionPipe.Reader.Re... | C# | MIT License | aarnott/nerdbank.streams | Add .ConfigureAwait(false) when awaiting ValueTask |
1,799 | 28.07.2018 21:01:26 | 21,600 | 0472fc7715ad78a3fbdf39130240d5a17ef2b678 | Avoid calling PipeStream.FlushAsync
See for a fix for this in .NET | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"diff": "@@ -897,7 +897,7 @@ namespace Nerdbank.Streams\n}\nawait writeHeaderTask.ConfigureAwait(false); // rethrow any exception\n- flushTask = this.stream.... | C# | MIT License | aarnott/nerdbank.streams | Avoid calling PipeStream.FlushAsync
See https://github.com/dotnet/corefx/pull/31454 for a fix for this in .NET |
1,799 | 05.08.2018 06:59:36 | 21,600 | e80670df97eb704b32be41593fb5ee58bdffbefd | Add Sequence<T> with tests | [
{
"change_type": "MODIFY",
"old_path": "src/stylecop.json",
"new_path": "src/stylecop.json",
"diff": "\"licenseName\": \"MIT\",\n\"licenseFile\": \"LICENSE.txt\"\n},\n+ \"fileNamingConvention\": \"metadata\",\n\"xmlHeader\": false\n}\n}\n"
}
] | C# | MIT License | aarnott/nerdbank.streams | Add Sequence<T> with tests |
1,799 | 06.08.2018 11:58:01 | 21,600 | 549730f07e22bab824ceb0450825d2a6d254fa3b | Rename Advance to AdvanceTo to match PipeReader | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -70,9 +70,9 @@ public class SequenceTests : TestBase\nAssert.Equal(\"abcd\".ToCharArray(), seq.AsReadOnlySequence().ToArray());\n- seq.Advance(... | C# | MIT License | aarnott/nerdbank.streams | Rename Advance to AdvanceTo to match PipeReader |
1,799 | 06.08.2018 22:39:36 | 25,200 | c2f5aba0f1dfc309287d038902cb20e32229a2f7 | Replace Append pattern with Advance method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -33,40 +33,41 @@ public class SequenceTests : TestBase\nvar seq = new Sequence<char>();\nvar mem1 = seq.GetMemory(16);\n- Assert.Equal(16, mem1... | C# | MIT License | aarnott/nerdbank.streams | Replace Append pattern with Advance method |
1,799 | 07.08.2018 10:14:14 | 25,200 | 206e29e9bd8d13a7c1ea8fcd422edddfa6f35145 | Guard Sequence<T>.AdvanceTo from bad arguments | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -130,15 +130,87 @@ public class SequenceTests : TestBase\nAssert.Equal(new[] { mem1, mem2 }, mockPool.Contents.Select(c => c.Memory));\n// Adva... | C# | MIT License | aarnott/nerdbank.streams | Guard Sequence<T>.AdvanceTo from bad arguments |
1,799 | 07.08.2018 11:51:25 | 25,200 | 2aa7939b085ffc3f8b38c9261d0516244637d4a1 | Avoid completely empty blocks in sequences | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -28,7 +28,7 @@ public class SequenceTests : TestBase\n}\n[Fact]\n- public void Acquire_Sizes()\n+ public void GetMemory_Sizes()\n{\nvar seq = n... | C# | MIT License | aarnott/nerdbank.streams | Avoid completely empty blocks in sequences |
1,799 | 07.08.2018 12:04:08 | 25,200 | a0d6e7f9d7d863a1f5b3981945e5a8b41ec5fb7d | Made AsReadOnlySequence a property instead of a method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -75,9 +75,9 @@ public class SequenceTests : TestBase\nvar mem1 = seq.GetMemory(3);\nmem1.Span[0] = 'a';\nmem1.Span[1] = 'b';\n- Assert.True(seq... | C# | MIT License | aarnott/nerdbank.streams | Made AsReadOnlySequence a property instead of a method |
1,799 | 09.08.2018 08:29:26 | 25,200 | d81d9f479a8a17b1ae1856bb7a5ebfb8eb247454 | Return a custom PipeReader from Stream.UsePipeReader
This means we read the stream only when asked instead of constantly with an async method. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/StreamExtensionsTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/StreamExtensionsTests.cs",
"diff": "@@ -42,7 +42,11 @@ public class StreamExtensionsTests : TestBase\n{\nbyte[] expectedBuffer = GetRandomBuffer(2048);\nvar stream = ... | C# | MIT License | aarnott/nerdbank.streams | Return a custom PipeReader from Stream.UsePipeReader
This means we read the stream only when asked instead of constantly with an async method. |
1,799 | 09.08.2018 21:12:23 | 25,200 | cba1fb17f22220ba555c50d7cb90162a86c5c6a6 | Implement IBufferWriter<T> in Sequence<T>
Also add support for a sizeHint: 0. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -38,8 +38,10 @@ public class SequenceTests : TestBase\nvar mem2 = seq.GetMemory(32);\nAssert.Equal(32, mem2.Length);\n+ var mem3 = seq.GetMemor... | C# | MIT License | aarnott/nerdbank.streams | Implement IBufferWriter<T> in Sequence<T>
Also add support for a sizeHint: 0. |
1,799 | 10.08.2018 16:56:06 | 25,200 | 0fac74e453b20aca6e0de8fd4894efd031021530 | Fix GC pressure testing | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -201,15 +201,44 @@ public class MultiplexingStreamPerfTests : TestBase, IAsyncLifetime\nawait RunAsync(1);\nconst i... | C# | MIT License | aarnott/nerdbank.streams | Fix GC pressure testing |
1,799 | 10.08.2018 18:02:48 | 25,200 | f6282a26ba64744f5534661f57ed59386d3bdeb1 | Remove two unused messages
Also remove numbering since any change is a breaking change anyway | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"diff": "@@ -31,7 +31,7 @@ namespace Nerdbank.Streams\n/// <remarks>\n/// If the protocol ever changes, change this random number. It serves both as a way to... | C# | MIT License | aarnott/nerdbank.streams | Remove two unused messages
Also remove numbering since any change is a breaking change anyway |
1,799 | 14.08.2018 16:17:26 | 25,200 | af34df1049a636481c3cc7ba6e3f5d580c43f33f | Add MonitoringStream | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -28,3 +28,5 @@ The streams in this package focus on communication (not persistence).\nand writing to a `Stream` or `WebSocket` using the `PipeReader` and `PipeWriter` APIs.\n7. [`Stream.ReadSlice(int)`](doc/Read... | C# | MIT License | aarnott/nerdbank.streams | Add MonitoringStream |
1,799 | 15.08.2018 07:37:15 | 25,200 | abcca8a271ccbf0e1ef959d1c56723529090be71 | Add Will* events to MonitoringStream
Closes | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MonitoringStream.cs",
"new_path": "src/Nerdbank.Streams/MonitoringStream.cs",
"diff": "@@ -28,32 +28,63 @@ namespace Nerdbank.Streams\n}\n/// <summary>\n- /// Occurs when <see cref=\"Seek(long, SeekOrigin)\"/> is invoked.\n+ /// Occurs aft... | C# | MIT License | aarnott/nerdbank.streams | Add Will* events to MonitoringStream
Closes #2 |
1,799 | 15.08.2018 08:53:38 | 25,200 | eb55e8926cb5d99e4525bd85412d52d68ddf2dcf | Add tests for MonitoringStream and fix an issue they found | [
{
"change_type": "MODIFY",
"old_path": "doc/MonitoringStream.md",
"new_path": "doc/MonitoringStream.md",
"diff": "@@ -4,6 +4,9 @@ The `MonitoringStream` class wraps another `Stream` and raises events when any I\nThis allows you to monitor and/or trace the operations including the data actually being... | C# | MIT License | aarnott/nerdbank.streams | Add tests for MonitoringStream and fix an issue they found |
1,799 | 16.08.2018 13:43:27 | 25,200 | fb75eca5ed227d129b5bfbdade5358e2389dc281 | Add ReadOnlySequence<byte>.AsStream() extension method | [
{
"change_type": "MODIFY",
"old_path": "doc/AsStream.md",
"new_path": "doc/AsStream.md",
"diff": "@@ -22,7 +22,6 @@ Streams do *not* have this characteristic in general and their API offers no way\ndetect or create message boundaries. It is therefore recommended that a web socket be wrapped\nas a .N... | C# | MIT License | aarnott/nerdbank.streams | Add ReadOnlySequence<byte>.AsStream() extension method |
1,799 | 16.08.2018 13:53:56 | 25,200 | 28add2fa0978a53932f3aceb89178f06a0c0e132 | Try to stabilize GC pressure tests on appveyor | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/MultiplexingStreamPerfTests.cs",
"diff": "@@ -206,7 +206,7 @@ public class MultiplexingStreamPerfTests : TestBase, IAsyncLifetime\nlong memory1 = GC.GetTotalMem... | C# | MIT License | aarnott/nerdbank.streams | Try to stabilize GC pressure tests on appveyor |
1,799 | 16.08.2018 15:30:58 | 25,200 | 8ff4fffb4db9d6fb3df79cf92bea10131fa7ac4a | Make Sequence<T> disposable
This makes it more likely folks will recycle the memory it allocated. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs",
"diff": "@@ -240,7 +240,7 @@ public class SequenceTests : TestBase\n}\n[Fact]\n- public void Reset_ReturnsArraysToPool()\n+ public void Dispose_ReturnsArra... | C# | MIT License | aarnott/nerdbank.streams | Make Sequence<T> disposable
This makes it more likely folks will recycle the memory it allocated. |
1,799 | 16.08.2018 16:18:17 | 25,200 | 1cce6ca6b719fedf1acea0b359343c5c2585c130 | Add IBufferWriter<byte>.AsStream() extension method | [
{
"change_type": "MODIFY",
"old_path": "doc/AsStream.md",
"new_path": "doc/AsStream.md",
"diff": "@@ -79,3 +79,16 @@ while ((string line = reader.ReadLine()) != null)\nConsole.WriteLine(line);\n}\n```\n+\n+## `IBufferWriter<byte>`\n+\n+If you're building up a `ReadOnlySequence<byte>` using `Sequence... | C# | MIT License | aarnott/nerdbank.streams | Add IBufferWriter<byte>.AsStream() extension method |
1,799 | 16.08.2018 16:46:18 | 25,200 | 409f6971eebf6173c6102718fafbb1cbf63d95be | Break linked list before recycling memory | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/Sequence`1.cs",
"new_path": "src/Nerdbank.Streams/Sequence`1.cs",
"diff": "@@ -99,8 +99,9 @@ namespace Nerdbank.Streams\ncurrent = this.first;\nwhile (current != firstSegment)\n{\n+ var next = current.Next;\ncurrent.ResetMemory();\n- curre... | C# | MIT License | aarnott/nerdbank.streams | Break linked list before recycling memory |
1,799 | 16.08.2018 17:18:19 | 25,200 | c917f2301793da4cedca6868fe7fd18b281b3d59 | Re-expose Reset(), and hide Dispose() | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/Sequence`1.cs",
"new_path": "src/Nerdbank.Streams/Sequence`1.cs",
"diff": "@@ -6,6 +6,7 @@ namespace Nerdbank.Streams\nusing System;\nusing System.Buffers;\nusing System.Collections.Generic;\n+ using System.ComponentModel;\nusing System.Di... | C# | MIT License | aarnott/nerdbank.streams | Re-expose Reset(), and hide Dispose() |
1,799 | 17.08.2018 22:29:13 | 25,200 | 5b12b6e8141a1c1c2c0aa7f5e550f963f1332331 | Add UseStrictPipeReader extension method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs",
"diff": "@@ -106,7 +106,7 @@ public class HalfDuplexStreamTests : TestBase\n[PairwiseData]\npublic async Task WriteThenRead(bool useAsync)\... | C# | MIT License | aarnott/nerdbank.streams | Add UseStrictPipeReader extension method |
1,799 | 19.08.2018 10:02:49 | 25,200 | 08d52939ffc7070691c4d7f52c24392dd5314f0c | Add Stream.UseStrictPipeWriter() extension method | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs",
"new_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs",
"diff": "@@ -28,83 +28,11 @@ public class PipeExtensionsTests : TestBase\n}\n[Fact]\n- public void UsePipeWriter_ThrowsOnNull()\n+ public void ... | C# | MIT License | aarnott/nerdbank.streams | Add Stream.UseStrictPipeWriter() extension method |
1,799 | 21.08.2018 07:45:41 | 25,200 | c84ac522fe59b7c2e1be2621fe9b24bbc8ce9137 | Add Stream.[Read|Write]Substream extension methods
Closes | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -30,3 +30,7 @@ The streams in this package focus on communication (not persistence).\na given number of bytes.\n8. [`MonitoringStream`](doc/MonitoringStream.md) wraps another Stream and raises events for\nall I/... | C# | MIT License | aarnott/nerdbank.streams | Add Stream.[Read|Write]Substream extension methods
Closes #10 |
1,799 | 24.08.2018 07:53:17 | 25,200 | 8eca53b441af4917d567dc93940868cd6386524b | Remove (mostly) redundant Directory.Build.targets file | [
{
"change_type": "MODIFY",
"old_path": "src/Directory.Build.props",
"new_path": "src/Directory.Build.props",
"diff": "<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\\obj\\$(MSBuildProjectName)\\</BaseIntermediateOutputPath>\n<BaseOutputPath Condition=\" '$(BaseOutputPath)' == '' \">$(MSBu... | C# | MIT License | aarnott/nerdbank.streams | Remove (mostly) redundant Directory.Build.targets file |
1,799 | 25.08.2018 07:26:59 | 25,200 | 66186b4fa1daafcacb657ee09a9ea4c6a1194f98 | Add Sequence<T> documentation | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -13,24 +13,24 @@ The streams in this package focus on communication (not persistence).\n1. [`HalfDuplexStream`](doc/HalfDuplexStream.md) is meant to allow two parties to communicate *one direction*.\nAnything wr... | C# | MIT License | aarnott/nerdbank.streams | Add Sequence<T> documentation |
1,799 | 25.08.2018 07:29:20 | 25,200 | 4a4da6e0d59dbf55cd24a00b19e3607544b9885c | Add Sample heading | [
{
"change_type": "MODIFY",
"old_path": "doc/ReadSlice.md",
"new_path": "doc/ReadSlice.md",
"diff": "The `Stream.ReadSlice(int)` extension methods returns a `Stream` instance that will only read up to a fixed set of bytes from an underlying `Stream`.\nThis allows you, for example, to pass a `Stream` ... | C# | MIT License | aarnott/nerdbank.streams | Add Sample heading |
1,799 | 24.08.2018 07:53:29 | 25,200 | 0ddef37ec08affef13188cc0737213f8c3d3d347 | Update nb.gv to 2.2.13 | [
{
"change_type": "MODIFY",
"old_path": "src/Directory.Build.props",
"new_path": "src/Directory.Build.props",
"diff": "</PropertyGroup>\n<ItemGroup>\n- <PackageReference Include=\"Nerdbank.GitVersioning\" Version=\"2.1.65\" PrivateAssets=\"all\" />\n+ <PackageReference Include=\"Nerdbank.GitVersionin... | C# | MIT License | aarnott/nerdbank.streams | Update nb.gv to 2.2.13 |
1,799 | 25.08.2018 21:24:24 | 25,200 | 8af622e686a83abf24296c68587d0cc7e44f208e | Fix channel acceptance loop
This bug was causing CreateChannelAsync_IdCollidesWithPendingRequest to frequently time out. | [
{
"change_type": "MODIFY",
"old_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"new_path": "src/Nerdbank.Streams/MultiplexingStream.cs",
"diff": "@@ -428,7 +428,7 @@ namespace Nerdbank.Streams\n{\nif (this.channelsOfferedByThemByName.TryGetValue(name, out var channelsOfferedByThem))\n{\n- whil... | C# | MIT License | aarnott/nerdbank.streams | Fix channel acceptance loop
This bug was causing CreateChannelAsync_IdCollidesWithPendingRequest to frequently time out. |
1,799 | 25.08.2018 15:48:34 | 25,200 | 23784a6bbdc156005375a39826c243f0c7292c5c | Build on Travis CI as well | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".travis.yml",
"diff": "+language: csharp\n+dotnet: 2.1.300\n+mono: 5.10.0\n+\n+branches:\n+ only:\n+ - master\n+ - /^v\\d+(?:\\.\\d+)?$/\n+ - /[\\b_]validate\\b/\n+\n+matrix:\n+ include:\n+ - os: linux\n+ dist: xenial\n+ env: DOTNETPATH=/home/tr... | C# | MIT License | aarnott/nerdbank.streams | Build on Travis CI as well |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.