This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Commits on Jun 9, 2014
  1. 2014.06.05, Version 0.10.29 (Stable)

    tjfontaine committed Jun 9, 2014
    * openssl: to 1.0.1h (CVE-2014-0224)
    
    * npm: upgrade to 1.4.10
    
    * utf8: Prevent Node from sending invalid UTF-8 (Felix Geisendörfer)
      - *NOTE* this introduces a breaking change, previously you could construct
    invalid UTF-8 and invoke an error in a client that was expecting valid
    UTF-8, now unmatched surrogate pairs are replaced with the unknown UTF-8
    character. To restore the old functionality simply have NODE_INVALID_UTF8
    environment variable set.
    
    * child_process: do not set args before throwing (Greg Sabia Tucker)
    
    * child_process: spawn() does not throw TypeError (Greg Sabia Tucker)
    
    * constants: export O_NONBLOCK (Fedor Indutny)
    
    * crypto: improve memory usage (Alexis Campailla)
    
    * fs: close file if fstat() fails in readFile() (cjihrig)
    
    * lib: name EventEmitter prototype methods (Ben Noordhuis)
    
    * tls: fix performance issue (Alexis Campailla)
Commits on Jun 8, 2014
  1. fs: remove duplicate check

    mscdex committed with indutny Jun 7, 2014
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on Jun 6, 2014
  1. v8: shift heap space for aslr on 64bit

    tjfontaine committed Jun 5, 2014
    Previously we were only shifting the address space for ASLR on 32bit
    processes, apply the same shift for 64bit so processes don't
    get artificially limited native heap.
  2. npm: upgrade to v1.4.14

    tjfontaine committed Jun 5, 2014
  3. src: replace usage of String::Utf8Value

    tjfontaine committed Apr 10, 2014
    v8::String::Utf8Value previously could allow invalid surrogates when
    interpreting values.
  4. string_bytes: Guarantee valid utf-8 output

    felixge committed with tjfontaine Jan 20, 2014
    Previously v8's WriteUtf8 function would produce invalid utf-8 output
    when encountering unmatched surrogate code units [1]. The new
    REPLACE_INVALID_UTF8 option fixes that by replacing invalid code points
    with the unicode replacement character.
    
    [1]: JS Strings are defined as arrays of 16 bit unsigned integers. There
    is no unicode enforcement, so one can easily end up with invalid unicode
    code unit sequences inside a string.
  5. deps/v8: Apply REPLACE_INVALID_UTF8 patch

    felixge committed with tjfontaine Jan 20, 2014
    - https://codereview.chromium.org/121173009/
    - https://code.google.com/p/v8/source/detail?r=18683
    
    Note: The v8 test case did not cleanly apply, so it's missing from this
    patch. I'm assuming this is not a problem if the v8 test suite is not
    part of the node build / test system. If that's the case I'll fix it.
    Otherwise the test case will be integrated once v8 is upgraded.
  6. string_decoder: Fix failures from new test cases

    felixge committed with tjfontaine May 13, 2014
    This patch simplifies the implementation of StringDecoder, fixes the
    failures from the new test cases, and also no longer relies on v8's
    WriteUtf8 function to encode individual surrogates.
  7. string_decoder: Improve test coverage

    felixge committed with tjfontaine May 13, 2014
    The test cases are still essentially the same, but now all possible ways
    of writing a buffer into the decoder are tested, which has exposed a few
    failing scenarios that had not been discovered so far!
  8. stream: start old-mode read in a next tick

    indutny committed May 16, 2014
    Calling `.read()` in the same tick with `.on('data', ...)` may cause
    users missing `error` events, because no `error` listeners were set yet.
    
    fix #7618
Commits on Jun 5, 2014
  1. deps: update openssl to 1.0.1h

    indutny committed Jun 5, 2014
Commits on May 31, 2014
  1. doc: fixed wording in child_process

    cb1kenobi committed with indutny May 30, 2014
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 29, 2014
  1. fs: close file if fstat() fails in readFile()

    cjihrig committed with piscisaureus May 28, 2014
    Currently, if fstat() fails in readFile(), the callback
    is invoked without closing the file. This commit Closes
    the file before calling back.
    
    Closes #7697
Commits on May 23, 2014
  1. tls: fix performance issue

    orangemocha committed with indutny May 23, 2014
    See https://github.com/orangemocha/node-connection-drop
    
    I have pinpointed the performance degradation to
    ac2263b
    
    This change brings performance back to the orginal levels.
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 22, 2014
  1. doc: document url `slashes` property

    yorkie committed with tjfontaine May 7, 2014
    Slashes should be documented, because 3rd-party protocols -- those
    postfixed with `://` -- would incorrectly `format` and `parse` if they
    didn't set/get the `slashes` option.
    
    Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Commits on May 21, 2014
  1. doc: clarify `end` vs `finish` in streams

    calvinmetcalf committed with tjfontaine May 13, 2014
    Adds a section to the transform stream docs to clarify the
    difference between the `end` event and the `finish` events.
    Also clarifies the wording on the `end` event.
Commits on May 16, 2014
  1. configure: allow V8 snapshot for cross-compilation

    bsnote committed with indutny May 15, 2014
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 15, 2014
  1. crypto: improve memory usage

    orangemocha committed with indutny May 14, 2014
    ClientHelloParser used to contain an 18k buffer that was kept around
    for the life of the connection, even though it was not needed in many
    situations. I changed it to be deallocated when it's determined to
    be no longer needed.
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
  2. child_process: do not set args before throwing

    baseprime committed with indutny May 14, 2014
    No point in setting args and options if TypeError
    is being thrown.
    
    fix #7456
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 14, 2014
  1. src: fix _XOPEN_SOURCE redefinition warning

    bnoordhuis committed with indutny May 13, 2014
    Fix the following compiler warning on systems where _XOPEN_SOURCE is
    defined by default:
    
        ../src/node_constants.cc:35:0: warning: "_XOPEN_SOURCE" redefined
         #define _XOPEN_SOURCE 500
    
    Move the (re)definition of _XOPEN_SOURCE to the top of the file while
    we're here.  Commit 00890e4 adds a `#define _XOPEN_SOURCE 500` in order
    to make <fcntl.h> expose O_NONBLOCK but it does so after other system
    headers have been included.  If those headers include <fcntl.h>, then
    the #include in node_constants.cc will be a no-op and O_NONBLOCK won't
    be visible.
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 13, 2014
  1. child_process: spawn() does not throw TypeError

    baseprime committed with indutny Apr 30, 2014
    Ensure TypeError is thrown, Fix a bug where `env` option was
    assuming the option was actually an object.
    
    This case is especially bad because it then sets `env == null`
    instead of using `process.env`.
    
    Fix #7456
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
Commits on May 7, 2014
  1. lib: name EventEmitter prototype methods

    bnoordhuis committed with trevnorris May 5, 2014
    Before this commit the EventEmitter methods were anonymous functions.
    V8 tries to infer names for anonymous functions based on the execution
    context but it frequently gets it wrong and when that happens, the
    stack trace is usually confusing and unhelpful.  This commit names all
    methods so V8 can fall back to the method.name property.
    
    The above gotcha applies to all anonymous functions but is exacerbated
    for EventEmitter methods because those are invoked with a plenitude of
    different receivers.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Commits on May 6, 2014
  1. npm: upgrade to 1.4.10

    isaacs committed May 6, 2014
    * Don't set referer if already set
    * fetch: Send referer and npm-session headers
    * run-script: Support --parseable and --json
    * list runnable scripts (Evan Lucas)
    * Use marked instead of ronn for html docs
Commits on May 2, 2014
  1. constants: export O_NONBLOCK

    indutny committed Mar 6, 2014
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
  2. deps: backport 23f2736a from v8 upstream

    indutny committed May 2, 2014
    Original text:
    
        Fix corner case in x64 compare stubs.
    
        BUG=v8:2416
    
        Review URL: https://codereview.chromium.org/11413087
    
    fix #7528
  3. Now working on 0.10.29

    tjfontaine committed May 2, 2014
  4. 2014.05.01, Version 0.10.28 (Stable)

    tjfontaine committed May 2, 2014
    * npm: upgrade to v1.4.9
Commits on May 1, 2014
  1. npm: upgrade to v1.4.9

    isaacs committed May 1, 2014
    * Send referer header (with any potentially private stuff redacted)
    * Fix critical typo bug in previous npm release
  2. Now working on 0.10.28

    tjfontaine committed May 1, 2014
  3. 2014.05.01, Version 0.10.27 (Stable)

    tjfontaine committed May 1, 2014
    * npm: upgrade to v1.4.8
    
    * openssl: upgrade to 1.0.1g
    
    * uv: update to v0.10.27
    
    * dns: fix certain txt entries (Fedor Indutny)
    
    * assert: Ensure reflexivity of deepEqual (Mike Pennisi)
    
    * child_process: fix deadlock when sending handles (Fedor Indutny)
    
    * child_process: fix sending handle twice (Fedor Indutny)
    
    * crypto: do not lowercase cipher/hash names (Fedor Indutny)
    
    * dtrace: workaround linker bug on FreeBSD (Fedor Indutny)
    
    * http: do not emit EOF non-readable socket (Fedor Indutny)
    
    * http: invoke createConnection when no agent (Nathan Rajlich)
    
    * stream: remove useless check (Brian White)
    
    * timer: don't reschedule timer bucket in a domain (Greg Brail)
    
    * url: treat  the same as / (isaacs)
    
    * util: format as Error if instanceof Error (Rod Vagg)
  4. npm: upgrade to v1.4.8

    isaacs committed May 1, 2014
    * Check SHA before using files from cache
    * adduser: allow change of the saved password
    * Make `npm install` respect `config.unicode`
    * Fix lifecycle to pass `Infinity` for config env value
    * Don't return 0 exit code on invalid command
    * cache: Handle 404s and other HTTP errors as errors
    * bump tap dep, make tests stderr a bit quieter
    * Resolve ~ in path configs to env.HOME
    * Include npm version in default user-agent conf
    * npm init: Use ISC as default license, use save-prefix for deps
    * Many test and doc fixes
  5. uv: update to v0.10.27

    tjfontaine committed May 1, 2014