Permalink
Commits on Jan 10, 2013
  1. @isaacs

    2012.01.09, Version 0.8.17 (Stable)

    * npm: Upgrade to v1.2.0
      - peerDependencies (Domenic Denicola)
      - node-gyp v0.8.2 (Nathan Rajlich)
      - Faster installs from github user/project shorthands (Nathan Zadoks)
    
    * typed arrays: fix 32 bit size/index overflow (Ben Noordhuis)
    
    * http: Improve performance of single-packet responses (Ben Noordhuis)
    
    * install: fix openbsd man page location (Ben Noordhuis)
    
    * http: bubble up parser errors to ClientRequest (Brian White)
    isaacs committed Jan 10, 2013
Commits on Jan 9, 2013
  1. @bnoordhuis

    typed arrays: fix 32 bit size/index overflow

    Fix an out-of-bound read/write bug due to integer wrapping. Reported by
    Dean McNamee.
    bnoordhuis committed Jan 9, 2013
  2. @isaacs

    npm: Upgrade to v1.2.0

    isaacs committed Jan 9, 2013
  3. @indutny

    object_wrap: add missing HandleScope

    by Sven Panne's suggestion, see [0] for details.
    
    [0]: https://code.google.com/p/v8/issues/detail?id=2468
    indutny committed Jan 4, 2013
Commits on Jan 8, 2013
  1. @bnoordhuis

    dgram: don't assert on send('string')

    Raise a TypeError when the argument to send() or sendto() is anything
    but a Buffer.
    
    Fixes the following assertion:
    
      $ node -e 'require("dgram").createSocket("udp4").send("BAM")'
      node: ../../src/udp_wrap.cc:220: static v8::Handle<v8::Value>
      node::UDPWrap::DoSend(const v8::Arguments&, int): Assertion
      `Buffer::HasInstance(args[0])' failed.
      Aborted (core dumped)
    
    Fixes #4496.
    bnoordhuis committed Jan 8, 2013
Commits on Jan 4, 2013
  1. @jhnns @bnoordhuis

    doc: improve example of process.hrtime()

    The example clarifies now that diff[0] * 1000000000 + diff[1] equals
    the result in nanoseconds.
    jhnns committed with bnoordhuis Jan 4, 2013
Commits on Dec 31, 2012
  1. @tfeb @bnoordhuis

    os: change CPU time from Integer to Number

    CPU time values must be Numbers, not Integers, as they can be too large
    for Integers on 32 bit platforms.
    tfeb committed with bnoordhuis Dec 20, 2012
  2. @bnoordhuis

    doc: add CONTRIBUTING.md

    bnoordhuis committed Dec 30, 2012
Commits on Dec 30, 2012
  1. @isaacs

    blog: Post for v0.9.5

    isaacs committed Dec 30, 2012
Commits on Dec 29, 2012
  1. @bnoordhuis
Commits on Dec 27, 2012
  1. @mmalecki @isaacs

    build: allow to specify custom tags

    When building custom `node` versions (e.g., floating features/fixes from
    different versions) it's often useful to specify a custom tag which
    easily identifies build when invoking `node -v`.
    
    Introduce a way to specify this tag in `node_version.h` file or by
    running `./configure --tag="<tag>"`. Insert it right after the patch
    version (and before `-pre`, if build is not a release).
    mmalecki committed with isaacs Dec 21, 2012
Commits on Dec 26, 2012
  1. @isaacs

    lint

    isaacs committed Dec 26, 2012
Commits on Dec 21, 2012
  1. @isaacs

    blog: Post about v0.9.4

    isaacs committed Dec 21, 2012
  2. @isaacs

    npm: upgrade to 1.1.70

    isaacs committed Dec 21, 2012
  3. @isaacs

    blog: More streams2 wordsmithing

    isaacs committed Dec 21, 2012
  4. @isaacs
Commits on Dec 20, 2012
  1. @bnoordhuis

    http: pack response body buffer in first tcp packet

    Apply the same optimization to res.end(buf) that is applied to res.end(str).
    
    Speeds up `node benchmark/http_simple_auto -k -c 1 -n 25000 buffer/1`
    (non-chunked response body) by about 750x. That's not a typo.
    
    Chunked responses:
    
      $ cat tmp/http-chunked-client.js
      // Run `node benchmark/http_simple` in another terminal.
      var http = require('http'), url = require('url');
      var options = url.parse('http://127.0.0.1:8000/buffer/1/1');
      options.agent = new http.Agent({ maxSockets: 1 });
      for (var i = 0; i < 25000; ++i) http.get(options);
    
    Before:
    
      $ time out/Release/node tmp/http-chunked-client.js
      real    16m40.411s
      user    0m9.184s
      sys     0m0.604s
    
    After:
    
      $ time out/Release/node tmp/http-chunked-client.js
      real    0m5.386s
      user    0m2.768s
      sys     0m0.728s
    
    That's still a 185x speed-up.
    
    Fixes #4415.
    bnoordhuis committed Dec 19, 2012
  2. @bnoordhuis

    bench: use res.end() for chunked encoding

    Use res.end() for the final chunk so we can benchmark the 'hot path' shortcut
    in lib/http.js that packs the headers and the body into a single packet.
    bnoordhuis committed Dec 19, 2012
Commits on Dec 18, 2012
  1. @isaacs

    blog: post about streams2 feature

    isaacs committed Dec 18, 2012
Commits on Dec 17, 2012
  1. @naholyr @bnoordhuis
  2. @bnoordhuis

    install: fix openbsd man page location

    Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
    bnoordhuis committed Dec 17, 2012
Commits on Dec 16, 2012
  1. @mscdex @bnoordhuis

    http: bubble up parser errors to ClientRequest

    Make parser errors bubble up to the ClientRequest instead of the underlying
    net.Socket object.
    
    This is a back-port of commit c78678b from the master branch.
    
    Fixes #3776.
    mscdex committed with bnoordhuis Aug 7, 2012
Commits on Dec 13, 2012
  1. @isaacs

    blog: Post for 0.8.16

    isaacs committed Dec 13, 2012
  2. @isaacs

    Now working on 0.8.17

    isaacs committed Dec 13, 2012
  3. @isaacs

    Merge commit 'v0.8.16' into v0.8

    isaacs committed Dec 13, 2012
  4. @isaacs

    2012.12.13, Version 0.8.16 (Stable)

    * npm: Upgrade to 1.1.69
    
    * fs: fix WriteStream/ReadStream fd leaks (Ben Noordhuis)
    
    * crypto: fix leak in GetPeerCertificate (Fedor Indutny)
    
    * buffer: Don't double-negate numeric buffer arg (Trevor Norris)
    
    * net: More accurate IP address validation and IPv6 dotted notation. (Joshua Erickson)
    isaacs committed Dec 12, 2012
Commits on Dec 12, 2012
  1. @isaacs

    npm: Upgrade to v1.1.69

    isaacs committed Dec 12, 2012
  2. @bnoordhuis

    fs: fix WriteStream fd leak

    Close the file descriptor when a write operation fails.
    
    Fixes #4387.
    bnoordhuis committed Dec 11, 2012
  3. @bnoordhuis

    fs: fix ReadStream fd leak

    Close the file descriptor when a read operation fails.
    
    Fixes #4387.
    bnoordhuis committed Dec 11, 2012
  4. @bnoordhuis

    test: add common.mustCall function

    Verifies that the callback gets invoked <n> times during the lifetime of the
    test script.
    
    This is a back-port of commit d0e6c3f from the master branch.
    bnoordhuis committed Jul 31, 2012
Commits on Dec 11, 2012
  1. @isaacs
Commits on Dec 6, 2012
  1. @bnoordhuis
Commits on Dec 3, 2012
  1. @indutny
Commits on Dec 2, 2012
  1. @bnoordhuis

    tools: fix platform detection on freebsd, sunos

    This is a back-port of upstream gyp commit r1482.
    bnoordhuis committed Dec 2, 2012
  2. @bnoordhuis

    install: fix freebsd man page location

    Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
    bnoordhuis committed Dec 2, 2012