Commits on Jun 4, 2013
  1. src: replace ngx-queue.h with queue.h

    No functional changes, just one less entry in the LICENSE file.
    bnoordhuis committed Jun 4, 2013
  2. src: wrap macros in `do {...} while (0)`

    Wrapped two macros in do {...} while (0) blocks and lined up
    backslashes.  Uses up semicolon in contexts where a dangling semicolon
    is erroneous.
    Nick Desaulniers committed with bnoordhuis Jun 4, 2013
Commits on May 31, 2013
  1. Merge remote-tracking branch 'ry/v0.10'

    isaacs committed May 31, 2013
Commits on May 30, 2013
  1. process: use Tock for nextTickQueue items

    v8 plays very well with constructed objects, so we're using one in the
    trevnorris committed May 30, 2013
  2. src: remove old comment code

    Now that maxTickDepth no longer exists there's no depth index on
    infoBox. Forgot to remove the comment about this.
    trevnorris committed May 30, 2013
  3. process: remove spinner

    Remove the need to call start/stop the uv_idle spinner between
    MakeCallbacks. The one place where the tick processor needs to be kicked
    is where a user catches uncaughtException. For that we'll now use
    setImmediate, which accomplishes the same task.
    trevnorris committed May 30, 2013
  4. Now working on v0.10.10

    isaacs committed May 30, 2013
  5. 2013.05.30, Version 0.10.9 (Stable)

    * npm: Upgrade to 1.2.24
    * uv: Upgrade to v0.10.9
    * repl: fix JSON.parse error check (Brian White)
    * tls: proper .destroySoon (Fedor Indutny)
    * tls: invoke write cb only after opposite read end (Fedor Indutny)
    * tls: ignore .shutdown() syscall error (Fedor Indutny)
    isaacs committed May 30, 2013
  6. npm: Upgrade to 1.2.24

    isaacs committed May 30, 2013
  7. process: remove max tick check for domains

    maxTickDepth checks have been removed for domains and replaced with a
    flag that checks if the last callback threw. If it did then execution of
    the remaining tickQueue is deferred to the spinner.
    This is to prevent domains from entering a continuous loop when an error
    callback also throws an error.
    trevnorris committed May 30, 2013
  8. process: remove maxTickDepth from _tickCallback

    Removes the check for maxTickDepth for non-domain callbacks. So a user
    can starve I/O by setting a recursive nextTick.
    The domain case is more complex and will be addressed in another commit.
    trevnorris committed May 29, 2013
  9. process: relocate needSpinner calls

    It's only necessary to request the spinner once tickDone has been
    called, and not on every nextTick.
    trevnorris committed May 29, 2013
  10. vm: fix race condition in watchdog cleanup

    Previous code was calling uv_loop_delete() directly on a running loop,
    which led to race condition aborts/segfaults within libuv.  This change
    changes the watchdog thread to call uv_run() with UV_RUN_ONCE so that
    the call exits after either the timer times out or uv_async_send() is
    called from the main thread in Watchdog::Destroy().  The timer/async
    handles are then closed and uv_run() with UV_RUN_DEFAULT is called so
    that libuv has a chance to cleanup before the thread exits.  The main
    thread meanwhile calls uv_thread_join() and then uv_loop_delete() to
    complete the cleanup.
    apaprocki committed with bnoordhuis May 28, 2013
  11. doc: remove `bufferSize` option

    `bufferSize` option has been removed in b0f6789.
    kysnm committed with bnoordhuis May 22, 2013
  12. events: define properties on prototype

    Speeds up EventEmitter object construction by about 15-20%.
    tricknotes committed with bnoordhuis May 25, 2013
  13. repl: fix JSON.parse error check

    Before this, entering something like:
    > JSON.parse('066');
    resulted in the "..." prompt instead of displaying the expected
    "SyntaxError: Unexpected number"
    mscdex committed with bnoordhuis May 26, 2013
  14. tls: proper .destroySoon

    1. Emit `sslOutEnd` only when `_internallyPendingBytes() === 0`.
    2. Read before checking `._halfRead`, otherwise we'll see only previous
       value, and will invoke `._write` callback improperly.
    3. Wait for both `end` and `finish` events in `.destroySoon`.
    4. Unpipe encrypted stream from socket to prevent write after destroy.
    indutny committed May 30, 2013
Commits on May 29, 2013
  1. uv: upgrade to v0.11.4

    piscisaureus committed May 29, 2013
  2. Merge remote-tracking branch 'origin/v0.10'

    bnoordhuis committed May 29, 2013
Commits on May 28, 2013
  1. https: Add `secureProtocol` docs

    Add `secureProtocol` parameter docs to the https.request method.
    danielgtaylor committed with bnoordhuis May 15, 2013
  2. tls: Add `secureProtocol` docs

    Add `secureProtocol` parameter docs to the tls.connect method.
    danielgtaylor committed with bnoordhuis May 15, 2013
  3. uv: Upgrade to v0.10.9

    isaacs committed May 28, 2013
  4. tls: invoke write cb only after opposite read end

    Stream's `._write()` callback should be invoked only after it's opposite
    stream has finished processing incoming data, otherwise `finish` event
    fires too early and connection might be closed while there's some data
    to send to the client.
    see #5544
    indutny committed May 27, 2013
  5. tls: ignore .shutdown() syscall error

    Quote from SSL_shutdown man page:
      The output of SSL_get_error(3) may be misleading,
      as an erroneous SSL_ERROR_SYSCALL may be flagged even though
      no error occurred.
    Also, handle all other errors to prevent assertion in `ClearError()`.
    indutny committed May 28, 2013
Commits on May 27, 2013
  1. Merge remote-tracking branch 'ry/v0.10'

    isaacs committed May 25, 2013