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.08.2018 21:43:01
25,200
dc8b8bc13351f64916b6ab42b7662f592973b9c9
Fix erratic StreamUsePipeReaderTests.Stream test failure
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/StreamPipeReaderTestBase.cs", "new_path": "src/Nerdbank.Streams.Tests/StreamPipeReaderTestBase.cs", "diff": "@@ -45,7 +45,14 @@ public abstract class StreamPipeReaderTestBase : TestBase\nvar reader = this.CreatePipeReader(stream, siz...
C#
MIT License
aarnott/nerdbank.streams
Fix erratic StreamUsePipeReaderTests.Stream test failure
1,799
25.08.2018 22:19:36
25,200
578f94f766a29a22ea0a852da5b4fcab87135982
Add link on travis CI badge
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -4,7 +4,7 @@ Specialized .NET Stream classes\n[![NuGet package](https://img.shields.io/nuget/v/Nerdbank.Streams.svg)](https://nuget.org/packages/Nerdbank.Streams)\n[![Build status](https://ci.appveyor.com/api/pr...
C#
MIT License
aarnott/nerdbank.streams
Add link on travis CI badge
1,799
28.08.2018 13:52:02
25,200
44d759676d1a24b17e70f31d44af12b998a12aae
Add starter for nerdbank-streams NPM package
[ { "change_type": "MODIFY", "old_path": ".appveyor.yml", "new_path": ".appveyor.yml", "diff": "@@ -20,9 +20,12 @@ environment:\nVisualStudioVersion: 15.0\nTreatWarningsAsErrors: true\ncodecov_token: b8be69b5-6dc3-40f8-a4c7-4e13a42654a3\n-build_script:\n-- dotnet build src\n-- dotnet pack src --no-bui...
C#
MIT License
aarnott/nerdbank.streams
Add starter for nerdbank-streams NPM package
1,799
28.08.2018 16:26:33
25,200
613c612071562472cb06d01d108e019e45a21b6b
Very beginnings of the MultiplexingStream class
[ { "change_type": "ADD", "old_path": null, "new_path": "src/nerdbank-streams/src/Deferred.ts", "diff": "+/**\n+ * A TaskCompletionSource-like class that allows promises to be resolved or rejected whenever.\n+ */\n+export class Deferred<T> {\n+ readonly promise: Promise<T>;\n+ resolve: (value?: T | Pr...
C#
MIT License
aarnott/nerdbank.streams
Very beginnings of the MultiplexingStream class
1,799
28.08.2018 16:57:02
25,200
44360fcbf5d3e9c55bdb102acb54c1670f5e43b2
Add first node.js unit test (and fix a bug it found).
[ { "change_type": "MODIFY", "old_path": ".appveyor.yml", "new_path": ".appveyor.yml", "diff": "@@ -48,6 +48,8 @@ test_script:\ncodecov -f \"%testdir%code_coverage.xml\"\ndotnet test src\\Nerdbank.Streams.Tests --no-build\n+\n+ pushd src\\nerdbank-streams && npm test && popd\nartifacts:\n- path: bin\\...
C#
MIT License
aarnott/nerdbank.streams
Add first node.js unit test (and fix a bug it found).
1,799
28.08.2018 17:43:12
25,200
188360972d86207b6d1f1d0c1860c1c1a796478a
Add more to the completion test
[ { "change_type": "MODIFY", "old_path": "spec/support/jasmine.json", "new_path": "spec/support/jasmine.json", "diff": "\"**/*.js\"\n],\n\"helpers\": [\n- \"helpers/**/*.js\"\n+ \"src/nerdbank-streams/out/helpers/**/*.js\"\n],\n\"stopSpecOnExpectationFailure\": false,\n\"random\": true\n" }, { ...
C#
MIT License
aarnott/nerdbank.streams
Add more to the completion test
1,799
28.08.2018 17:57:37
25,200
330a0a10367b00b4452facd7c100d19e85030066
Fixed up CreateAsync signature
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/package.json", "new_path": "src/nerdbank-streams/package.json", "diff": "\"path\": \"^0.12.7\",\n\"promise\": \"^8.0.1\",\n\"typescript\": \"^3.0.1\"\n+ },\n+ \"dependencies\": {\n+ \"vscode-jsonrpc\": \"^3.6.2\"\n}\n}\n" }, { "cha...
C#
MIT License
aarnott/nerdbank.streams
Fixed up CreateAsync signature
1,799
28.08.2018 22:57:18
25,200
89769265fe9119f25bec3c3b81b836dff1f259da
Declare all API and implement MX handshake
[ { "change_type": "ADD", "old_path": null, "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "+import { Duplex } from \"stream\";\n+import { Deferred } from \"./Deferred\";\n+import { IDisposableObservable } from './IDisposableObservable';\n+\n+export interface Channel extends IDisposableObs...
C#
MIT License
aarnott/nerdbank.streams
Declare all API and implement MX handshake
1,799
29.08.2018 17:10:10
25,200
e8f5cd7933ea9978383074630e548ee097820003
Got first channel established and sharing data
[ { "change_type": "ADD", "old_path": null, "new_path": ".vscode/launch.json", "diff": "+{\n+ // Use IntelliSense to learn about possible attributes.\n+ // Hover to view descriptions of existing attributes.\n+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n+ \"version\...
C#
MIT License
aarnott/nerdbank.streams
Got first channel established and sharing data
1,799
29.08.2018 19:19:46
25,200
b6b8df964daf00ba254ad5e791ee9169da4f04f6
Move throwIfDisposed to utilities
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "new_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "diff": "@@ -8,7 +8,7 @@ import { IDisposableObservable } from './IDisposableObservable';\nimport { randomBytes } from 'crypto';\nimport { FrameHeade...
C#
MIT License
aarnott/nerdbank.streams
Move throwIfDisposed to utilities
1,799
29.08.2018 22:20:32
25,200
b0e9f69df2f731e54310235a3fd407de83db6a01
Support for communicating end of writing over channel
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -20,9 +20,11 @@ export class ChannelClass implements Channel {\nprivate readonly _completion = new Deferred<void>();\nconstructor(private multiplexingStream: M...
C#
MIT License
aarnott/nerdbank.streams
Support for communicating end of writing over channel
1,799
29.08.2018 22:40:00
25,200
baba625af1b401743ac5513dcbd185229f7f4cc0
Communicate channel termination
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -106,6 +106,17 @@ export class ChannelClass implements Channel {\n}\ndispose() {\n+ if (!this.isDisposed) {\nthis._isDisposed = true;\n+\n+ this._acceptance.re...
C#
MIT License
aarnott/nerdbank.streams
Communicate channel termination
1,799
29.08.2018 22:45:47
25,200
3c89eedcc037e47c273c837cc0e15429e89bab6d
Strongly type dictionaries
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -19,7 +19,7 @@ export class ChannelClass implements Channel {\nprivate readonly _acceptance = new Deferred<void>();\nprivate readonly _completion = new Deferre...
C#
MIT License
aarnott/nerdbank.streams
Strongly type dictionaries
1,799
29.08.2018 22:51:48
25,200
8d7bd7dd0963c13626a4918b6161247d804f71ed
Cleanup and added TODO list
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "new_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "diff": "+/* TODO:\n+ * Anonymous channels (create, accept, reject)\n+ * Events\n+ * Cancellation\n+ * Tracing\n+ * Fault handling (and reporting via...
C#
MIT License
aarnott/nerdbank.streams
Cleanup and added TODO list
1,799
30.08.2018 08:11:52
25,200
d2d437ea22c74e226e5dd489f4fdc24446a099d7
Fix command line test failure
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/tests/DeferredTests.ts", "new_path": "src/nerdbank-streams/src/tests/DeferredTests.ts", "diff": "@@ -18,16 +18,22 @@ describe('Deferred', () => {\nexpect(deferred.isRejected).toBe(false);\n});\n- it('indicates error', () => {\n+ it('in...
C#
MIT License
aarnott/nerdbank.streams
Fix command line test failure
1,799
30.08.2018 08:53:40
25,200
bf8b719da7b912bdd9bc3b4686fefbcdb55189ef
Add FullDuplexStream to NPM package
[ { "change_type": "RENAME", "old_path": "src/nerdbank-streams/src/tests/DuplexPair.ts", "new_path": "src/nerdbank-streams/src/FullDuplexStream.ts", "diff": "import { create } from \"domain\";\nimport { Duplex } from \"stream\";\n-export class DuplexPair {\n- public static Create(): Tuple<Duplex, Dupl...
C#
MIT License
aarnott/nerdbank.streams
Add FullDuplexStream to NPM package
1,799
30.08.2018 14:37:00
25,200
5de18c735c9286cfdf8ebe23d492bb24a3c92277
Remove IDuplex`2 definition
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/FullDuplexStream.ts", "new_path": "src/nerdbank-streams/src/FullDuplexStream.ts", "diff": "-import { create } from \"domain\";\nimport { Duplex } from \"stream\";\nexport class FullDuplexStream {\n- public static CreateStreams(): ITupl...
C#
MIT License
aarnott/nerdbank.streams
Remove IDuplex`2 definition
1,799
30.08.2018 17:25:10
25,200
48b017a07c695a27d086c3f62613e141eca64e4d
Add FullDuplexStream.Splice method
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -14,9 +14,9 @@ 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 writ...
C#
MIT License
aarnott/nerdbank.streams
Add FullDuplexStream.Splice method
1,799
31.08.2018 08:42:16
25,200
00ab9da9db3696cccfc493debe2c28c2a2cf4cd2
Add delay promise method for testing
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/tests/Timeout.ts", "new_path": "src/nerdbank-streams/src/tests/Timeout.ts", "diff": "@@ -17,3 +17,13 @@ export function timeout<T>(promise: Promise<T>, ms: number): Promise<T> {\n});\nreturn deferred.promise;\n}\n+\n+export function de...
C#
MIT License
aarnott/nerdbank.streams
Add delay promise method for testing
1,799
30.08.2018 13:01:34
25,200
976f2defa61380e3654986fca0e9645afc868b4a
Add first TS<->C# interop tests
[ { "change_type": "ADD", "old_path": null, "new_path": "src/Nerdbank.Streams.Interop.Tests/Nerdbank.Streams.Interop.Tests.csproj", "diff": "+<Project Sdk=\"Microsoft.NET.Sdk\">\n+\n+ <PropertyGroup>\n+ <OutputType>Exe</OutputType>\n+ <TargetFramework>netcoreapp2.1</TargetFramework>\n+ <GenerateDocume...
C#
MIT License
aarnott/nerdbank.streams
Add first TS<->C# interop tests
1,799
31.08.2018 09:19:18
25,200
47f3401fddf7d8a442b85dc3b40a31849057eec7
Use yarn instead of npm to test
[ { "change_type": "MODIFY", "old_path": ".appveyor.yml", "new_path": ".appveyor.yml", "diff": "@@ -49,7 +49,7 @@ test_script:\ndotnet test src\\Nerdbank.Streams.Tests --no-build\n- pushd src\\nerdbank-streams && npm test && popd\n+ yarn --cwd=src\\nerdbank-streams test\nartifacts:\n- path: bin\\**\\*...
C#
MIT License
aarnott/nerdbank.streams
Use yarn instead of npm to test
1,799
31.08.2018 09:20:58
25,200
7e999ebe3cdbb5fc1d3cb2109eeaf61676143e9a
Use .spec.ts suffix for files
[ { "change_type": "MODIFY", "old_path": "spec/support/jasmine.json", "new_path": "spec/support/jasmine.json", "diff": "{\n\"spec_dir\": \"src/nerdbank-streams/out/tests\",\n\"spec_files\": [\n- \"**/*.js\"\n+ \"**/*.spec.js\"\n],\n\"helpers\": [\n],\n" }, { "change_type": "MODIFY", "old_p...
C#
MIT License
aarnott/nerdbank.streams
Use .spec.ts suffix for files
1,799
31.08.2018 09:26:52
25,200
e6c8255e666a2247f6d442b697cec72c33eeaeba
Apply accessibility modifiers consistently
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -12,7 +12,7 @@ export abstract class Channel implements IDisposableObservable {\npublic completion: Promise<void>;\nprivate _isDisposed: boolean = false;\n- ge...
C#
MIT License
aarnott/nerdbank.streams
Apply accessibility modifiers consistently
1,799
31.08.2018 09:28:50
25,200
fd2cf2a1674e73f7a1553f6c79d49ec3e79c5ff2
Fix bug in channel.isAccepted
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -85,12 +85,8 @@ export class ChannelClass extends Channel {\nreturn this._acceptance.promise;\n}\n- public get acceptanceIsCompleted() {\n- return this._accept...
C#
MIT License
aarnott/nerdbank.streams
Fix bug in channel.isAccepted
1,799
31.08.2018 09:32:23
25,200
4587c561a0ee1879bf103934c5bdcb724102233e
Add explicit method return type
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -105,7 +105,7 @@ export class ChannelClass extends Channel {\nreturn false;\n}\n- public onAccepted() {\n+ public onAccepted(): boolean {\nreturn this._accepta...
C#
MIT License
aarnott/nerdbank.streams
Add explicit method return type
1,799
31.08.2018 19:46:57
25,200
d944bb0dea5c6428624b8de76e94dce8105c7998
Fix bad path in travis file
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -44,6 +44,6 @@ script: |\nDOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=0 RuntimeFrameworkVersion=2.1.0 dotnet test -f netcoreapp2.1 src/Nerdbank.Streams.Tests\nyarn --cwd=src/nerdbank-streams install\n- node_modul...
C#
MIT License
aarnott/nerdbank.streams
Fix bad path in travis file
1,799
31.08.2018 21:27:16
25,200
dd3c3aa7b5cc15f06e5233a0f858ffe5fd51b0e4
Remove jasmine done() method use I confirmed that Jasmine recognizes promises returned from async test methods.
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/tests/MultiplexingStream.Interop.spec.ts", "new_path": "src/nerdbank-streams/src/tests/MultiplexingStream.Interop.spec.ts", "diff": "@@ -4,7 +4,7 @@ import { Deferred } from \"../Deferred\";\nimport { FullDuplexStream } from \"../FullD...
C#
MIT License
aarnott/nerdbank.streams
Remove jasmine done() method use I confirmed that Jasmine recognizes promises returned from async test methods.
1,799
31.08.2018 23:17:16
25,200
c175f7636b51ceccfe006dc8db844903463c8976
Add a VS typescript project
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.sln", "new_path": "src/Nerdbank.Streams.sln", "diff": "@@ -22,6 +22,8 @@ Project(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"IsolatedTestHost\", \"Isolate\nEndProject\nProject(\"{9A19103F-16F7-4668-BE54-9A1E7A4F7556}\") = \"Nerdbank.St...
C#
MIT License
aarnott/nerdbank.streams
Add a VS typescript project
1,799
31.08.2018 23:17:47
25,200
dfbaf9765468022e05c96cfbd318a71b4742439b
Fix unobserved promise rejection causing test issues
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "new_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "diff": "@@ -320,7 +320,7 @@ export class MultiplexingStreamClass extends MultiplexingStream {\n// Initiate reading from the transport stream. This w...
C#
MIT License
aarnott/nerdbank.streams
Fix unobserved promise rejection causing test issues
1,799
31.08.2018 23:30:12
25,200
28442d68f87d6b7deddb363abeeda2999c715490
Fix test failures on new dotnet installations Where dotnet has not yet populated its NuGetFallbackCache folder, a warning would be printed to stdout when we used `dotnet run`, and that would cause tests to fail that read from stdout as part of the multiplexing protocol. This env variable suppresses that warning.
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/tests/MultiplexingStream.Interop.spec.ts", "new_path": "src/nerdbank-streams/src/tests/MultiplexingStream.Interop.spec.ts", "diff": "@@ -9,12 +9,15 @@ describe(\"MultiplexingStream (interop)\", () => {\nlet mx: MultiplexingStream;\nlet...
C#
MIT License
aarnott/nerdbank.streams
Fix test failures on new dotnet installations Where dotnet has not yet populated its NuGetFallbackCache folder, a warning would be printed to stdout when we used `dotnet run`, and that would cause tests to fail that read from stdout as part of the multiplexing protocol. This env variable suppresses that warning.
1,799
31.08.2018 23:35:11
25,200
df1c7091839de00df2c7012cce4c248dfe9fd0a2
Stop building typescript project with sln This fixes the build break on appveyor
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.sln", "new_path": "src/Nerdbank.Streams.sln", "diff": "@@ -47,9 +47,7 @@ Global\n{35EC5994-B682-4FD9-8242-D6D3DEE78FDE}.Release|Any CPU.ActiveCfg = Release|Any CPU\n{35EC5994-B682-4FD9-8242-D6D3DEE78FDE}.Release|Any CPU.Build.0 = Release|A...
C#
MIT License
aarnott/nerdbank.streams
Stop building typescript project with sln This fixes the build break on appveyor
1,799
01.09.2018 06:56:23
25,200
14458e52bda75fc5a8c2c1d4d3c16191315a8d00
Removed offeredByThem from Channel We weren't using it
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.Channel.cs", "diff": "@@ -43,7 +43,7 @@ namespace Nerdbank.Streams\n/// </summary>\nprivate readonly Pipe transmissionPipe;\n- internal Channel(Multiplexi...
C#
MIT License
aarnott/nerdbank.streams
Removed offeredByThem from Channel We weren't using it
1,799
01.09.2018 07:04:13
25,200
fad94dc844e38002df3892f9f62303e555f183bf
Beef up package metadata
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -7,9 +7,9 @@ Specialized .NET Stream classes\n[![Travis (.org)](https://api.travis-ci.org/AArnott/Nerdbank.Streams.svg?branch=master)](https://travis-ci.org/AArnott/Nerdbank.Streams)\n[![codecov](https://codecov...
C#
MIT License
aarnott/nerdbank.streams
Beef up package metadata
1,799
01.09.2018 08:52:21
25,200
692922994a8e7beed483788c064a23afb1d104ab
Add validation of FrameHeader values
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -47,10 +47,7 @@ export class ChannelClass extends Channel {\ntry {\nconst payload = Buffer.from(chunk);\n- const header = new FrameHeader();\n- header.code = C...
C#
MIT License
aarnott/nerdbank.streams
Add validation of FrameHeader values
1,799
01.09.2018 09:00:30
25,200
1949ec0c17dd9b54d569d802a80f3bc995a4733c
Rename Channel.duplex to stream
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -7,16 +7,35 @@ import { IDisposableObservable } from \"./IDisposableObservable\";\nimport { MultiplexingStreamClass } from \"./MultiplexingStream\";\nexport ab...
C#
MIT License
aarnott/nerdbank.streams
Rename Channel.duplex to stream
1,799
01.09.2018 14:22:58
25,200
2c19f94cbe3bf3e72a4a5ecf1520b9338cf043a8
Add message exchange on channel interop tests
[ { "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": "<ProjectReference Include=\"..\\Nerdbank.Streams\\Nerdbank.Streams.csproj\" />\n</ItemGr...
C#
MIT License
aarnott/nerdbank.streams
Add message exchange on channel interop tests
1,799
03.09.2018 20:34:35
25,200
6347b94b2caf0babce95dcf011ff7ca320b2285d
Add support for anonymous channels
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/Channel.ts", "new_path": "src/nerdbank-streams/src/Channel.ts", "diff": "@@ -7,6 +7,11 @@ import { IDisposableObservable } from \"./IDisposableObservable\";\nimport { MultiplexingStreamClass } from \"./MultiplexingStream\";\nexport abs...
C#
MIT License
aarnott/nerdbank.streams
Add support for anonymous channels
1,799
04.09.2018 12:17:19
25,200
4e052b0ecc82815013f6daa7567f9eec8e7103b0
Allow blank channel names
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "new_path": "src/nerdbank-streams/src/MultiplexingStream.ts", "diff": "@@ -206,8 +206,8 @@ export abstract class MultiplexingStream implements IDisposableObservable {\noptions?: ChannelOptions,\ncancellationToke...
C#
MIT License
aarnott/nerdbank.streams
Allow blank channel names
1,799
04.09.2018 12:52:33
25,200
fea4091892d3ee6f8ccbc13a5df92327eea58e65
Add channel offer events
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/package.json", "new_path": "src/nerdbank-streams/package.json", "diff": "\"vscode-jsonrpc\": \"^3.6.2\"\n},\n\"dependencies\": {\n- \"cancellationtoken\": \"^1.0.3\"\n+ \"cancellationtoken\": \"^1.0.3\",\n+ \"caught\": \"^0.1.2\"\n}\n}\n" ...
C#
MIT License
aarnott/nerdbank.streams
Add channel offer events
1,799
08.09.2018 13:24:35
25,200
2753442c7a58d42cd9c8bd9bcc3f3c6e5559b336
Expose PipeOptions and re-document sizeHint
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs", "new_path": "src/Nerdbank.Streams.Tests/PipeExtensionsTests.cs", "diff": "@@ -61,7 +61,7 @@ public class PipeExtensionsTests : TestBase\n{\nvar expectedBuffer = new byte[] { 4, 5, 6 };\nvar webSocket = new Mo...
C#
MIT License
aarnott/nerdbank.streams
Expose PipeOptions and re-document sizeHint
1,799
08.09.2018 17:13:35
25,200
d4749e8cbf5b40b21412099da8e31448d286a72e
Fix Sequence<T>.AdvanceTo within first segment
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -239,6 +239,51 @@ public class SequenceTests : TestBase\nAssert.Equal(3, seqB.AsReadOnlySequence.Length);\n}\n+ [Fact]\n+ public void AdvanceTo...
C#
MIT License
aarnott/nerdbank.streams
Fix Sequence<T>.AdvanceTo within first segment
1,799
14.09.2018 20:01:19
25,200
18a04bdce1c095d2bf081aee1ae55ecc7ae67c64
Fix another Sequence<T> AdvanceTo bug
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -284,6 +284,26 @@ public class SequenceTests : TestBase\nAssert.Equal(origLastChar, seq.AsReadOnlySequence.Slice(origLastCharPosition, 1).First...
C#
MIT License
aarnott/nerdbank.streams
Fix another Sequence<T> AdvanceTo bug
1,799
17.09.2018 11:32:06
25,200
03f4e61ade02b79fff08b58addd190daf39e78c1
Add Sequence<T>.Length property
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -213,6 +213,7 @@ public class SequenceTests : TestBase\nAssert.Throws<ArgumentException>(() => seq.AdvanceTo(pos1));\nros = seq;\nAssert.Equal(...
C#
MIT License
aarnott/nerdbank.streams
Add Sequence<T>.Length property
1,799
17.09.2018 17:10:25
25,200
49a6a68d8b62cc1ba4bcd878c47e12bd033da46c
Remove unused SequenceSegment.ReadOnly property
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -293,12 +293,6 @@ namespace Nerdbank.Streams\ninternal int Length => this.End - this.Start;\n- /// <summary>\n- /// Gets a value indicating whether data should n...
C#
MIT License
aarnott/nerdbank.streams
Remove unused SequenceSegment.ReadOnly property
1,799
17.09.2018 20:31:30
25,200
71f0fcd06f3c96869d4dc9ce53d0cc8c277b765a
Fix UseStrictPipeWriter when flushing multiple blocks
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/StreamUseStrictPipeWriterTests.cs", "new_path": "src/Nerdbank.Streams.Tests/StreamUseStrictPipeWriterTests.cs", "diff": "@@ -90,6 +90,19 @@ public class StreamUseStrictPipeWriterTests : StreamPipeWriterTestBase\nAssert.True(flushResu...
C#
MIT License
aarnott/nerdbank.streams
Fix UseStrictPipeWriter when flushing multiple blocks
1,799
18.09.2018 09:10:26
25,200
4ce283cb4cea723576a1b43224a40ab49cc0d417
Use yarn build in CI scripts
[ { "change_type": "MODIFY", "old_path": ".appveyor.yml", "new_path": ".appveyor.yml", "diff": "@@ -23,9 +23,8 @@ environment:\nbuild_script: |\ndotnet build src\ndotnet pack src --no-build\n- yarn install --cwd src/nerdbank-streams\n- .\\src\\nerdbank-streams\\node_modules\\.bin\\tsc -p src\\nerdbank...
C#
MIT License
aarnott/nerdbank.streams
Use yarn build in CI scripts
1,799
18.09.2018 10:15:41
25,200
4b5cf00ca5125a7f1e54c5d90d2523a566436cad
Build with Azure Pipelines
[ { "change_type": "DELETE", "old_path": ".appveyor.yml", "new_path": null, "diff": "-version: '{build}'\n-branches:\n- only:\n- - master\n- - fullduplexstream\n- - /^v\\d+(?:\\.\\d+)?$/\n- - /[\\b_]validate\\b/\n-skip_tags: true\n-skip_commits:\n- files:\n- - doc/*\n- - .github/*\n- - '**/*.md'\n- - ...
C#
MIT License
aarnott/nerdbank.streams
Build with Azure Pipelines
1,799
18.09.2018 12:56:44
25,200
8266597215511e5bc4698d8bc5fbfb077a9e78e8
Reduce parallel agents
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -135,60 +135,19 @@ jobs:\ncontainer: xenial\nvariables:\nGitLinkEnabled: false\n- strategy:\n- maxParallel: 4\n- matrix:\n- netcoreapp1_0:\n- runtime: 1.0.11\n- targetfx: netcoreapp1.0\n- net...
C#
MIT License
aarnott/nerdbank.streams
Reduce parallel agents
1,799
18.09.2018 12:56:55
25,200
7865b5776f6ac07aaab37a7ad1d57058a6100365
Stop copying unused artifacts on non-Windows agents
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -58,6 +58,14 @@ jobs:\nparameters:\nprojectdirectory: src/nerdbank-streams\n+ - task: CopyFiles@1\n+ inputs:\n+ Contents: |\n+ bin/*-*.tgz\n+ TargetFolder: $(Build.ArtifactStagingDirectory)/d...
C#
MIT License
aarnott/nerdbank.streams
Stop copying unused artifacts on non-Windows agents
1,799
18.09.2018 13:33:24
25,200
d5ce68f8b88c997ca905fa1dd05a6c1ecd0116d2
Parameterize the testfx.yml file
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -145,6 +145,8 @@ jobs:\nGitLinkEnabled: false\nsteps:\n- template: azure-pipelines/testfx.yml\n+ parameters:\n+ projectdirectory: src/Nerdbank.Streams.Tests\n- template: azure-pipelines/node....
C#
MIT License
aarnott/nerdbank.streams
Parameterize the testfx.yml file
1,799
22.09.2018 21:29:10
25,200
9a0df97fddbba425ecb0159b1ad01dc7563608c3
Publish artifacts for own PRs
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -97,7 +97,7 @@ jobs:\n# PathtoPublish: $(build.sourcesdirectory)/bin\n# ArtifactName: bin\n# ArtifactType: Container\n- # condition: and(succeeded(), ne(variables['Build.Reason'], 'PullReques...
C#
MIT License
aarnott/nerdbank.streams
Publish artifacts for own PRs
1,799
22.09.2018 19:46:31
25,200
ce4c3539f8d3a7fb99d33bb99b774ffe560358d8
Shutdown MultiplexingStream more gracefully when the connection drops This fixes one cause of an unstable Dispose_CancelsOutstandingOperations test.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -588,6 +588,8 @@ namespace Nerdbank.Streams\nMemory<byte> buffer = new byte[FrameHeader.HeaderLength + this.framePayloadMaxLength];\nMemory<byte>...
C#
MIT License
aarnott/nerdbank.streams
Shutdown MultiplexingStream more gracefully when the connection drops This fixes one cause of an unstable Dispose_CancelsOutstandingOperations test.
1,799
22.09.2018 21:59:58
25,200
aa68a5c47f88baa3770a99b2436fa0d09b69e08d
Fix InvalidOperationException thrown when disposing while reading
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs", "diff": "@@ -194,6 +194,15 @@ public class PipeStreamTests : TestBase\nAssert.Throws<ObjectDisposedException>(() => this.stream.Read(new byte[1], 0, 1)...
C#
MIT License
aarnott/nerdbank.streams
Fix InvalidOperationException thrown when disposing while reading
1,799
23.09.2018 08:04:11
25,200
a2e3b471e9def0c7035f2fd7bd4d1308a9a5a675
Fix PipeStream.ReadAsync(Memory<byte>) reads after read completion
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/PipeStreamTests.cs", "diff": "@@ -195,7 +195,7 @@ public class PipeStreamTests : TestBase\n}\n[Fact]\n- public async Task Read_DisposedWhileWaiting()\n+ public async Task R...
C#
MIT License
aarnott/nerdbank.streams
Fix PipeStream.ReadAsync(Memory<byte>) reads after read completion
1,799
23.09.2018 09:27:38
25,200
332900d7be6e076d8c23ffe16c0fbd31279717fd
Fix code coverage in CI build
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -114,7 +114,7 @@ jobs:\n& \"$HOME\\.nuget\\packages\\OpenCover\\4.6.519\\tools\\OpenCover.Console.exe\"\n-register:user\n-target:\"$HOME\\.nuget\\packages\\xunit.runner.console\\2.3.1\\tools\...
C#
MIT License
aarnott/nerdbank.streams
Fix code coverage in CI build
1,799
24.09.2018 12:26:35
25,200
d65f8e20fed97f2d7bb3d3ae0ce200564e016032
Fix leaky pattern with CancellationToken
[ { "change_type": "MODIFY", "old_path": "src/nerdbank-streams/package.json", "new_path": "src/nerdbank-streams/package.json", "diff": "\"vscode-jsonrpc\": \"^3.6.2\"\n},\n\"dependencies\": {\n- \"cancellationtoken\": \"^1.0.3\",\n+ \"cancellationtoken\": \"^2.0.1\",\n\"caught\": \"^0.1.2\"\n}\n}\n" ...
C#
MIT License
aarnott/nerdbank.streams
Fix leaky pattern with CancellationToken
1,799
16.10.2018 13:24:28
25,200
09bdff2828b745c3cfb3515444b3e07591d0111b
Use System.IO.Pipelines 4.5.1 This mitigates a security vulnerability in the 4.5.0 version.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<ItemGroup>\n<PackageReference Include=\"Microsoft.VisualStudio.Threading\" Version=\"15.8.122\" PrivateAssets=\"build;analyzers;compile\" />\n<...
C#
MIT License
aarnott/nerdbank.streams
Use System.IO.Pipelines 4.5.1 This mitigates a security vulnerability in the 4.5.0 version.
1,799
28.11.2018 10:57:28
28,800
90cfc9aa8f3d04c3fddd16909495a43eb3a150b2
Stop flushing within HalfDuplexStream.WriteAsync
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs", "diff": "@@ -108,6 +108,7 @@ public class HalfDuplexStreamTests : TestBase\n{\nbyte[] sendBuffer = this.GetRandomBuffer(20);\nawait this.Wr...
C#
MIT License
aarnott/nerdbank.streams
Stop flushing within HalfDuplexStream.WriteAsync
1,799
28.11.2018 10:57:53
28,800
5304310fbf4411af86ba66f71dac96df6468b911
Implement IBufferWriter<byte> in HalfDuplexStream
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/HalfDuplexStreamTests.cs", "diff": "// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.\nusing System;\n+using S...
C#
MIT License
aarnott/nerdbank.streams
Implement IBufferWriter<byte> in HalfDuplexStream
1,799
28.11.2018 12:08:21
28,800
d5a6307aeee9acc0d4421edca9bcfc90ef329f12
Use dev.azure.com URL
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -2,7 +2,7 @@ Specialized .NET Stream classes\n=========================\n[![NuGet package](https://img.shields.io/nuget/v/Nerdbank.Streams.svg)](https://nuget.org/packages/Nerdbank.Streams)\n-[![Build Status](ht...
C#
MIT License
aarnott/nerdbank.streams
Use dev.azure.com URL
1,799
13.12.2018 19:02:57
28,800
3005cbb7a3277a5867295770f21e99a177cac320
Add missing .ConfigureAwait(false) for all awaits Update NuGet packages, which helped find the missing .ConfigureAwait(false) places.
[ { "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.2.13\" PrivateAssets=\"all\" />\n+ <PackageReference Include=\"Nerdbank.GitVersionin...
C#
MIT License
aarnott/nerdbank.streams
Add missing .ConfigureAwait(false) for all awaits Update NuGet packages, which helped find the missing .ConfigureAwait(false) places.
1,799
13.12.2018 20:03:00
28,800
84649786b3412951e91100ffe32f9969e522bfa1
Override more Stream methods on .NET Core 2.1 Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/BufferWriterStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/BufferWriterStreamTests.cs", "diff": "@@ -148,6 +148,22 @@ public class BufferWriterStreamTests : TestBase\nAssert.Equal(5, this.sequence.AsReadOnlySequence.Length)...
C#
MIT License
aarnott/nerdbank.streams
Override more Stream methods on .NET Core 2.1 Closes #43
1,799
13.12.2018 20:48:07
28,800
6d33d956ba1f30d6358334496c878a3160062841
Pack portable pdb with nuget package
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -38,7 +38,6 @@ jobs:\nfeedsToUse: config\nnugetConfigPath: src/nuget.config\n- # Use VSBuild on Windows so GitLink will work (it fails on dotnet build)\n- task: VSBuild@1\ninputs:\nvsVersion:...
C#
MIT License
aarnott/nerdbank.streams
Pack portable pdb with nuget package
1,799
15.12.2018 10:41:26
28,800
b5688f877664e18aa28ffe4791adacd4f3315199
Fix race condition when accepting a channel by name that is canceled Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -426,6 +426,8 @@ namespace Nerdbank.Streams\nRequires.NotNull(name, nameof(name));\nVerify.NotDisposed(this);\n+ while (true)\n+ {\nChannel chann...
C#
MIT License
aarnott/nerdbank.streams
Fix race condition when accepting a channel by name that is canceled Fixes #46
1,799
27.12.2018 08:39:37
28,800
852780e05631a637e226f3d38f4a0e54ee44f846
Enhance xml doc comments on Sequence<T> class
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -32,7 +32,8 @@ namespace Nerdbank.Streams\nprivate SequenceSegment last;\n/// <summary>\n- /// Initializes a new instance of the <see cref=\"Sequence{T}\"/> clas...
C#
MIT License
aarnott/nerdbank.streams
Enhance xml doc comments on Sequence<T> class
1,799
27.12.2018 08:51:42
28,800
f8246ef7d0d79b7e48b9ce18c981f2725d58e8f6
Add test for calling Sequence<T>.Advance(int) with an too-high number
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -124,6 +124,14 @@ public class SequenceTests : TestBase\nAssert.Throws<ArgumentOutOfRangeException>(() => seq.Advance(-1));\n}\n+ [Fact]\n+ pub...
C#
MIT License
aarnott/nerdbank.streams
Add test for calling Sequence<T>.Advance(int) with an too-high number
1,799
27.12.2018 08:56:08
28,800
741a887045a59c252845648876d52f6131822aa8
Add reserve header space test for Sequence<T>
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -70,6 +70,28 @@ public class SequenceTests : TestBase\nmockPool.AssertContents(mem1);\n}\n+ /// <summary>\n+ /// Verifies that folks can \"rese...
C#
MIT License
aarnott/nerdbank.streams
Add reserve header space test for Sequence<T>
1,799
01.01.2019 19:46:38
28,800
d6d654eaefb390e18615625afd8849322dd8fb91
Remove quotes around Sequence<T> length in debugger display
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -18,7 +18,7 @@ namespace Nerdbank.Streams\n/// <remarks>\n/// Instance members are not thread-safe.\n/// </remarks>\n- [DebuggerDisplay(\"{\" + nameof(DebuggerDi...
C#
MIT License
aarnott/nerdbank.streams
Remove quotes around Sequence<T> length in debugger display
1,799
26.01.2019 17:22:43
28,800
3e5dde41e197b2bab7f3477216d6ebe55def738e
Update System.IO.Pipelines to 4.5.3 This applies the fix/workaround required for
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "new_path": "src/Nerdbank.Streams/Nerdbank.Streams.csproj", "diff": "<ItemGroup>\n<PackageReference Include=\"Microsoft.VisualStudio.Threading\" Version=\"15.8.192\" PrivateAssets=\"build;analyzers;compile\" />\n<...
C#
MIT License
aarnott/nerdbank.streams
Update System.IO.Pipelines to 4.5.3 This applies the fix/workaround required for https://github.com/dotnet/sdk/issues/2547
1,799
26.01.2019 17:26:40
28,800
6096d713b6f74b059a487495339a38f120ebc98b
Update to .NET SDK 2.1.503
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -26,6 +26,12 @@ jobs:\ndisplayName: Set build number\ncondition: ne(variables['system.pullrequest.isfork'], true)\n+ - task: DotNetCoreInstaller@0\n+ displayName: Install .NET Core SDK 2.1.50...
C#
MIT License
aarnott/nerdbank.streams
Update to .NET SDK 2.1.503
1,799
08.02.2019 18:47:07
28,800
d4f6320c10bedfe3c1ce145d4420b3ccb694e927
Set working directory so global.json is honored The dotnet.exe tool searches for global.json from the current working directory -- NOT from the directory containing the project given at the command line.
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -43,6 +43,7 @@ jobs:\nprojects: src/**/*.sln\nfeedsToUse: config\nnugetConfigPath: src/nuget.config\n+ workingDirectory: src\n- task: VSBuild@1\ninputs:\n@@ -58,6 +59,7 @@ jobs:\ncommand: tes...
C#
MIT License
aarnott/nerdbank.streams
Set working directory so global.json is honored The dotnet.exe tool searches for global.json from the current working directory -- NOT from the directory containing the project given at the command line.
1,799
27.01.2019 08:13:53
28,800
d65e72c670ef7ccd975df44256e20b07965b9f9a
Comment out code that's now producing a compiler error VS2019 evidently has more checks than before.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamCombineTests.cs", "new_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamCombineTests.cs", "diff": "@@ -251,13 +251,14 @@ public class FullDuplexStreamCombineTests : TestBase\n[Fact(Skip = \"Moq lacks support for tes...
C#
MIT License
aarnott/nerdbank.streams
Comment out code that's now producing a compiler error VS2019 evidently has more checks than before.
1,799
11.02.2019 09:00:57
28,800
63981991b90a6f01899e79213a1c99e9a18129bc
Add PrefixingBufferWriter
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -33,3 +33,5 @@ Specialized .NET Stream classes\nan unknown length as part of a larger stream, and later deserialize it such in reading the\nsubstream, you cannot read more bytes than were written to it.\n1. [`Se...
C#
MIT License
aarnott/nerdbank.streams
Add PrefixingBufferWriter
1,799
11.02.2019 09:14:48
28,800
f46868fc12abf1c061515558558c8b7987014bec
Build v2.0 branch in CI
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "trigger:\nbranches:\n- include: [\"master\"]\n+ include: [\"master\", \"v2.0\"]\npaths:\nexclude: [\"doc\", \"*.md\", \".appveyor.yml\", \".travis.yml\"]\n" }, { "change_type": "MODIFY",...
C#
MIT License
aarnott/nerdbank.streams
Build v2.0 branch in CI
1,799
16.02.2019 18:10:02
28,800
c4200570e00779a190a77c2f98c0df6714079a08
Add Sequence<T>.MinimumSpanLength This for example allows serializers to set a large value so that the result is a few large arrays instead of many tiny ones. Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -30,7 +30,8 @@ public class SequenceTests : TestBase\n[Fact]\npublic void GetMemory_Sizes()\n{\n- var seq = new Sequence<char>();\n+ var seq = ...
C#
MIT License
aarnott/nerdbank.streams
Add Sequence<T>.MinimumSpanLength This for example allows serializers to set a large value so that the result is a few large arrays instead of many tiny ones. Closes #52
1,799
07.03.2019 23:13:14
28,800
488de4b70e381e83140b73ed05bdc3f6780cf882
Adjust how Sequence<T>.MinimumSpanLength works The default minimum is now to allow whatever the pool recommendation is.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/MockPool`1.cs", "new_path": "src/Nerdbank.Streams.Tests/MockPool`1.cs", "diff": "@@ -9,6 +9,8 @@ using Xunit;\ninternal class MockPool<T> : MemoryPool<T>\n{\n+ internal const int DefaultLength = 16;\n+\npublic override int MaxBufferS...
C#
MIT License
aarnott/nerdbank.streams
Adjust how Sequence<T>.MinimumSpanLength works The default minimum is now to allow whatever the pool recommendation is.
1,799
08.03.2019 18:36:49
28,800
004db4025a942c8b99c366e05e7021a16702d2b5
Add net472 target Also revise our #if directives to make it clearer that they'll behave when adding more targets in the future.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/BufferWriterStreamTests.cs", "new_path": "src/Nerdbank.Streams.Tests/BufferWriterStreamTests.cs", "diff": "@@ -148,7 +148,7 @@ public class BufferWriterStreamTests : TestBase\nAssert.Equal(5, this.sequence.AsReadOnlySequence.Length);...
C#
MIT License
aarnott/nerdbank.streams
Add net472 target Also revise our #if directives to make it clearer that they'll behave when adding more targets in the future.
1,799
08.03.2019 18:47:31
28,800
c12114926ee1fee14077867f5772a52c27954d5b
Test on netcoreapp2.2
[ { "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
Test on netcoreapp2.2
1,799
08.03.2019 19:03:42
28,800
50fe320bad7a684f0da6f9672dc50959d31e965f
Use .NET Core SDK 2.2.104 so we can target netcoreapp2.2 in tests
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -20,17 +20,18 @@ jobs:\n- job: Windows\npool: Hosted VS2017\nsteps:\n- - script: |\n- dotnet tool install --tool-path . nbgv\n- .\\nbgv cloud -p src\n- displayName: Set build number\n- condit...
C#
MIT License
aarnott/nerdbank.streams
Use .NET Core SDK 2.2.104 so we can target netcoreapp2.2 in tests
1,799
08.03.2019 19:13:30
28,800
320cafaef369af9f9bb5b07f5e6c79b666bf6936
Remove conditions from build definition
[ { "change_type": "MODIFY", "old_path": "azure-pipelines.yml", "new_path": "azure-pipelines.yml", "diff": "@@ -31,7 +31,6 @@ jobs:\n..\\nbgv cloud\nworkingDirectory: src\ndisplayName: Set build number\n- condition: ne(variables['system.pullrequest.isfork'], true)\n- script: dotnet --info\ndisplayName...
C#
MIT License
aarnott/nerdbank.streams
Remove conditions from build definition
1,799
09.03.2019 13:06:19
28,800
d29e39682da26877920628dd7de687b12838aa3b
Fixes and more tests for PrefixingBufferWriter
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/PrefixingBufferWriterTests.cs", "new_path": "src/Nerdbank.Streams.Tests/PrefixingBufferWriterTests.cs", "diff": "@@ -47,6 +47,7 @@ public class PrefixingBufferWriterTests\nvar prefixWriter = new PrefixingBufferWriter<byte>(this.seque...
C#
MIT License
aarnott/nerdbank.streams
Fixes and more tests for PrefixingBufferWriter
1,799
09.03.2019 15:11:40
28,800
f0e4c3dcef1aab54ba4e2fdf907edbbc0d7c81a0
Beef up docs
[ { "change_type": "MODIFY", "old_path": "doc/PrefixingBufferWriter.md", "new_path": "doc/PrefixingBufferWriter.md", "diff": "@@ -6,6 +6,27 @@ after some later buffer has been written.\nThis is particularly useful for length-prefixed lists where the length of the list is not\nknown until it is written...
C#
MIT License
aarnott/nerdbank.streams
Beef up docs
1,799
09.03.2019 16:23:17
28,800
4e07b6c2a057736bbf44e88132e83f4350e54509
Expose memory behind Prefix for direct writing Refines API for PrefixingBufferWriter.
[ { "change_type": "MODIFY", "old_path": "doc/PrefixingBufferWriter.md", "new_path": "doc/PrefixingBufferWriter.md", "diff": "@@ -23,7 +23,11 @@ void WriteList<T>(IBufferWriter<byte> writer, IEnumerable<T> items)\ncount++;\n}\n- prefixingWriter.Complete(BitConverter.GetBytes(count));\n+ // Write out t...
C#
MIT License
aarnott/nerdbank.streams
Expose memory behind Prefix for direct writing Refines API for PrefixingBufferWriter.
1,799
17.03.2019 15:58:12
25,200
116feb8c04fa248a2ead9f906b455dadffd88fda
Centralize GenerateDocumentationFile property
[ { "change_type": "MODIFY", "old_path": "src/Directory.Build.props", "new_path": "src/Directory.Build.props", "diff": "<BaseOutputPath Condition=\" '$(BaseOutputPath)' == '' \">$(MSBuildThisFileDirectory)..\\bin\\$(MSBuildProjectName)\\</BaseOutputPath>\n<LangVersion>7.3</LangVersion>\n<DefineConstan...
C#
MIT License
aarnott/nerdbank.streams
Centralize GenerateDocumentationFile property
1,799
27.01.2019 15:30:22
28,800
240385b01076df5afed66bc08dd30a3254e6d3be
Add xml comments and removed a useless property
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -312,12 +312,24 @@ namespace Nerdbank.Streams\n}\n}\n+ /// <summary>\n+ /// Gets the memory that has been allocated but not yet committed.\n+ /// </summary>\nint...
C#
MIT License
aarnott/nerdbank.streams
Add xml comments and removed a useless property
1,799
17.03.2019 15:54:35
25,200
df2160f5f1efe142c2c836ca6153fa8e44010a23
Add BenchmarkDotNet project It includes a few benchmarks for Sequence<T>
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -22,6 +22,9 @@ bld/\n[Bb]in/\n[Oo]bj/\n+# BenchmarkDotNet reports\n+BenchmarkDotNet.Artifacts/\n+\n# Visual Studio 2015 cache/options directory\n.vs/\n" }, { "change_type": "MODIFY", "old_path": "s...
C#
MIT License
aarnott/nerdbank.streams
Add BenchmarkDotNet project It includes a few benchmarks for Sequence<T>
1,799
17.03.2019 21:47:06
25,200
6379c47a34db743289fab57388ca33af5099150d
Benchmark measures memory allocations
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Benchmark/SequenceBenchmark.cs", "new_path": "src/Nerdbank.Streams.Benchmark/SequenceBenchmark.cs", "diff": "@@ -9,62 +9,57 @@ namespace Nerdbank.Streams.Benchmark\nusing System.Text;\nusing BenchmarkDotNet.Attributes;\n+ [Config(typeof(Be...
C#
MIT License
aarnott/nerdbank.streams
Benchmark measures memory allocations
1,799
17.03.2019 21:47:19
25,200
a9b91aeaafc3b67238673768297dbc1161681d31
Enhance test for debuggability
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -323,17 +323,22 @@ public class SequenceTests : TestBase\n// use the mock pool so that we can predict the actual array size will not exceed wha...
C#
MIT License
aarnott/nerdbank.streams
Enhance test for debuggability
1,799
17.03.2019 22:05:44
25,200
d9e2b5c5c963d053681c925e83b28fdb60177641
Improve Sequence<T> performance Also clear Memory<T> when AdvanceTo is called to allow GC to release memory for ref types. Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -5,9 +5,7 @@ using System;\nusing System.Buffers;\nusing System.Collections.Generic;\nusing System.Linq;\n-using System.Text;\n-using System.Th...
C#
MIT License
aarnott/nerdbank.streams
Improve Sequence<T> performance Also clear Memory<T> when AdvanceTo is called to allow GC to release memory for ref types. Fixes #53
1,799
18.03.2019 07:41:44
25,200
a2b09a5fa8d0691b2878fdfe257d1b807b3c939c
Add support for ArrayPool<T> to Sequence<T> This is the new default. It reduces GC pressure since renting arrays no longer incurs an IMemoryOwner<T> allocation. It also improves performance significantly: 14-32% Closes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -10,6 +10,7 @@ namespace Nerdbank.Streams\nusing System.Diagnostics;\nusing System.Reflection;\nusing System.Runtime.CompilerServices;\n+ using System.Runtime.In...
C#
MIT License
aarnott/nerdbank.streams
Add support for ArrayPool<T> to Sequence<T> This is the new default. It reduces GC pressure since renting arrays no longer incurs an IMemoryOwner<T> allocation. It also improves performance significantly: 14-32% Closes #51
1,799
18.03.2019 09:11:06
25,200
18a5889a47d471d38479139f3535053cd693e3f7
Add tests for ArrayPool<T> support
[ { "change_type": "RENAME", "old_path": "src/Nerdbank.Streams.Tests/MockPool`1.cs", "new_path": "src/Nerdbank.Streams.Tests/MockMemoryPool`1.cs", "diff": "@@ -7,7 +7,7 @@ using System.Collections.Generic;\nusing System.Linq;\nusing Xunit;\n-internal class MockPool<T> : MemoryPool<T>\n+internal class ...
C#
MIT License
aarnott/nerdbank.streams
Add tests for ArrayPool<T> support
1,799
18.03.2019 09:11:53
25,200
caee1d18457ca723f591f990783b8ffd00170987
Clear references to ref type T when recycling memory in Sequence<T> Fixes
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -45,6 +45,26 @@ public class SequenceTests : TestBase\nAssert.Throws<ArgumentOutOfRangeException>(() => seq.GetMemory(-1));\n}\n+ [Fact]\n+ pub...
C#
MIT License
aarnott/nerdbank.streams
Clear references to ref type T when recycling memory in Sequence<T> Fixes #61
1,799
19.03.2019 21:11:18
25,200
910e117f352c057e631daef7f719e1b0713f92bc
Move repeated type check to static cctor
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -291,6 +291,11 @@ namespace Nerdbank.Streams\nprivate class SequenceSegment : ReadOnlySequenceSegment<T>\n{\n+ /// <summary>\n+ /// A value indicating whether th...
C#
MIT License
aarnott/nerdbank.streams
Move repeated type check to static cctor
1,799
20.03.2019 06:58:55
25,200
801e8dda24a82227ad072842fd73eb20bb6be3da
Use private array pool by default The private pools do not make use of TLS, so it's much faster: 17-31%
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Sequence`1.cs", "new_path": "src/Nerdbank.Streams/Sequence`1.cs", "diff": "@@ -37,10 +37,10 @@ namespace Nerdbank.Streams\n/// <summary>\n/// Initializes a new instance of the <see cref=\"Sequence{T}\"/> class\n- /// that uses the <see cre...
C#
MIT License
aarnott/nerdbank.streams
Use private array pool by default The private pools do not make use of TLS, so it's much faster: 17-31%
1,799
20.03.2019 22:59:47
25,200
40e09ef84ef8ee4e1e13f74c88288eafaa8bcc5b
Avoid write-and-flush without awaiting This fixes a multiplexing handshake bug when the streams are stdin/stdout streams which malfunction if flushed before a WriteAsync call has completed.
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "new_path": "src/Nerdbank.Streams/MultiplexingStream.cs", "diff": "@@ -206,14 +206,13 @@ namespace Nerdbank.Streams\nvar sendBuffer = new byte[ProtocolMagicNumber.Length + randomSendBuffer.Length];\nArray.Copy(Proto...
C#
MIT License
aarnott/nerdbank.streams
Avoid write-and-flush without awaiting This fixes a multiplexing handshake bug when the streams are stdin/stdout streams which malfunction if flushed before a WriteAsync call has completed.
1,799
23.03.2019 10:48:01
25,200
ce184b68ba53b85014bda33f5e75d6ad276742af
Fix NRE thrown when Advance is called before GetMemory
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "new_path": "src/Nerdbank.Streams.Tests/SequenceTests.cs", "diff": "@@ -114,6 +114,13 @@ public class SequenceTests : TestBase\nAssert.Equal(\"abcd0123456789\", new string(seq.AsReadOnlySequence.ToArray()));\n}\n+ ...
C#
MIT License
aarnott/nerdbank.streams
Fix NRE thrown when Advance is called before GetMemory
1,799
28.03.2019 08:06:21
25,200
28bc78cd71ffb33dc4e19be5ef50f46fcfa303f6
Fix ObjectDisposedException thrown from Stream.UsePipeReader()
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/PipeExtensions.cs", "new_path": "src/Nerdbank.Streams/PipeExtensions.cs", "diff": "@@ -72,6 +72,10 @@ namespace Nerdbank.Streams\npipe.Writer.Advance(bytesRead);\n}\n+ catch (ObjectDisposedException)\n+ {\n+ break;\n+ }\ncatch (Exception e...
C#
MIT License
aarnott/nerdbank.streams
Fix ObjectDisposedException thrown from Stream.UsePipeReader()
1,799
28.03.2019 08:23:26
25,200
681f086dbbbea2fca147899c0b0525355ef261fc
Avoid allocation of closure and delegate in WaitForReaderCompletionAsync
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams/Utilities.cs", "new_path": "src/Nerdbank.Streams/Utilities.cs", "diff": "@@ -64,18 +64,19 @@ namespace Nerdbank.Streams\nvar readerDone = new TaskCompletionSource<object>();\nwriter.OnReaderCompleted(\n- (ex, tcs) =>\n+ (ex, tcsObject) =>\...
C#
MIT License
aarnott/nerdbank.streams
Avoid allocation of closure and delegate in WaitForReaderCompletionAsync
1,799
28.03.2019 10:56:58
25,200
9c40859b37d357a0ad6bacfef9bede72539d64d4
Add FullDuplexStream.CreatePipePair
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "new_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "diff": "@@ -319,6 +319,28 @@ public class FullDuplexStreamPairTests : TestBase\nAssert.Equal(0, this.stream2.Read(buffer, 0, 1));\...
C#
MIT License
aarnott/nerdbank.streams
Add FullDuplexStream.CreatePipePair
1,799
28.03.2019 16:55:50
25,200
dd8befc5c22e5b835fa5e122a937aa239b7b3e3f
Fixes for paired stream/pipe shutdown
[ { "change_type": "MODIFY", "old_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "new_path": "src/Nerdbank.Streams.Tests/FullDuplexStreamPairTests.cs", "diff": "@@ -5,6 +5,7 @@ using System;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\n+using Microsoft;\nusi...
C#
MIT License
aarnott/nerdbank.streams
Fixes for paired stream/pipe shutdown