1. Feb 23, 2013
  2. Feb 22, 2013
    • isaacs's avatar
      stream: Return false from push() more properly · a63c28e6
      isaacs authored
      There are cases where a push() call would return true, even though
      the thing being pushed was in fact way way larger than the high
      water mark, simply because the 'needReadable' was already set, and
      would not get unset until nextTick.
      
      In some cases, this could lead to an infinite loop of pushing data
      into the buffer, never getting to the 'readable' event which would
      unset the needReadable flag.
      
      Fix by splitting up the emitReadable function, so that it always
      sets the flag on this tick, even if it defers until nextTick to
      actually emit the event.
      
      Also, if we're not ending or already in the process of reading, it
      now calls read(0) if we're below the high water mark.  Thus, the
      highWaterMark value is the intended amount to buffer up to, and it
      is smarter about hitting the target.
      a63c28e6
    • isaacs's avatar
      stream: remove lowWaterMark feature · 3b2e9d26
      isaacs authored
      It seems like a good idea on the face of it, but lowWaterMarks are
      actually not useful, and in practice should always be set to zero.
      
      It would be worthwhile for writers if we actually did some kind of
      writev() type of thing, but actually this just delays calling write()
      and the overhead of doing a bunch of Buffer copies is not worth the
      slight benefit of calling write() fewer times.
      3b2e9d26
    • isaacs's avatar
      089ec586
    • Nathan Rajlich's avatar
      50c88e0f
    • Nathan Rajlich's avatar
      4b61522f
    • Arianit Uka's avatar
      path: join throws TypeError on non-string args · 055110da
      Arianit Uka authored
      lib/path.js:
        - throws a TypeError on the filter if the argument is not a string.
      
      test/simple/test-path.js:
        - removed the test to check if non-string types are filtered.
        - added a test to check if path.join throws TypeError on arguments that
          are not strings.
      055110da
    • Fedor Indutny's avatar
      tls: _handle.readStart/readStop for CryptoStream · ebc95f07
      Fedor Indutny authored
      lib/http.js is using stream._handle.readStart/readStop to control
      data-flow coming out from underlying stream. If this methods are not
      present - data might be buffered regardless of whether it'll be read.
      
      see #4657
      ebc95f07
    • Trevor Norris's avatar
      process: fix bug where spinner wasn't called · 7301ba39
      Trevor Norris authored
      Apperently there is a case where calling the spinner was required after
      passing a callback to nextTick(). This fixes that issue.
      7301ba39
  3. Feb 21, 2013
  4. Feb 20, 2013