This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Commits on Mar 21, 2013
  1. 2013.03.21, Version 0.10.1 (Stable)

    isaacs committed Mar 21, 2013
    * npm: upgrade to 1.2.15
    
    * crypto: Improve performance of non-stream APIs (Fedor Indutny)
    
    * tls: always reset this.ssl.error after handling (Fedor Indutny)
    
    * tls: Prevent mid-stream hangs (Fedor Indutny, isaacs)
    
    * net: improve arbitrary tcp socket support (Ben Noordhuis)
    
    * net: handle 'finish' event only after 'connect' (Fedor Indutny)
    
    * http: Don't hot-path end() for large buffers (isaacs)
    
    * fs: Missing cb errors are deprecated, not a throw (isaacs)
    
    * fs: make write/appendFileSync correctly set file mode (Raymond Feng)
    
    * stream: Return self from readable.wrap (isaacs)
    
    * stream: Never call decoder.end() multiple times (Gil Pedersen)
    
    * windows: enable watching signals with process.on('SIGXYZ') (Bert Belder)
    
    * node: revert removal of MakeCallback (Trevor Norris)
    
    * node: Unwrap without aborting in handle fd getter (isaacs)
  2. npm: upgrade to 1.2.15

    isaacs committed Mar 21, 2013
Commits on Mar 20, 2013
  1. crypto: initialize transform lazily

    indutny committed with isaacs Mar 15, 2013
  2. tls: Prevent hang in readStart

    isaacs committed Mar 20, 2013
    This is not a great fix, and it's a bug that's very tricky to reproduce.
    
    Occasionally, while downloading a file, especially on Linux for some
    reason, the pause/resume timing will be just right such that the
    CryptoStream is in a 'reading' state, but actually has no data, so it
    ought to pull more in.  Because there's no reads happening, it just sits
    there, and the process will exit
    
    This is, fundamentally, a factor of how the HTTP implementation sits
    atop CryptoStreams and TCP Socket objects, which is utterly horrible,
    and needs to be rewritten.  However, in the meantime, npm downloads are
    prematurely exiting, causing hard-to-debug "cb() never called!" errors.
  3. bench: compare binaries equal times

    trevnorris committed with bnoordhuis Mar 20, 2013
    The benchmark compare would drop the last run of the binary pairs. So
    when they were only run once an error would arise because no data was
    generated for the second binary.
  4. tls: always reset this.ssl.error after handling

    indutny committed Mar 20, 2013
    Otherwise assertion may happen:
    
        src/node_crypto.cc:962: void node::crypto::Connection::ClearError():
        Assertion `handle_->Get(String::New("error"))->BooleanValue() == false'
        failed.
    
    See #5058
Commits on Mar 19, 2013
  1. doc: fix streams2 SimpleProtocol example

    ichernev committed with bnoordhuis Mar 19, 2013
    A non-existing variable `b` was used to queue data for reading.
  2. windows: enable watching signals with process.on('SIGXYZ')

    piscisaureus committed Mar 19, 2013
    This reverts commit ea1cba6.
    
    The offending commit was intended to land on the v0.8 branch only, but
    it accidentally got merged at some point.
    
    Closes #5054.
  3. Update .mailmap and AUTHORS

    piscisaureus committed Mar 19, 2013
Commits on Mar 18, 2013
  1. doc: fix broken links in blog footer

    bnoordhuis committed Mar 18, 2013
    The blog lives at blog.nodejs.org while the main website lives at
    nodejs.org. Ergo, use absolute URLs for links to the main website.
    
    Fixes #5062.
Commits on Mar 17, 2013
  1. tls: write pending data of opposite side

    indutny committed Mar 15, 2013
    fix stucked CryptoStream behaviour, happening when one of the sides
    locks-up in queued state.
    
    fix #5023
  2. node: revert removal of MakeCallback

    trevnorris committed with bnoordhuis Mar 17, 2013
    In 0168109 an implementation of MakeCallback was accidently removed. It
    has been re-added.
  3. doc: fix typo in crypto docs

    outsideris committed with bnoordhuis Mar 12, 2013
Commits on Mar 16, 2013
  1. install: don't install man page twice

    bnoordhuis committed Mar 16, 2013
    Looks like a merge conflict in 77ed12f left in the old, unconditional
    install rule. Remove it, the new and improved rule is a few lines down.
    
    Fixes #5044.
Commits on Mar 15, 2013
  1. v8: move 32 bit heap hint on sunos

    tjfontaine committed with bnoordhuis Mar 14, 2013
    Setting the V8 heap at or near 0x20000000 on 32bit sunos only allows
    512 MB of heap space, instead on sunos move this to 0x80000000.
    
    Fixes #4010.
Commits on Mar 14, 2013
  1. stream: Return self from readable.wrap

    isaacs committed Mar 14, 2013
    Also, set paused=false *before* calling resume().  Otherwise,
    there's an edge case where an immediately-emitted chunk might make
    it call pause() again incorrectly.
  2. test: No need for kicking in streams2 test

    isaacs committed Mar 14, 2013
    This was necessary when we weren't auto-starting when a 'readable'
    listener is added.
  3. stream: Never call decoder.end() multiple times

    kanongil committed with isaacs Mar 14, 2013
    Updated version that does what it says without assigning state.decoder.
  4. doc: don't mark fs callbacks as optional

    koichik committed with isaacs Mar 14, 2013
    Refs #5005, #5008
  5. http: Don't hot-path end() for large buffers

    isaacs committed Mar 14, 2013
    The benefits of the hot-path optimization below start to fall off when
    the buffer size gets up near 128KB, because the cost of the copy is more
    than the cost of the extra write() call.  Switch to the write/end method
    at that point.
    
    Heuristics and magic numbers are awful, but slow http responses are
    worse.
    
    Fix #4975
  6. net: improve arbitrary tcp socket support

    bnoordhuis committed Mar 14, 2013
    Consider this example:
    
      // fd 3 is a bound tcp socket
      var s = net.createServer(cb);
      s.listen({ fd: 3 });
      console.log(s.address());  // prints null
    
    This commit makes net.Server#address() print the actual address.
    
    Ditto for non-listen sockets; properties like net.Socket#localAddress
    and net.Socket#remoteAddress now return the correct value.
    
    Fixes #5009.
Commits on Mar 13, 2013
  1. Revert "stream: Never call decoder.end() multiple times"

    isaacs committed Mar 13, 2013
    This reverts commit 615d809.
  2. fs: Missing cb errors are deprecated, not a throw

    isaacs committed Mar 13, 2013
    Commit a804347 makes fs function rethrow errors when the callback is
    omitted. While the right thing to do, it's a change from the old v0.8
    behavior where such errors were silently ignored.
    
    To give users time to upgrade, temporarily disable that and replace it
    with a function that warns once about the deprecated behavior.
    
    Close #5005
  3. doc: implicit fs callbacks don't throw in v0.10

    bnoordhuis committed with isaacs Mar 13, 2013
    But they will in v0.12.
    
    Re #5005.
  4. doc: add note on process.title max length

    bnoordhuis committed Mar 13, 2013
    Fixes #5006.
  5. stream: Never call decoder.end() multiple times

    kanongil committed with isaacs Mar 12, 2013
    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.
  6. core: Move UNWRAP_NO_ABORT to handle_wrap.h

    isaacs committed Mar 13, 2013
    Otherwise it cannot be used in StreamWrap.
    
    Forgot to include in last patch, broke the build.
  7. doc: path.join() arguments must be strings

    bnoordhuis committed Mar 13, 2013
    In v0.8, non-string arguments were ignored. v0.10 throws an exception.