<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/node.git/test/simple/test-stream2-set-encoding.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>stream: make setEncoding chainable</title>
<updated>2013-09-04T18:15:55+00:00</updated>
<author>
<name>Julian Gruber</name>
<email>julian@juliangruber.com</email>
</author>
<published>2013-08-19T17:14:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=f91b047891c0deb402220b385f166c08edcb0591'/>
<id>f91b047891c0deb402220b385f166c08edcb0591</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: No need for kicking in streams2 test</title>
<updated>2013-03-14T23:18:42+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-03-14T23:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=3537b57f3e6cdf385f0df44dd2a03f1a1ee06b09'/>
<id>3537b57f3e6cdf385f0df44dd2a03f1a1ee06b09</id>
<content type='text'>
This was necessary when we weren't auto-starting when a 'readable'
listener is added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was necessary when we weren't auto-starting when a 'readable'
listener is added.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: Never call decoder.end() multiple times</title>
<updated>2013-03-14T23:13:10+00:00</updated>
<author>
<name>Gil Pedersen</name>
<email>git@gpost.dk</email>
</author>
<published>2013-03-14T13:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=e8f80bf479d79bcd3c8bff7fba70aea483e66449'/>
<id>e8f80bf479d79bcd3c8bff7fba70aea483e66449</id>
<content type='text'>
Updated version that does what it says without assigning state.decoder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated version that does what it says without assigning state.decoder.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "stream: Never call decoder.end() multiple times"</title>
<updated>2013-03-13T22:48:56+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-03-13T22:48:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=6399839c398056756c0d668557339b99a54500e8'/>
<id>6399839c398056756c0d668557339b99a54500e8</id>
<content type='text'>
This reverts commit 615d809ac684a7d2cc7ee5e1aa58f0a921b529a0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 615d809ac684a7d2cc7ee5e1aa58f0a921b529a0.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: Never call decoder.end() multiple times</title>
<updated>2013-03-13T22:20:13+00:00</updated>
<author>
<name>Gil Pedersen</name>
<email>git@gpost.dk</email>
</author>
<published>2013-03-12T14:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=615d809ac684a7d2cc7ee5e1aa58f0a921b529a0'/>
<id>615d809ac684a7d2cc7ee5e1aa58f0a921b529a0</id>
<content type='text'>
Fixes decoder.end() being called on every push(null). As the tls module
does this, corrupt stream data could potentially be added to the end.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes decoder.end() being called on every push(null). As the tls module
does this, corrupt stream data could potentially be added to the end.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: Remove bufferSize option</title>
<updated>2013-03-06T19:44:30+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-03-06T06:57:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=b0f6789a78dbb14778769d1d76b195c2fcd8a340'/>
<id>b0f6789a78dbb14778769d1d76b195c2fcd8a340</id>
<content type='text'>
Now that highWaterMark increases when there are large reads, this
greatly reduces the number of calls necessary to _read(size), assuming
that _read actually respects the size argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that highWaterMark increases when there are large reads, this
greatly reduces the number of calls necessary to _read(size), assuming
that _read actually respects the size argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>stream: There is no _read cb, there is only push</title>
<updated>2013-03-01T01:38:17+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2013-02-28T23:32:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=88644eaa2db3e9b603efca00e640ff08d9320c1b'/>
<id>88644eaa2db3e9b603efca00e640ff08d9320c1b</id>
<content type='text'>
This makes it so that `stream.push(chunk)` is the only way to signal the
end of reading, removing the confusing disparity between the
callback-style _read method, and the fact that most real-world streams
do not have a 1:1 corollation between the "please give me data" event,
and the actual arrival of a chunk of data.

It is still possible, of course, to implement a `CallbackReadable` on
top of this.  Simply provide a method like this as the callback:

    function readCallback(er, chunk) {
      if (er)
        stream.emit('error', er);
      else
        stream.push(chunk);
    }

However, *only* fs streams actually would behave in this way, so it
makes not a lot of sense to make TCP, TLS, HTTP, and all the rest have
to bend into this uncomfortable paradigm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it so that `stream.push(chunk)` is the only way to signal the
end of reading, removing the confusing disparity between the
callback-style _read method, and the fact that most real-world streams
do not have a 1:1 corollation between the "please give me data" event,
and the actual arrival of a chunk of data.

It is still possible, of course, to implement a `CallbackReadable` on
top of this.  Simply provide a method like this as the callback:

    function readCallback(er, chunk) {
      if (er)
        stream.emit('error', er);
      else
        stream.push(chunk);
    }

However, *only* fs streams actually would behave in this way, so it
makes not a lot of sense to make TCP, TLS, HTTP, and all the rest have
to bend into this uncomfortable paradigm.
</pre>
</div>
</content>
</entry>
<entry>
<title>streams: Support objects other than Buffers</title>
<updated>2013-01-24T15:49:27+00:00</updated>
<author>
<name>Raynos</name>
<email>raynos2@gmail.com</email>
</author>
<published>2013-01-12T04:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=444bbd4fa7315423a6b55aba0e0c12ea6534b2cb'/>
<id>444bbd4fa7315423a6b55aba0e0c12ea6534b2cb</id>
<content type='text'>
We detect for non-string and non-buffer values in onread and
turn the stream into an "objectMode" stream.

If we are in "objectMode" mode then howMuchToRead will
always return 1, state.length will always have 1 appended
to it when there is a new item and fromList always takes
the first value from the list.

This means that for object streams, the n in read(n) is
ignored and read() will always return a single value

Fixed a bug with unpipe where the pipe would break because
the flowing state was not reset to false.

Fixed a bug with sync cb(null, null) in _read which would
forget to end the readable stream
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We detect for non-string and non-buffer values in onread and
turn the stream into an "objectMode" stream.

If we are in "objectMode" mode then howMuchToRead will
always return 1, state.length will always have 1 appended
to it when there is a new item and fromList always takes
the first value from the list.

This means that for object streams, the n in read(n) is
ignored and read() will always return a single value

Fixed a bug with unpipe where the pipe would break because
the flowing state was not reset to false.

Fixed a bug with sync cb(null, null) in _read which would
forget to end the readable stream
</pre>
</div>
</content>
</entry>
<entry>
<title>streams2: Tests of new interfaces</title>
<updated>2012-12-14T01:00:26+00:00</updated>
<author>
<name>isaacs</name>
<email>i@izs.me</email>
</author>
<published>2012-10-07T20:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/node.git/commit/?id=9b1b85490b6b242aabf84054a0a59ea1cf1c8dbc'/>
<id>9b1b85490b6b242aabf84054a0a59ea1cf1c8dbc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
