Permalink
Commits on Apr 19, 2013
  1. @isaacs

    2013.04.19, Version 0.11.1 (Unstable)

    * V8: upgrade to 3.18.0
    
    * uv: Upgrade to v0.11.1
    
    * http: split into multiple separate modules (Timothy J Fontaine)
    
    * http: escape unsafe characters in request path (Ben Noordhuis)
    
    * url: Escape all unwise characters (isaacs)
    
    * build: depend on v8 postmortem-metadata if enabled (Paddy Byers)
    
    * etw: update prototypes to match dtrace provider (Timothy J Fontaine)
    
    * buffer: change output of Buffer.prototype.toJSON() (David Braun)
    
    * dtrace: actually use the _handle.fd value (Timothy J Fontaine)
    
    * dtrace: pass more arguments to probes (Dave Pacheco)
    
    * build: allow building with dtrace on osx (Dave Pacheco)
    
    * zlib: allow passing options to convenience methods (Kyle Robinson Young)
    isaacs committed Apr 19, 2013
  2. @isaacs

    test: fix dgram-bind-default-address on osx

    Allow the IPv4-mapped-as-IPv6 style address.
    isaacs committed Apr 19, 2013
  3. @trevnorris @bnoordhuis

    src: replace Holder() with This()

    Switch to always use args.This() to retrieve object instance.
    trevnorris committed with bnoordhuis Apr 18, 2013
  4. @bnoordhuis

    build: fix arm build after v8 upgrade

    V8 was upgraded to 3.18 in commit 9f68226. The knobs that control the
    ARM build have changed in a number of ways. This commit patches the
    configure script to reflect that. Should fix the Raspberry Pi build.
    
    Fixes #5329.
    bnoordhuis committed Apr 19, 2013
Commits on Apr 18, 2013
  1. @isaacs
  2. @hackedy @isaacs

    assert: put info in err.message, not err.name

    4716dc6 made assert.equal() and related functions work better by
    generating a better toString() from the expected, actual, and operator
    values passed to fail(). Unfortunately, this was accomplished by putting
    the generated message into the error's `name` property. When you passed
    in a custom error message, the error would put the custom error into
    `name` *and* `message`, resulting in helpful string representations like
    "AssertionError: Oh no: Oh no".
    
    This commit resolves that issue by storing the generated message in the
    `message` property while leaving the error's name alone and adding
    a regression test so that this doesn't pop back up later.
    
    Closes #5292.
    hackedy committed with isaacs Apr 14, 2013
  3. @bnoordhuis
  4. @bnoordhuis

    Merge remote-tracking branch 'origin/v0.10'

    Conflicts:
    	src/node_os.cc
    bnoordhuis committed Apr 18, 2013
Commits on Apr 17, 2013
  1. @trevnorris @bnoordhuis

    crypto: fix return Local Handle w/o scope.Close()

    A new String was being created and returned, but was not sent through
    the scope.Close(), which caused it to be cleaned up before being
    returned.
    trevnorris committed with bnoordhuis Apr 17, 2013
  2. @tjfontaine @bnoordhuis

    build: libv8_base.a is now libv8_base.<arch>.a

    This fixes generating the v8 contstants for dtrace on smartos
    tjfontaine committed with bnoordhuis Apr 17, 2013
  3. @bnoordhuis

    dgram: fix no address bind()

    I broke dgram.Socket#bind(port, cb) almost a year ago in 332fea5 but
    it wasn't until today that someone complained and none of the tests
    caught it because they all either specify the address or omit the
    callback.
    
    Anyway, now it works again and does what you expect: it binds the
    socket to the "any" address ("0.0.0.0" for IPv4 and "::" for IPv6.)
    bnoordhuis committed Apr 17, 2013
  4. @bnoordhuis

    test: make stdout-close-unref work in test runner

    process.stdout isn't fully initialized yet by the time the test starts
    when invoked with `python tools/test.py`. Use process.stdin instead and
    force initialization with process.stdin.resume().
    bnoordhuis committed Apr 17, 2013
  5. @bnoordhuis
  6. @bnoordhuis
  7. @bnoordhuis

    deps: upgrade v8 to 3.18.0

    bnoordhuis committed Apr 17, 2013
Commits on Apr 16, 2013
  1. @tjfontaine @bnoordhuis
  2. @tjfontaine @bnoordhuis
  3. @tjfontaine @bnoordhuis
  4. @tjfontaine @bnoordhuis
  5. @tjfontaine @bnoordhuis
  6. @tjfontaine @bnoordhuis
  7. @kellygerber @bnoordhuis

    docs: update path.join() example for v0.10

    The current example shows the behavior of v0.8. In v0.10 arguments
    to path.join() must be strings; otherwise, an exception is thrown.
    kellygerber committed with bnoordhuis Apr 9, 2013
  8. @rmg @bnoordhuis
  9. @bnoordhuis

    handle_wrap: fix NULL pointer dereference

    Fix a NULL pointer dereference in src/handle_wrap.cc which is really a
    use-after-close bug.
    
    The test checks that unref() after close() works on process.stdout but
    this bug affects everything that derives from HandleWrap. I discovered
    it because child processes would sometimes quit for no reason (that is,
    no reason until I turned on core dumps.)
    bnoordhuis committed Apr 16, 2013
  10. @bnoordhuis

    test: preserve process.env after test-init exec

    When LD_LIBRARY_PATH is overriden for custom builds we need to preserve
    it for child processes. To be sure we preserve whole environment of
    parent process and just add TEST_INIT variable to it.
    Stanislav Ochotnicky committed with bnoordhuis Apr 16, 2013
  11. @bnoordhuis

    test: preserve process.env in forked child_process

    When LD_LIBRARY_PATH is overriden for custom builds we need to preserve
    it for forked process. There are possibly other environment variables
    that could cause test failures so we preserve whole environment of
    parent process.
    Stanislav Ochotnicky committed with bnoordhuis Apr 10, 2013
Commits on Apr 15, 2013
  1. @bnoordhuis

    os: unbreak windows build

    Windows doesn't have MAXHOSTNAMELEN. Introduced in afbadde.
    bnoordhuis committed Apr 15, 2013
  2. @bnoordhuis

    os: handle 256 character hostnames

    Fix a (rather academic) buffer overflow. MAXHOSTNAMELEN is 256 on most
    platforms, which means the buffer wasn't big enough to hold the
    trailing nul byte on a system with a maximum length hostname.
    bnoordhuis committed Apr 15, 2013
  3. @bnoordhuis

    os: fix unlikely buffer overflow in os.type()

    * Fix a buffer overflow that happens iff strlen(info.sysname) > 255.
    * Check the return value of uname().
    bnoordhuis committed Apr 15, 2013
Commits on Apr 12, 2013
  1. @bnoordhuis @isaacs

    test: add extra checks

    bnoordhuis committed with isaacs Apr 12, 2013
  2. @bnoordhuis @isaacs

    http: escape unsafe characters in request path

    Make http.request() and friends escape unsafe characters in the request
    path. That is, a request for '/foo bar' is now escaped as '/foo%20bar'.
    
    Before this commit, the path was used as-is in the request status line,
    creating an invalid HTTP request ("GET /foo bar HTTP/1.1").
    
    Fixes #4381.
    bnoordhuis committed with isaacs Apr 12, 2013
  3. @isaacs
  4. @isaacs

    url: Escape all unwise characters

    This makes node's http URL handling logic identical to Chrome's
    
    Re #5284
    isaacs committed Apr 12, 2013
  5. @indutny

    uv: Upgrade to v0.11.1

    indutny committed Apr 12, 2013
  6. @indutny

    Merge branch 'v0.10'

    Conflicts:
    	ChangeLog
    	deps/uv/src/version.c
    	src/node.h
    	src/node_crypto.cc
    	src/node_crypto_bio.cc
    	src/node_crypto_bio.h
    	src/node_object_wrap.h
    	src/node_version.h
    indutny committed Apr 12, 2013