Permalink
Commits on Feb 19, 2013
  1. 2013.02.19, Version 0.9.10 (Unstable)

    * V8: Upgrade to 3.15.11.15
    
    * npm: Upgrade to 1.2.12
    
    * fs: Change default WriteStream config, increase perf (isaacs)
    
    * process: streamlining tick callback logic (Trevor Norris)
    
    * stream_wrap, udp_wrap: add read-only fd property (Ben Noordhuis)
    
    * buffer: accept negative indices in Buffer#slice() (Ben Noordhuis)
    
    * tls: Cycle data when underlying socket drains (isaacs)
    
    * stream: read(0) should not always trigger _read(n,cb) (isaacs)
    
    * stream: Empty strings/buffers do not signal EOF any longer (isaacs)
    
    * crypto: improve cipher/decipher error messages (Ben Noordhuis)
    
    * net: Respect the 'readable' flag on sockets (isaacs)
    
    * net: don't suppress ECONNRESET (Ben Noordhuis)
    
    * typed arrays: copy Buffer in typed array constructor (Ben Noordhuis)
    
    * typed arrays: make DataView throw on non-ArrayBuffer (Ben Noordhuis)
    
    * windows: MSI installer enhancements (Scott Blomquist, Jim Schubert)
    isaacs committed Feb 19, 2013
  2. npm: Upgrade to 1.2.12

    isaacs committed Feb 19, 2013
  3. tls: Write pending data on socket drain

    Fixes #4800
    isaacs committed Feb 19, 2013
  4. test: Fix regression in tls test

    Undefined reference, introduced by a77c29a.
    isaacs committed Feb 19, 2013
  5. test: Fix tls tests which fail sporadically

    The count of ECONNRESETs is dependent on timing, and thus unreliable,
    especially on Linux machines.
    isaacs committed with indutny Feb 19, 2013
Commits on Feb 18, 2013
  1. Merge remote-tracking branch 'ry/v0.8' into master

    Conflicts:
    	AUTHORS
    	ChangeLog
    	lib/http.js
    	src/node_version.h
    	test/simple/test-http-header-response-splitting.js
    isaacs committed Feb 18, 2013
Commits on Feb 16, 2013
  1. stream: Pipe data in chunks matching read data

    This creates better flow for large values of lowWaterMark.
    kanongil committed with isaacs Feb 14, 2013
  2. fs: Change default WriteStream config, increase perf

    This increases fs.WriteStream throughput dramatically by removing the
    "higher default water marks" for fs.WriteStream.
    
    Also includes a benchmark.  Current performance is significantly higher
    than v0.8 for strings at all tested levels except size=1.  Buffer
    performance is still lackluster.
    
    Further improvement in the stream.Writable base class is required, but
    this is a start.
    isaacs committed Feb 3, 2013
  3. test: Bump up debugger timeouts

    200ms is still short enough for occasional spurious failures.
    isaacs committed Feb 16, 2013
  4. process: allow ticker to cross communicate better

    Using external memory values allows for quick communication between js
    and cc land, so we can check if the js land callback needs to be run.
    (this is where I meant that manually tracking nextTickQueue.length would
    be helpful)
    
    Also did some minor cleanup of removing the old Tick and
    StartTickSpinner functions, and a few unneeded comments.
    
    Conflicts:
    
    	src/node.cc
    trevnorris committed with isaacs Feb 13, 2013
  5. process: streamlining tick callback logic

    * Callbacks from spinner now calls its own function, separate from the
      tickCallback logic
    * MakeCallback will call a domain specific function if a domain is
      detected
    * _tickCallback assumes no domains, until nextTick receives a callback
      with a domain. After that _tickCallback is overridden with the domain
      specific implementation.
    * _needTickCallback runs in startup() instead of nextTick (isaacs)
    * Fix bug in _fatalException where exit would be called twice (isaacs)
    * Process.domain has a default value of null
    * Manually track nextTickQueue.length (will be useful later)
    * Update tests to reflect internal api changes
    trevnorris committed with isaacs Feb 7, 2013
  6. Revert "Move MakeCallback to JS"

    This reverts commit 0109a9f.
    
    Also included:  Port all the changes to process._makeCallback into the
    C++ version.  Immediate nextTick, etc.
    
    This yields a slight boost in several benchmarks.  V8 is optimizing and
    deoptimizing process._makeCallback repeatedly.
    isaacs committed Feb 1, 2013
  7. timer: move setImmediate from timer to uv_check

    uv_check is the robust place to invoke setImmediate callbacks after
    process.nextTick and before timers(setTimeout/setInterval)
    shigeki committed with isaacs Feb 6, 2013
Commits on Feb 15, 2013
  1. blog: Release v0.8.20

    isaacs committed Feb 15, 2013
  2. Now working on v0.8.21

    isaacs committed Feb 15, 2013
  3. 2013.02.15, Version 0.8.20 (Stable)

    * npm: Upgrade to v1.2.11
    
    * http: Do not let Agent hand out destroyed sockets (isaacs)
    
    * http: Raise hangup error on destroyed socket write (isaacs)
    
    * http: protect against response splitting attacks (Bert Belder)
    isaacs committed Feb 15, 2013
  4. npm: Upgrade to v1.2.11

    isaacs committed Feb 15, 2013
  5. http: Raise hangup error on destroyed socket write

    Prior to v0.10, Node ignored ECONNRESET errors in many situations.
    There *are* valid cases in which ECONNRESET should be ignored as a
    normal part of the TCP dance, but in many others, it's a very relevant
    signal that must be heeded with care.
    
    Exacerbating this problem, if the OutgoingMessage does not have a
    req.connection._handle, it assumes that it is in the process of
    connecting, and thus buffers writes up in an array.
    
    The problem happens when you reuse a socket between two requests, and it
    is destroyed abruptly in between them.  The writes will be buffered,
    because the socket has no handle, but it's not ever going to GET a
    handle, because it's not connecting, it's destroyed.
    
    The proper fix is to treat ECONNRESET correctly.  However, this is a
    behavior/semantics change, and cannot land in a stable branch.
    
    Fix #4775
    isaacs committed Feb 14, 2013
Commits on Feb 14, 2013
  1. doc: clarify child_process.exec() stdio option

    It only works for stdin, not stdout/stderr, for obvious reasons.
    bnoordhuis committed Feb 14, 2013
Commits on Feb 13, 2013
  1. doc: add prompt to fix repl_test.js example

    Running repl.start without the prompt set produces this error:
    
    repl.js:95
        throw new Error('An options Object, or a prompt String are required');
              ^
    Error: An options Object, or a prompt String are required
        at new REPLServer (repl.js:95:11)
        at Object.exports.start (repl.js:321:14)
        at Object.<anonymous> (/Users/dan/Dropbox/Documents/dev/nextgen/repl_test.js:5:6)
        at Module._compile (module.js:449:26)
        at Object.Module._extensions..js (module.js:467:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.runMain (module.js:492:10)
        at process.startup.processNextTick.process._tickCallback (node.js:244:9)
    dankohn committed with bnoordhuis Feb 12, 2013
  2. stream_wrap, udp_wrap: add read-only fd property

    Expose the file descriptor as a read-only property on the internal
    handle objects. Intended for debugging purposes, not part of the API
    proper. The property is always null on Windows.
    
    Fixes #4754.
    bnoordhuis committed Feb 13, 2013
  3. udp_wrap: don't use namespace imports in header

    It's not really harmful but it's inconsistent with the other header
    files.
    bnoordhuis committed Feb 13, 2013
  4. buffer: accept negative indices in Buffer#slice()

    A negative start or end parameter now indexes from the end of the
    buffer. More in line with String#slice() and ArrayBuffer#slice().
    bnoordhuis committed with isaacs Feb 12, 2013
  5. net: Respect the 'readable' flag on sockets

    Previously, we were only destroying sockets on end if their readable
    side had already been ended.  This causes a problem for non-readable
    streams, since we don't expect to ever see an 'end' event from those.
    
    Treat the lack of a 'readable' flag the same as if it was an ended
    readable stream.
    
    Fix #4751
    isaacs committed Feb 12, 2013
Commits on Feb 12, 2013
  1. blog: Peer Dependencies article

    Thanks, @domenic
    isaacs committed Feb 12, 2013