Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests to Promisify #1

Closed
wants to merge 485 commits into from
Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 26, 2017

  1. test: test validity of prefix in mkdtempSync

    This test is checking for the validity of the path used as parameter
    for mkdtempSync.
    
    PR-URL: nodejs#12009
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    lucamaraschi authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c2ead7e View commit details
    Browse the repository at this point in the history
  2. net: refactor net module to module.exports

    Refactor net module to use the more efficient
    module.exports = {} pattern.
    Also renames internal "connect" function to "internalConnect"
    to avoid collision with exported "connect".
    
    PR-URL: nodejs#11698
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    claudiorodriguez authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    3745a4d View commit details
    Browse the repository at this point in the history
  3. lib: clarify the usage of 'else'

    The keyword 'else' is unnecessary after 'throw' statements.
    
    PR-URL: nodejs#11148
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    JacksonTian authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    dc9717c View commit details
    Browse the repository at this point in the history
  4. test: cover thrown errors from exec() kill

    This commit adds code coverage for the scenario where exec()
    kills a child process, but the call to ChildProcess#kill()
    throws an exception.
    
    PR-URL: nodejs#11038
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    cjihrig authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    9ac363b View commit details
    Browse the repository at this point in the history
  5. url: name anonymous functions in url

    Name anonymous functions in url.js.
    
    PR-URL: nodejs#9225
    Ref: nodejs#8913
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    pvsousalima authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c1dee6a View commit details
    Browse the repository at this point in the history
  6. test: replace throw with common.fail

    Replace anonymous functions with arrow functions.
    Replace throw new Error with common.fail.
    
    PR-URL: nodejs#9700
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Italo A. Casas <me@italoacasas.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    itsmed authored and fhinkel committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    d13bd4a View commit details
    Browse the repository at this point in the history
  7. test: add common.noop, default for common.mustCall()

    Export a new common.noop no-operation function for general use.
    Allow using common.mustCall() without a fn argument to simplify
    test cases.
    
    Replace various non-op functions throughout tests with common.noop
    
    PR-URL: nodejs#12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    4f2e372 View commit details
    Browse the repository at this point in the history
  8. tools: add rule prefering common.mustNotCall()

    Prefer using `common.mustNotCall()` over `common.mustCall(fn, 0)`
    
    PR-URL: nodejs#12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    20b1823 View commit details
    Browse the repository at this point in the history
  9. http: should support userland Agent

    PR-URL: nodejs#11567
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    fengmk2 authored and jasnell committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    90403dd View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2017

  1. dgram: support Uint8Array input to send()

    Fixes: nodejs#11954
    Refs: nodejs#11961
    PR-URL: nodejs#11985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    2dc1053 View commit details
    Browse the repository at this point in the history
  2. tls: support Uint8Arrays for protocol list buffers

    PR-URL: nodejs#11984
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    c3efe72 View commit details
    Browse the repository at this point in the history
  3. crypto: support Uint8Array prime in createDH

    PR-URL: nodejs#11983
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    0db49fe View commit details
    Browse the repository at this point in the history
  4. stream_base,tls_wrap: notify on destruct

    The TLSWrap constructor is passed a StreamBase* which it stores as
    TLSWrap::stream_, and is used to receive/send data along the pipeline
    (e.g. tls -> tcp). Problem is the lifetime of the instance that stream_
    points to is independent of the lifetime of the TLSWrap instance. So
    it's possible for stream_ to be delete'd while the TLSWrap instance is
    still alive, allowing potential access to a then invalid pointer.
    
    Fix by having the StreamBase destructor null out TLSWrap::stream_;
    allowing all TLSWrap methods that rely on stream_ to do a check to see
    if it's available.
    
    While the test provided is fixed by this commit, it was also previously
    fixed by 478fabf. Regardless, leave the test in for better testing.
    
    PR-URL: nodejs#11947
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    trevnorris authored and addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    ee463d3 View commit details
    Browse the repository at this point in the history
  5. Partial revert "tls: keep track of stream that is closed"

    This partually reverts commit 4cdb0e8.
    
    A nullptr check in TSLWrap::IsAlive() and the added test were left.
    
    PR-URL: nodejs#11947
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    trevnorris authored and addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    595efd8 View commit details
    Browse the repository at this point in the history
  6. doc: fix process.stdout fd number

    it should be 1 for the stdout fd number
    
    PR-URL: nodejs#12055
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    fmy authored and addaleax committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    88daf88 View commit details
    Browse the repository at this point in the history
  7. doc: stdout/err/in are all Duplex streams

    stdout, stderr and stdin are all Duplex streams but documentation
    states otherwise
    
    Fixes nodejs#9201
    
    PR-URL: nodejs#11194
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    seppevs authored and fhinkel committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    1005b1d View commit details
    Browse the repository at this point in the history
  8. test: add cctest for native URL class

    PR-URL: nodejs#12042
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    51b007a View commit details
    Browse the repository at this point in the history
  9. doc: edit the benchmark guide

    These are minor typographical and style improvements to the guide for
    writing and running benchmarks.
    
    PR-URL: nodejs#12041
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    45df578 View commit details
    Browse the repository at this point in the history
  10. test: fix broken tests in test-buffer-includes

    Some of the tests for `buffer.includes()` functionality introduced in
    nodejs#3567 have been broken in a way that
    caused them to always pass regardless of the result of the tested
    method.
    
    This behavior was caused by two reasons:
    
     * These tests were written as though `buffer.includes()` was supposed
       to return the same value that `buffer.indexOf()` does, i.e., used
       indices or -1 as expected return values instead of true and false.
     * `assert()` was used as the assertion function to do that instead of
       `assert.strictEqual()`.
    
    Thus `assert()` was called with a non-zero number as the first argument
    effectively causing these tests to pass.
    
    This commit changes the tests to use `assert.ok()` and removes redundant
    indices.
    
    PR-URL: nodejs#12040
    Ref: nodejs#3567
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    52b666e View commit details
    Browse the repository at this point in the history
  11. doc: fix http properties documented as methods

    * at 9772fb9
      [`maxHeadersCount`][maxheaderscount] and [`timeout`][timeout]
      were erroneously changed to methods
    * `maxHeadersCount` was also listed to default to `1000` where
      it actually is [`2000`][default]
    
    [maxheaderscount]: https://github.com/nodejs/node/blob/e0a9ad1af244f8756a228a6d087b3a55ee4c0d14/lib/_http_server.js#L276
    [timeout]: https://github.com/nodejs/node/blob/e0a9ad1af244f8756a228a6d087b3a55ee4c0d14/lib/_http_server.js#L273
    [default]: https://github.com/nodejs/node/blob/e0a9ad1af244f8756a228a6d087b3a55ee4c0d14/lib/_http_server.js#L312
    
    PR-URL: nodejs#12039
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ahmad Nassri authored and jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    d437841 View commit details
    Browse the repository at this point in the history
  12. doc: fix https.timeout docs

    `server.timeout` is a property, not a method
    
    PR-URL: nodejs#12039
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ahmad Nassri authored and jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    d367a0a View commit details
    Browse the repository at this point in the history
  13. doc: update and modernize examples in fs.ms

    * unify quotes in fs.md
    * avoid quote escaping in fs.md
    * simplify logics in fs.md
    * concatenation -> template literal in fs.md
    * add missing callback in fs.md
    * fix typo in fs.md
    * update output example in fs.md
    
    PR-URL: nodejs#12035
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    31da375 View commit details
    Browse the repository at this point in the history
  14. test: mark child-process-exec-kill-throws flaky

    PR-URL: nodejs#12054
    Ref: nodejs#12053
    Ref: nodejs#11038
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gibfahn committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    66e7dc5 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. benchmark: check end() argument to be > 0

    PR-URL: nodejs#12030
    Ref: nodejs#11972
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    vsemozhetbyt committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    642baf4 View commit details
    Browse the repository at this point in the history
  2. doc: clarify out-of-bounds behavior of buf[index]

    PR-URL: nodejs#11286
    Fixes: nodejs#11244
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    seishun committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    01ffe30 View commit details
    Browse the repository at this point in the history
  3. test: fix misleading comment

    The comment is outdated, function declarations have
    nothing to do with defineProperties.
    
    PR-URL: nodejs#12048
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    fhinkel committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    fd18243 View commit details
    Browse the repository at this point in the history
  4. crypto: fix memory leak if certificate is revoked

    The additional validity checks applied to StartCom and WoSign
    certificates failed to free memory before returning.
    
    Refs: nodejs#9469
    Fixes: nodejs#12033
    PR-URL: nodejs#12089
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Tom Atkinson authored and shigeki committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    a6f9494 View commit details
    Browse the repository at this point in the history
  5. buffer: remove error for malformatted hex string

    Remove error message when a hex string of an incorrect length is sent
    to .write() or .fill().
    
    PR-URL: nodejs#12012
    Fixes: nodejs#3770
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    682573c View commit details
    Browse the repository at this point in the history
  6. lib: add comment to script eval _tickCallback

    Add a comment to match lib/module.js, missed in nodejs#11958.
    
    PR-URL: nodejs#12050
    Ref: nodejs#11958
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gibfahn authored and jasnell committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    cd4ddfd View commit details
    Browse the repository at this point in the history
  7. util: use [Array] for deeply nested arrays

    Prefer `[Array]` over `[Object]` because the latter is confusing.
    
    PR-URL: nodejs#12046
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    addaleax authored and jasnell committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    4a5a944 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. 2017-03-28, Version 7.8.0 (Current)

    Notable changes:
    
    * buffer:
      - do not segfault on out-of-range index (Timothy Gu)
        nodejs#11927
    * crypto:
      - Fix memory leak if certificate is revoked (Tom Atkinson)
        nodejs#12089
    * deps:
      * upgrade npm to 4.2.0 (Kat Marchán)
        nodejs#11389
      * fix async await desugaring in V8 (Michaël Zasso)
        nodejs#12004
    * readline:
      - add option to stop duplicates in history (Danny Nemer)
        nodejs#2982
    * src:
      - add native URL class (James M Snell)
        nodejs#11801
    
    PR-URL: nodejs#12104
    MylesBorins committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    9b2dd47 View commit details
    Browse the repository at this point in the history
  2. buffer: expose FastBuffer on internal/buffer

    PR-URL: nodejs#11048
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    6d93508 View commit details
    Browse the repository at this point in the history
  3. v8: expose new V8 serialization API

    Expose the new serialization API that was added in V8 5.5 to userland.
    The JS API is virtually a direct copy of what V8 provides on the
    C++ level.
    
    This is useful Node as a possible replacement for some internals
    that currently use JSON, like IPC, but is likely to be useful to
    general userland code as well.
    
    PR-URL: nodejs#11048
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    1fde98b View commit details
    Browse the repository at this point in the history
  4. util: add %i and %f formatting specifiers

    This change brings formatting specifiers available in `util.format` and
    consequently, `console.*` closer to what is supported in all major
    browsers.
    
    - `%i` is introduced to format integer values.
    - `%f` is introduced to format floating point values.
    
    Fixes: nodejs#10292
    PR-URL: nodejs#10308
    Reviewed-By: James M Snell <jasnell@gmail.com>
    silverwind committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    a46c43d View commit details
    Browse the repository at this point in the history
  5. deps: backport 8dde6ac from upstream V8

    Commit 9c9e2d7 changed the name of TypeFeedbackVector to
    FeedbackVector but that commit did not update gdbinit. This applies the
    changed to gdbinit from upstream V8.
    
    Original commit message:
    
    [gdbinit] Rename TypeFeedback* to Feedback*.
    
        BUG=
    
        Change-Id: I1e32fdcf9edda57f5de329c8b694620a5da4558b
        Reviewed-on: https://chromium-review.googlesource.com/442444
        Reviewed-by: Michael Stanton <mvstanton@chromium.org>
        Commit-Queue: Igor Sheludko <ishell@chromium.org>
        Cr-Commit-Position: refs/heads/master@{nodejs#43185}
    
    PR-URL: nodejs#12060
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    678480e View commit details
    Browse the repository at this point in the history
  6. tools: add unescaped regexp dot rule to linter

    PR-URL: nodejs#11834
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    mscdex authored and fhinkel committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    61ebfa8 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2017

  1. url: add ToObject method to native URL class

    Provides a factory method to convert a native URL class
    into a JS URL object.
    
    ```c++
    Environment* env = ...
    
    URL url("http://example.org/a/b/c?query#fragment");
    
    MaybeLocal<Value> val = url.ToObject(env);
    ```
    
    PR-URL: nodejs#12056
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    7139b93 View commit details
    Browse the repository at this point in the history
  2. src: WHATWG URL C++ parser cleanup

    - Clarify port state
    - Remove scheme flag
    - Clarify URL_FLAG_TERMINATED
    
    PR-URL: nodejs#11917
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    TimothyGu committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    4ddd23f View commit details
    Browse the repository at this point in the history
  3. inspector: use inspector API for "break on start"

    This change removes a need for using deprecated debug context for
    breaking at the start of the main module.
    
    PR-URL: nodejs#12076
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Eugene Ostroukhov committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    7954d2a View commit details
    Browse the repository at this point in the history
  4. tools: add missing #include "unicode/putil.h"

    * we use u_setDataDirectory() in "unicode/putil.h"
    * at present, this header is indirectly included,
      but this will change in ICU 59
    * no impact on past ICUs.
    * this is an exact analog to nodejs#11753
    
    PR-URL: nodejs#12078
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    srl295 committed Mar 30, 2017
    Configuration menu
    Copy the full SHA
    b084907 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2017

  1. test: fix truncation of argv

    Currently argv_[1] and argv_[2] are getting truncated by one character
    because of an incorrect addition of one to account for the null
    character. I only noticed this when working on nodejs#12087, but that fix
    will probably not get included in favor of a JavaScript test so I'm
    adding this separate commit for it.
    
    Refs: nodejs#12087
    PR-URL: nodejs#12110
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    danbev committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    92de91d View commit details
    Browse the repository at this point in the history
  2. test: fix flaky child-process-exec-kill-throws

    This is a fix for test-child-process-exec-kill-throws which is currently
    flaky on Windows.
    
    A bug in the test was causing the child process to fail for reasons
    other than those intended by the test. Instead of failing for exceeding
    the `maxBuffer` setting, the test was failing because it was trying to
    load `internal/child_process` without being passed the
    `expose-internals` flag. Move that module to where only the parent
    process (which gets the flag) loads it.
    
    Additionally, improve an assertion message to help debug problems like
    this.
    
    PR-URL: nodejs#12111
    Fixes: nodejs#12053
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    a10e657 View commit details
    Browse the repository at this point in the history
  3. tools: update dotfile whitelist in .gitignore

    .eslintrc was renamed in nodejs#7699 to .eslintrc.yaml.
    
    PR-URL: nodejs#12116
    Refs: nodejs#7699
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    4d255b0 View commit details
    Browse the repository at this point in the history
  4. src: add --use-bundled-ca --use-openssl-ca check

    The --use-bundled-ca and --use-openssl-ca command line arguments are
    mutually exclusive but can both be used on the same command line.
    
    This commit adds a check if both options are used.
    
    Fixes: nodejs#12083
    PR-URL: nodejs#12087
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    danbev committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    8a7db9d View commit details
    Browse the repository at this point in the history
  5. src: add .FromJust(), fix -Wunused-result warnings

    Missed while reviewing 1fde98b ("v8: expose new V8 serialization API.")
    
    PR-URL: nodejs#12118
    Refs: nodejs#11048
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bnoordhuis authored and addaleax committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    7c0079f View commit details
    Browse the repository at this point in the history
  6. src: fix base64 decoding

    Make sure trailing garbage is not treated as a valid base64 character.
    
    Fixes: nodejs#11987
    PR-URL: nodejs#11995
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    seishun committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    7e0c3ab View commit details
    Browse the repository at this point in the history
  7. tty: remove NODE_TTY_UNSAFE_ASYNC

    Nothing but trouble can ever come from it.
    
    PR-URL: nodejs#12057
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Fishrock123 authored and addaleax committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    1b63fa1 View commit details
    Browse the repository at this point in the history
  8. vm: use SetterCallback to set func declarations

    Currently, when in strict mode, function
    declarations are copied on the sandbox by
    CopyProperties(), which is not necessary
    and will break when CP is removed.
    
    This change maintains current behavior,
    letting GlobalPropertySetterCallback
    copy functions on the sandbox instead
    of using CP to do the task.
    
    PR-URL: nodejs#12051
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    AnnaMag authored and addaleax committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    241de51 View commit details
    Browse the repository at this point in the history
  9. build: always use V8_ENABLE_CHECKS in debug mode

    Define `V8_ENABLE_CHECKS` in `common.gypi` for the debug mode.
    Without this, these checks would only be present in the object files
    generated from the V8 build, and so for inline functions in v8.h
    multiple different definitions could be generated, where one definition
    includes the check and the other does not.
    
    Refs: nodejs#11975 (comment)
    PR-URL: nodejs#12029
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
    addaleax committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    c68da89 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2017

  1. crypto: add sign/verify support for RSASSA-PSS

    Adds support for the PSS padding scheme. Until now, the sign/verify
    functions used the old EVP_Sign*/EVP_Verify* OpenSSL API, making it
    impossible to change the padding scheme. Fixed by first computing the
    message digest and then signing/verifying with a custom EVP_PKEY_CTX,
    allowing us to specify options such as the padding scheme and the PSS
    salt length.
    
    Fixes: nodejs#1127
    PR-URL: nodejs#11705
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and addaleax committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    0e710aa View commit details
    Browse the repository at this point in the history
  2. net: rename internal functions for readability

    * Rename listen to listenInCluster
    * Rename _listen2 to _setupListenHandle
    * Remove _listen since it's a one-liner only used in one place
    * Correct comments in server.listen
    
    PR-URL: nodejs#11796
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Apr 1, 2017
    Configuration menu
    Copy the full SHA
    0ea4570 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2017

  1. doc: add logo to README

    Adds a centered logo to the README to make it a little more festive. As
    centering is not possible in pure Markdown, a bit of HTML is used.
    
    PR-URL: nodejs#12148
    Ref: nodejs#6920
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Italo A. Casas <me@italoacasas.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    silverwind committed Apr 2, 2017
    Configuration menu
    Copy the full SHA
    2d039ff View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2017

  1. zlib: support Uint8Array in convenience methods

    Also support Uint8Array as a `dictionary` option.
    
    PR-URL: nodejs#12001
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    TimothyGu authored and addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    91383e4 View commit details
    Browse the repository at this point in the history
  2. util: show External values explicitly in inspect

    Display `v8::External` values as `[External]` rather than `{}`
    which makes them look like objects.
    
    PR-URL: nodejs#12151
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    3cc3e09 View commit details
    Browse the repository at this point in the history
  3. assert: add support for Map and Set in deepEqual

    assert.deepEqual and assert.deepStrictEqual currently return true for
    any pair of Maps and Sets regardless of content. This patch adds
    support in deepEqual and deepStrictEqual to verify the contents of Maps
    and Sets.
    
    Deeo equivalence checking is currently an
    O(n^2) operation, and worse, it gets slower exponentially if maps
    and sets were nested.
    
    Note that this change breaks compatibility with previous versions of
    deepEqual and deepStrictEqual if consumers were depending on all maps
    and sets to be seen as equivalent. The old behaviour was never
    documented, but nevertheless there are certainly some tests out there
    which depend on it.
    
    Support has stalled because the assert API was frozen, but was recently
    unfrozen in CTC#63.
    
    ---
    
    Later squashed in:
    
    This change updates the checks for deep equality checking on Map and Set
    to check all set values / all map keys to see if any of them match the
    expected result.
    
    This change is much slower, but based on the conversation in the pull
    request its probably the right approach.
    
    Fixes: nodejs#2309
    Refs: tape-testing/tape#342
    Refs: nodejs#2315
    Refs: nodejs/CTC#63
    PR-URL: nodejs#12142
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    josephg authored and addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    6481c93 View commit details
    Browse the repository at this point in the history
  4. n-api: add support for abi stable module API

    Add support for abi stable module API (N-API) as "Experimental feature".
    The goal of this API is to provide a stable Node API for native
    module developers. N-API aims to provide ABI compatibility guarantees
    across different Node versions and also across different
    Node VMs - allowing N-API enabled native modules to just work
    across different versions and flavors of Node.js without recompilation.
    
    A more detailed introduction is provided in:
    https://github.com/nodejs/node-eps/blob/master/005-ABI-Stable-Module-API.md
    and https://github.com/nodejs/abi-stable-node/blob/doc/VM%20Summit.pdf.
    
    The feature, during its experimental state, will be guarded by a runtime
    flag "--napi-modules". Only when this flag is added to the command line
    will N-API modules along with regular non N-API modules be supported.
    
    The API is defined by the methods in "src/node_api.h" and
    "src/node_api_types.h". This is the best
    starting point to review the API surface. More documentation will follow.
    
    In addition to the implementation of the API using V8, which is included
    in this PR, the API has also been validated against chakracore and that
    port is available in
    https://github.com/nodejs/abi-stable-node/tree/api-prototype-chakracore-8.x.
    
    The current plan is to provide N-API support in versions 8.X and 6.X
    directly. For older versions, such as 4.X or pre N-API versions of 6.X,
    we plan to create an external npm module to provide a migration path
    that will allow modules targeting older Node.js versions to use the API,
    albeit without getting the advantage of not having to recompile.
    
    In addition, we also plan an external npm package with C++ sugar to
    simplify the use of the API. The sugar will be in-line only and will
    only use the exported N-API methods but is not part of the N-API
    itself. The current version is in:
    https://github.com/nodejs/node-api.
    
    This PR is a result of work in the abi-stable-node repo:
    https://github.com/nodejs/abi-stable-node/tree/doc,
    with this PR being the cumulative work on the api-prototype-8.x
    branch with the following contributors in alphabetical order:
    
    Author: Arunesh Chandra <arunesh.chandra@microsoft.com>
    Author: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Author: Hitesh Kanwathirtha <hiteshk@microsoft.com>
    Author: Ian Halliday <ianhall@microsoft.com>
    Author: Jason Ginchereau <jasongin@microsoft.com>
    Author: Michael Dawson <michael_dawson@ca.ibm.com>
    Author: Sampson Gao <sampsong@ca.ibm.com>
    Author: Taylor Woll <taylor.woll@microsoft.com>
    PR-URL: nodejs#11975
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jasongin authored and addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    56e881d View commit details
    Browse the repository at this point in the history
  5. v8: fix offsets for TypedArray deserialization

    Fix the offset calculation for deserializing TypedArrays that are
    not aligned in their original buffer.
    
    Since `byteOffset` refers to the offset into the source `Buffer`
    instance, not its underlying `ArrayBuffer`, that is what should
    be passed to `buffer.copy`.
    
    PR-URL: nodejs#12143
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    33a19b4 View commit details
    Browse the repository at this point in the history
  6. url: change path parsing for non-special URLs

    This changes to the way path parsing for non-special URLs.
    It allows paths to be empty for non-special URLs and also
    takes that into account when serializing.
    
    Fixes: nodejs#11962
    Refs: whatwg/url#213
    PR-URL: nodejs#12058
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    watilde committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    f8f46f9 View commit details
    Browse the repository at this point in the history
  7. test: synchronize WPT url test data

    Refs: web-platform-tests/wpt#4586
    Refs: nodejs#11887
    PR-URL: nodejs#12058
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    watilde committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    50bfef6 View commit details
    Browse the repository at this point in the history
  8. test: synchronize WPT url setter test data

    Updates:
    + Bring tests url-setter-tests from WPT, and put it as JavaScript
    + Comment out unpassed tests
    
    Refs: web-platform-tests/wpt#5112
    Refs: nodejs#11887
    PR-URL: nodejs#12058
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    watilde committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    843b7e6 View commit details
    Browse the repository at this point in the history
  9. test: fix V8 test on big-endian machines

    Ref: nodejs#12143 (comment)
    PR-URL: nodejs#12186
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    9b05393 View commit details
    Browse the repository at this point in the history
  10. errors: add space between error name and code

    `Error[CODE]` becomes `Error [CODE]`
    
    PR-URL: nodejs#12099
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    jasnell committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    7b4a72d View commit details
    Browse the repository at this point in the history
  11. buffer: zero fill Buffer(num) by default

    PR-URL: nodejs#12141
    Ref: nodejs/CTC#89
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    jasnell committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    7eb1b46 View commit details
    Browse the repository at this point in the history
  12. test: extended test to makeCallback cb type check

    makeCallback and makeStatsCallback are both tested intedependently.
    
    PR-URL: nodejs#12140
    Fixes: nodejs#12136
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    lucamaraschi authored and mhdawson committed Apr 3, 2017
    Configuration menu
    Copy the full SHA
    53828e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2017

  1. lib: ensure --check flag works for piped-in code

    Previously, the --check CLI flag had no effect when run on code piped
    from stdin. This commit updates the bootstrap logic to handle the
    --check flag the same way regardless of whether the code is piped from
    stdin.
    
    PR-URL: nodejs#11689
    Fixes: nodejs#11680
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    not-an-aardvark committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    3209a8e View commit details
    Browse the repository at this point in the history
  2. src: throw when -c and -e are used simultaneously

    The -c flag ("check script syntax") and -e flag ("evaluate given code")
    have contradictory meanings. Make them mutually exclusive by throwing
    when both of them are provided.
    
    Fixes: nodejs#11680
    PR-URL: nodejs#11689
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    not-an-aardvark committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    a5f91ab View commit details
    Browse the repository at this point in the history
  3. child_process: improve killSignal validations

    As it is, the `killSignal` is just retrieved from an object and used.
    If the signal passed is actually one of the inherited properties of
    that object, Node.js will die. For example,
    
        ➜  node -e "child_process.spawnSync('ls', {killSignal: 'toString'})"
        Assertion failed: (0), function uv_close, file ....core.c, line 166.
        [1]    58938 abort      node -e "child_process.spawnSync(...)"
    
    1. This patch makes sure that the signal is actually a own property of
       the constants object.
    
    2. Extends the killSignal validation to all the other functions.
    
    PR-URL: nodejs#10423
    
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    thefourtheye committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    d75fdd9 View commit details
    Browse the repository at this point in the history
  4. doc: minor improvements in BUILDING.md

    1. necessarily reliably => necessarily reliable
    2. projects root directory => project's root directory
    3. remove `console` highlighting, as `test` alone is highlighted
    4. fix broken link for Android NDK
    5. highlight the directory location `/usr/local/ssl/fips-2.0`
    6. update expected output to an example for `process.versions.openssl` as the
       version displayed is not mentioned in the document
    
    PR-URL: nodejs#11963
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    thefourtheye committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    ba0e3ac View commit details
    Browse the repository at this point in the history
  5. test: reduce buffer size in buffer-creation test

    This test is allocating much more memory than necessary to actually
    reproduce the original problem. Lowering the amount of memory allocated
    increases performance at least in some cases and makes this test less
    likely to time out on SmartOS.
    
    PR-URL: nodejs#11177
    Ref: nodejs#10166
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Julien Gilli <jgilli@nodejs.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    thefourtheye committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    d51f4f3 View commit details
    Browse the repository at this point in the history
  6. doc, inspector: note that the host is optional

    Document that `node --inspect=${port}` is also a viable option.
    
    PR-URL: nodejs#12149
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gibfahn committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    2d2970e View commit details
    Browse the repository at this point in the history
  7. build: use $(RM) in Makefile for consistency

    Also allows someone to reassign `$RM`, e.g. with `RM=rm -v` instead of
    `rm -f` (the default) should they want to. We're currently using a
    mixture of `$(RM)` and `rm -f`.
    
    There are a couple of places which aren't doing -f, have them do it for
    consistency.
    
    PR-URL: nodejs#12157
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    gibfahn committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    57b850e View commit details
    Browse the repository at this point in the history
  8. build: avoid passing kill empty input in Makefile

    Using `xargs -r` on some platforms and `xargs` on others doesn't work,
    we can't guarantee whether xargs is GNU or not. Avoid the issue by only
    running kill if there are processes to clean.
    
    PR-URL: nodejs#12158
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gibfahn committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    d19809a View commit details
    Browse the repository at this point in the history
  9. 2017-04-04, Version 6.10.2 'Boron' (LTS)

    This is a special LTS to fix a number of regressions that were found
    on the 6.10.x release line.
    
    This includes:
    
     * a fix for memory leak in the crypto module that
       was introduced in 6.10.1
     * a fix for a regression introduced to the windows repl in 6.10.0
     * a backported fix for V8 to stop a segfault that could occur
       when using spread syntax
    
    It also includes an upgrade to zlib 1.2.11 to fix a numberof low
    severity CVEs that were present in zlib 1.2.8.
    
    http://seclists.org/oss-sec/2016/q4/602
    
    Notable changes
    
    * crypto:
      - fix memory leak if certificate is revoked (Tom Atkinson)
        nodejs#12089
    * deps:
      - upgrade zlib to 1.2.11 (Sam Roberts)
        nodejs#10980
      - backport V8 fixes for spread syntax regression causing segfaults
        (Michaël Zasso) nodejs#12037
    * repl:
      - Revert commit that broke REPL display on Windows (Myles Borins)
        nodejs#12123
    MylesBorins committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    28f8b17 View commit details
    Browse the repository at this point in the history
  10. 2017-04-04, Version 4.8.2 'Argon' (Maintenance)

    This is a maintenance release to fix a memory leak that was
    introduced in 4.8.1.
    
    It also includes an upgrade to zlib 1.2.11 to fix a number of low
    severity CVEs that were present in zlib 1.2.8.
    
    http://seclists.org/oss-sec/2016/q4/602
    
    Notable changes:
    
    * crypto:
      - fix memory leak if certificate is revoked (Tom Atkinson)
        nodejs#12089
    * deps:
      - upgrade zlib to 1.2.11 (Sam Roberts)
        nodejs#10980
    MylesBorins committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    f7a3118 View commit details
    Browse the repository at this point in the history
  11. test: fix flaky test-child-process-exec-timeout

    At least starting with Darwin Kernel Version 16.4.0, sending a SIGTERM
    to a process that is still starting up kills it with SIGKILL instead of
    SIGTERM.
    
    PR-URL: nodejs#12159
    Refs: libuv/libuv#1226
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    santigimeno committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    45c4ad5 View commit details
    Browse the repository at this point in the history
  12. doc: fix typo in CHANGELOG_V6.md

    PR-URL: nodejs#12206
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    l2dy authored and vsemozhetbyt committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    c79b081 View commit details
    Browse the repository at this point in the history
  13. test: fix test-cli-syntax assertions on windows

    The test introduced in a5f91ab
    accidentally introduced failures on some windows builds. Update the
    assertion that was causing the failures.
    
    PR-URL: nodejs#12212
    Ref: nodejs#11689
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    not-an-aardvark committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    9348f31 View commit details
    Browse the repository at this point in the history
  14. benchmark: replace [].join() with ''.repeat()

    Also add a benchmark to compare both ways to create strings.
    
    PR-URL: nodejs#12170
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    74dc3bf View commit details
    Browse the repository at this point in the history
  15. doc: fix and update examples in http.md

    * replace `var` by `const` in http.md
    * replace `let` by `const` in http.md
    * fix spaces in code examples of http.md
    * replace console.log() by .error() in http.md
    * make arrow function clearer in http.md
    * use object destructuring in http.md
    * update output examples in http.md
    
    PR-URL: nodejs#12169
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    b2ac3b6 View commit details
    Browse the repository at this point in the history
  16. test: increase querystring coverage

    PR-URL: nodejs#12163
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    DavidCai1111 authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    dc7d9eb View commit details
    Browse the repository at this point in the history
  17. buffer,util: refactor for performance

    internal/util.js definied toInteger() and toLength() but they were only
    used by buffer.js. Inlining these small functions results in a small but
    statistically-significant performance gain.
    
    PR-URL: nodejs#12153
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    1e6186e View commit details
    Browse the repository at this point in the history
  18. buffer: optimize decoding wrapped base64 data

    The fast base64 decoder used to switch to the slow one permanently when
    it saw a whitespace or other garbage character.  Since the most common
    situation such characters may be encountered in is line-wrapped base64
    data, a more profitable strategy is to decode a single 24-bit group with
    the slow decoder and then continue running the fast algorithm.
    
    PR-URL: nodejs#12146
    Ref: nodejs#12114
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    e77a83f View commit details
    Browse the repository at this point in the history
  19. test: performance, remove Popen(shell=True) on Win

    not needed according to official python docs -
    https://docs.python.org/2/library/subprocess.html#index-2
    
    PR-URL: nodejs#12138
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    f6ddbaf View commit details
    Browse the repository at this point in the history
  20. url: error when domainTo*() is called w/o argument

    PR-URL: nodejs#12134
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    c4469c4 View commit details
    Browse the repository at this point in the history
  21. doc: add notes to http.get options

    Extra notes that options doesn't include the prototype when copied
    
    Fixes: nodejs#12092
    PR-URL: nodejs#12124
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    raphaelokon authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    e1161a3 View commit details
    Browse the repository at this point in the history
  22. linkedlist: remove public module

    PR-URL: nodejs#12113
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    mscdex authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    84a2339 View commit details
    Browse the repository at this point in the history
  23. doc: change Mac OS X to macOS

    This update changes references to "Mac OS X", "OS X", and "OSX" in
    markdown files to "macOS".
    
    PR-URL: nodejs#12106
    Fixes: nodejs#12086
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    JR McEntee authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    7a5d07c View commit details
    Browse the repository at this point in the history
  24. doc: correct markdown file line lengths

    This commit updates two paragraphs that exceeded the 80 line standard
    after updating to macOS.
    
    PR-URL: nodejs#12106
    Fixes: nodejs#12086
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    JR McEntee authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    6ebc806 View commit details
    Browse the repository at this point in the history
  25. doc: update Mac OS X references in releases.md

    This commit updates 3 additional references to Mac OS X in
    releases.md to macOS.
    
    PR-URL: nodejs#12106
    Fixes: nodejs#12086
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    JR McEntee authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    503342d View commit details
    Browse the repository at this point in the history
  26. test: add variable arguments support for Argv

    At the moment Argv only supports three arguments which fulfilled my
    requirements when working on nodejs#9163.
    
    This commit adds support for a variable number of arguments. There is
    also a no-args constructor that is the equivalent to running "node -p
    process.version" which is hopefully alright as a default.
    
    PR-URL: nodejs#12166
    Ref: nodejs#9163
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    5ccaba4 View commit details
    Browse the repository at this point in the history
  27. tools: update ESLint to 3.19.0

    PR-URL: nodejs#12162
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    3166652 View commit details
    Browse the repository at this point in the history
  28. tools: replace custom ESLint timers rule

    ESLint 3.19.0 allows the specification of selectors that represent
    disallowed syntax. Replace our custom rule for timer arguments with a
    pair of `no-restricted-syntax` option objects.
    
    PR-URL: nodejs#12162
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    f637703 View commit details
    Browse the repository at this point in the history
  29. events: do not keep arrays with a single listener

    Use the remaining listener directly if the array of listeners has only
    one element after running `EventEmitter.prototype.removeListener()`.
    
    Advantages:
    
    - Better memory usage and better performance if no new listeners are
      added for the same event.
    
    Disadvantages:
    
    - A new array must be created if new listeners are added for the same
      event.
    
    PR-URL: nodejs#12043
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    lpinca authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    8d386ed View commit details
    Browse the repository at this point in the history
  30. doc: fix fs.read arg type

    About fs.read's 2nd argument, string is invalid.
    
    PR-URL: nodejs#12034
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    darai0512 authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    0844262 View commit details
    Browse the repository at this point in the history
  31. doc: fix the timing of setImmediate's execution

    About setImmediate, the execution timing is after timers currently.
    
    PR-URL: nodejs#12034
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    darai0512 authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    e9f2ec4 View commit details
    Browse the repository at this point in the history
  32. benchmark: avoid TurboFan deopt in arrays bench

    Something unidentified at the moment is causing the arrays benchmarks to
    deopt when run with the TurboFan compiler. Refactor the test to use an
    inner function that can be correctly optimized by TurboFan and
    Crankshaft.
    
    PR-URL: nodejs#11894
    Ref: nodejs#11851 (comment)
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    eefdf45 View commit details
    Browse the repository at this point in the history
  33. test: add case for url.parse throwing a URIError

    The auth property of a URL is decoded via decodeURIComponent,
    which can throw a URIError. The test URL here will trigger this.
    
    Adds documentation on the possible errors url.parse can throw.
    
    PR-URL: nodejs#12135
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lovell authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    2ff107d View commit details
    Browse the repository at this point in the history
  34. test: more robust check for location of node.exe

    look for the actual produced `exe` not just the directory
    
    PR-URL: nodejs#12120
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    refack authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    394b6ac View commit details
    Browse the repository at this point in the history
  35. linkedlist: remove unused methods

    PR-URL: nodejs#11726
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    mscdex authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    b40dab5 View commit details
    Browse the repository at this point in the history
  36. doc: add table of contents to README.md

    PR-URL: nodejs#11635
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Minimalistic authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    f62d9fc View commit details
    Browse the repository at this point in the history
  37. test: add Unicode characters regression test

    This test ensures that UTF-8 characters can be used in core JavaScript
    modules built into Node's binary.
    
    PR-URL: nodejs#11423
    Ref: nodejs#11129
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    f4e8a6f View commit details
    Browse the repository at this point in the history
  38. test: refactor mkdtemp test and added async

    This test refactored the original test for mkdtempSync prefix validation
    and added the test also for the async function mkdtemp.
    
    PR-URL: nodejs#12080
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    lucamaraschi authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    085c1f8 View commit details
    Browse the repository at this point in the history
  39. test: increase coverage of internal/socket_list

    PR-URL: nodejs#12066
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    DavidCai1111 authored and jasnell committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    610ac7d View commit details
    Browse the repository at this point in the history
  40. doc: fix string interpolation in Stream 'finish'

    PR-URL: nodejs#12221
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    vhmth authored and vsemozhetbyt committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    82ef00c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2017

  1. url: avoid instanceof for WHATWG URL

    PR-URL: nodejs#11690
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    mscdex authored and TimothyGu committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    b76a350 View commit details
    Browse the repository at this point in the history
  2. doc: modernize and fix code examples in https.md

    * Replace `var` by `const`.
    * Comment out ellipses.
    * Update code example (provide relevant file path, add missing option).
    
    PR-URL: nodejs#12171
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    5059363 View commit details
    Browse the repository at this point in the history
  3. build: make configure print statements consistent

    I noticed that few of the print statements in configure have a leading
    space with is not consistent with the rest of the file. Not sure if
    this intentional or not so creating this commit just to bring it up
    just in case.
    
    PR-URL: nodejs#12176
    
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: mhdawson - Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    b3db917 View commit details
    Browse the repository at this point in the history
  4. build: add checks for openssl configure options

    Currently it is possible to configure using --without-ssl and
    --shared-openssl/--openssl-no-asm/openssl-fips without an error
    occuring.
    
    The commit add check for these combinations:
    
    $ ./configure --without-ssl --shared-openssl
    Error: --without-ssl is incompatible with --shared-openssl
    
    $ ./configure --without-ssl --openssl-no-asm
    Error: --without-ssl is incompatible with --openssl-no-asm
    
    $ ./configure --without-ssl --openssl-fips=dummy
    Error: --without-ssl is incompatible with --openssl-fips
    
    PR-URL: nodejs#12175
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    1f74b9f View commit details
    Browse the repository at this point in the history
  5. n-api: break dep between v8 and napi attributes

    The v8 n-api implementation had been depending on a one-to-one
    relationship between v8 and n-api v8 property attributes.
    Remove this dependency and fix coverity scan issue
    165845.
    
    PR-URL: nodejs#12191
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    mhdawson committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    4a21e39 View commit details
    Browse the repository at this point in the history
  6. napi: supress invalid coverity leak message

    Coverity was complaining that finalizer was being
    leaked in this method, however it should be
    freed when the buffer is finalized so I believe
    the message is invalid.
    
    Add the required comments to suppress the warning.
    
    PR-URL: nodejs#12192
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
    mhdawson committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    491d59d View commit details
    Browse the repository at this point in the history
  7. n-api: create napi_env as a real structure

    1. We define struct napi_env__ to include the isolate, the last
    exception, and the info about the last error.
    
    2. We instantiate one struct napi_env__ during module registration and
    we pass it into the FunctionCallbackInfo for all subsequent entries into
    N-API when we create functions/accessors/finalizers.
    
    Once module unloading will be supported we shall have to delete the
    napi_env we create during module init.
    
    There is a clear separation between public and private API wrt. env:
    
    1. Public APIs assert that env is not nullptr as their first action.
    
    2. Private APIs need not validate env. They assume it's not nullptr.
    
    PR-URL: nodejs#12195
    Fixes: nodejs/abi-stable-node#198
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and mhdawson committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    0a5bf4a View commit details
    Browse the repository at this point in the history
  8. src: Update trace event macros to V8 5.7 version

    src/tracing/trace_event.h was updated by applying the following changes:
    
    1) Include src/tracing/trace_event_common.h instead of the one from v8
    base.
    
    2) Replace all instances of base::Atomic with intptr_t (trace events can
    only be generated from the main thread for now).
    
    3) Replace instances of V8_INLINE with inline.
    
    4) Eliminate uses of DCHECK.
    
    5) Eliminate uses of V8_UNLIKELY, the branch predictor should be good
    enough alone.
    
    6) Change the namespace used by trace_event.h from v8::internal::tracing
    to node::tracing.
    
    7) Remove CallStatsScopedTracer class and related macros (they rely on
    V8 implementation details).
    
    8) Change ConvertableToTraceFormat to v8::ConvertableToTraceFormat.
    
    9) Add function "static void SetCurrentPlatform(v8::Platform*
    platform);" to the declaration of TraceEventHelper.
    
    PR-URL: nodejs#12127
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Matt Loring committed Apr 5, 2017
    Configuration menu
    Copy the full SHA
    ebeee85 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2017

  1. buffer: preallocate array with buffer length

    Because the final array length is known, it's better to allocate its
    final length at initialization time to avoid future reallocations.
    
    Also add an explicit buffer length greater than 0 comparison so
    it's more readable, avoids the internal ToBoolean call and follows the
    standard Node.js API format (as it can be checked in other similar
    structures where 'length > 0' is preferred over 'length')
    
    PR-URL: nodejs#11733
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    alemures authored and jasnell committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    51587b2 View commit details
    Browse the repository at this point in the history
  2. doc: update pull request template URL layout

    Putting the link for the commit guideline at the bottom of the pull
    request template makes it a bit confusing when opening a pull request as
    the markdown does not render. Not everyone is familiar with the syntax
    used there and it is easy to mess it up (for example, by not leaving a
    blank line above it). It is more natural and useful if the URL is
    included inline.
    
    PR-URL: nodejs#12216
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    0146077 View commit details
    Browse the repository at this point in the history
  3. test: remove disabled debugger test

    The current debugger is slated for removal soon. The debugger test that
    has been disabled for over four years is unlikely to be repaired at this
    point. Remove the test and its associated fixture.
    
    PR-URL: nodejs#12199
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and jasnell committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    65c100a View commit details
    Browse the repository at this point in the history
  4. deps: backport ec1ffe3 from upstream V8

    This commit adds lldbinit files from upstream V8 and also adds these so
    that they get installed when `make install` is run.
    
    Original commit message:
    
    [tools] add lldbinit
    
        The goal of this commit is to add the equivalent to gdbinit but
        for lldb. I've tried to replicate the commands as close as possible
        but I'm unsure about the jss command and hoping to get some feedback
        on it in addition to the bta command which I'm not sure how/when
        this could be used. This is probably just inexperience on my part.
    
        The lldbinit file can be placed into a directory prefixed with dot
        (.lldbinit) and the python script is currently expected to be in the
        same directory. The path to the script can be changed manually if
        needed as well.
    
        NOTRY=true
    
        Review-Url: https://codereview.chromium.org/2758373002
        Cr-Commit-Position: refs/heads/master@{nodejs#44136}
    
    PR-URL: nodejs#12061
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    23498f2 View commit details
    Browse the repository at this point in the history
  5. build: fix path voodoo in icu-generic.gyp

    Intention was to get to `PRODUCT_DIR` so no need to do path voodoo
    Also added `'msvs_quote_cmd': 0` and more precise quoting
    
    PR-URL: nodejs#11217
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    refack authored and gibfahn committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    e139dae View commit details
    Browse the repository at this point in the history
  6. src: remove support for --debug

    In the 2017-04-05 meeting, the CTC agreed to remove support for the
    legacy debugger in 8.0.0. This is the first step in this direction.
    
    Refs: nodejs/CTC#94
    PR-URL: nodejs#12197
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Jan Krems authored and targos committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    47f8f74 View commit details
    Browse the repository at this point in the history
  7. debug: activate inspector with _debugProcess

    This pull request switches the signal handler to start inspector socket
    server instead of the legacy V8 debug protocol.
    
    PR-URL: nodejs#11431
    
    Fixes: nodejs#8464
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Eugene Ostroukhov committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    7599b0e View commit details
    Browse the repository at this point in the history
  8. test: skip irrelevant test on Windows

    Skip test-cluster-disconnect-handles on Windows.
    
    PR-URL: nodejs#12261
    Ref: nodejs#12197 (comment)
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott committed Apr 6, 2017
    Configuration menu
    Copy the full SHA
    a94a5da View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2017

  1. test: add a second argument to assert.throws()

    - a regular expression that matches the entire error message.
    
    PR-URL: nodejs#12139
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    dave-k authored and vsemozhetbyt committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    943d085 View commit details
    Browse the repository at this point in the history
  2. n-api: Update property attrs enum to match JS spec

    The napi_property_attributes enum used names and values from
    v8::PropertyAttribute, but those negative flag names were outdated
    along with the default behavior of a property being writable,
    enumerable, and configurable unless otherwise specified. To match the
    ES5 standard property descriptor those attributes should be positive
    flags and should default to false unless otherwise specified.
    
    PR-URL: nodejs#12240
    Fixes: nodejs/abi-stable-node#221
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    jasongin authored and mhdawson committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    8460284 View commit details
    Browse the repository at this point in the history
  3. doc: add sub domain to host in url

    PR-URL: nodejs#12233
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    styfle authored and TimothyGu committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    9acd6c9 View commit details
    Browse the repository at this point in the history
  4. doc: add aqrln to collaborators

    Add Alexey Orlenko (@aqrln) to the list of collaborators in README.md
    
    PR-URL: nodejs#12273
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aqrln committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    6581c35 View commit details
    Browse the repository at this point in the history
  5. doc: update OS level support for AIX

    Update OS level supprot for AIX.  Based on discussions
    with the AIX team we've have decided that the minimum
    support level should be 7.1. This is because support
    for AIX 6.1 will likely end during the lifespan of
    the upcoming Node version 8 release.
    
    PR-URL: nodejs#12235
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    mhdawson committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    c6e0ba3 View commit details
    Browse the repository at this point in the history
  6. test: complete coverage for lib/assert.js

    6481c93 modified `lib/assert.js` and added some tests for new
    functionality, but left a single line uncovered by tests. This adds a
    test that covers the currently-uncovered line (which is the final
    `return` statement in `setHasSimilarElement()`).`
    
    PR-URL: nodejs#12239
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    971fe67 View commit details
    Browse the repository at this point in the history
  7. doc: add refack to collaborators

    PR-URL: nodejs#12277
    Refs: https://github.com/nodejs/node/blob/master/doc/onboarding.md
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    refack committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    ca8ccb9 View commit details
    Browse the repository at this point in the history
  8. n-api: cache Symbol.hasInstance

    This improves the performance of napi_instanceof() by retrieving
    Symbol.hasInstance from the global object once and then storing a
    persistent reference to it in the env.
    
    PR-URL: nodejs#12246
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and mhdawson committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    8fbace1 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2017

  1. test: add basic cctest for base64.h

    This commit adds C++ tests for `base64_encode()` and `base64_decode()`
    functions defined in `base64.h`.  The functionality is already being
    tested indirectly in JavaScript tests for Buffer, but it won't hurt to
    test the low-level functions too, especially given that they aren't only
    used in the internal Buffer implementation, Chrome inspector protocol
    support relies upon them too.
    
    PR-URL: nodejs#12238
    Refs: nodejs#12146 (comment)
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    aqrln committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    b03f1f0 View commit details
    Browse the repository at this point in the history
  2. doc: document the performance team

    Can be cc'ed with `@nodejs/performance`.
    
    PR-URL: nodejs#12213
    Refs: nodejs#12194 (comment)
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    gibfahn committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    96619fc View commit details
    Browse the repository at this point in the history
  3. doc: modernize and fix code examples in modules.md

    * Replace `var` by `const`.
    * Fix semicolons.
    * Add missing code marks.
    * Unify quotes.
    * Comment out ellipsis.
    * Use object destructuring.
    * Use exponentiation operator.
    * Replace snake_case by camelCase.
    
    PR-URL: nodejs#12224
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    vsemozhetbyt committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    166a156 View commit details
    Browse the repository at this point in the history
  4. doc: fix confusing reference in net.md

    PR-URL: nodejs#12247
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    vsemozhetbyt committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    14749f9 View commit details
    Browse the repository at this point in the history
  5. napi: initialize and check status properly

    Initialize status to napi_generic_failure and only check it after
    having made an actual N-API call.
    
    This fixes up 8fbace1.
    
    PR-URL: nodejs#12283
    Ref: nodejs#12279
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Gabriel Schulhof authored and Refael Ackermann committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    afd5966 View commit details
    Browse the repository at this point in the history
  6. util: use V8 C++ API for inspecting Promises

    PR-URL: nodejs#12254
    Refs: nodejs#11875
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
    TimothyGu committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    a37273c View commit details
    Browse the repository at this point in the history
  7. tools: replace custom new-with-error rule

    Use no-restricted-syntax to implement the requirement that `Error`
    objects must be thrown with the `new` keyword.
    
    PR-URL: nodejs#12249
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    8191af5 View commit details
    Browse the repository at this point in the history
  8. doc: fix missing argument for dns.resolvePtr()

    PR-URL: nodejs#12256
    Fixes: nodejs#12161
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    uppinder authored and vsemozhetbyt committed Apr 8, 2017
    Configuration menu
    Copy the full SHA
    c095394 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2017

  1. benchmark: add test double HTTP benchmarker

    Refactor benchmark/_http-benchmarkers.js and add a test double
    HTTP benchmarker for testing.
    
    PR-URL: nodejs#12121
    Refs: nodejs#12068
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    a3e71a8 View commit details
    Browse the repository at this point in the history
  2. benchmark: control HTTP benchmarks run time

    PR-URL: nodejs#12121
    Refs: nodejs#12068
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    3e3414f View commit details
    Browse the repository at this point in the history
  3. test: add http benchmark test

    PR-URL: nodejs#12121
    Refs: nodejs#12068
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    2d3d4cc View commit details
    Browse the repository at this point in the history
  4. src: use std::string for trace enabled_categories

    A std::string manages its own memory, so using one removes the implicit
    assumption that the argv vector passed to node will never be
    deallocated. Also, the enabled_categories are used to construct a
    std::stringstream, so its simpler to use the standard library
    consistently.
    
    PR-URL: nodejs#12242
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    sam-github authored and addaleax committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    809ca2f View commit details
    Browse the repository at this point in the history
  5. build: don't test addons-napi twice

    The addons-napi testsuite is already included in $(CI_NATIVE_SUITES), so
    we don't need to manually specify it in the test-ci target as well.
    
    PR-URL: nodejs#12201
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    gibfahn committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    4dde876 View commit details
    Browse the repository at this point in the history
  6. doc: update information on test/known_issues

    * Since nodejs#6559 known_issues
      does run on CI.
    * Add some notes to explain the expectations around tests in
      known_issues.
    
    PR-URL: nodejs#12262
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Jan Krems authored and aqrln committed Apr 9, 2017
    Configuration menu
    Copy the full SHA
    1807080 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. src: only block SIGUSR1 when HAVE_INSPECTOR

    I'm currently seeing a timeout error for test-signal-handler.js on
    macosx when using the following configuration:
    
    ./configure --debug --without-ssl && make -j8 test
    
    --without-ssl implies that there will be no inspector but the signal
    SIGUSR1 is blocked in PlatformInit just the same. But in this case
    never unblocked which is causing the signal to never be delivered to
    the handlers in test-signal-handler.js and it loops until it times out.
    
    Not sure if this is the best way of fixing this but hopefully more eyes
    on this will help.
    
    PR-URL: nodejs#12266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    65a6e05 View commit details
    Browse the repository at this point in the history
  2. src: use std::list for at_exit_functions

    This change was suggested by bnoordhuis in the following comment:
    nodejs#9163 (comment)
    
    Not including any tests as this is covered by test/addons/at-exit.
    
    PR-URL: nodejs#12255
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    fe016c6 View commit details
    Browse the repository at this point in the history
  3. doc: fix confusing example in process.md

    PR-URL: nodejs#12282
    Fixes: nodejs#12280
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    vsemozhetbyt committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    b2a12ee View commit details
    Browse the repository at this point in the history
  4. test: check curve algorithm is supported

    parallel/test-crypto-dh.js assumes particular curve algorithms
    (e.g. Oakley-EC2N-3) are supported, though this may not necessarily be
    the case if Node.js was built with a system version of OpenSSL.
    
    PR-URL: nodejs#12265
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Qantas94Heavy authored and addaleax committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    2555780 View commit details
    Browse the repository at this point in the history
  5. src: use a std::vector for preload_modules

    A dynamically allocated array was being used, simplify the memory
    management by using std::vector.
    
    PR-URL: nodejs#12241
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and addaleax committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    cecdf7c View commit details
    Browse the repository at this point in the history
  6. crypto: handle exceptions in hmac/hash.digest

    Forced conversion of the encoding parameter to a string within
    crypto.js, fixing segmentation faults in node_crypto.cc.
    
    Fixes: nodejs#9819
    PR-URL: nodejs#12164
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and addaleax committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    88351a2 View commit details
    Browse the repository at this point in the history
  7. url: trim leading slashes of file URL paths

    It should trim the slashes after the colon into three for file URL.
    
    PR-URL: nodejs#12203
    Refs: web-platform-tests/wpt#5195
    Fixes: nodejs#11188
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    watilde committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    b470a85 View commit details
    Browse the repository at this point in the history
  8. n-api: change napi_callback to return napi_value

    Change `napi_callback` to return `napi_value` directly instead of
    requiring `napi_set_return_value`.
    
    When we invoke the callback, we will check the return value and
    call `SetReturnValue` ourselves. If the callback returns `NULL`,
    we don't set the return value in v8 which would have the same
    effect as previously if the callback didn't call
    `napi_set_return_value`. Seems to be a more natural way
    to handle return values from callbacks. As a consequence,
    remove `napi_set_return_value`.
    
    Add a `napi_value` to `napi_property_descriptor` to support string
    values which couldn't be passed in the `utf8name` parameter or
    symbols as property names. Class names, however, cannot be symbols
    so this `napi_value` must be a string type in that case.
    
    Remove all of the `napi_callback_info` helpers except for
    `napi_get_cb_info` and make all the parameters to
    `napi_get_cb_info` optional except for argc.
    
    Update all the test collateral according to these changes.
    Also add `test/addons-napi/common.h` to house some common macros
    for wrapping N-API calls and error handling.
    
    PR-URL: nodejs#12248
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    boingoing authored and addaleax committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    ca786c3 View commit details
    Browse the repository at this point in the history
  9. n-api: implement async helper methods

    Based on the async methods we had in abi-stable-node before the napi
    feature landed in node/master. Changed this set of APIs to handle
    error cases and removed a lot of the extra methods we had for setting
    all the pieces of napi_work opting instead to pass all of those as
    arguments to napi_create_async_work as none of those parameters are
    optional except for the complete callback, anyway.
    
    Renamed the napi_work struct to napi_async_work and replace the
    struct itself with a class which can better encapsulate the object
    lifetime and uv_work_t that we're trying to wrap anyway.
    
    Added a napi_async_callback type for the async helper callbacks
    instead of taking raw function pointers and make this callback take a
    napi_env parameter as well as the void* data it was already taking.
    
    Call the complete handler for the async work item with a napi_status
    code translated from the uvlib error code.
    
    The execute callback is required for napi_create_async_work, though
    complete callback is still optional.
    
    Also added some async unit tests for addons-napi based on the
    addons/async_hello_world test.
    
    PR-URL: nodejs#12250
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
    boingoing authored and addaleax committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    9decfb1 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2017

  1. build: sort phony rules

    Sort phony rules and place them one per line for the ease of
    updating and backporting
    
    PR-URL: nodejs#12059
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    c694633 View commit details
    Browse the repository at this point in the history
  2. build: add test-gc-clean and test-gc PHONY rules

    PR-URL: nodejs#12059
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    baa2602 View commit details
    Browse the repository at this point in the history
  3. test: remove disabled tls_server.js

    Remove tls_server.js that has been disabled for about 6 years. It
    appears to have worked in concert with some other file which has since
    been removed. It seems to create a server and set up a bunch of
    listeners, but it does not appear to have code that connects to the
    server and triggers any of those listeners.
    
    PR-URL: nodejs#12275
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    569f988 View commit details
    Browse the repository at this point in the history
  4. doc: add link on logo to README

    This is to override GitHub's default behaviour that links to the
    image's source file, which isn't very helpful in our case.
    
    PR-URL: nodejs#12307
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    silverwind authored and jasnell committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    71704fb View commit details
    Browse the repository at this point in the history
  5. doc: update os.uptime() and process.uptime() info

    PR-URL: nodejs#12294
    Fixes: nodejs#12291
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and jasnell committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    9b6376a View commit details
    Browse the repository at this point in the history
  6. test: fix allocUnsafe uninitialized buffer check

    Fixes parallel/test-buffer-bindingobj-no-zerofill to properly check
    that buffers created with `Buffer.allocUnsafe()` are not zero-filled.
    
    The test introduced in nodejs#11706 passes even if the buffer has been
    zero-filled and fails if none of the buffer values are zero.
    
    Refs: nodejs#11706
    PR-URL: nodejs#12290
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Qantas94Heavy authored and jasnell committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    eb49d59 View commit details
    Browse the repository at this point in the history
  7. build,win: limit maxcpucount to 2 for MSBuild

    MSBuild invokes cl.exe with /MP (set in common.gypi), making it
    compile sources in parallel using a number of internal processes
    equal to the number of effective processors. MSBuild /m uses a
    similar mechanism, so the number of compiler processes can grow to
    the number of effective processors squared.
    
    This limits MSBuild to 2 processes, to still use some parallelization
    while requiring less memory. Cl.exe is still invoked with /MP, thus
    the maximum number of processes is limited to twice the number of
    effective processors.
    
    PR-URL: nodejs#12184
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    joaocgreis committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    6cfedf0 View commit details
    Browse the repository at this point in the history
  8. deps,win: increase msvs_shard in gyp for V8

    Increase the number of shards to divide v8_base into. This increases
    the number of calls to cl.exe but decreases the number of files
    compiled each time.
    
    Fixes: nodejs/v8#4
    PR-URL: nodejs#12184
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    joaocgreis committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    c1670b6 View commit details
    Browse the repository at this point in the history
  9. n-api: fix -Wmismatched-tags compiler warning

    `napi_env__` was declared as a struct in one place and a class in
    another.
    
    PR-URL: nodejs#12333
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    affe0f2 View commit details
    Browse the repository at this point in the history
  10. 2017-04-11, Version 7.9.0 (Current)

    Notable changes:
    
    * util: console is now closer to what is supported in all major browsers
    (Roman Reiss) [nodejs#10308](nodejs#10308)
    
    PR-URL: nodejs#12319
    italoacasas committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    b8f4160 View commit details
    Browse the repository at this point in the history
  11. inspector: fix Coverity defects

    PR-URL: nodejs#12272
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Eugene Ostroukhov committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    42be835 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2017

  1. doc: modernize and fix code examples in path.md

    Unify spaces, quotes, and semicolons. Update output examples.
    
    PR-URL: nodejs#12296
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    a912425 View commit details
    Browse the repository at this point in the history
  2. deps: cherry-pick node-inspect#43

    Node 8.x no longer has --debug-brk.
    
    Ref: nodejs/node-inspect#43
    PR-URL: nodejs#11441
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: joshgav - Josh Gavant <josh.gavant@outlook.com>
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    ofrobots committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    b7608ac View commit details
    Browse the repository at this point in the history
  3. src,test: debug is now an alias for inspect

    `node debug` is now an alias of `node inspect`. This is intended to be
    a minimal change – it does not get rid of the the debugger code. That
    can be done in a follow-on.
    
    PR-URL: nodejs#11441
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: joshgav - Josh Gavant <josh.gavant@outlook.com>
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    ofrobots committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    a235ccd View commit details
    Browse the repository at this point in the history
  4. src: guard default_inspector_port

    When configuring and building --without-ssl the following warning is
    reported:
    ../src/node_debug_options.cc:12:11: warning: unused variable
    'default_inspector_port' [-Wunused-const-variable]
    const int default_inspector_port = 9229;
    
    The commit adds a HAVE_INSPECTOR guard to this constant.
    
    PR-URL: nodejs#12303
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    f9bc835 View commit details
    Browse the repository at this point in the history
  5. src: guard bundled_ca/openssl_ca with HAVE_OPENSSL

    Currently, the following warning will be reported when configuring
    without-ssl:
    
    ../src/node.cc:3653:8: warning: unused variable 'use_bundled_ca'
    [-Wunused-variable]
      bool use_bundled_ca = false;
           ^
    ../src/node.cc:3654:8: warning: unused variable 'use_openssl_ca'
    [-Wunused-variable]
      bool use_openssl_ca = false;
           ^
    
    I missed this when working on
    commit 8a7db9d ("src: add
    --use-bundled-ca --use-openssl-ca check").
    
    Refs: nodejs#12087
    PR-URL: nodejs#12302
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    de168b4 View commit details
    Browse the repository at this point in the history
  6. src: make AtExit callback's per Environment

    This commit attempts to address one of the TODOs in
    nodejs#4641 regarding making the
    AtExit callback's per environment, instead of the current global.
    
    bnoordhuis provided a few options for solving this, and one was to
    use a thread-local which is what this commit attempts to do.
    
    PR-URL: nodejs#9163
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    danbev committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    ec53921 View commit details
    Browse the repository at this point in the history
  7. src: allow ArrayBufferView as instance of Buffer

    PR-URL: nodejs#12223
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    TimothyGu committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    faa447b View commit details
    Browse the repository at this point in the history
  8. test: add common.getArrayBufferViews(buf)

    PR-URL: nodejs#12223
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    TimothyGu committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    0c539fa View commit details
    Browse the repository at this point in the history
  9. crypto: support all ArrayBufferView types

    PR-URL: nodejs#12223
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    TimothyGu committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    a8f460f View commit details
    Browse the repository at this point in the history
  10. zlib: support all ArrayBufferView types

    PR-URL: nodejs#12223
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    TimothyGu committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    2ced07c View commit details
    Browse the repository at this point in the history
  11. url: remove javascript URL special case

    Fixes: nodejs#11485
    PR-URL: nodejs#12331
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    watilde committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    eb0492d View commit details
    Browse the repository at this point in the history
  12. doc: drop PPC BE from supported platforms

    We've discussed this with the Power team within IBM and have
    agreement that we should drop Power Linux BE for Node version
    8 as customers will be using Power Linux LE when using
    Node.js going forward.
    
    PR-URL: nodejs#12309
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Jaideep Bajwa <bjaideep@ca.ibm.com>
    mhdawson committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    75c471a View commit details
    Browse the repository at this point in the history
  13. test: improve test coverage for n-api

    Add basic tests for handle scopes as code coverage
    reports that we are not covering these with the existing
    tests.
    
    PR-URL: nodejs#12327
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    0ec0272 View commit details
    Browse the repository at this point in the history
  14. tools: replace custom assert.fail lint rule

    Replace custom lint rule for `assert.fail()` function signature errors
    with a restricted-syntax rule.
    
    PR-URL: nodejs#12287
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    b3f2e3b View commit details
    Browse the repository at this point in the history
  15. assert: improve assert.fail() API

    assert.fail() has two possible function signatures, both of which are
    not intuitive. It virtually guarantees that people who try to use
    assert.fail() without carefully reading the docs will end up using it
    incorrectly.
    
    This change maintains backwards compatibility with the two valid uses
    (arguments 1 2 and 4 supplied but argument 3 falsy, and argument 3
    supplied but arguments 1 2 and 4 all falsy) but also adds the far more
    intuitive first-argument-only and first-two-arguments-only
    possibilities.
    
    assert.fail('boom');
    // AssertionError: boom
    
    assert.fail('a', 'b');
    // AssertionError: 'a' != 'b'
    
    PR-URL: nodejs#12293
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    758b8b6 View commit details
    Browse the repository at this point in the history
  16. tools: remove assert.fail() lint rule

    assert.fail() has been updated to accept a single argument so that is no
    longer an error. Remove lint rule that checks for assert.fail() with a
    single argument.
    
    PR-URL: nodejs#12293
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    6f202ef View commit details
    Browse the repository at this point in the history
  17. test: remove common.fail()

    common.fail() was added to paste over issues with assert.fail() function
    signature. assert.fail() has been updated to accept a single argument so
    common.fail() is no longer necessary.
    
    PR-URL: nodejs#12293
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    06c29a6 View commit details
    Browse the repository at this point in the history
  18. benchmark: replace more [].join() with ''.repeat()

    Refs: nodejs#12170
    
    PR-URL: nodejs#12317
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    0f69f40 View commit details
    Browse the repository at this point in the history
  19. doc: add missing changelog entry for fs.readdir()

    Document that the `options` parameter of `fs.readdir()` was added
    in Node.js 6.0.0.
    
    PR-URL: nodejs#12312
    Fixes: nodejs#12299
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shubheksha authored and aqrln committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    4ac3ef5 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2017

  1. test: add second argument to assert.throws

    This adds RegExp or error constructor arguments to the remaining places
    where it is missing in preparation for the commit that will enforce the
    presence of at least two arguments.
    
    PR-URL: nodejs#12270
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    9de2e15 View commit details
    Browse the repository at this point in the history
  2. tools: enforce two arguments in assert.throws

    Enables the requireTwo option of our custom rule.
    
    PR-URL: nodejs#12270
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    a4b9c58 View commit details
    Browse the repository at this point in the history
  3. src: supply missing comments for CLI options

    A few of the CLI option values exposed as properties on the process
    object were missing a comment, fix this.
    
    PR-URL: nodejs#12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    e505c07 View commit details
    Browse the repository at this point in the history
  4. src: use option parser for expose_internals

    bootstrap_node.js was directly parsing process.execArgv to see if
    internals should be exposed, even though the argv was already parsed by
    node. This is unusual and unnecessary, change it to set the option value
    from the parser onto the config binding.
    
    PR-URL: nodejs#12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    8086cb6 View commit details
    Browse the repository at this point in the history
  5. doc: add single arg scenario for util.format

    Set the expected outcome of `util.format('%%')` to be `%%`
    instead of `%`.
    
    PR-URL: nodejs#12374
    Fixes: nodejs#12362
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tarunbatra authored and Benjamin Gruenbaum committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    78af0df View commit details
    Browse the repository at this point in the history
  6. test: remove disabled test-dgram-send-error

    This test was disabled in 2013 because it spams random IPs with UDP
    messages. We've been doing fine for four years without so let's delete
    it.
    
    PR-URL: nodejs#12330
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    3900cf6 View commit details
    Browse the repository at this point in the history
  7. test: fix compiler warning in n-api test

    Missed in ca786c3. This does
    not actually affect the outcome because returning `nullptr` or
    `this` from a constructor has the same effect.
    
    PR-URL: nodejs#12318
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    8bd26d3 View commit details
    Browse the repository at this point in the history
  8. src: remove experimental warning for inspect

    * Removes "experimental" warning.
    
    Fixes: nodejs#11770
    PR-URL: nodejs#12352
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    joshgav authored and jasnell committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    a4125a3 View commit details
    Browse the repository at this point in the history
  9. test: improve punycode coverage to check surrogate pair

    PR-URL: nodejs#12354
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    orisano authored and jasnell committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    05a00a0 View commit details
    Browse the repository at this point in the history
  10. doc: limit lines to 80 cols in internal README

    We generally stick to 80 columns even in markdown files.
    
    PR-URL: nodejs#12358
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    evanlucas authored and jasnell committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    40b6cf2 View commit details
    Browse the repository at this point in the history
  11. test: run the addon tests last

    Running the addon tests before the parallel, sequential, etc. tests
    can be a problem if there is a bug in node that prevents the
    addon tests from running properly. When the addon tests fail for any
    reason, then none of the other tests (e.g. parallel, etc.)
    are executed.
    
    Running the addon tests last fixes this.
    
    Refs: nodejs#12031
    PR-URL: nodejs#12062
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    seppevs authored and Refael Ackermann committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    3d2181c View commit details
    Browse the repository at this point in the history
  12. build: disable -O3 for C++ coverage

    The `cflags` for `--coverage` included `-O0` so far, but that was
    overridden by a later `-O3`. Resolve that by adding
    `'cflags!': [ '-O3' ]` and increase coverage accuracy.
    
    Ref: https://coverage.nodejs.org/
    PR-URL: nodejs#12406
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and Refael Ackermann committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    ea44b8b View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2017

  1. benchmark,windows: TCP.readStart() meaningful only after completion

    fixes nodejs#11972
    
    PR-URL: nodejs#12258
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    fbe946b View commit details
    Browse the repository at this point in the history
  2. stream: Fixes missing 'unpipe' event

    Currently when the destination emits an 'error', 'finish' or 'close'
    event the pipe calls unpipe to emit 'unpipe' and trigger the clean up
    of all it's listeners.
    When the source emits an 'end' event without {end: false} it calls
    end() on the destination leading it to emit a 'close', this will again
    lead to the pipe calling unpipe. However the source emitting an 'end'
    event along side {end: false} is the only time the cleanup gets ran
    directly without unpipe being called. This fixes that so the 'unpipe'
    event does get emitted and cleanup in turn gets ran by that event.
    
    Fixes: nodejs#11837
    PR-URL: nodejs#11876
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    zaide-chris authored and mcollina committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    9dcf18a View commit details
    Browse the repository at this point in the history
  3. crypto: make LazyTransform compabile with Streams1

    Makes LazyTransform writable by Streams1 by assigning .writable = true
    before the actual classes are loaded.
    
    Fixes: nodejs#12269
    PR-URL: nodejs#12380
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mcollina committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    1ae172b View commit details
    Browse the repository at this point in the history
  4. url: disallow invalid IPv4 in IPv6 parser

    Fixes: nodejs#10655
    PR-URL: nodejs#12315
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    watilde committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    1b99d8f View commit details
    Browse the repository at this point in the history
  5. doc: add AnnaMag to collaborators

    PR-URL: nodejs#12414
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    AnnaMag committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    635af7d View commit details
    Browse the repository at this point in the history
  6. doc: response.write ignores body in some cases

    PR-URL: nodejs#12314
    Fixes: nodejs#8057
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    krydos authored and Benjamin Gruenbaum committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    bd7e0a3 View commit details
    Browse the repository at this point in the history
  7. build: run cpplint even if jslint failed

    lint target now runs both linters
    even if one of them failed.
    
    PR-URL: nodejs#12276
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    krydos authored and Benjamin Gruenbaum committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    47c255e View commit details
    Browse the repository at this point in the history
  8. n-api: add string api for latin1 encoding

    PR-URL: nodejs#12368
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Sampson Gao authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    ad5f987 View commit details
    Browse the repository at this point in the history
  9. n-api: fix coverity scan report

    Coverity was reporting _request.work_req as not being initialized.
    Add memset to ensure all of _request is initialized.
    
    PR-URL: nodejs#12365
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    46f2026 View commit details
    Browse the repository at this point in the history
  10. buffer: optimize from() and byteLength()

    PR-URL: nodejs#12361
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mscdex authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    4a86803 View commit details
    Browse the repository at this point in the history
  11. buffer: optimize toString()

    PR-URL: nodejs#12361
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mscdex authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    3ee4a1a View commit details
    Browse the repository at this point in the history
  12. buffer: optimize write()

    PR-URL: nodejs#12361
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mscdex authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    4749ec2 View commit details
    Browse the repository at this point in the history
  13. test: add hasCrypto check to test-debug-usage

    When configuring --without-ssl test-debug-usage.js fails with the
    following error:
    
    assert.js:82
      throw new assert.AssertionError({
      ^
    AssertionError: false == true
        at ChildProcess.<anonymous>
    (/Users/danielbevenius/work/nodejs/node/test/parallel/test-debug-usage.js:24:5)
        at ChildProcess.<anonymous>
    (/Users/danielbevenius/work/nodejs/node/test/common.js:461:15)
        at emitTwo (events.js:125:13)
        at ChildProcess.emit (events.js:213:7)
        at Process.ChildProcess._handle.onexit
    (internal/child_process.js:208:12)
    
    But the underlying error is the following:
    
    (node:55665) [DEP0068] DeprecationWarning: `node debug` is deprecated.
    Please use `node inspect` instead.
    internal/util.js:83
        throw new Error('Node.js is not compiled with openssl crypto
    support');
        ^
    
    Error: Node.js is not compiled with openssl crypto support
        at Object.exports.assertCrypto (internal/util.js:83:11)
        at crypto.js:28:14
        at NativeModule.compile (bootstrap_node.js:559:7)
        at NativeModule.require (bootstrap_node.js:500:18)
        at node-inspect/lib/internal/inspect_client.js:24:16
        at NativeModule.compile (bootstrap_node.js:559:7)
        at NativeModule.require (bootstrap_node.js:500:18)
        at node-inspect/lib/_inspect.js:39:5
        at NativeModule.compile (bootstrap_node.js:559:7)
        at Function.NativeModule.require (bootstrap_node.js:500:18)
    
    assert.js:82
      throw new assert.AssertionError({
      ^
    AssertionError: false == true
        at ChildProcess.<anonymous>
    (/Users/danielbevenius/work/nodejs/node/test/parallel/test-debug-usage.js:25:5)
        at ChildProcess.<anonymous>
    (/Users/danielbevenius/work/nodejs/node/test/common.js:461:15)
        at emitTwo (events.js:125:13)
        at ChildProcess.emit (events.js:213:7)
        at Process.ChildProcess._handle.onexit
    (internal/child_process.js:208:12)
    
    This commit adds a check for crypto like some of the other tests do.
    
    PR-URL: nodejs#12357
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    48f780d View commit details
    Browse the repository at this point in the history
  14. doc: fix formatting in onboarding-extras

    Use of extra `|` breaks markdown table rendering. Fix it.
    
    PR-URL: nodejs#12350
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    508c8ce View commit details
    Browse the repository at this point in the history
  15. doc: add info about serializable types

    querystring.stringify() doesn't serialize some values.
    Explicitly mention what values are serialized in the docs.
    Add what happens when another data type is passed to
    `querystring.stringify()` besides the ones that can be correctly parsed
    
    PR-URL: nodejs#12313
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shubheksha authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    b07c72b View commit details
    Browse the repository at this point in the history
  16. test: add internal/fs tests

    PR-URL: nodejs#12306
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    DavidCai1111 authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    f98db78 View commit details
    Browse the repository at this point in the history
  17. src: reduce number of exported symbols

    Use `static` definitions and anonymous namespaces to reduce the
    number of symbols that are exported from the `node` binary.
    
    PR-URL: nodejs#12366
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    9d52222 View commit details
    Browse the repository at this point in the history
  18. os,vm: fix segfaults and CHECK failure

    Fixes multiple possible segmentation faults in node_contextify.cc and
    an assertion failure in node_os.cc
    
    Fixes: nodejs#12369
    Fixes: nodejs#12370
    PR-URL: nodejs#12371
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    88aab45 View commit details
    Browse the repository at this point in the history
  19. test: add test-benchmark-crypto

    Add minimal test for crypto benchmarks. It makes sure that they can run
    without returning an error code.
    
    PR-URL: nodejs#12347
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    8a6d44b View commit details
    Browse the repository at this point in the history
  20. doc: path functions ignore trailing slashes

    Add notes about path.parse(), path.basename() and path.dirname()
    ignoring trailing slashes.
    
    PR-URL: nodejs#12181
    Fixes: nodejs#6229
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    tniessen authored and Benjamin Gruenbaum committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    7fd2923 View commit details
    Browse the repository at this point in the history
  21. deps: update node-inspect to v1.11.2

    PR-URL: nodejs#12363
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Jan Krems authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    0217197 View commit details
    Browse the repository at this point in the history
  22. buffer: use slightly faster NaN check

    PR-URL: nodejs#12286
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    mscdex committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    e0f0f26 View commit details
    Browse the repository at this point in the history
  23. url: clean up WHATWG URL origin generation

    - Use ordinary properties instead of symbols/getter redirection for
      internal object
    - Use template string literals
    - Remove unneeded custom inspection for internal objects
    - Remove unneeded OpaqueOrigin class
    - Remove unneeded type checks
    
    PR-URL: nodejs#12252
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    aff5cc9 View commit details
    Browse the repository at this point in the history
  24. url: improve WHATWG URL inspection

    PR-URL: nodejs#12253
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    TimothyGu authored and addaleax committed Apr 14, 2017
    Configuration menu
    Copy the full SHA
    2841f47 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2017

  1. test: remove common.PORT from test-cluster-basic

    Use of `common.PORT` in `parallel` tests is not completely safe (because
    the same port can be previously assigned to another test running in
    parallel if that test uses port `0` to get an arbitrary available port).
    
    Remove `common.PORT` from test-cluster-basic.
    
    PR-URL: nodejs#12377
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    c05e5bf View commit details
    Browse the repository at this point in the history
  2. Revert "src: exclude node_root_certs when use-def-ca-store"

    This reverts commit be98f26.
    
    The above commit prevented the functionality of --use-bundled-ca if
    Node has been built using --openssl-use-def-ca-store, since there will
    be no bundled ca included and no way to use them.
    
    I only noticed this when trying to add // Flags: --use-bundled-ca to
    test-tls-ccnic-whitelist.js to force it to use the bundled ca and allow
    the test to pass.
    
    PR-URL: nodejs#12391
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    e1d1487 View commit details
    Browse the repository at this point in the history
  3. doc: modernize and fix code examples in process.md

    * Replace `var` by `const`.
    * Use `console.error()`.
    * Fix example file name mismatch.
    * Update output examples.
    * Fix output readability
      (add a line break, remove an unnecessary duplicate word).
    
    PR-URL: nodejs#12381
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    vsemozhetbyt committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    e72ea0d View commit details
    Browse the repository at this point in the history
  4. doc: add jkrems to collaborators

    PR-URL: nodejs#12427
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Jan Krems committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    e125f17 View commit details
    Browse the repository at this point in the history
  5. doc: fix typo in streams.md

    PR-URL: nodejs#12428
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jpbamberg1993 authored and addaleax committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    a6e4162 View commit details
    Browse the repository at this point in the history
  6. src: replace IsConstructCall functions with lambda

    I noticed that there are three static functions that only check if
    args is a construct call. This commit suggests replacing them and
    them with a lambda.
    
    PR-URL: nodejs#12384
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and addaleax committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    b280363 View commit details
    Browse the repository at this point in the history
  7. doc: add DavidCai1993 to collaborators

    PR-URL: nodejs#12435
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    DavidCai1111 committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    ddcd93a View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2017

  1. test: replace [].join() with ''.repeat()

    Replace [].join calls with the more modern .repeat
    
    PR-URL: nodejs#12305
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    JacksonTian authored and Benjamin Gruenbaum committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    4a782e1 View commit details
    Browse the repository at this point in the history
  2. doc: child_process example for special chars

    Updates the Child Process Exec function documentation providing
    further information with regards to treating special characters in
    the command string function argument. Note that the exec string is
    processed by the shell. Updates description to show that special
    shell characters vary based on the shell with a link to the Wikipedia
    page regarding different command line interpreters and their
    associated operating systems. Updates example code to reside in
    separate lines using a codeblock and utilizes examples to comply with
    code standards by using single quotes.
    
    PR-URL: nodejs#10921
    Fixes: nodejs#6803
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    codeman869 authored and Benjamin Gruenbaum committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    fe1be39 View commit details
    Browse the repository at this point in the history
  3. doc: update link for landing PRs

    The onboarding doc links to the "Technical How-to" portion of the
    Collaborator's Guide for landing PRs. That section is a subsection of
    the "Landing Pull Requests" portion of that document. By skipping the
    main section header, important information is skipped, such as the part
    about not using the merge button and descriptions of the metadata
    required. Update the link to target the main section and not the
    subsection.
    
    PR-URL: nodejs#12415
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    28326ad View commit details
    Browse the repository at this point in the history
  4. doc: add guide for backporting prs

    This guide should help answer questions for contributors
    that are not familiar with the backport process.
    
    PR-URL: nodejs#11099
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    evanlucas authored and gibfahn committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    ece9ab5 View commit details
    Browse the repository at this point in the history
  5. zlib: remove unused declaration

    Overlooked in nodejs#12366. Removing this
    removes a compiler warning.
    
    PR-URL: nodejs#12432
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    addaleax committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    ea01cd7 View commit details
    Browse the repository at this point in the history
  6. test: change == to === in crypto test

    Changed the equality comparison from == to identity operator ===
    
    PR-URL: nodejs#12405
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    fcampinho authored and Trott committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    7044065 View commit details
    Browse the repository at this point in the history
  7. doc: fix typo in CHANGELOG.md

    PR-URL: nodejs#12434
    Fixes: nodejs#12430
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    gautamkrishnar authored and TimothyGu committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    b837bd2 View commit details
    Browse the repository at this point in the history
  8. test: enable setuid/setgid test

    Refactor test for situations where it was expected to fail.
    Move from disabled directory to parallel.
    
    PR-URL: nodejs#12403
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Trott committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    189afc8 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2017

  1. doc: add missing ) in CONTRIBUTING.md

    PR-URL: nodejs#12444
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    matkoniecz authored and watilde committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    6724f78 View commit details
    Browse the repository at this point in the history
  2. meta: move the Code of Conduct to TSC repository

    PR-URL: nodejs#12147
    Ref: nodejs/TSC#224
    Ref: nodejs/TSC#232
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    258494c View commit details
    Browse the repository at this point in the history
  3. doc: remove inspector experimental warning

    PR-URL: nodejs#12408
    Ref: nodejs#12352
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and jasnell committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    a7286f6 View commit details
    Browse the repository at this point in the history
  4. test: add crypto check to crypto-lazy-transform

    When configuring --without-ssl test-crypto-lazy-transform-writable.js
    fails with the following error:
    
    ```
    Path: parallel/test-crypto-lazy-transform-writable
    internal/util.js:83
        throw new Error('Node.js is not compiled with openssl crypto
    support');
        ^
    
    Error: Node.js is not compiled with openssl crypto support
        at Object.exports.assertCrypto (internal/util.js:83:11)
        at crypto.js:28:14
        at NativeModule.compile (bootstrap_node.js:557:7)
        at Function.NativeModule.require (bootstrap_node.js:500:18)
        at Function.Module._load (module.js:446:25)
        at Module.require (module.js:526:17)
        at require (internal/module.js:19:18)
        at Object.<anonymous>
    (/Users/danielbevenius/work/nodejs/node/test/parallel/test-crypto-lazy-transform-writable.js:5:16)
        at Module._compile (module.js:607:30)
        at Object.Module._extensions..js (module.js:618:10)
    Command: out/Release/node
    /Users/danielbevenius/work/nodejs/node/test/parallel/test-crypto-lazy-transform-writable.js
    [01:29|% 100|+ 1461|-   1]: Done
    make: *** [test] Error 1
    ```
    
    This commit add a hasCrypto check like other crypto tests do.
    
    PR-URL: nodejs#12424
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and jasnell committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    1777a86 View commit details
    Browse the repository at this point in the history
  5. src: clean up WHATWG WG parser

    * reduce indentation
    * refactor URL inlined methods
    * prefer templates over macros
    * do not export ARG_* flags in url binding
    
    PR-URL: nodejs#12251
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and jasnell committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    ade80ee View commit details
    Browse the repository at this point in the history
  6. util: add internal bindings for promise handling

    Add methods for creating, resolving and rejecting promises
    using the V8 C++ API that does not require creation of extra
    `resolve` and `reject` functions to `process.binding('util')`.
    addaleax committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    c4d2642 View commit details
    Browse the repository at this point in the history
  7. util: add util.promisify()

    Add `util.promisify(function)` for creating promisified functions.
    Includes documentation and tests.
    
    Fixes: nodejs/CTC#12
    addaleax committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    8e30fd2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36ae35d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0e22617 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    15b5efe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    26e24df View commit details
    Browse the repository at this point in the history
  12. timers: add promisify support

    Add support for `util.promisify(setTimeout)` and
    `util.promisify(setImmediate)` as a proof-of-concept implementation.
    `clearTimeout()` and `clearImmediate()` resolve the promise immediately
    instead of rejecting it; that might be the most opinionated choice
    about this.
    Includes documentation and tests.
    addaleax committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    7dabf1f View commit details
    Browse the repository at this point in the history
  13. [squash] documentation fixup

    addaleax committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    d9045ca View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fa26f5f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6f8f2d9 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9048df3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f7f0abf View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2017

  1. Add a bunch of tests from bluebird

    Take tests from Bluebird's promisify's tests and adapted them to the
    format in use here.
    Add tests making sure things work with async functions.
    Add basic usability tests.
    MadaraUchiha committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    cd9aae3 View commit details
    Browse the repository at this point in the history