<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/lib/_stream_transform.js, branch move-debugger-tests</title>
<subtitle>github.com: joyent/node.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/'/>
<entry>
<title>lib: remove unused variables and functions</title>
<updated>2013-08-16T00:19:17+00:00</updated>
<author>
<name>Brian White</name>
<email>mscdex@mscdex.net</email>
</author>
<published>2013-08-15T21:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=6d842897c5966cee1924b5073e273568923c8693'/>
<id>6d842897c5966cee1924b5073e273568923c8693</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>src: Replace macros with util functions</title>
<updated>2013-08-01T22:08:01+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-07-26T21:38:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=22c68fdc1dae40f0ed9c71a02f66e5b2c6353691'/>
<id>22c68fdc1dae40f0ed9c71a02f66e5b2c6353691</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: macro-ify type checks</title>
<updated>2013-07-24T19:49:35+00:00</updated>
<author>
<name>Ben Noordhuis</name>
<email>info@bnoordhuis.nl</email>
</author>
<published>2013-07-24T16:03:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=0330bdf5195eb77f04c26a09a8bd2088a261fe53'/>
<id>0330bdf5195eb77f04c26a09a8bd2088a261fe53</id>
<content type='text'>
Increases the grep factor. Makes it easier to harmonize type checks
across the code base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Increases the grep factor. Makes it easier to harmonize type checks
across the code base.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: objectMode transform should allow falsey values</title>
<updated>2013-07-03T22:07:01+00:00</updated>
<author>
<name>Jeff Barczewski</name>
<email>jeff.barczewski@gmail.com</email>
</author>
<published>2013-03-31T03:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=26ca7d73ca9c45112f33579aa5a1293059010779'/>
<id>26ca7d73ca9c45112f33579aa5a1293059010779</id>
<content type='text'>
If a transform stream has objectMode = true, it should
allow falsey values other than (null) like 0, false, ''.

null is reserved to indicate stream eof but other falsey
values should flow through properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a transform stream has objectMode = true, it should
allow falsey values other than (null) like 0, false, ''.

null is reserved to indicate stream eof but other falsey
values should flow through properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'ry/v0.10' into master</title>
<updated>2013-05-17T21:04:54+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-05-17T20:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=61c9f78c639459f28eea3d1de203b92debd9f513'/>
<id>61c9f78c639459f28eea3d1de203b92debd9f513</id>
<content type='text'>
Conflicts:
	AUTHORS
	ChangeLog
	deps/uv/ChangeLog
	deps/uv/config-unix.mk
	deps/uv/src/unix/stream.c
	deps/uv/src/version.c
	deps/uv/uv.gyp
	src/node.cc
	src/node_buffer.cc
	src/node_crypto.cc
	src/node_version.h
	src/stream_wrap.cc
	src/stream_wrap.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	AUTHORS
	ChangeLog
	deps/uv/ChangeLog
	deps/uv/config-unix.mk
	deps/uv/src/unix/stream.c
	deps/uv/src/version.c
	deps/uv/uv.gyp
	src/node.cc
	src/node_buffer.cc
	src/node_crypto.cc
	src/node_version.h
	src/stream_wrap.cc
	src/stream_wrap.h
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: don't create unnecessary buffers in Readable</title>
<updated>2013-05-14T18:36:04+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-04-30T22:09:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=bdb78b9945f65a0f2a364995eaf099561a902df7'/>
<id>bdb78b9945f65a0f2a364995eaf099561a902df7</id>
<content type='text'>
If there is an encoding, and we do 'stream.push(chunk, enc)', and the
encoding argument matches the stated encoding, then we're converting from
a string, to a buffer, and then back to a string.  Of course, this is a
completely pointless bit of work, so it's best to avoid it when we know
that we can do so safely.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there is an encoding, and we do 'stream.push(chunk, enc)', and the
encoding argument matches the stated encoding, then we're converting from
a string, to a buffer, and then back to a string.  Of course, this is a
completely pointless bit of work, so it's best to avoid it when we know
that we can do so safely.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: Guarantee ordering of 'finish' event</title>
<updated>2013-05-09T16:35:32+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-05-08T19:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=c38ce9bc0a143141abfa638289b458ddaaac26d6'/>
<id>c38ce9bc0a143141abfa638289b458ddaaac26d6</id>
<content type='text'>
In synchronous Writable streams (where the _write cb is called on the
current tick), the 'finish' event (and thus the end() callback) can in
some cases be called before all the write() callbacks are called.

Use a counter, and have stream.Transform rely on the 'prefinish' event
instead of the 'finish' event.

This has zero effect on most streams, but it corrects an edge case and
makes it perform more deterministically, which is a Good Thing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In synchronous Writable streams (where the _write cb is called on the
current tick), the 'finish' event (and thus the end() callback) can in
some cases be called before all the write() callbacks are called.

Use a counter, and have stream.Transform rely on the 'prefinish' event
instead of the 'finish' event.

This has zero effect on most streams, but it corrects an edge case and
makes it perform more deterministically, which is a Good Thing.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: unused variable</title>
<updated>2013-04-05T19:05:58+00:00</updated>
<author>
<name>Rafael Garcia</name>
<email>rgarcia2009@gmail.com</email>
</author>
<published>2013-04-04T19:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=bd0d45818eac78d3bf2c5510373887cbe9c316d8'/>
<id>bd0d45818eac78d3bf2c5510373887cbe9c316d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: remove vestiges of previous _transform API</title>
<updated>2013-04-05T19:05:58+00:00</updated>
<author>
<name>Rafael Garcia</name>
<email>rgarcia2009@gmail.com</email>
</author>
<published>2013-04-04T19:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49'/>
<id>ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: Fix stall in Transform under very specific conditions</title>
<updated>2013-03-22T00:49:12+00:00</updated>
<author>
<name>Gil Pedersen</name>
<email>git@gpost.dk</email>
</author>
<published>2013-03-17T14:04:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=c3aae9cf95749949194f5288bad7468a995b1162'/>
<id>c3aae9cf95749949194f5288bad7468a995b1162</id>
<content type='text'>
The stall is exposed in the test, though the test itself asserts before
it stalls.

The test is constructed to replicate the stalling state of a complex
Passthrough usecase since I was not able to reliable trigger the stall.

Some of the preconditions for triggering the stall are:
  * rs.length &gt;= rs.highWaterMark
  * !rs.needReadable
  * _transform() handler that can return empty transforms
  * multiple sync write() calls

Combined this can trigger a case where rs.reading is not cleared when
further progress requires this. The fix is to always clear rs.reading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stall is exposed in the test, though the test itself asserts before
it stalls.

The test is constructed to replicate the stalling state of a complex
Passthrough usecase since I was not able to reliable trigger the stall.

Some of the preconditions for triggering the stall are:
  * rs.length &gt;= rs.highWaterMark
  * !rs.needReadable
  * _transform() handler that can return empty transforms
  * multiple sync write() calls

Combined this can trigger a case where rs.reading is not cleared when
further progress requires this. The fix is to always clear rs.reading.
</pre>
</div>
</content>
</entry>
</feed>
