Permalink
Commits on Jan 14, 2014
  1. @orangemocha @tjfontaine

    test: debug-signal-cluster increase timeouts

    The test needs a little more time to run so that it passes for all
    builds (eg: Windows, debug)
    orangemocha committed with tjfontaine Jan 13, 2014
  2. @orangemocha @tjfontaine

    debug client: connect after child is ready

    We now wait to connect to the debuggee until we know that
    its error stream has data, to ensure that the output message
    "connecting..... ok" appears after "Debugger listening on port xyz"
    
    I also increased the test timeout to let the more complex
    tests finish in time on Windows
    
    This change fixes the following unit tests on Windows:
     test-debugger-repl.js
     test-debugger-repl-term.js
     test-debugger-repl-utf8.js
     test-debugger-repl-restart.js
    orangemocha committed with tjfontaine Dec 6, 2013
  3. @tjfontaine
  4. @tjfontaine
Commits on Jan 13, 2014
  1. @orangemocha @tjfontaine

    test: terminate gracefully in cluster-net-send

    Killing the worker without ensuring the socket was closed
    was causing intermittent ECONNRESET errors.
    orangemocha committed with tjfontaine Jan 13, 2014
  2. @tjfontaine
  3. @tjfontaine

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

    Conflicts:
    	deps/uv/ChangeLog
    	deps/uv/build.mk
    	deps/uv/src/version.c
    	deps/uv/test/test-ipc.c
    	deps/v8/src/objects.cc
    	src/node.cc
    	src/node_os.cc
    tjfontaine committed Jan 13, 2014
  4. @sam-github @indutny

    doc: streams must be open to be passed to child

    spawn stdio options can be a 'stream', but the following code
    fails with "Incorrect value for stdio stream: [object Object]",
    despite being a stream. The problem is the test isn't really
    for a stream, its for an object with a numeric `.fd` property,
    and streams do not have an fd until their async 'open' event
    has occurred. This is reasonable, but was not documented.
    
        child_process.spawn('date', [], {stdio: [
          'ignore',
          fs.createWriteStream('out.txt',{flags:'a'}),
          'ignore']})
    sam-github committed with indutny Jan 9, 2014
  5. @orangemocha @tjfontaine

    test: close debug client in test-debugger-client

    Killing the debuggee without first closing the socket can result
    in an ECONNRESET error.
    orangemocha committed with tjfontaine Jan 13, 2014
  6. @rlidwka @indutny
Commits on Jan 12, 2014
  1. @tjfontaine

    src: return empty set on ENOSYS for interfaces

    If node was compiled with --no-ifaddrs to support older operating
    systems, don't throw instead simply return an empty object
    
    Fixes #6846
    tjfontaine committed Jan 12, 2014
Commits on Jan 10, 2014
  1. @indutny

    v8: backport codereview.chromium.org/11362182

    Keep the number of descriptors below
    DescriptorArray::kMaxNumberOfDescriptors even for accessors
    
    Review URL: https://codereview.chromium.org/11362182
    svenpanne@chromium.org committed with indutny Nov 9, 2012
  2. @tomgco @indutny
  3. @gluxon @tjfontaine
Commits on Jan 9, 2014
  1. @rmg @trevnorris

    domain: fix off-by-one in Domain.exit()

    We want to clear the found domain and the domains after it.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    rmg committed with trevnorris Jan 9, 2014
  2. @trevnorris

    http: use writev on chunked encoding

    Now will process all write() that were done on a single tick in a single
    writev().
    trevnorris committed Dec 7, 2013
  3. @jeffbski @trevnorris

    test: check RR scheduler has necessary methods

    The RR cluster scheduler replaces the normal StreamWrap handle. Because
    of this the AsyncListener method failed to be in place when domains were
    in use.
    
    The issue was resolved in 828f145 by reverting having domains use
    AsyncListeners.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
    jeffbski committed with trevnorris Jan 9, 2014
  4. @tjfontaine

    src: OnFatalError handler must abort()

    We are in an unrecoverable state if v8 throws a FatalError, actually
    ask the operating system to dump core in this case.
    
    Fixes #6836
    tjfontaine committed Jan 9, 2014
  5. @trevnorris

    node: AsyncListener use separate storage mechanism

    Before when an AsyncListener object was created and the "create"
    callback returned a value, it was necessary to construct a new Object
    with the same callbacks but add a place for the new storage value.
    
    Now, instead, a separate storage array is kept on the context which is
    used for any return value of the "create" callback. This significantly
    reduces the number of Objects that need to be created.
    
    Also added a flags property to the context to quickly check if a
    specific callback was available either on the context or on the
    AsyncListener instance itself.
    
    Few other minor changes for readability that were difficult to separate
    into their own commit.
    
    This has not been optimized yet.
    trevnorris committed Jan 3, 2014
  6. @trevnorris

    src: revert domain using AsyncListeners

    This is a slightly modified revert of bc39bdd.
    
    Getting domains to use AsyncListeners became too much of a challenge
    with many edge cases. While this is still a goal, it will have to be
    deferred for now until more test coverage can be provided.
    trevnorris committed Jan 9, 2014
Commits on Jan 8, 2014
  1. @indutny

    configure: always set `arm_float_abi`

    When not specified as a configure flag, and not derived from system
    configuration, `arm_float_abi` should be set to `'default'`.
    
    fix #6789
    indutny committed Jan 8, 2014
  2. @indutny

    child_process: better error reporting for exec

    Report path to executable and argv on error, stderr is not enough in
    many cases.
    
    fix #6796
    indutny committed Jan 4, 2014
  3. @indutny

    deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    indutny committed Jan 8, 2014
  4. @flowlo @indutny

    doc: fix typo in cluster page

    flowlo committed with indutny Jan 6, 2014
Commits on Jan 7, 2014
  1. @indutny
  2. @tjfontaine

    uv: Upgrade to v0.10.22

    tjfontaine committed Jan 7, 2014
  3. @bnoordhuis @indutny

    build: unconditionally disable -Werror

    Forcibly disable -Werror, the old { 'werror': '' } hack in node.gyp
    no longer works with newer versions of V8.
    
    We support a wide range of compilers, it's simply not feasible to
    squelch all warnings, never mind that the libraries in deps/ are
    not under our control.
    
    Fixes #6817.
    bnoordhuis committed with indutny Jan 7, 2014
  4. @isaacs

    npm: Upgrade to 1.3.23

    isaacs committed Jan 7, 2014
Commits on Jan 5, 2014
  1. @indutny

    stream: writes may return false but forget to emit drain

    If a write is above the highWaterMark, _write still manages to
    fully send it synchronously, _writableState.length will be adjusted down
    to 0 synchronously with the write returning false, but 'drain' will
    not be emitted until process.nextTick.
    
    If another small write which is below highWaterMark is issued before
    process.nextTick happens, _writableState.needDrain will be reset to false,
    and the drain event will never be fired.
    
    So we should check needDrain before setting it up, which prevents it
    from inproperly resetting to false.
    ayanamist committed with indutny Jan 3, 2014
  2. @flowlo @indutny

    doc: Add forward secrecy section to TLS docs

    This fixes confusion connected to comparison of ECDH
    with RSA and wrong information on forward secrecy.
    flowlo committed with indutny Jan 5, 2014
  3. @indutny
Commits on Jan 4, 2014
  1. @trevnorris

    node: properly check uid when adding AsyncListener

    Instead of checking the uid on the array index of the queue, instead the
    object property "uid" was checked on the queue iteself. Because this
    will always evaluate to "undefined" the same listener could be added
    multiple times to the same context.
    trevnorris committed Jan 4, 2014
Commits on Jan 3, 2014
  1. @trevnorris

    node: change AsyncListener API

    There was a flaw in the old API that has been fixed. Now the
    asyncListener callback is now the "create" object property in the
    callback object, and is optional.
    trevnorris committed Jan 3, 2014
Commits on Jan 1, 2014
  1. @tjfontaine
  2. @tjfontaine

    blog: Post for v0.11.10

    tjfontaine committed Jan 1, 2014