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

v9.4.0 proposal #18069

Merged
merged 236 commits into from Jan 10, 2018
Merged

v9.4.0 proposal #18069

merged 236 commits into from Jan 10, 2018

Commits on Dec 21, 2017

  1. net: remove Socket.prototype.listen

    The function was never documented and now throws a TypeError if used.
    
    PR-URL: #13735
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    e58a5ca View commit details
    Browse the repository at this point in the history
  2. test: simplify common.expectsError

    The mustCall is actually only necessary in case it is used as
    callback. Otherwise it works as a must call on its own.
    
    PR-URL: #17616
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    BridgeAR authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    70588f7 View commit details
    Browse the repository at this point in the history
  3. test: add test description to fs.readFile tests

    PR-URL: #17610
    Refs: #17054 (comment)
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    davisjam authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    bc7dc65 View commit details
    Browse the repository at this point in the history
  4. doc,test: mention Duplex support for TLS

    Document and test the existing support for generic Duplex streams
    in the TLS module.
    
    PR-URL: #17599
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    1a84005 View commit details
    Browse the repository at this point in the history
  5. src: fix inspector nullptr deref on abrupt exit

    Fix a nullptr dereference on abrupt termination when async call stack
    recording is enabled.
    
    Bug discovered while trying to write a regression test for the bug fix
    in commit df79b7d ("src: fix missing handlescope bug in inspector".)
    
    PR-URL: #17577
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    bnoordhuis authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    7d1d739 View commit details
    Browse the repository at this point in the history
  6. deps: upgrade npm to 5.6.0

    PR-URL: #17535
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    zkat authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    ffe1ad6 View commit details
    Browse the repository at this point in the history
  7. src: introduce internal C++ SetImmediate() mechanism

    PR-URL: #17117
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    e1f0846 View commit details
    Browse the repository at this point in the history
  8. src: remove async_hooks destroy timer handle

    PR-URL: #17117
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    e63e4a1 View commit details
    Browse the repository at this point in the history
  9. src: remove tracking for exception arrow data

    This is unnecessary since we only run `AppendExceptionLine()`
    once per exception at this point anyway.
    
    PR-URL: #17394
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    df6acf9 View commit details
    Browse the repository at this point in the history
  10. vm: never abort on caught syntax error

    Keep track of C++ `TryCatch` state to avoid aborting when
    an exception is thrown inside one, and re-throw in JS
    to make sure the exception is being picked up a second time by
    a second uncaught exception handler, if necessary.
    
    Add a bit of a hack to `AppendExceptionLine` to avoid overriding
    the line responsible for re-throwing the exception.
    
    PR-URL: #17394
    Fixes: #13258
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    e276711 View commit details
    Browse the repository at this point in the history
  11. src: remove unused variable in node_contextify

    Currently the following warning is show when building:
    ../src/node_contextify.cc:642:10:
    warning: unused variable 'display_errors' [-Wunused-variable]
    
        bool display_errors = maybe_display_errors.ToChecked();
    
    This commit removes the unused variable which became unused in commit
    aeddc36 ("src: remove tracking for
    exception arrow data").
    
    PR-URL: #17491
    Refs: #17394
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and MylesBorins committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    6bd0aff View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. async_hooks: deprecate undocumented API

    PR-URL: #16972
    Refs: #14328
    Refs: #15572
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    AndreasMadsen authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    23f4433 View commit details
    Browse the repository at this point in the history
  2. tls: use correct class name in deprecation message

    `tls.Socket` does not exist, and the deprecation message
    should refer to `tls.TLSSocket` (like the documentation
    for the deprecation message already does).
    
    PR-URL: #17561
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    5514330 View commit details
    Browse the repository at this point in the history
  3. src: minor cleanups to node_url.cc

    - Remove pointless pointers
    - Make `WriteHost` take a const argument so that it’s functionality
      is clear from the signature
    - Make `FindLongestZeroSequence` templated to accommodate the constness
      in `WriteHost` and because using `uint16_t` is an articifial,
      unnecessary restriction
    - Remove string copying when no copies are needed
    - Make `PercentDecode` just return its return value
    - Make `ParseHost` (string-only version) take its constant argument
      as a constant reference
    
    PR-URL: #17470
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    75f99b7 View commit details
    Browse the repository at this point in the history
  4. src: move url internals into anonymous namespace

    This helps because `static` doesn’t work for C++ classes,
    but refactoring `url_host` into a proper C++ class seems the
    most reasonable soluation for the memory leak fixed by the next commit.
    
    PR-URL: #17470
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    9f1fe63 View commit details
    Browse the repository at this point in the history
  5. src: make url host a proper C++ class

    - Gives `URLHost` a proper destructor that clears memory
      depending on the type of the host (This fixes a memory leak)
    - Hide the host type enums and class layout as implementation details
    - Make the `Parse` methods members of `URLHost`
    - Turn `WriteHost` into a `ToString()` method on the `URLHost` class
    - Verify that at the beginning of a parse attempt, the type is set
      to “failed”
    - Remove a lot of `goto`s from the source code 🐢🚀
    
    PR-URL: #17470
    Fixes: #17448
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    ca3c255 View commit details
    Browse the repository at this point in the history
  6. src: use correct OOB check for IPv6 parsing

    `last_piece` pointed to the end of the 8×16 bit array,
    so `piece_pointer == last_piece` already means that the pointer
    is not writable any longer.
    
    Previously, this still worked most of the time but could
    result in an out-of-bounds-write.
    
    Also, rename `last_piece` to `buffer_end` to avoid this pitfall.
    
    PR-URL: #17470
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    316da5e View commit details
    Browse the repository at this point in the history
  7. test: improve crypto/random.js coverage

    - Call randomBytes with a non-function callback
    - Call randomFill with a non-function callback
    
    PR-URL: #17555
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Leko authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    b379d8d View commit details
    Browse the repository at this point in the history
  8. doc: replace ArrayBufferView in crypto

    PR-URL: #17595
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    26025de View commit details
    Browse the repository at this point in the history
  9. doc: clearify promisify behavior for bad arguments

    Currently the documentation states that promisify() will result in
    undefined behavior if bad arguments are passed. This is not
    necessarily the case, since the behavior is well defined, but just
    not useful.
    
    PR-URL: #17593
    Fixes: #17569
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ramsgoli authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    da44821 View commit details
    Browse the repository at this point in the history
  10. doc: note that randomBytes throws when passed null

    Fixes: #16778
    
    PR-URL: #17594
    Fixes: #16778
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    tniessen authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    d70e6dc View commit details
    Browse the repository at this point in the history
  11. test: add unhandled rejection guard

    Add an unhandled rejection function in
    addons-napi/test_promise/test.js. Also, add a
    rejection handler to catch the unhandled rejection
    after introducing the guard and test the reason
    code.
    
    PR-URL: #17275
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    babygoat authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    5cd08d3 View commit details
    Browse the repository at this point in the history
  12. src: refactor and harden ProcessEmitWarning()

    - Handle exceptions when getting `process.emitWarning` or when
      calling it properly
    - Add `Maybe<bool>` to the return type, like the V8 API uses it
      to indicate failure conditions
    - Update call sites to account for that and clean up/return to JS
      when encountering an error
    - Add an internal `ProcessEmitDeprecationWarning()` sibling
      for use in #17417,
      with common code extracted to a helper function
    - Allow the warning to contain non-Latin-1 characters. Since the
      message will usually be a template string containing data passed
      from the user, this is the right thing to do.
    - Add tests for the failure modes (except string creation failures)
      and UTF-8 warning messages.
    
    PR-URL: #17420
    Refs: #17417
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6ba00b8 View commit details
    Browse the repository at this point in the history
  13. doc: correct pbkdf2 salt length recommendation

    According to the linked document: "The length of the randomly-generated
    portion of the salt shall be at least 128 bits." [NIST SP 800-132]
    
    PR-URL: #17524
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    willclarktech authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    ed4d013 View commit details
    Browse the repository at this point in the history
  14. test: fix flaky test-child-process-pass-fd

    test-child-process-pass-fd needs to launch many processes
    simultaneously. On Fedora 24, this can result in EAGAIN "Resource
    temporarily unavailable" errors. When this occurs, simply try to launch
    a worker again.
    
    PR-URL: #17598
    Fixes: #17589
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6cb4cc2 View commit details
    Browse the repository at this point in the history
  15. zlib: add ArrayBuffer support

    PR-URL: #16042
    Refs: #1826
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Jem Bezooyen authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    584e74d View commit details
    Browse the repository at this point in the history
  16. tools: add lowercase-name-for-primitive eslint rule

    Primitives should use lowercase in error message.
    
    Refs: #16401
    PR-URL: #17568
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    starkwang authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    3ad8cf1 View commit details
    Browse the repository at this point in the history
  17. doc: import() is supported now

    PR-URL: #17395
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    devsnek authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    977fb13 View commit details
    Browse the repository at this point in the history
  18. src: make FSEventWrap/StatWatcher::Start more robust

    PR-URL: #17432
    Fixes: #17430
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    d879b63 View commit details
    Browse the repository at this point in the history
  19. tls: unconsume stream on destroy

    When the TLS stream is destroyed for whatever reason,
    we should unset all callbacks on the underlying transport
    stream.
    
    PR-URL: #17478
    Fixes: #17475
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    41702ef View commit details
    Browse the repository at this point in the history
  20. url: added space to class string of iterator objects

    PR-URL: #17558
    Fixes: #17540
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    prohaejin authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    28ef3de View commit details
    Browse the repository at this point in the history
  21. src: remove StreamResourc::Cast()

    This is not necessary since C++ already has `static_cast`
    as a proper way to cast inside a class hierarchy.
    
    PR-URL: #17564
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    7ed9e5d View commit details
    Browse the repository at this point in the history
  22. src: minor refactoring to StreamBase writes

    Instead of having per-request callbacks, always call a callback
    on the `StreamBase` instance itself for `WriteWrap` and `ShutdownWrap`.
    
    This makes `WriteWrap` cleanup consistent for all stream classes,
    since the after-write callback is always the same now.
    
    If special handling is needed for writes that happen to a sub-class,
    `AfterWrite` can be overridden by that class, rather than that
    class providing its own callback (e.g. updating the write
    queue size for libuv streams).
    
    If special handling is needed for writes that happen on another
    stream instance, the existing `after_write_cb()` callback
    is used for that (e.g. custom code after writing to the
    transport from a TLS stream).
    
    As a nice bonus, this also makes `WriteWrap` and `ShutdownWrap`
    instances slightly smaller.
    
    PR-URL: #17564
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    008336c View commit details
    Browse the repository at this point in the history
  23. test: expand test-https-keep-alive-large-write

    Check that `serverConnectionHandle.writeQueueSize === 0`
    after a large write finished.
    
    PR-URL: #17564
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    cc683bd View commit details
    Browse the repository at this point in the history
  24. crypto: move node_crypto_clienthello-inl.h to cc

    This commit updates node_crypto.h to just include
    node_crypto_clienthello.h instead of the inline header. Also
    node_crypto.cc is updated to include node_crypto_clienthello-inl.h.
    
    PR-URL: #17606
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    dfb9b5e View commit details
    Browse the repository at this point in the history
  25. doc: include Daniel Bevenius as a TSC member

    PR-URL: #17652
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Trott authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    5999a11 View commit details
    Browse the repository at this point in the history
  26. process: fix coverage generation

    e8a26e7 added `process` to the
    internal module wrapper. This broke the utility used to write
    coverage information due to a SyntaxError that `process` had
    already been declared.
    
    PR-URL: #17651
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    evanlucas authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    bf0a7b6 View commit details
    Browse the repository at this point in the history
  27. test: remove unused disposed_ variable

    Currently building test_inspector_socket.cc generates the following
    warning:
    ../test/cctest/test_inspector_socket.cc:189:8: warning:
    private field 'disposed_' is not used [-Wunused-private-field]
      bool disposed_ = false;
           ^
    
    1 warning generated.
    
    This commit removes this variable.
    
    PR-URL: #17628
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    danbev authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    97eaaf9 View commit details
    Browse the repository at this point in the history
  28. events: remove reaches into _events internals

    Refactor lib & src code to eliminate all deep reaches into the
    internal _events dictionary object, instead use available APIs
    and add an extra method to EventEmitter: rawListeners.
    
    PR-URL: #17440
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    7008719 View commit details
    Browse the repository at this point in the history
  29. test: improve coverage for util.promisify

    Add a test that confirms that non-function arguments
    passed to util.promisify throw an ERR_INVALID_ARG_TYPE
    error.
    
    PR-URL: #17591
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    mithunsasidharan authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    f16eca4 View commit details
    Browse the repository at this point in the history
  30. test: remove literals that obscure assert messages

    Remove string literals as messages to `assert.strictEqual()`. They can
    be misleading here (where perhaps the reason an assertino failed isn't
    that the deleter wasn't called but rather was called too many times.
    
    PR-URL: #17642
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    b1fd50a View commit details
    Browse the repository at this point in the history
  31. src: fix compile warnings introduced in 73ad3f9

    Fix warnings introduced in commit 73ad3f9 ("inspector: Fix crash for
    WS connection"):
    
    * add missing `override` keywords
    * remove unused fields and functions
    
    PR-URL: #17649
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    bnoordhuis authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    0c6d9ae View commit details
    Browse the repository at this point in the history
  32. src: fix -Wundefined-inline warnings

    Fix compiler warnings introduced in commit 47edfd9 ("crypto: move
    node_crypto_clienthello-inl.h to cc") by moving constructors around.
    
    They were defined inline but depended on definitions
    from `node_crypto_clienthello-inl.h`.
    
    PR-URL: #17649
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    bnoordhuis authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6634dc4 View commit details
    Browse the repository at this point in the history
  33. win, build: fix without-intl option

    Fixes --with-intl option passed to configure script when without-intl
    is used
    
    PR-URL: #17614
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    bzoz authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    7bf4102 View commit details
    Browse the repository at this point in the history
  34. test: fix flaky test-benchmark-misc

    Allow zero results for short benchmark test.
    
    PR-URL: #17686
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    b826528 View commit details
    Browse the repository at this point in the history
  35. tools: simplify lowercase-name-for-primitive rule

    PR-URL: #17653
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    cjihrig authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    eaa2d91 View commit details
    Browse the repository at this point in the history
  36. url: added url fragment lookup table

    Percent-encoded additional characters in fragment state with new
    FRAGMENT_ENCODE_SET lookup table. The fragment percent-encode set
    includes the C0 control percent-encode set and code points U+0020,
    U+0022, U+003C, U+003E, and U+0060.
    
    PR-URL: #17627
    Fixes: #17540
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Kimeiga authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    ed7f59a View commit details
    Browse the repository at this point in the history
  37. assert: fix .throws operator

    assert.throws and assert.doesNotThrow set the operator to a
    internal function. That was by accident and originally the operator
    was undefined. This changes it to show "throws" or "doesNotThrow".
    
    PR-URL: #17575
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    ec443c3 View commit details
    Browse the repository at this point in the history
  38. util: allow wildcards in NODE_DEBUG variable

    PR-URL: #17609
    Fixes: #17605
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    TylerYang authored and MylesBorins committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    6d9b1e4 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. stream: remove undefined check

    `validChunk` allowed `undefined` as a chunk in object mode; however,
    this was redundant, since:
    
    - `validChunk()` is only used by `.write()`
    - If the `validChunk()` check passes for `undefined`, `.write()`
      calls `writeOrBuffer()`
    - If `writeOrBuffer()` does not receive a Buffer, it calls
      `decodeChunk()`
      - `decodeChunk()` ignores `undefined` because it checks
        `typeof chunk === 'string'`
      - After that call, `chunk.length` is accessed, which throws an
        error if `chunk` is undefined`.
    
    This “fixes” a bug in the sense that `state.pendingcb` is no longer
    incremented for write attempts that fail like this.
    
    PR-URL: #17644
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    757e685 View commit details
    Browse the repository at this point in the history
  2. net: remove Socket.prototype.write

    This is superfluous now that typechecking in `net` and
    `stream` are aligned.
    
    PR-URL: #17644
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c3810e2 View commit details
    Browse the repository at this point in the history
  3. doc: add C++ style comments to the style guide

    Adds instructions on how to format C++ comments to the C++ style guide,
    as `cpplint.py` doesn't complain about C-style comments on the code.
    
    PR-URL: #17617
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Matheus Marchini authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    af1b340 View commit details
    Browse the repository at this point in the history
  4. http: remove adapter frame from onParserExecute

    Remove a pointless adapter frame  by fixing up the function's formal
    parameter count.  Before:
    
        frame #0: 0x000033257ea446d5 onParserExecute(...)
        frame #1: 0x000033257ea3b93f <adaptor>
        frame #2: 0x000033257ea41959 <internal>
        frame #3: 0x000033257e9840ff <entry>
    
    After:
    
        frame #0: 0x00000956287446d5 onParserExecute(...)
        frame #1: 0x0000095628741959 <internal>
        frame #2: 0x00000956286840ff <entry>
    
    PR-URL: #17693
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    bnoordhuis authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    9306de2 View commit details
    Browse the repository at this point in the history
  5. stream: add flow and buffer properties to streams

    This adds computed properties to readable and writable streams to
    allow access to the readable buffer, the writable buffer, and flow
    state without accessing the readable or writable state.
    
    These are the only uses of readable and writable state in the docs
    so adding these work arounds allows them to be removed from the docs.
    
    This also updates net, http_client and http_server to use the new
    methods instead of manipulating readable and writable state directly.
    
    See: #445
    PR-URL: #12855
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    calvinmetcalf authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    4b0c875 View commit details
    Browse the repository at this point in the history
  6. test: check socketOnDrain where needPause is false

    Adds a tests that checks if we can start reading again
    from a socket backing an incoming http request.
    
    PR-URL: #17654
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Leko authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    bdddb82 View commit details
    Browse the repository at this point in the history
  7. test: change callback function to arrow function

    PR-URL: #17699
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    skanamaru authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a9d83ce View commit details
    Browse the repository at this point in the history
  8. test: change callback function to arrow function

    PR-URL: #17698
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    you12724 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d48a1b9 View commit details
    Browse the repository at this point in the history
  9. test: change callback function to arrow function

    PR-URL: #17697
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    routerman authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    bc45354 View commit details
    Browse the repository at this point in the history
  10. src: remove unused strings from env.h

    PR-URL: #17643
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6f520e3 View commit details
    Browse the repository at this point in the history
  11. src: rename On* -> Emit* for stream callbacks

    This should make these function calls a lot more intuitive for people
    who are more accustomed to Node’s EventEmitter API.
    
    PR-URL: #17701
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d84d9be View commit details
    Browse the repository at this point in the history
  12. doc: remove extra whitespace in module docs

    PR-URL: #17711
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    watson authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c24b4dd View commit details
    Browse the repository at this point in the history
  13. doc: change eventName type annotations

    Change type annotations for eventName in events API doc
    from {any} to {string|symbol}.
    
    PR-URL: #17666
    Fixes: #17657
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    aprilwebster authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    712848b View commit details
    Browse the repository at this point in the history
  14. src: replace SetAccessor w/ SetAccessorProperty

    PR-URL: #17665
    Fixes: #17636
    Refs: #16482
    Refs: #16860
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jure authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a93ed5c View commit details
    Browse the repository at this point in the history
  15. doc: change "Node.js style cb" to "error-first cb"

    Change the awkward "Node.js style callback" phrasing to the more
    informative "error-first callback."
    
    PR-URL: #17638
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    ramsgoli authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    e059bc5 View commit details
    Browse the repository at this point in the history
  16. test: coverage for emitExperimentalWarning

    PR-URL: #17635
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mithunsasidharan authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    373d5df View commit details
    Browse the repository at this point in the history
  17. doc: add countdown module to writing tests guide

    PR-URL: #17201
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Bamieh authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d1af106 View commit details
    Browse the repository at this point in the history
  18. test: update test-http-content-length to use countdown

    PR-URL: #17201
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Bamieh authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    46f8a9e View commit details
    Browse the repository at this point in the history
  19. test: Use countdown in test file

    Fixes: #17169
    
    PR-URL: #17646
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d9190c1 View commit details
    Browse the repository at this point in the history
  20. stream: rm {writeable/readable}State.length

    As part of the readableState/writableState mega issue #445, this
    removes all of the references to .length on those properties and
    replaces them with a readableLength and writableLength getter.
    
    See: #445
    PR-URL: #12857
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    calvinmetcalf authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c5c4a53 View commit details
    Browse the repository at this point in the history
  21. test: add test for postmortem metadata validation

    This commit adds a test to validate postmortem debugging metadata.
    When this test runs, it can check for the presence of metadata
    constants used by tools such as llnode and mdb and report if any
    have accidentally been removed.
    
    PR-URL: #17685
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    305dd56 View commit details
    Browse the repository at this point in the history
  22. doc: improve documentation.md

    Reworded some parts, inter-doc links.
    
    PR-URL: #17702
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Fishrock123 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    444362e View commit details
    Browse the repository at this point in the history
  23. doc: fix fs.existsSync description

    Also works on directories.
    
    PR-URL: #17702
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Fishrock123 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d193431 View commit details
    Browse the repository at this point in the history
  24. doc: adjust TTY wording & add inter-doc links

    PR-URL: #17702
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Fishrock123 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    68722fd View commit details
    Browse the repository at this point in the history
  25. doc: not all example code can be run without 1:1

    PR-URL: #17702
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Fishrock123 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ecbc70f View commit details
    Browse the repository at this point in the history
  26. doc: some fs doc improvements

    PR-URL: #17692
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    jasnell authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    861f6ad View commit details
    Browse the repository at this point in the history
  27. n-api: fix memory leak in napi_async_destroy()

    PR-URL: #17714
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    alnyan authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    79a2833 View commit details
    Browse the repository at this point in the history
  28. doc: improve release guide

    Specify that $VERSION should include the `v` when replacing
    REPLACEME in documentation.
    
    PR-URL: #17677
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    evanlucas authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ed9f2fe View commit details
    Browse the repository at this point in the history
  29. doc: edit CONTRIBUTING.md preamble

    Make the preamble to CONTRIBUTING.md more concise and focused.
    
    PR-URL: #17700
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    dcfe840 View commit details
    Browse the repository at this point in the history
  30. doc: remove unused link definition

    Causing the linter job to fail on CI right now.
    
    PR-URL: #17741
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    dd9d07c View commit details
    Browse the repository at this point in the history
  31. doc: fix typo in child_process.md

    PR-URL: #17727
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    dbc554a View commit details
    Browse the repository at this point in the history
  32. doc: fix typo in README.md

    PR-URL: #17729
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    starkwang authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    206c4f8 View commit details
    Browse the repository at this point in the history
  33. doc: remove duplicate the from onboarding.md

    PR-URL: #17733
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c982494 View commit details
    Browse the repository at this point in the history
  34. src: remove nonexistent method from header file

    PR-URL: #17748
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d6c5885 View commit details
    Browse the repository at this point in the history
  35. test: change callback function to arrow function

    PR-URL: #17734
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    rt33 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    5a9694e View commit details
    Browse the repository at this point in the history
  36. crypto: remove unused header in clienthello.h

    This commit removes stdlib.h header as it does not seem to be used any
    more.
    
    PR-URL: #17752
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    7d03567 View commit details
    Browse the repository at this point in the history
  37. tools: add number-isnan rule

    PR-URL: #17556
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6531401 View commit details
    Browse the repository at this point in the history
  38. http2: simplify onSelectPadding

    `OnCallbackPadding` on the native side already clamps
    the return value into the right range, so there’s not need
    to also do that on the JS side.
    
    Also, use `>>> 0` instead of `| 0` to get an uint32, since
    the communication with C++ land happens through an Uint32Array.
    
    PR-URL: #17717
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f18d826 View commit details
    Browse the repository at this point in the history
  39. console: make error handling engine agnostic

    Calling write could throw a maximum call stack size error. To make
    sure this is not specific to a single engine (version), lazily
    populate the correct error message by producing such a error on
    demand.
    
    PR-URL: #17707
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    0573c0f View commit details
    Browse the repository at this point in the history
  40. console: make variables and checks stricter

    PR-URL: #17707
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    41e2bb1 View commit details
    Browse the repository at this point in the history
  41. benchmark: refactor console benchmark

    Fix and refactor the console benchmark. It did not test console
    so it got renamed and mainly tests the different ways of passing
    arguments through.
    
    PR-URL: #17707
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    27227cf View commit details
    Browse the repository at this point in the history
  42. console: order functions and remove \n\n

    This lists all function aliases directly below the declared function.
    
    PR-URL: #17707
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    28283ef View commit details
    Browse the repository at this point in the history
  43. doc: remove old console note

    This should not be important anymore in newer docs. The change is
    also documented in the "changed" part of the function.
    
    PR-URL: #17707
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b1a8ac7 View commit details
    Browse the repository at this point in the history
  44. src: remove unused async hooks methods

    PR-URL: #17757
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: vdeturckheim <vlad2t@hotmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    99c62cc View commit details
    Browse the repository at this point in the history
  45. crypto: reuse variable instead of reevaluation

    PR-URL: #17735
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    7153434 View commit details
    Browse the repository at this point in the history
  46. test: fix typo in test-inspector-cluster-port-clash.js

    PR-URL: #17782
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    dd14004 View commit details
    Browse the repository at this point in the history
  47. net: remove ADDRCONFIG DNS hint on Windows

    On Windows setting ADDRCONFIG causes localhost resolution to fail if there are
    no network connections. This removes that flag on Windows.
    
    Fixes: #17641
    PR-URL: #17662
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    bzoz authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    74a5bba View commit details
    Browse the repository at this point in the history
  48. test: increase pbkdf2 test coverage

    PR-URL: #17730
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Leko authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6d15185 View commit details
    Browse the repository at this point in the history
  49. test: increase diffie-hellman test coverage

    PR-URL: #17728
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Leko authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c953967 View commit details
    Browse the repository at this point in the history
  50. test: refactor test-net-connect-buffer

    - Use arrow functions, `common.mustCall()`
    - Remove redundant `console.log()`s/turn them into assertions
    - Use `common.expectsError()`
    
    PR-URL: #17710
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    60ae556 View commit details
    Browse the repository at this point in the history
  51. doc: improve fs api descriptions

    This improves the api descriptions for fs.chown, fs.chmod, and fs.mkdir
    along with their *Sync counterparts.
    
    PR-URL: #17679
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    evanlucas authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b6d2090 View commit details
    Browse the repository at this point in the history
  52. doc: instructions on how to make membership public

    PR-URL: #17688
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mhdawson authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    1d935a0 View commit details
    Browse the repository at this point in the history
  53. src: remove redundant JSStream::DoAfterWrite

    `Finish<WriteWrap>` already does the same thing and is
    called immediately afterwards anyway.
    
    PR-URL: #17713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2aa75a1 View commit details
    Browse the repository at this point in the history
  54. test: refactor test-repl-definecommand

    The test was writing to both REPL input and output but only checking
    output. Sending output to both streams seems like it was an error.
    
    PR-URL: #17795
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    dce7d7f View commit details
    Browse the repository at this point in the history
  55. test: improve flaky test-listen-fd-ebadf.js

    Find an invalid file descriptor rather than assuming 42 will be invalid.
    
    PR-URL: #17797
    Fixes: #17762
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    112b655 View commit details
    Browse the repository at this point in the history
  56. tls: comment about old-style errors

    Old style errors are being migrated to internal/errors.js, however, due
    to depreciation of _tls_legacy.js, it isn't worth the effort to migrate
    and potentially force users to update their code for this error change.
    
    This comment clarifies the reason why this error is not migrated.
    
    PR-URL: #17759
    Refs: #17709
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Xavier-J-Ortiz authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b44f245 View commit details
    Browse the repository at this point in the history
  57. doc: improve module.builtinModules documentation

    PR-URL: #17712
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    watson authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c328e58 View commit details
    Browse the repository at this point in the history
  58. test: use valid authentication tag length

    Using authentication tags of invalid length does not conform to NIST
    standards.
    
    PR-URL: #17566
    Refs: #17523
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f79d2ef View commit details
    Browse the repository at this point in the history
  59. crypto: warn on invalid authentication tag length

    PR-URL: #17566
    Refs: #17523
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d387c17 View commit details
    Browse the repository at this point in the history
  60. doc: removed extra explanation in api/buffer.md

    PR-URL: #17796
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    WaleedAshraf authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6994559 View commit details
    Browse the repository at this point in the history
  61. test: do not open fixture files for writing

    test-fs-fsync makes a copy of a fixture file, but then doesn't do
    anything with it and instead operates on the original fixture file. This
    appears to be in error, and this change fixes that.
    
    PR-URL: #17808
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    e9ace7e View commit details
    Browse the repository at this point in the history
  62. deps: V8: cherry-pick ac0fe8ec from upstream

    Original commit message:
      [interpreter] Remove TryInstallOptimizedCode
    
      Removes the interrupt check and runtime call to TryInstallOptimizedCode
      from the optimization marker checks (i.e. CompileLazy and
      InterpreterEntryTrampoline). Instead, we rely on the other interrupt
      sources (in particular stack checks at function entries and loop
      headers) to install optimized code for us.
    
      This will hopefully not cause regressions, as we have plenty of other
      interrupt checks, but it may delay optimized code execution for
      some function by one function call.
    
      Bug:  v8:6933
      Change-Id: Ieadfff7ae2078d2a84085294158ad9a706eb9c64
      Reviewed-on: https://chromium-review.googlesource.com/723475
      Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48667}
    
    Ref: https://bugs.chromium.org/p/v8/issues/detail?id=6933
    Ref: v8/v8@ac0fe8e
    PR-URL: #17695
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ofrobots authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    8f3b2d7 View commit details
    Browse the repository at this point in the history
  63. tools: fix man pages linking regex

    The change to word boundary was breaking many doc pages. This reverts
    the word boundary back to space.
    
    PR-URL: #17724
    Fixes: #17694
    Refs: #17479
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    DiegoRBaquero authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    7ef876d View commit details
    Browse the repository at this point in the history
  64. test: do not open fixture files for writing

    Use temp directory for open with `O_DSYNC` (which indicates a write may
    occur) rather than `fixtures` directory. Additionally, test can be run
    on macOS so allow that in addition to Linux.
    
    PR-URL: #17810
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    06862f0 View commit details
    Browse the repository at this point in the history
  65. vm: allow modifying context name in inspector

    The `auxData` field is not exposed to JavaScript, as DevTools uses it
    for its `isDefault` parameter, which is implemented faithfully,
    contributing to the nice indentation in the context selection panel.
    Without the indentation, when `Target` domain gets implemented (along
    with a single Inspector for cluster) in #16627, subprocesses and VM
    contexts will be mixed up, causing confusion.
    
    PR-URL: #17720
    Refs: #14231 (comment)
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6cc622f View commit details
    Browse the repository at this point in the history
  66. doc: use american spelling as per style guide

    PR-URL: #17818
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    541d189 View commit details
    Browse the repository at this point in the history
  67. doc: require CI status indicator in PRs

    Commits are often landed despite failing on one or more CI platforms.
    Having a CI status indicator in the PR should make this less likely to
    happen.
    
    PR-URL: #17151
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    seishun authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d4666d0 View commit details
    Browse the repository at this point in the history
  68. doc: mark DEP0002 as end of life

    The deprecated module was removed via
    84a2339.
    
    PR-URL: #17815
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fe1f67f View commit details
    Browse the repository at this point in the history
  69. lib, src: use process.config instead of regex

    Is safer to use a `process.binding(config)` defined boolean, than to
    regex on `process.execArgv`. Also, this better falls in line with the
    conventions of checking flags passed to the executable.
    
    PR-URL: #17814
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2d61b9e View commit details
    Browse the repository at this point in the history
  70. test: use common module API in test-child-process-exec-stdout-stderr-…

    …data-string
    
    PR-URL: #17751
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ded097a View commit details
    Browse the repository at this point in the history
  71. doc: add starkwang to collaborators

    PR-URL: #17847
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    starkwang authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2d11f6b View commit details
    Browse the repository at this point in the history
  72. benchmark: make temp file path configurable

    In three fs benchmarks, a temp file is created in the source tree. For
    tests, allow the location to be configurable so it gets written to the
    test temp directory instead.
    
    Additionally, shave about a second off the test running time by setting
    `dur` to `0.1` instead of `1`.
    
    PR-URL: #17811
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    14eb97e View commit details
    Browse the repository at this point in the history
  73. module: print better message on esm import error

    Use the same approach as a previous PR to include the offending line in
    the output and underline imports of inexistent exports.
    
    PR-URL: #17786
    Fixes: #17785
    Refs: #17281
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    3b2d8cb View commit details
    Browse the repository at this point in the history
  74. test: fix flaky test-benchmark-fs

    test-benchmark-fs uses common.tmpDir without first insuring it exists by
    calling common.refreshTmpDir(). Add that function call.
    
    PR-URL: #17853
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fea5d08 View commit details
    Browse the repository at this point in the history
  75. async_hooks: use CHECK instead of throwing error

    SetupHooks is only available via `process.binding('async_wrap')`, so
    there's no reason it shouldn't be called with the appropriate arguments,
    since it is an internal-only function. The only place this function is
    used is `lib/internal/async_hooks.js`.
    
    PR-URL: #17832
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    0843ed6 View commit details
    Browse the repository at this point in the history
  76. test: fix unreliable async-hooks/test-signalwrap

    Use an interval to keep the event loop open so the test does not exit
    before receiving all signals fom asynchronous `exec()` calls.
    
    PR-URL: #17827
    Fixes: #14070
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ee4cbac View commit details
    Browse the repository at this point in the history
  77. test: remove ambiguous error messages from test_error

    assert.strictEqual accepts 3 arguments, the last of which allows for
    user-specified error message to be thrown when the assertion fails.
    Unfortunately, this error message is less helpful than the default when
    it is vague. This commit removes vague, user-specified error messages,
    instead relying on clearer, default error messages.
    
    PR-URL: #17812
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nadrane authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ca35d08 View commit details
    Browse the repository at this point in the history
  78. test: remove undefined function

    `common.fail()` no longer exists as its functionality is now in
    `assert.fail()`. Replace only two instances in the code base with
    `assert.fail()`.
    
    PR-URL: #17845
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    9110654 View commit details
    Browse the repository at this point in the history
  79. tools: autofixer for lowercase-name-for-primitive

    PR-URL: #17715
    Refs: #16636
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    shobhitchittora authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2d07243 View commit details
    Browse the repository at this point in the history
  80. doc: update AUTHORS list

    PR-URL: #17805
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    59711ae View commit details
    Browse the repository at this point in the history
  81. doc: update formatting to fit our 80 chars rule

    This will also use a proper indentation as a couple of entries
    had a extra indentation of two spaces.
    
    PR-URL: #17722
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a63d3c5 View commit details
    Browse the repository at this point in the history
  82. doc: use consistent new lines

    PR-URL: #17722
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    26fbb0f View commit details
    Browse the repository at this point in the history
  83. doc: use dashes instead of asterisks

    PR-URL: #17722
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    BridgeAR authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    1be0086 View commit details
    Browse the repository at this point in the history
  84. test: reduce scope of variable in common module

    arrayBufferViews is used by only one function so scope it to that
    function (in the common module).
    
    PR-URL: #17830
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    8b666d6 View commit details
    Browse the repository at this point in the history
  85. inspector: make Coverity happy

    PR-URL: #17656
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    eugeneo authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    8d4fca3 View commit details
    Browse the repository at this point in the history
  86. tools: fix AttributeError: __exit__ on Python 2.6

    Error occurs while dealing with Tar archives
    
    PR-URL: #17663
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    dkasyanov authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b89cda4 View commit details
    Browse the repository at this point in the history
  87. http: add rawPacket in err of clientError event

    The `rawPacket` is the current buffer that just parsed. Adding this
    buffer to the error object of `clientError` event is to make it possible
    that developers can log the broken packet.
    
    PR-URL: #17672
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    XadillaX authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f82439b View commit details
    Browse the repository at this point in the history
  88. perf_hooks: refactor internals

    Refactor and simplify the perf_hooks native internals.
    
    PR-URL: #17822
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a329cf6 View commit details
    Browse the repository at this point in the history
  89. tls: fix SNICallback without .server option

    `options.server` only needs to be set when its
    contents are actually being inspected.
    
    PR-URL: #17835
    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>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    e69ea78 View commit details
    Browse the repository at this point in the history
  90. test: refactor test-tls-securepair-fiftharg

    Assert the server name directly in the `SNICallback`,
    since `common.mustCall()` already guarantees that the callback
    is called exactly once, making `process.on('exit')` unnecessary.
    
    PR-URL: #17836
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    1dd859d View commit details
    Browse the repository at this point in the history
  91. crypto: add ocsp_request ClientHelloParser::Reset

    I noticed that ocsp_request is not being reset in
    ClientHelloParser::Reset. I've not been able to figure out the
    the reason for this and wanted to bring this up just in case this
    was overlooked and should be reset.
    
    PR-URL: #17753
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    1b8d3ec View commit details
    Browse the repository at this point in the history
  92. buffer: optimize readDouble and readFloat methods

    Compute the floating point number in JavaScript to avoid having to call
    out to the C++ runtime.  The improvements are not insubstantial:
    
                                                                 improvement confidence      p.value
        value="big" endian="BE" type="Double" noAssert="false"      292.86 %        *** 1.688367e-08
        value="big" endian="BE" type="Double" noAssert="true"       353.19 %        *** 6.079414e-10
        value="big" endian="BE" type="Float" noAssert="false"       406.21 %        *** 1.730122e-07
        value="big" endian="BE" type="Float" noAssert="true"        450.81 %        *** 6.909242e-07
        value="big" endian="LE" type="Double" noAssert="false"      268.39 %        *** 8.625486e-09
        value="big" endian="LE" type="Double" noAssert="true"       310.66 %        *** 2.798332e-15
        value="big" endian="LE" type="Float" noAssert="false"       382.99 %        *** 3.412057e-07
        value="big" endian="LE" type="Float" noAssert="true"        394.60 %        *** 1.406742e-07
        value="inf" endian="BE" type="Double" noAssert="false"      312.91 %        *** 7.407943e-12
        value="inf" endian="BE" type="Double" noAssert="true"       392.47 %        *** 3.821179e-08
        value="inf" endian="BE" type="Float" noAssert="false"       466.01 %        *** 8.953363e-08
        value="inf" endian="BE" type="Float" noAssert="true"        460.76 %        *** 5.381256e-09
        value="inf" endian="LE" type="Double" noAssert="false"      279.50 %        *** 2.390682e-09
        value="inf" endian="LE" type="Double" noAssert="true"       335.30 %        *** 3.587173e-09
        value="inf" endian="LE" type="Float" noAssert="false"       439.77 %        *** 1.057133e-07
        value="inf" endian="LE" type="Float" noAssert="true"        426.72 %        *** 4.353408e-09
        value="nan" endian="BE" type="Double" noAssert="false"      271.18 %        *** 2.281526e-05
        value="nan" endian="BE" type="Double" noAssert="true"       312.63 %        *** 1.974975e-07
        value="nan" endian="BE" type="Float" noAssert="false"       429.17 %        *** 2.416228e-07
        value="nan" endian="BE" type="Float" noAssert="true"        461.39 %        *** 1.956714e-08
        value="nan" endian="LE" type="Double" noAssert="false"      267.03 %        *** 9.938479e-12
        value="nan" endian="LE" type="Double" noAssert="true"       276.93 %        *** 7.842481e-08
        value="nan" endian="LE" type="Float" noAssert="false"       415.97 %        *** 8.082710e-07
        value="nan" endian="LE" type="Float" noAssert="true"        433.68 %        *** 1.030200e-07
        value="small" endian="BE" type="Double" noAssert="false"    273.20 %        *** 9.071652e-11
        value="small" endian="BE" type="Double" noAssert="true"     326.25 %        *** 3.120167e-08
        value="small" endian="BE" type="Float" noAssert="false"     845.61 %        *** 8.044170e-08
        value="small" endian="BE" type="Float" noAssert="true"      868.61 %        *** 2.944539e-08
        value="small" endian="LE" type="Double" noAssert="false"    251.29 %        *** 5.613930e-09
        value="small" endian="LE" type="Double" noAssert="true"     286.82 %        *** 8.149603e-10
        value="small" endian="LE" type="Float" noAssert="false"     824.87 %        *** 1.199729e-08
        value="small" endian="LE" type="Float" noAssert="true"      834.35 %        *** 4.799620e-08
        value="zero" endian="BE" type="Double" noAssert="false"     216.70 %        *** 3.872293e-12
        value="zero" endian="BE" type="Double" noAssert="true"      239.31 %        *** 6.439601e-09
        value="zero" endian="BE" type="Float" noAssert="false"      353.75 %        *** 3.639974e-07
        value="zero" endian="BE" type="Float" noAssert="true"       388.86 %        *** 7.074318e-10
        value="zero" endian="LE" type="Double" noAssert="false"     179.34 %        *** 5.230763e-06
        value="zero" endian="LE" type="Double" noAssert="true"      199.66 %        *** 2.177589e-11
        value="zero" endian="LE" type="Float" noAssert="false"      299.55 %        *** 9.961978e-08
        value="zero" endian="LE" type="Float" noAssert="true"       333.30 %        *** 2.470764e-08
    
    PR-URL: #17775
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    0aa403b View commit details
    Browse the repository at this point in the history
  93. test: make test-tls-invoke-queued use public API

    `parallel/test-tls-invoke-queued` previously used the internal
    `_write()` API to hook into the internals more directly, but this
    invalidates the general assumption made by streams APIs that
    only a single write is active at a time, and which is enforced
    through the public API.
    
    PR-URL: #17864
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    411e772 View commit details
    Browse the repository at this point in the history
  94. doc: improve module.builtinModules text

    `module is maintained by a third-party module` seems confusing. Changed
    to `module is maintained by a third-party`.
    
    PR-URL: #17865
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    cb127de View commit details
    Browse the repository at this point in the history
  95. doc: use my legal name in README

    Just so that it's documented. Feel free to call me anything you want
    though: Timothy, Tim, 顾天骋.
    
    PR-URL: #17894
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    TimothyGu authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2c9dab3 View commit details
    Browse the repository at this point in the history
  96. test: fix flaky test-benchmark-fs

    Some benchmarks may return 0 operations with the new very short duration
    provided by the test program. Set environment variable to allow that.
    
    PR-URL: #17885
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f25bab5 View commit details
    Browse the repository at this point in the history
  97. doc: fix typo

    PR-URL: #17900
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    9fc9bb1 View commit details
    Browse the repository at this point in the history
  98. doc: fs doc improvements

    PR-URL: #17831
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b15f029 View commit details
    Browse the repository at this point in the history
  99. readline: refactor filter() callback

    Use construct that always returns a boolean for `filter()` callback.
    
    PR-URL: #17858
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b1bc768 View commit details
    Browse the repository at this point in the history
  100. test: replace map() with forEach() where appropriate

    Two tests were using Array.prototype.map() without returning values in
    the callback. In other words, they were using it where a `.forEach()`
    was called for. Change to `.forEach()`.
    
    PR-URL: #17858
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2759709 View commit details
    Browse the repository at this point in the history
  101. tools: enable array-callback-return ESLint rule

    For array methods that depend on a callback (such as `.filter()` or
    `.map()`), require a return value from the callback.
    
    PR-URL: #17858
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    4391ea4 View commit details
    Browse the repository at this point in the history
  102. doc: doc imitating the old behavior of http.Server.keepAliveTimeout

    Documenting the best way to imitate the old behavior saves time for people
    migrating from older versions. (E.g. for unexpected ECONNRESET)
    
    It isn't immediately obvious if earlier nodejs versions behaved the same
    way as nodejs 8 does with keepAliveTimeout = 0.
    From 0aa7ef5, it seems like they behave
    the same way.
    
    Related to issues such as #13391 that show up when migrating to node 8
    
    PR-URL: #17660
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    TysonAndre-tmg authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    4850c87 View commit details
    Browse the repository at this point in the history
  103. repl: fix coloring of process.versions

    Remove the custom formatter that was added in commit 4fb27d4 ("intl: Add
    more versions from ICU").  It's not necessary anymore (and may not have
    been necessary at all) and prevents proper coloring in the REPL.
    
    PR-URL: #17861
    Fixes: #17086
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bnoordhuis authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2cc5053 View commit details
    Browse the repository at this point in the history
  104. test: improve to use template string

    PR-URL: #17895
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.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: Ruben Bridgewater <ruben@bridgewater.de>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    421eb75 View commit details
    Browse the repository at this point in the history
  105. tools: add check for using process.binding crypto

    Currently, when configuring --without-ssl any tests that use
    process.binding('crypto') will not report a lint warning. This is
    because the eslint check only generates a warning when using require.
    
    This commit adds a check for using binding in addition to require.
    
    PR-URL: #17867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c91a7c0 View commit details
    Browse the repository at this point in the history
  106. test: add hasCrypto when using binding('crypto')

    Currently, when configured --without-ssl tests that use
    process.binding('crypto') fail with the following error:
    
    === release test-accessor-properties ===
    Path: parallel/test-accessor-properties
    node/test/parallel/test-accessor-properties.js:16
    const crypto = process.binding('crypto');
                           ^
    
    Error: No such module: crypto
        at Object.<anonymous> (test-accessor-properties.js:16:24)
        at Module._compile (module.js:660:30)
        at Object.Module._extensions..js (module.js:671:10)
        at Module.load (module.js:577:32)
        at tryModuleLoad (module.js:517:12)
        at Function.Module._load (module.js:509:3)
        at Function.Module.runMain (module.js:701:10)
        at startup (bootstrap_node.js:194:16)
        at bootstrap_node.js:645:3
    
    This commit adds a hasCrypto check.
    
    PR-URL: #17867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    ef533c9 View commit details
    Browse the repository at this point in the history
  107. test: use countdown in test file

    Fixes: #17169
    
    PR-URL: #17874
    Fixes: #17169
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2f4da8b View commit details
    Browse the repository at this point in the history
  108. deps: update nghttp2 to 1.29.0

    PR-URL: #17908
    Refs: #17746
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    5df8c76 View commit details
    Browse the repository at this point in the history
  109. timers: remove domain enter and exit

    With domains implemented over AsyncHooks, it's no longer
    necessary to explicitly enter and exit the domain.
    
    PR-URL: #17880
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fb640c6 View commit details
    Browse the repository at this point in the history
  110. gitignore: ignore *.VC.db files

    PR-URL: #17898
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    66c1a03 View commit details
    Browse the repository at this point in the history
  111. doc: fix duplicate words & spellings in docs

    PR-URL: #17923
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    sreepurnajasti authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    181b897 View commit details
    Browse the repository at this point in the history
  112. test: improve readability of some crypto tests

    PR-URL: #17904
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    3927c6f View commit details
    Browse the repository at this point in the history
  113. doc: remove duplicate words in API docs

    PR-URL: #17937
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    658bdb3 View commit details
    Browse the repository at this point in the history
  114. doc: replace wrong U+00A0 by common spaces

    PR-URL: #17940
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    vsemozhetbyt authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d2b1601 View commit details
    Browse the repository at this point in the history
  115. doc: add references to PR communication articles

    Added some references to PR communication articles in
    Helpful Ressources inside COLLABORATOR_GUIDE.md
    
    PR-URL: #17902
    Fixes: #16359
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Salame William authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2f7030d View commit details
    Browse the repository at this point in the history
  116. doc: fix spelling of contributors

    Change instances of "contributiors" to "contributors".
    
    PR-URL: #17922
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    312ad06 View commit details
    Browse the repository at this point in the history
  117. doc: improve alt text

    Current alt text results in "GitHub badge badge". Change to intended use
    of alt text so that it reads "GitHub First-time contributor badge". (The
    alt text is supposed to replace the image in the event that the image
    cannot be rendered.)
    
    PR-URL: #17922
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    240121e View commit details
    Browse the repository at this point in the history
  118. doc: copy-edit COLLABORATOR_GUIDE.md

    Apply various style and punctuation fixes.
    
    PR-URL: #17922
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a702fcb View commit details
    Browse the repository at this point in the history
  119. build: remove duplicate async-hooks and known_issues test runs

    The `default` test suite in `test.py` includes `async-hooks` and
    `known_issues`. Our current setup results in those test suites being run
    twice during each CI run. Remove the duplication.
    
    PR-URL: #17912
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    2d857ed View commit details
    Browse the repository at this point in the history
  120. doc: remove non-style information from style guide

    While tools should be used insofar as possible, that information
    does not belong in the style guide. Move to onboarding doc.
    
    PR-URL: #17866
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    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: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    16fbd57 View commit details
    Browse the repository at this point in the history
  121. doc: fix typos in CONTRIBUTING.md

    Remove incorrect usage of "in which". The sentence is better and shorter
    without it anyway. Replace incorrect "with" with "in".
    
    PR-URL: #17930
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    54cf75d View commit details
    Browse the repository at this point in the history
  122. doc: improve PR-review paragraph in CONTRIBUTING.md

    * Remove redundant "blocking it or stopping it" as blocking and stopping
      are the same thing in this case.
    * Make another sentence less wordy. Fix incorrect verb conjugation.
      Break into two clear sentences.
    
    PR-URL: #17931
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    14499f8 View commit details
    Browse the repository at this point in the history
  123. doc: remove x86 from os.arch() options

    It is not possible for `process.arch` (which comes from V8's
    `target_arch`) to be `x86`.
    
    Also updates `process.arch` to have the same information.
    
    PR-URL: #17899
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    gibfahn authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    3fd6581 View commit details
    Browse the repository at this point in the history
  124. doc: edit for concision

    This removes some wordy phrases (notably "it is important to note
    that").
    
    PR-URL: #17891
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    445c911 View commit details
    Browse the repository at this point in the history
  125. doc: improve security section of README.md

    * Remove fluff text and get to the point: Report security flaws to
      security@nodejs.org. Please do not disclose security flaws publicly
      until they have been handled by the security team.
    * Fix somewhat confusing paragraph that says there are no "hard
      and fast rules" but then uses _must_ in the context of a "general
      rule". Easiest solution seems to be to change _must_ to _should_.
    * Minor style change (_you will_ instead of _you'll_)
    
    PR-URL: #17929
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    294c5f4 View commit details
    Browse the repository at this point in the history
  126. src: remove unused GetHostByNameWrap

    It was a wrapper for `ares_gethostbyname()` that I'm unsure about if
    it was ever exposed at the binding layer, let alone the public API.
    
    PR-URL: #17860
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    bnoordhuis authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    87b336a View commit details
    Browse the repository at this point in the history
  127. src: inline HostentToAddresses()

    With the removal of `GetHostByNameWrap` in the previous commit, there
    is only one remaining call site.  Inlining it there lets us simplify
    the logic.
    
    PR-URL: #17860
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    bnoordhuis authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    98dc554 View commit details
    Browse the repository at this point in the history
  128. doc: move joshgav to TSC emeriti list

    Josh is focusing on other technologies these days and has moved to the
    TSC Emeritus role. He already opened a pull request in the TSC
    repository to make this change. This makes the same change in the main
    repository.
    
    PR-URL: #17953
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    6efef47 View commit details
    Browse the repository at this point in the history
  129. benchmark: fix timeout in write-stream-throughput

    PR-URL: #17958
    Fixes: #17901
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    63c23a1 View commit details
    Browse the repository at this point in the history
  130. test: fix flaky test-resolve-async

    PR-URL: #17957
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    3cc9882 View commit details
    Browse the repository at this point in the history
  131. test: simplify test-buffer-slice.js

    Use forEach loop to reduce some redundant codes.
    
    PR-URL: #17962
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    starkwang authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    f87a1a6 View commit details
    Browse the repository at this point in the history
  132. test: fix crypto test case to use correct encoding

    The callback would have errored out anyway due to the incorrect
    encoding, and that error is not the point of this test case.
    
    PR-URL: #17956
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    591dd4e View commit details
    Browse the repository at this point in the history
  133. test: fix flaky http-writable-true-after-close

    PR-URL: #17952
    Fixes: #16321
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    7998058 View commit details
    Browse the repository at this point in the history
  134. test: fix flaky test-pipe-unref

    PR-URL: #17950
    Fixes: #16875
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    3399e8a View commit details
    Browse the repository at this point in the history
  135. http: remove duplicate export

    5425e0d switched to using
    the module.exports pattern vs just exports, but left
    a duplicate export around for OutgoingMessage.
    
    PR-URL: #17982
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    evanlucas authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    8e1011f View commit details
    Browse the repository at this point in the history
  136. test: fix flaky test-http-highwatermark

    PR-URL: #17949
    Fixes: #17857
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    8806e54 View commit details
    Browse the repository at this point in the history
  137. test: rename regression tests

    PR-URL: #17948
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    51eab4b View commit details
    Browse the repository at this point in the history
  138. cluster: support windowsHide option for workers

    Fixes: #17370
    
    PR-URL: #17412
    Fixes: #17370
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    toddwong authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    d066db7 View commit details
    Browse the repository at this point in the history
  139. tools: host remark-preset-lint-node in-tree

    Moved from https://github.com/watilde/remark-preset-lint-node.
    
    PR-URL: #17441
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    maclover7 authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    adc59a3 View commit details
    Browse the repository at this point in the history
  140. build: put .PHONY directly before its target

    Before this change, the .PHONY is followed by multiple targets.
    Now it is multiple .PHONY for each target.
    
    PR-URL: #17964
    Refs: #16968
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    oantoro authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    224033d View commit details
    Browse the repository at this point in the history
  141. test: fix flaky test-http-pipeline-flood

    PR-URL: #17955
    Refs: #16317
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    b313e81 View commit details
    Browse the repository at this point in the history
  142. doc: move matthewloring to emeriti

    Matt is not an active collaborator at this time. Moved to the
    Collaborator Emeriti section.
    
    PR-URL: #17998
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matthew Loring <mattloring@google.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    72ed11a View commit details
    Browse the repository at this point in the history
  143. doc: updates examples to use NULL

    Examples in the N-API doc used a mix of nullptr and NULL.
    We should be consistent and because N-API is a 'C' API I believe
    using NULL is better.  This will avoid any potential confusion
    as to whether N-API can be used with plain C.
    
    PR-URL: #18008
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    mhdawson authored and MylesBorins committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    83c725d View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2018

  1. src: add optional keep-alive object to SetImmediate

    Adds the possibility to keep a strong persistent reference to
    a JS object while a `SetImmediate()` call is in effect.
    
    Backport-PR-URL: #18050
    PR-URL: #17183
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    7e68080 View commit details
    Browse the repository at this point in the history
  2. http2: don't call into JS from GC

    Calling into JS land from GC is not allowed, so delay
    the resolution of pending pings when a session is destroyed.
    
    Backport-PR-URL: #18050
    PR-URL: #17183
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    d06ad0d View commit details
    Browse the repository at this point in the history
  3. http2: only schedule write when necessary

    Introduce an `Http2Scope` class that, when it goes out of scope,
    checks whether a write to the network is desired by nghttp2.
    If that is the case, schedule a write using `SetImmediate()`
    rather than a custom per-session libuv handle.
    
    Backport-PR-URL: #18050
    PR-URL: #17183
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    30e75e6 View commit details
    Browse the repository at this point in the history
  4. http2: be sure to destroy the Http2Stream

    PR-URL: #17406
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    
    Backport-PR-URL: #18050
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    f699a74 View commit details
    Browse the repository at this point in the history
  5. http2: cleanup Http2Stream/Http2Session destroy

    Backport-PR-URL: #18050
    PR-URL: #17406
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    
    This is a significant cleanup and refactoring of the
    cleanup/close/destroy logic for Http2Stream and Http2Session.
    There are significant changes here in the timing and ordering
    of cleanup logic, JS apis. and various related necessary edits.
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    5abb609 View commit details
    Browse the repository at this point in the history
  6. http2: remove redundant write indirection

    `nghttp2_stream_write_t` was not a necessary redirection layer
    and came with the cost of one additional allocation per stream write.
    
    Also, having both `nghttp2_stream_write` and `nghttp2_stream_write_t`
    as identifiers did not help with readability.
    
    Backport-PR-URL: #18050
    PR-URL: #17718
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    9592691 View commit details
    Browse the repository at this point in the history
  7. http2: refactor outgoing write mechanism

    - Only finish outgoing `WriteWrap`s once data has actually been
      passed to the underlying socket.
      - This makes HTTP2 streams respect backpressure
    - Use `DoTryWrite` as a shortcut for sending out as much of
      the data synchronously without blocking as possible
    - Use `NGHTTP2_DATA_FLAG_NO_COPY` to avoid copying DATA frame
      contents into nghttp2’s buffers before sending them out.
    
    Backport-PR-URL: #18050
    PR-URL: #17718
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    bfc7e01 View commit details
    Browse the repository at this point in the history
  8. http2: convert Http2Settings to an AsyncWrap

    Backport-PR-URL: #18050
    PR-URL: #17763
    Refs: #17746
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3a6b2ad View commit details
    Browse the repository at this point in the history
  9. http2: fix compiling with --debug-http2

    Backport-PR-URL: #18050
    PR-URL: #17863
    Fixes: #17840
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    e3c567f View commit details
    Browse the repository at this point in the history
  10. http2: keep session objects alive during Http2Scope

    Keep a local handle as a reference to the JS `Http2Session`
    object so that it will not be garbage collected
    when inside an `Http2Scope`, because the presence of the
    latter usually indicates that further actions on
    the session object are expected.
    
    Strictly speaking, storing the `session_handle_` as a
    property on the scope object is not necessary, but
    this is not very costly and makes the code more
    obviously correct.
    
    Fixes: #17840
    
    Backport-PR-URL: #18050
    PR-URL: #17863
    Fixes: #17840
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    b8deb75 View commit details
    Browse the repository at this point in the history
  11. http2: implement ref() and unref() on client sessions

    Backport-PR-URL: #18050
    PR-URL: #17620
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    kjin authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    1b7ce1e View commit details
    Browse the repository at this point in the history
  12. http2: remove duplicate words in comments

    Backport-PR-URL: #18050
    PR-URL: #17939
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    a003ded View commit details
    Browse the repository at this point in the history
  13. http2: perf_hooks integration

    Collect and report basic timing information about `Http2Session`
    and `Http2Stream` instances.
    
    Backport-PR-URL: #18050
    PR-URL: #17906
    Refs: #17746
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    06aaaa8 View commit details
    Browse the repository at this point in the history
  14. http2: strictly limit number on concurrent streams

    Strictly limit the number of concurrent streams based on the
    current setting of the MAX_CONCURRENT_STREAMS setting
    
    Backport-PR-URL: #18050
    PR-URL: #16766
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    e7a727e View commit details
    Browse the repository at this point in the history
  15. http2: add altsvc support

    Add support for sending and receiving ALTSVC frames.
    
    Backport-PR-URL: #18050
    PR-URL: #17917
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    9ad7a9a View commit details
    Browse the repository at this point in the history
  16. tls: set servername on client side too

    Backport-PR-URL: #18050
    PR-URL: #17935
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3997617 View commit details
    Browse the repository at this point in the history
  17. http2: add initial support for originSet

    Add new properties to `Http2Session` to identify alpnProtocol,
    and indicator about whether the session is TLS or not, and
    initial support for origin set (preparinng for `ORIGIN` frame
    support and the client-side `Pool` implementation.
    
    The `originSet` is the set of origins for which an `Http2Session`
    may be considered authoritative. Per the `ORIGIN` frame spec,
    the originSet is only valid on TLS connections, so this is only
    exposed when using a `TLSSocket`.
    
    Backport-PR-URL: #18050
    PR-URL: #17935
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    2b6a5d9 View commit details
    Browse the repository at this point in the history
  18. http2: add aligned padding strategy

    Add a padding strategy option that makes a best attempt to ensure
    that total frame length for DATA and HEADERS frames are aligned
    on multiples of 8-bytes.
    
    Backport-PR-URL: #18050
    PR-URL: #17938
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    79d3198 View commit details
    Browse the repository at this point in the history
  19. http2: properly handle already closed stream error

    Backport-PR-URL: #18050
    PR-URL: #17942
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    f17a5b9 View commit details
    Browse the repository at this point in the history
  20. doc: add docs for common/http2.js utility

    Backport-PR-URL: #18050
    PR-URL: #17942
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    46f39b5 View commit details
    Browse the repository at this point in the history
  21. src: silence http2 -Wunused-result warnings

    Backport-PR-URL: #18050
    PR-URL: #17954
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    f9c84c5 View commit details
    Browse the repository at this point in the history
  22. http2: implement maxSessionMemory

    The maxSessionMemory is a cap for the amount of memory an
    Http2Session is permitted to consume. If exceeded, new
    `Http2Stream` sessions will be rejected with an
    `ENHANCE_YOUR_CALM` error and existing `Http2Stream`
    instances that are still receiving headers will be
    terminated with an `ENHANCE_YOUR_CALM` error.
    
    Backport-PR-URL: #18050
    PR-URL: #17967
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    865da60 View commit details
    Browse the repository at this point in the history
  23. http2: verify that a dependency cycle may exist

    Backport-PR-URL: #18050
    PR-URL: #17968
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    6839283 View commit details
    Browse the repository at this point in the history
  24. doc: grammar fixes in http2.md

    Backport-PR-URL: #18050
    PR-URL: #17972
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    43ac36c View commit details
    Browse the repository at this point in the history
  25. http2: verify flood error and unsolicited frames

    * verify protections against ping and settings flooding
    * Strictly handle and verify handling of unsolicited ping and
      settings frame acks.
    
    Backport-PR-URL: #18050
    PR-URL: #17969
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    6a67dfd View commit details
    Browse the repository at this point in the history
  26. doc: correct spelling

    Backport-PR-URL: #18050
    PR-URL: #17911
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    sreepurnajasti authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    1181ff7 View commit details
    Browse the repository at this point in the history
  27. perf_hooks: fix scheduling regression

    Scheduling a PerformanceGCCallback should not keep the
    loop alive but due to the recent switch to using the
    native SetImmediate method, it does. Go back to using
    uv_async_t and add a regression test.
    
    Backport-PR-URL: #18050
    PR-URL: #18051
    Fixes: #18047
    Refs: #18020
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    apapirovski authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    0e116a0 View commit details
    Browse the repository at this point in the history
  28. fs: guarantee order of callbacks in ws.close

    Refactor WriteStream.prototype.close and WriteStream.prototype._destroy
    to always call the callback passed to close in order. Protects from
    calling .close() without a callback.
    
    Fixes: #17951
    See: #15407
    
    PR-URL: #18002
    Fixes: #17951
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    f148556 View commit details
    Browse the repository at this point in the history
  29. doc: fix link for https api change

    The PR number included for this api addition was originally incorrect.
    
    PR-URL: #17630
    Refs: #14903
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    0ad783a View commit details
    Browse the repository at this point in the history
  30. src: remove duplicate words in comments

    PR-URL: #17939
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    aa75190 View commit details
    Browse the repository at this point in the history
  31. doc: fix code nits in common/README

    1. Sync comments and code
    2. Fix typos
    
    PR-URL: #17971
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3bcdb3b View commit details
    Browse the repository at this point in the history
  32. doc: re-alphabetise sections in common/README.md

    PR-URL: #17971
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    b593d94 View commit details
    Browse the repository at this point in the history
  33. trace_events: stop tracing agent in process.exit()

    PR-URL: #18005
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    AndreasMadsen authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    7bf6be0 View commit details
    Browse the repository at this point in the history
  34. src: update make for new code coverage locations

    The files for code coverage are moving to the build
    repository.  Update the references to reflect this.
    
    PR-URL: #17987
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    bb9219b View commit details
    Browse the repository at this point in the history
  35. build: document targets in the Makefile

    PR-URL: #16975
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    joyeecheung authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    d93b476 View commit details
    Browse the repository at this point in the history
  36. doc: add guide on maintaining build files

    PR-URL: #16975
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    joyeecheung authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3623cf7 View commit details
    Browse the repository at this point in the history
  37. tools: do not override V8's gitignore

    The root .gitignore contains "node", which causes all of
    deps/v8/tools/node to be ignored. That is somewhat inconvenient when
    updating V8.
    
    PR-URL: #18010
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    hashseed authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    4dacff7 View commit details
    Browse the repository at this point in the history
  38. lib: enable dot-notation eslint rule

    PR-URL: #18007
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    apapirovski authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    b817a8a View commit details
    Browse the repository at this point in the history
  39. doc: compact eslint directives in common/README

    PR-URL: #17971
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    ef31701 View commit details
    Browse the repository at this point in the history
  40. http2: use aliased buffer for perf stats, add stats

    Add an aliased buffer for session and stream statistics,
    add a few more metrics
    
    PR-URL: #18020
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    jasnell authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    1ad7df6 View commit details
    Browse the repository at this point in the history
  41. doc: fix incorrect argument type in fs.readSync

    The `buffer` argument must be either Buffer or Uint8Array, string
    values are not supported.
    
    PR-URL: #18022
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    belochub authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    ffc2659 View commit details
    Browse the repository at this point in the history
  42. deps: cherry-pick 50f7455 from upstream V8

    Original commit message:
    
        [inspector] added Runtime.globalLexicalScopeNames method
    
        The method returns names for all available top-level scope variables
        in giving context.
    
        R=dgozman@chromium.org,jgruber@chromium.org
    
        Bug: chromium:681333
        Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
        Change-Id: I2d0b600e1afbfef9087f53ea9c26abe1e112047c
        Reviewed-on: https://chromium-review.googlesource.com/719409
        Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#48618}
    
    Refs: v8/v8@50f7455
    
    PR-URL: #16591
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    43fbc39 View commit details
    Browse the repository at this point in the history
  43. repl: show lexically scoped vars in tab completion

    Use the V8 inspector protocol, if available, to query the list of
    lexically scoped variables (defined with `let`, `const` or `class`).
    
    PR-URL: #16591
    Fixes: #983
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos authored and MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    3831d87 View commit details
    Browse the repository at this point in the history
  44. 2019-01-10 Version 9.4.0 (Current)

    Notable change:
    
    * async_hooks:
      - deprecate AsyncHooks Sensitive API and runInAsyncIdScope. Neither
        API were documented. (Andreas Madsen)
        #16972
    * deps:
      - update nghttp2 to 1.29.0 (James M Snell)
        #17908
      - upgrade npm to 5.6.0 (Kat Marchán)
        #17535
      - cherry-pick 50f7455 from upstream V8 (Michaël Zasso)
        #16591
    * events:
      - remove reaches into _events internals (Anatoli Papirovski)
        #17440
    * http:
      - add rawPacket in err of `clientError` event (XadillaX)
        #17672
    * http2:
      - implement maxSessionMemory (James M Snell)
        #17967
      - add initial support for originSet (James M Snell)
        #17935
      - add altsvc support (James M Snell)
        #17917
      - perf_hooks integration (James M Snell)
        #17906
      - Refactoring and cleanup of Http2Session and Http2Stream destroy
        (James M Snell) #17406
    * net:
      - remove Socket.prototype.write (Anna Henningsen)
        #17644
      - remove Socket.prototype.listen (Ruben Bridgewater)
        #13735
    * repl:
      - show lexically scoped vars in tab completion (Michaël Zasso)
        #16591
    * stream:
      - rm {writeable/readable}State.length (Calvin Metcalf)
        #12857
      - add flow and buffer properties to streams (Calvin Metcalf)
        #12855
    * util:
      - allow wildcards in NODE_DEBUG variable (Tyler)
        #17609
    * zlib:
      - add ArrayBuffer support (Jem Bezooyen)
        #16042
    * Addedew collaborator**
      - [starkwang](https://github.com/starkwang) Weijia Wang
    * Addedew TSC member**
      - [danbev](https://github.com/danbev) Daniel Bevenius
    
    PR-URL: #18069
    MylesBorins committed Jan 10, 2018
    Configuration menu
    Copy the full SHA
    7aefa40 View commit details
    Browse the repository at this point in the history