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

v8.5.0 proposal #15308

Merged
merged 231 commits into from
Sep 12, 2017
Merged

v8.5.0 proposal #15308

merged 231 commits into from
Sep 12, 2017

Commits on Sep 9, 2017

  1. build: re-enable snapshots in v8.x

    When 5d5e31c was backported to v8.x as e2b306c it was missing the
    configure changes from 8dce05f. This patch actually re-enables
    snapshots!
    
    Fixes: #14870
    
    PR-URL: #14875
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    e12a9c5 View commit details
    Browse the repository at this point in the history
  2. test: improve multiple vm tests

    PR-URL: #14458
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    8fb0895 View commit details
    Browse the repository at this point in the history
  3. test: improve multiple zlib tests

    PR-URL: #14455
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    c76ec71 View commit details
    Browse the repository at this point in the history
  4. test: begin normalizing fixtures use

    Adds a new `../common/fixtures' module to begin normalizing
    `test/fixtures` use. Our test code is a bit inconsistent with
    regards to use of the fixtures directory. Some code uses
    `path.join()`, some code uses string concats, some other
    code uses template strings, etc. In mnay cases, significant
    duplication of code is seen when accessing fixture files, etc.
    
    This updates many (but by no means all) of the tests in the
    test suite to use the new consistent API. There are still
    many more to update, which would make an excelent Code-n-Learn
    exercise.
    
    PR-URL: #14332
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    jasnell authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    868b441 View commit details
    Browse the repository at this point in the history
  5. test: check crypto before requiring tls module

    test-tls-session-cache currently fails if built --without-ssl:
    internal/util.js:82
        throw new errors.Error('ERR_NO_CRYPTO');
        ^
    
    Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto
    support
        at Object.assertCrypto (internal/util.js:82:11)
        at tls.js:26:14
        at NativeModule.compile (bootstrap_node.js:586:7)
        at Function.NativeModule.require (bootstrap_node.js:531:18)
        at Function.Module._load (module.js:449:25)
        at Module.require (module.js:517:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous>
    (/node/test/parallel/test-tls-session-cache.js:26:13)
        at Module._compile (module.js:573:30)
        at Object.Module._extensions..js (module.js:584:10)
    
    The test has a crypto check but it come after the require of the tls
    module.
    
    This commit moves the crypto check to come before the require of tls and
    allows the test to pass.
    
    PR-URL: #14708
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    d4f2a52 View commit details
    Browse the repository at this point in the history
  6. test: make test-tls-alert-handling more strict

    Use `common.mustCall()` and `common.mustNotCall()` to more rigorously
    check that functions (especially no-op error handlers) are called the
    expected number of times in test-tls-alert-handling.
    
    PR-URL: #14650
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    a3feb54 View commit details
    Browse the repository at this point in the history
  7. test: invoke callback with common.mustCall()

    * invoke callback with `common.mustCall()` in test-crypto-hash
    * order module declarations aphabetically per test-writing-guide
    
    PR-URL: #8597
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Griffith Tchenpan authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    4205648 View commit details
    Browse the repository at this point in the history
  8. os: add CIDR support

    This patch adds support for CIDR notation to the output of the
    `networkInterfaces()` method
    
    PR-URL: #14307
    Fixes: #14006
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    zeusdeux authored and MylesBorins committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    136eea4 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2017

  1. test: fix test-cluster-send-handle-large-payload

    On macOS, the parent process might not receive a message if it
    is sent to soon, and then subsequent messages are also sometimes not
    received.
    
    (Is this a bug or expected operating system behavior like the
    way a file watcher is returned before it's actually watching the file
    system on/ macOS?)
    
    Send a second message after a delay on macOS.
    
    While at it, minor refactoring to the test:
    
    * Blank line after loading `common` module per test-writing guide
    * Wrap arrow function in braces where implicit return is not needed
    * Remove unnecessary unref in subprocess
    
    PR-URL: #14780
    Fixes: #14747
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    7f02c36 View commit details
    Browse the repository at this point in the history
  2. process: keep process prototype in inheritance chain

    The global `process` object had its prototype replaced with a
    fresh object that had `EventEmitter.prototype` as its prototype.
    With this change, the original `process.constructor.prototype` is
    modified to have `EventEmitter.prototype` as its prototype, reflecting
    that `process` objects are also `EventEmitter`s.
    
    Fixes: #14699
    PR-URL: #14715
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    MSLaguana authored and MylesBorins committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    4d2aa16 View commit details
    Browse the repository at this point in the history
  3. tools: checkout for unassigned DEP00XX codes

    Check for `DEP00XX` codes on release build like we do with `REPLACEME`
    
    PR-URL: #14702
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell authored and MylesBorins committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    9da6c10 View commit details
    Browse the repository at this point in the history
  4. test: add missing console.error to exec-maxBuffer

    Adds the missing console.error to test-child-process-exec-maxBuffer
    
    PR-URL: #14796
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    BethGriggs authored and MylesBorins committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    27ec693 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2017

  1. doc: fix word wrapping for api stability boxes

    PR-URL: #14809
    Fixes: nodejs/nodejs.org#1337
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    saadq authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    72cc2ca View commit details
    Browse the repository at this point in the history
  2. http2: Expose Http2ServerRequest/Response

    In order for express (and possibly other libraries) to get and use
    the Http2ServerRequest/Response - expose them in the http2 exports.
    Same as is done in http module.
    
    PR-URL: #14690
    Ref: expressjs/express#3390
    Fixes: #14672
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    phouri authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9589641 View commit details
    Browse the repository at this point in the history
  3. test: refactor async-hooks/test-httparser tests

    CRLF variable was defined but only used on line 22 so the variable
    was deleted and placed inside line 22 as a string literal. This
    was in file test-httpparser.request.js
    
    On line 46 there's a function declared that takes 3 arguments but
    none of them are ever used so removed. This is in file
    test-httpparser.response.js
    
    PR-URL: #14818
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Runite618 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4dd095c View commit details
    Browse the repository at this point in the history
  4. doc: added napi_get_value_string_latin1

    * Reordered string functions alphabetically
    * Fixed a typo in napi_get_value_string_utf8
    
    PR-URL: #14678
    Fixes: #14397
    Refs: #14256
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    kfarnung authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    0dc9d28 View commit details
    Browse the repository at this point in the history
  5. tools: delete an unused argument

    PR-URL: #14251
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    phisixersai authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b0f4539 View commit details
    Browse the repository at this point in the history
  6. http2: handful of http/2 src cleanups

    * inline more stuff. remove a node_http2_core.cc
    * clean up debug messages
    * simplify options code, and cleanup
    
    PR-URL: #14825
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    80fe40a View commit details
    Browse the repository at this point in the history
  7. build: remove duplicated code

    Makefile contains copy-pasted code in some targets and this commit
    aims to remove it.
    
    PR-URL: #13482
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
    krydos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9d37398 View commit details
    Browse the repository at this point in the history
  8. doc: fix typo in cli.md

    PR-URL: #14855
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    hsmtkk authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c8f0e5a View commit details
    Browse the repository at this point in the history
  9. doc: add BridgeAR to collaborators

    PR-URL: #14862
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3d62139 View commit details
    Browse the repository at this point in the history
  10. deps: fix inspector v8 test

    This fixes the inspector tests failing after the cherry-pick.
    
    V8 commit: https://chromium.googlesource.com/v8/v8/+/f19b889be801bdebc04c49090e37c787f7ba8805
    PR-URL: #14827
    Fixes: #14824
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Eugene Ostroukhov authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1a2f749 View commit details
    Browse the repository at this point in the history
  11. deps: cherry-pick fa4ec9f from V8 upstream

    Original commit message:
    
        [date] Refactor PosixTimezoneCache for different OS
    
        Follow up on https://codereview.chromium.org/2740353002. Created
        PosixDefaultTimezoneCache which is a subclass of PosixTimezoneCache
        containing definition of LocalTimezone and LocalTimeOffset which is
        separate for different OS.
    
        R=littledan@chromium.org, ulan@chromium.org
    
        BUG=v8:6578
        LOG=N
    
        Change-Id: I58342893aeefe79ac50e1df041d614fc473f15bf
        Reviewed-on: https://chromium-review.googlesource.com/568686
        Reviewed-by: Daniel Ehrenberg <littledan@chromium.org>
        Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
        Cr-Commit-Position: refs/heads/master@{#46604}
    
    PR-URL: #14608
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Jaideep Bajwa authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bfb97b7 View commit details
    Browse the repository at this point in the history
  12. benchmark: convert var to es6 const

    Converted var variable to es6 const to maintain
    consistency with other benchmark files. Also clean up
    the types array to make the files more succinct.
    
    PR-URL: #12886
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    sebasmurphy authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ca3ec90 View commit details
    Browse the repository at this point in the history
  13. deps: backport c4852ea from upstream V8

    Original commit message:
    
      Pull tracing related methods out of Platform
      This will allow for embedders to easily implement their own Platform
      without duplicating the tracing controller code.
    
      BUG=v8:6511
      R=fmeawad@chromium.org
    
      Cq-Include-Trybots:
      master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I7c64933d12b2cf53f0636fbc87f6ad5d22019f5c
      Reviewed-on: https://chromium-review.googlesource.com/543015
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46118}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c6e2b8a View commit details
    Browse the repository at this point in the history
  14. deps: backport 5152d97 from upstream V8

    Original commit message:
    
      Add API to create a platform with a tracing controller
      BUG=v8:6511
    
      Cq-Include-Trybots:
      master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Ie6b62df693d3b847837c071e1f985b7ce3b420c8
      Reviewed-on: https://chromium-review.googlesource.com/548499
      Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46227}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6cb718b View commit details
    Browse the repository at this point in the history
  15. deps: backport 3d8e87a from upstream V8

    Original commit message:
    
      Switch tracing to use v8::TracingController
    
      BUG=v8:6511
      R=fmeawad@chromium.org
    
      Cq-Include-Trybots:
      master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I4961e4b61a9ddc98385ed97c3ffcbcaef2d9cba7
      Reviewed-on: https://chromium-review.googlesource.com/543144
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46307}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6e2f622 View commit details
    Browse the repository at this point in the history
  16. deps: backport 6e9e2e5 from upstream V8

    Original commit message:
    
      [heap] Move SweeperTask to CancelableTask
      This mitigates the problem of blocking on the main thread when the
      platform is unable to execute background tasks in a timely manner.
    
      Bug: v8:6655
      Change-Id: Icdaae744ee73146b86b9a28c8035138746721971
      Reviewed-on: https://chromium-review.googlesource.com/595467
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47036}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a67e7f9 View commit details
    Browse the repository at this point in the history
  17. deps: backport bca8409 from upstream V8

    Original commit message:
    
      Make CancelableTask ids unique
      They were only limited to 32 bit when using the internal Hashmap. Since
      this has changed alreay some time ago, we can switch to 64 bit ids and
      check that we never overflow.
    
      Bug:
      Change-Id: Ia6c6d02d6b5e555c6941185a79427dc4aa2a1d62
      Reviewed-on: https://chromium-review.googlesource.com/598229
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47085}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b7f7d67 View commit details
    Browse the repository at this point in the history
  18. deps: backport f9c4b7a from upstream V8

    Original commit message:
    
      [heap] Move UnmapFreeMemoryTask to CancelableTask
      This mitigates the problem of blocking on the main thread when the
      platform is unable to execute background tasks in a timely manner.
    
      Bug: v8:6671
      Change-Id: I741d4b7594e8d62721dad32cbfb19551ffacd0c3
      Reviewed-on: https://chromium-review.googlesource.com/599528
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47126}
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    55eed60 View commit details
    Browse the repository at this point in the history
  19. tracing: Update to use new Platform tracing apis

    V8 modified the platform API to accept a tracing controller at platform
    creation time that is required to be present for the lifetime of the
    platform if tracing will every be enabled. This will simplify the
    implementation of a v8::Platform subclass for node.
    
    PR-URL: #14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bd40cc6 View commit details
    Browse the repository at this point in the history
  20. src: Node implementation of v8::Platform

    Node.js currently uses the V8 implementation of the DefaultPlatform
    which schedules VM tasks on a V8 managed thread pool. Since the Node.js
    event loop is not aware of these tasks, the Node.js process may exit
    while there are outstanding VM tasks. This will become problematic once
    asynchronous wasm compilation lands in V8.
    
    This PR introduces a Node.js specific implementation of the v8::Platform
    on top of libuv so that the event loop is aware of outstanding VM tasks.
    
    PR-URL: #14001
    Fixes: #3665
    Fixes: #8496
    Fixes: #12980
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    fadcbab View commit details
    Browse the repository at this point in the history
  21. src: use unordered_set instead of custom rb tree

    Use a standard hash-based container instead of the custom included
    red/black tree implementation. There is likely no noticeable
    performance difference, and if there is one, it is very likely
    to be an improvement.
    
    PR-URL: #14826
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    dcd7817 View commit details
    Browse the repository at this point in the history
  22. util: use proper circular reference checking

    Circular references are conceptually nothing that should be checked
    for objects (or Sets or Maps) only, but applies to recursive structures
    in general, so move the `seen` checks into a position where it is part
    of the recursion itself.
    
    Fixes: #14758
    PR-URL: #14790
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben.bridgewater@fintura.de>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c3c6cb1 View commit details
    Browse the repository at this point in the history
  23. test: check util.inspect circular Set and Map refs

    Ref: #14775
    PR-URL: #14790
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4f49ae5 View commit details
    Browse the repository at this point in the history
  24. deps: cherry-pick eb306f463e from nghttp2 upstream

    Original commit message:
    
      lib: add nghttp2_rcbuf_is_static()
    
      Add a `nghttp2_rcbuf_is_static()` method to tell whether a rcbuf
      is statically allocated.
    
      This can be useful for language bindings that wish to avoid
      creating duplicate strings for these buffers; concretely, I am
      planning to use this in the Node HTTP/2 module that is being
      introduced.
    
    Ref: nghttp2/nghttp2@eb306f4
    PR-URL: #14808
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    56bb199 View commit details
    Browse the repository at this point in the history
  25. http2: minor refactor of passing headers to JS

    - Make `ExternalString::New` return a `MaybeLocal`. Failing is
      left up to the caller.
    - Allow creating internalized strings for short header names
      to reduce memory consumption and increase performance.
    - Use persistent storage for statically allocated header names.
    
    PR-URL: #14808
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1b57c37 View commit details
    Browse the repository at this point in the history
  26. test: Mark test-stop-profile-after-done flaky

    It is flaky on Windows and AIX. Some more time is needed to fix it.
    
    PR-URL: #14874 (review)
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Eugene Ostroukhov authored and MylesBorins committed Sep 12, 2017
    1 Configuration menu
    Copy the full SHA
    03fd38c View commit details
    Browse the repository at this point in the history
  27. test: add test for cluster benchmarks

    Add minimal test to make sure cluster benchmark code runs.
    
    PR-URL: #14812
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1217b1a View commit details
    Browse the repository at this point in the history
  28. doc: explain what to do if git push is rejected

    In COLLABORATOR_GUIDE.md, explain what to do if `git push upstream
    master` is rejected.
    
    PR-URL: #14848
    Fixes: #12628
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    050a224 View commit details
    Browse the repository at this point in the history
  29. tools: fix update-eslint.sh

    The script currently assumes that there is a package.json in
    `eslint-tmp`. If there isn't the logic of the script fails.
    This adds a call to `npm init --yes` ensuring there is a package.json
    and that the script can do it's thing.
    
    PR-URL: #14850
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    37c43ed View commit details
    Browse the repository at this point in the history
  30. doc: fix http api document

    PR-URL: #14625
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    陈刚 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    abe0148 View commit details
    Browse the repository at this point in the history
  31. doc: add missing word

    PR-URL: #14924
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    maclover7 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c5380c8 View commit details
    Browse the repository at this point in the history
  32. tools: remove stray package-lock.json file

    Before the ESLint updates were automated, a stray package-lock.json file
    was accidentally introduced in the tools directory. This change removes
    it.
    
    PR-URL: #14873
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e4ea454 View commit details
    Browse the repository at this point in the history
  33. src: minor cleanup for node_revert

    Make the revert related functions inline to eliminate the need
    for node_revert.cc, prefix the constants and the def, other misc
    cleanup
    
    PR-URL: #14864
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    081c3e1 View commit details
    Browse the repository at this point in the history
  34. doc: remove redundant only from doc/api/stream.md

    PR-URL: #14858
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    GeorgeSapkin authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bfa3cbe View commit details
    Browse the repository at this point in the history
  35. test: remove erroneous assert message from test

    Removes the incorrect 'exit successfully' message from test when the
    exit code is 0.
    
    PR-URL: #14918
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BethGriggs authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7621555 View commit details
    Browse the repository at this point in the history
  36. doc,fs: rename defaultEncoding option to encoding

    The documentation for `fs.createWriteStream()` references a
    `defaultEncoding` as possible options property, but in reality
    `encoding` property is expected and properly handled. This fix updates
    the documentation to rename the `defaultEncoding` property to
    `encoding`.
    
    PR-URL: #14867
    Fixes: #14611
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    azasypkin authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    205d5f6 View commit details
    Browse the repository at this point in the history
  37. test: make timers-blocking-callback more reliable

    test-timers-blocking-callback may fail erroneously on
    resource-constrained machines due to the timing nature of the test.
    
    There is likely no way around the timing issue. This change tries to
    decrease the probability of the test failing erroneously by having it
    retry a small number of times on failure.
    
    Tested on 0.10.38 (which has a bug that this test was written for) and
    (modifying the test slightly to remove ES6 stuff) the test still seems
    to fail 100% of the time there, which is what we want/expect.
    
    PR-URL: #14831
    Fixes: #14792
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c0312dc View commit details
    Browse the repository at this point in the history
  38. doc: minor fixes to http/2 docs

    PR-URL: #14877
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    anandsuresh authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    96d95d4 View commit details
    Browse the repository at this point in the history
  39. test: increase coverage for http2.connect

    Added checks for connecting using https and an unsupported protocol.
    
    PR-URL: #14832
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    michaalbert authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8f61bf2 View commit details
    Browse the repository at this point in the history
  40. util: fix inspect array w. negative maxArrayLength

    PR-URL: #14880
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    de10c0f View commit details
    Browse the repository at this point in the history
  41. build: don't add libraries when --enable-static

    Currently when building with --enabled-static the cctest target will
    include libraries to be linked regardless. This commit adds a condition
    to only add the libraries when dynamically linking.
    
    This commit re-adds the previously reverted commit (be63c26
    "build: don't add libraries when --enable-static"). The reason that
    commit failed was a mistake on my part where I moved the the list
    into a variable (thinking that it was a simple change that would not
    affect anything) and not re-running CI. But the list itself contains
    variables used to enable differences in operating systems/compilers
    where the object file locations vary.
    
    PR-URL: #14912
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    838d3fe View commit details
    Browse the repository at this point in the history
  42. build: allow proper generation of html docs

    `gen-doc` always calls `gen-json`, which means it's impossible to
    generate html docs. Changed this to pass in the command the user wants
    to run.
    
    PR-URL: #14932
    Fixes: #14930
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    maclover7 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8f3537f View commit details
    Browse the repository at this point in the history
  43. src: remove extra copy from Copy() in node_url.cc

    The was copying the whole array and the strings in it without
    any benefit.
    
    PR-URL: #14907
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4570fa1 View commit details
    Browse the repository at this point in the history
  44. src: detect nul bytes in InternalModuleReadFile()

    Throw an exception when the path contains nul bytes, don't abort.
    
    Fixes: #13787
    PR-URL: #14854
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    992d1dd View commit details
    Browse the repository at this point in the history
  45. doc: remove you and fixup note in stream.md

    PR-URL: #14938
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6c93d01 View commit details
    Browse the repository at this point in the history
  46. doc: fixed link definitions in http2.md footer

    PR-URL: #14946
    Fixes: #14857
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sharababy authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    daae6bc View commit details
    Browse the repository at this point in the history
  47. benchmark: removed unused arguments from callbacks

    Removed unused arguments 'buf' and 'rinfo' from the callbacks.
    
    PR-URL: #14919
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    abhishek-raj authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7f1ea7c View commit details
    Browse the repository at this point in the history
  48. test: update windows module load error message

    libuv 1.14.0 includes a fix for the "%1 is not a valid Win32
    application" error message.
    
    Refs: #14866
    PR-URL: #14950
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e244f84 View commit details
    Browse the repository at this point in the history
  49. n-api: add ability to remove a wrapping

    Calling napi_wrap() twice on the same object has the result of returning
    napi_invalid_arg on the second call. However, sometimes it is necessary
    to replace the native pointer associated with a given object. This new
    API allows one to remove an existing pointer, returning the object to
    its pristine, non-wrapped state.
    
    PR-URL: #14658
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Fixes: nodejs/abi-stable-node#266
    Gabriel Schulhof authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a6344d5 View commit details
    Browse the repository at this point in the history
  50. deps: backport d727680 from V8 upstream

    Original commit message:
    
    [d8] Bring PredictablePlatform in line with default platform
    This removes a lot of special handling for the predictable platform.
    Instead of executing spawned foreground and background tasks
    immediately (i.e. inside the scope that spawns the tasks), just add
    both to the foreground task queue.
    
    This avoids existing special handling for predictable mode in wasm
    async compilation, and should fix current failures on the predictable
    bot.
    
    BUG=v8:6427
    
    Change-Id: Idbaa764a3dc8c230c29f3937d885e12174691ac4
    Reviewed-on: https://chromium-review.googlesource.com/509694
    Reviewed-by: Jochen Eisinger <jochen@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45538}
    
    PR-URL: #14947
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Matt Loring authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9f46bde View commit details
    Browse the repository at this point in the history
  51. doc: fix doc for napi_get_value_string_utf8

    The API for napi_get_value_string_utf8() appears to have been
    previously changed. This improves the doc reflect the current design.
    
    PR-URL: #14529
    Fixes: #14398
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Daniel Taveras authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6179c27 View commit details
    Browse the repository at this point in the history
  52. doc: update http2.md example code

    `require('http');` should be `require('http2');`
    
    PR-URL: #14979
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    comods authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    78b2bc7 View commit details
    Browse the repository at this point in the history
  53. doc: remove misterdjules from the CTC members list

    PR-URL: #1498
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Julien Gilli authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e187c98 View commit details
    Browse the repository at this point in the history
  54. test: remove unused arguments from function

    Removed the unused arguments of functions defined in
    file test/parallel/test-http-parser.js.
    
    PR-URL: #14931
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    0xparashar authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6421a9c View commit details
    Browse the repository at this point in the history
  55. doc: link to correct "OS Constants" heading in docs

    PR-URL: #14969
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jamiebuilds authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a8648e2 View commit details
    Browse the repository at this point in the history
  56. test: remove unused parameters

    PR-URL: #14968
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    human33 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    36b8b46 View commit details
    Browse the repository at this point in the history
  57. fix --prof-process --preprocess flag

    This is a one-line fix to prevent the --preprocess
    option (used with --prof-process to output JSON)
    to cause an isolate log file profiling process to crash.
    
    PR-URL: #14966
    Reviewed-By: Luca Maraschi <luca.maraschi@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    davidmarkclements authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    87c3e1d View commit details
    Browse the repository at this point in the history
  58. src: remove unnecessary helper function

    Ever since e2fcfea, `OnReadCommon()` is no longer shared
    between more than one function.
    
    PR-URL: #14959
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    abc5cdc View commit details
    Browse the repository at this point in the history
  59. doc: beautify net.md formats

    PR-URL: #14987
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sevenryze authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    188713c View commit details
    Browse the repository at this point in the history
  60. doc: rephrase text of child_process.execSync()

    Rephrases the error thrown by child_process.execSync().
    
    PR-URL: #14953
    Fixes: #14944
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ayazhafiz authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    57c7eae View commit details
    Browse the repository at this point in the history
  61. test: improve assertion fail messages

    PR-URL: #14949
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    eb46609 View commit details
    Browse the repository at this point in the history
  62. test: do not modify fixtures in test-fs-chmod

    `test-fs-chmod` modifies the permissions on files in `test/fixtures`.
    This change has the test use the temp directory instead. One of the
    fixture files is not used by any other test, so it has been deleted.
    
    I took this opportunity to remove `console.log()` statements from the
    test.
    
    PR-URL: #14926
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ae27cb8 View commit details
    Browse the repository at this point in the history
  63. lib: instantiate console methods eagerly

    Before this commit they were instantiated lazily but that fails when the
    first call is under stack overflow conditions.
    
    PR-URL: #14791
    Fixes: https://github.com/nodejs/help#778
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f34e0f9 View commit details
    Browse the repository at this point in the history
  64. test: add known issue for vm module

    GlobalPropertySetterCallback() does not check the
    property on the sandbox. It wrongly throws an error
    instead of updating `x`.
    
    PR-URL: #14661
    Ref: #12300
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    fhinkel authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    34d1a77 View commit details
    Browse the repository at this point in the history
  65. src: replace assert() with CHECK()

    PR-URL: #14663
    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: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ffe572a View commit details
    Browse the repository at this point in the history
  66. tools: update GYP to 324dd166

    refack authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8f34b83 View commit details
    Browse the repository at this point in the history
  67. gyp: fix gyp to work on MacOSX without XCode

    This issue has already submitted to the upstream in
    https://code.google.com/p/gyp/issues/detail?id=477
    Use this commit until the upstream is to be fixed.
    
    PR-URL: #1325
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Shigeki Ohtsu authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5fb252a View commit details
    Browse the repository at this point in the history
  68. gyp: inherit parent for *.host

    Gyp defaults to gcc/g++ if CC.host/CXX.host is unset. This is not
    suitable for environments that only uses the clang toolchain.
    
    Since we already assume that the user will provide clang/clang++
    through CC/CXX, lean against it (then drop to gcc/g++).
    
    Also apply the same logic for link/ar for consistency although
    it doesn't affect us.
    
    PR-URL: #6173
    Fixes: #6152
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jbergstroem authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7eb3679 View commit details
    Browse the repository at this point in the history
  69. gyp: add compile_commands.json gyp generator

    this is a re-base of the gyp part of
    3c46bb9
    after bumping GYP version to
    https://chromium.googlesource.com/external/gyp/+/eb296f67da078ec01f5e3a9ea9cdc6d26d680161
    
    Original-Review-By: James M Snell <jasnell@gmail.com>
    Ref: #7986
    PR-URL: #12450
    Reviewed-By: João Reis <reis@janeasystems.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5388949 View commit details
    Browse the repository at this point in the history
  70. gyp: enable cctest to use objects (gyp part)

    this is a re-base of the gyp part of
    6a09a69
    after bumping GYP version to
    https://chromium.googlesource.com/external/gyp/+/eb296f67da078ec01f5e3a9ea9cdc6d26d680161
    
    Original-PR-URL: #11956
    Original-Ref: #9163
    Original-Reviewed-By: James M Snell <jasnell@gmail.com>
    
    PR-URL: #12450
    Reviewed-By: João Reis <reis@janeasystems.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    12191f6 View commit details
    Browse the repository at this point in the history
  71. gyp: fix ninja build failure (GYP patch)

    Currently the files specified in libraries in node.gyp `cctest` target are
    getting a '.lib' extension on windows when generated with ninja.
    This commit adds a check to see if a file has a '.obj' extension and in
    that case no '.lib' extension will be added.
    
    Also, the LIBS specified in the 'libraries' section are not
    being included in the --start-group --end-group section which
    means that these libraries will not be searched causing issue
    with linkers where the order matters.
    
    PR-URL: #12484
    Fixes: #12448
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3d9ad82 View commit details
    Browse the repository at this point in the history
  72. dns: add verbatim option to dns.lookup()

    When true, results from the DNS resolver are passed on as-is, without
    the reshuffling that Node.js otherwise does that puts IPv4 addresses
    before IPv6 addresses.
    
    PR-URL: #14731
    Ref: #6307
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    13577d4 View commit details
    Browse the repository at this point in the history
  73. deps: update nghttp2 to v1.25.0

    PR-URL: #14955
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4eb907f View commit details
    Browse the repository at this point in the history
  74. deps: fixup nghttp2 version number

    PR-URL: #14955
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c46e7e1 View commit details
    Browse the repository at this point in the history
  75. http2: ignore invalid headers explicitly

    Required in order for `parallel/test-http2-response-splitting` to pass
    after upgrading `nghttp2`.
    
    PR-URL: #14955
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d231ef6 View commit details
    Browse the repository at this point in the history
  76. build: better support for python3 systems

    Improve support for systems where `python` is actually `python3`.
    
    Not all systems have a `python2` binary, so simply updating the shebang
    won't work.
    
    What we can do is apply some cleverness: start life as a shell script,
    locate the python binary, then re-execute the script but this time as
    python code.
    
    Special care is taken to ensure that spaces in arguments are passed on
    verbatim.
    
    PR-URL: #14737
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    77dfa73 View commit details
    Browse the repository at this point in the history
  77. build: for --enable-static, run only cctest

    Currently when building with --enable-static and running the test target
    the following error will be reported:
    Building addon
    /node/test/addons/01_function_arguments/
    env: ./node: No such file or directory
    make[1]: *** [test/addons/.buildstamp] Error 1
    
    Note that this is with a clean build where no prior node executable was
    built.
    
    This commit suggests only running the cctest target when --enable-static
    is specified.
    
    PR-URL: #14892
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Lance Ball <lball@redhat.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c8be90c View commit details
    Browse the repository at this point in the history
  78. benchmark: fix dgram/bind-params.js benchmark

    `benchmark/dgram/bind-params` exits with an error frequently in its
    current form because no error handler is applied. Add no-op error
    handlers to avoid the problem.
    
    ```console
    $ node benchmark/run.js --filter bind-params dgram
    
    dgram/bind-params.js
    dgram/bind-params.js address="true" port="true" n=10000:
    193,347.42178656923
    events.js:182
          throw er; // Unhandled 'error' event
          ^
    
    Error: bind ENFILE 0.0.0.0
        at Object._errnoException (util.js:1041:11)
        at _exceptionWithHostPort (util.js:1064:20)
        at _handle.lookup (dgram.js:242:18)
        at _combinedTickCallback (internal/process/next_tick.js:141:11)
        at process._tickCallback (internal/process/next_tick.js:180:9)
        at Function.Module.runMain (module.js:611:11)
        at startup (bootstrap_node.js:158:16)
        at bootstrap_node.js:598:3
    $
    ```
    
    PR-URL: #14948
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    978889f View commit details
    Browse the repository at this point in the history
  79. test: add test-benchmark-domain

    Add minimal test to confirm that domain benchmarks run.
    
    PR-URL: #14951
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    981ef46 View commit details
    Browse the repository at this point in the history
  80. test: add test-benchmark-events

    Add minimal test to confirm that events benchmarks run.
    
    PR-URL: #14951
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7e541d6 View commit details
    Browse the repository at this point in the history
  81. test: add test-benchmark-os

    Add minimal test to confirm that os benchmarks run.
    
    PR-URL: #14951
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2e3e136 View commit details
    Browse the repository at this point in the history
  82. test: add test-benchmark-path

    Add minimal test to confirm that path benchmarks run.
    
    PR-URL: #14951
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b480b20 View commit details
    Browse the repository at this point in the history
  83. test: add test-benchmark-process

    Add minimal test to confirm that process benchmarks run.
    
    PR-URL: #14951
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1849c51 View commit details
    Browse the repository at this point in the history
  84. test, win: fix IPv6 detection on Windows

    Add proper IPv6 detection on loopback device on Windows.
    
    PR-URL: #14865
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bzoz authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4d6da3f View commit details
    Browse the repository at this point in the history
  85. test: fix async-hooks tests

    The 'test-graph.tcp' and 'test-tcpwrap' tests are using '::' as server
    address. This is mapped to localhost on Linux, but fails on Windows.
    
    PR-URL: #14865
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bzoz authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8c927dd View commit details
    Browse the repository at this point in the history
  86. doc: add note for Windows build path

    PR-URL: #14354
    Fixes: #14337
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Kyle Lamse authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9b9e7b4 View commit details
    Browse the repository at this point in the history
  87. doc: fix typo in Buffer.from(string, [encoding])

    PR-URL: #15013
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Michał Wadas authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f1bc168 View commit details
    Browse the repository at this point in the history
  88. stream: fix Writable instanceof for subclasses

    The current custom instanceof for `Writable` subclasses previously
    returned false positives for instances of *other* subclasses of
    `Writable` because it was inherited by these subclasses.
    
    Fixes: #14943
    PR-URL: #14945
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c861462 View commit details
    Browse the repository at this point in the history
  89. test: extend async addon test

    Test more current behaviour, based on discussions in
    #14697.
    
    PR-URL: #14922
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9c7f27b View commit details
    Browse the repository at this point in the history
  90. meta: improve definition of a collaborator

    Expand definition of Collaborator to include individuals
    with commit access to any Node.js GitHub repository.
    
    Clarify the kinds of things that should be considered when
    considering inviting new collaborators
    
    PR-URL: #14981
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    cc72118 View commit details
    Browse the repository at this point in the history
  91. doc: environmental->environment & NodeJS->Node.js

    PR-URL: #14974
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rvagg authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    83ba2aa View commit details
    Browse the repository at this point in the history
  92. test: remove unused function args

    PR-URL: #14971
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Mohd Maqbool Alam authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d4c2eba View commit details
    Browse the repository at this point in the history
  93. test: simplify test-tls-client-default-ciphers

    PR-URL: #14928
    Ref: #12376
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f1284d3 View commit details
    Browse the repository at this point in the history
  94. deps: cherry-pick e020aae394 from V8 upstream

    Original commit message:
    
        Work around glibc thread-local storage bug
    
        glibc before 2.17 has a bug that makes it impossible to execute
        binaries that have single-byte thread-local variables:
    
            % node --version
            node: error while loading shared libraries: cannot allocate
            memory in static TLS block
    
        Work around that by making the one instance in the V8 code base
        an int.
    
        See: https://sourceware.org/bugzilla/show_bug.cgi?id=14898
        See: nodesource/distributions#513
        See: nodejs/build#809
        Change-Id: Iefd8009100cd93e26cf8dc5dc03f2d622b423385
        Reviewed-on: https://chromium-review.googlesource.com/612351
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-by: Eric Holk <eholk@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47400}
    
    PR-URL: #14913
    Ref: nodejs/build#809
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3f7bdc5 View commit details
    Browse the repository at this point in the history
  95. n-api: implement promise

    Promise is implemented as a pair of objects. `napi_create_promise()`
    returns both a JavaScript promise and a newly allocated "deferred" in
    its out-params. The deferred is linked to the promise such that the
    deferred can be passed to `napi_resolve_deferred()` or
    `napi_reject_deferred()` to reject/resolve the promise.
    
    `napi_is_promise()` can be used to check if a `napi_value` is a native
    promise - that is, a promise created by the underlying engine, rather
    than a pure JS implementation of a promise.
    
    PR-URL: #14365
    Fixes: nodejs/abi-stable-node#242
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    503370e View commit details
    Browse the repository at this point in the history
  96. doc: crypto.randomBytes does not block when async

    It may not return random bytes right away, but when called
    asynchronously it will not block.
    
    PR-URL: #14993
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a06d129 View commit details
    Browse the repository at this point in the history
  97. doc: sort bottom-of-file dns markdown links

    PR-URL: #14992
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6bb8133 View commit details
    Browse the repository at this point in the history
  98. doc: threadpool size, and APIs using the pool

    Not knowing which APIs use libuv's threadpool can lead to surprising
    performance problems. Document the APIs, and also document
    UV_THREADPOOL_SIZE, which can be used to fix problems.
    
    PR-URL: #14995
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    449549b View commit details
    Browse the repository at this point in the history
  99. doc,stream: remove wrong remark on readable.read

    The returned chunk is *never* longer than `size`.
    
    PR-URL: #15014
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jscissr authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7f62378 View commit details
    Browse the repository at this point in the history
  100. benchmark: fix issues in dns benchmark

    The benchmark script for dns contained functions with args declared
    but never used. This fix removes those arguments from the function
    signatures.
    
    No test existed for the dns benchmark so one was added to the
    parallel suite.
    To improve performance the tests are limited to 1 invocation to a
    single endpoint.
    
    PR-URL: #14936
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    ian-perkins authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7feb994 View commit details
    Browse the repository at this point in the history
  101. net: move debug statement

    This will allow `localAddress` to be properly set before writing
    debug output.
    
    PR-URL: #12616
    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>
    mscdex authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b4e8850 View commit details
    Browse the repository at this point in the history
  102. test: pipe some error output if npm fails

    This test now prints out some child error output if the npm child proc
    fails, allowing us to debug easier.
    
    PR-URL: #12490
    Refs: #12480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Fishrock123 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f694ea6 View commit details
    Browse the repository at this point in the history
  103. http2: refactor error handling

    This changes the error handling model of ServerHttp2Stream,
    ServerHttp2Request and ServerHttp2Response.
    An 'error' emitted on ServerHttp2Stream will not go to
    'uncaughtException' anymore, but to the server 'streamError'.
    On the stream 'error', ServerHttp2Request will emit 'abort', while
    ServerHttp2Response would do nothing.
    It also updates respondWith* to the new error handling.
    
    Fixes: #14963
    PR-URL: #14991
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    989dfaf View commit details
    Browse the repository at this point in the history
  104. test: improve test-abort-uncaught-exception

    Add `SIGTRAP` to allowed signals (seen on PPC machines in CI).
    
    Improve message when assertion fails in test-abort-uncaught-exception by
    providing the signal name that was not expected.
    
    PR-URL: #14013
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b85a734 View commit details
    Browse the repository at this point in the history
  105. test: improve test-abort-backtrace

    Improve error message by showing output when frames output does not meet
    expectations.
    
    Since we can't tell at runtime if we have the correct libc for
    backtraces, allow an empty backtrace and run the test on all platforms.
    
    PR-URL: #14013
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a91a3fe View commit details
    Browse the repository at this point in the history
  106. test: run abort tests

    Currently, tests in test/abort do not run in CI.
    
    This change configures the test runner to not write core files for abort
    tests and to run them.
    
    PR-URL: #14013
    Fixes: #14012
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f89ef77 View commit details
    Browse the repository at this point in the history
  107. doc: building - note on Windows SDK 15063

    PR-URL: #14394
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    87ff86b View commit details
    Browse the repository at this point in the history
  108. tools: add custom private key option

    Add -i option for release.sh that allows users to specify
    non-default private key for ssh and scp commands.
    Change argument parsing to getopts.
    
    PR-URL: #14401
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    krydos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5ee4e86 View commit details
    Browse the repository at this point in the history
  109. doc: update configure to require g++ 4.9.4

    PR-URL: #14204
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Dave Olszewski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a524285 View commit details
    Browse the repository at this point in the history
  110. doc: add links to alternative versions of doc

    Each page of the API documentation should have links to other versions
    of the same page. This will make it easier to switch between the current
    "live" release at nodejs.org and LTS versions.
    
    PR-URL: #10958
    Fixes: #10726
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Chris Young authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    feeff48 View commit details
    Browse the repository at this point in the history
  111. tools: fix linter error in html.js

    PR-URL: #15063
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    targos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bc250a1 View commit details
    Browse the repository at this point in the history
  112. assert: handle sparse arrays in deepStrictEqual

    Detect sparse array ends and add a fail early path for
    unequal array length.
    
    PR-URL: #15027
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7174dc2 View commit details
    Browse the repository at this point in the history
  113. meta: considerations for new core modules

    PR-URL: #15022
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    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>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    859abe5 View commit details
    Browse the repository at this point in the history
  114. doc: add 8.4.0 link to CHANGELOG.md

    PR-URL: #15064
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rus0000 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e7838d7 View commit details
    Browse the repository at this point in the history
  115. build: fix indentation in node.gyp

    One line in node.gyp was indented using a mix of a tab and spaces,
    convert it to all spaces.
    
    PR-URL: #15051
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b946693 View commit details
    Browse the repository at this point in the history
  116. meta: merge TSC and CTC back into a single body

    PR-URL: #14973
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    01846a0 View commit details
    Browse the repository at this point in the history
  117. deps: cherry-pick 0ef4a0c64b6 from c-ares upstream

    Original commit message:
    
      gethostbyaddr: fail with `ECANCELLED` for `ares_cancel()`
    
      When `ares_cancel()` was invoked, `ares_gethostbyaddr()`
      queries would fail with `ENOTFOUND` instead of `ECANCELLED`.
    
      It seems appropriate to treat `ares_cancel()` like `ares_destroy()`,
      but I would appreciate review of the correctness of this change.
    
      Ref: #14814
    
    Fixes: #14814
    
    PR-URL: #15023
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    296729c View commit details
    Browse the repository at this point in the history
  118. test: add regression test for 14814

    Ref: #14814
    
    PR-URL: #15023
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    458b8ab View commit details
    Browse the repository at this point in the history
  119. test: fix hijackStdout behavior in console

    `console.log` and some other function will swallow the exception in
    `stdout.write`. So an asynchronous exception is needed, or
    `common.hijackStdout` won't detect some exception.
    
    Refs: https://github.com/nodejs/node/blob/v8.2.1/lib/console.js#L87
    
    PR-URL: #14647
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    XadillaX authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7050608 View commit details
    Browse the repository at this point in the history
  120. doc: clarify http.get data consumption requirement

    With the previous wording, I read this sentence as meaning, "you
    _must_ use the http.get callback mechanism and cannot register a
    listener on the returned http.ClientRequest object." This is obviously
    not the intention, so adjust the sentence to make this clearer.
    
    PR-URL: #15049
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    strugee authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2610ae3 View commit details
    Browse the repository at this point in the history
  121. build: add npx to zip and 7z packages

    Copy npx and npx.cmd from `deps\npm\bin` for consistency with .msi
    package.
    
    PR-URL: #15033
    Refs: #14235
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ebb3c2c View commit details
    Browse the repository at this point in the history
  122. test: increase coverage for http2 response headers

    Expanded an existing test for setting pseudo-headers on response to
    include all pseudo-headers, not just :status.
    
    PR-URL: #15035
    Refs: #14985
    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: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5cb6500 View commit details
    Browse the repository at this point in the history
  123. test: remove unused param in test-graph.pipe

    Refs: https://twitter.com/NodeTodo/status/900502354834800645
    
    PR-URL: #15007
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ssbrewster authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5b13add View commit details
    Browse the repository at this point in the history
  124. async_hooks: emitAfter correctly on fatalException

    Previously calling emitAfter() from _fatalException would skipt the
    first asyncId. Instead use the size() of the std::stack to determine how
    many times to loop and call emitAfter().
    
    PR-URL: #14914
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    700d576 View commit details
    Browse the repository at this point in the history
  125. path: fix normalize on directories with two dots

    PR-URL: #14107
    Fixes: #14105
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    targos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    29f9101 View commit details
    Browse the repository at this point in the history
  126. doc: remove braces which shouldn't be there

    PR-URL: #15094
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jscissr authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7678044 View commit details
    Browse the repository at this point in the history
  127. lib: clean up usage of threw

    Use try/catch to instead of threw.
    
    PR-URL: #10534
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    JacksonTian authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9129057 View commit details
    Browse the repository at this point in the history
  128. test: add http2 test for method CONNECT

    Adds test case for default handling of method CONNECT, as well
    as the ability to bind a connect listener and handle the request.
    
    PR-URL: #15052
    Refs: #14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    cfbf505 View commit details
    Browse the repository at this point in the history
  129. test: add a test for Expect & checkExpectation

    New test case for Expect header & checkExpectation event based on the
    existing http test case.
    
    PR-URL: #15040
    Refs: #14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d176a18 View commit details
    Browse the repository at this point in the history
  130. http2: handle 100-continue flow & writeContinue

    Adds an implementation for writeContinue based on the h2 spec & the
    existing http implementation. ClientHttp2Stream now also emits
    a continue event when it receives headers with :status 100.
    Includes two test cases for default server continue behaviour and
    for the exposed checkContinue listener.
    
    PR-URL: #15039
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f612a6d View commit details
    Browse the repository at this point in the history
  131. doc: fix comment about http2.createSecureServer

    PR-URL: #15085
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    creeperyang authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3697cd8 View commit details
    Browse the repository at this point in the history
  132. n-api: adds function to adjust external memory

    Added a wrapper around
    v8::Isolate::AdjustAmountOfExternalAllocatedMemory
    
    PR-URL: #14310
    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: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Fixes: #13928
    Chris Young authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3a18df0 View commit details
    Browse the repository at this point in the history
  133. lib: remove the invalid command line options

    The option --remote_debugging_server and --debug-agent are
    not supported now.
    
    PR-URL: #13764
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    JacksonTian authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ea0a882 View commit details
    Browse the repository at this point in the history
  134. build: add NetBSD support to opensslconf.h

    Simplify the BSD list by defining OPENSSL_BSD if using a matching
    BSD platform.
    Add NetBSD to the list and update documentation.
    
    PR-URL: #14313
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rsmarples authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6de4e10 View commit details
    Browse the repository at this point in the history
  135. doc: /s/SHASUM256/SHASUMS256

    As an example, `curl https://nodejs.org/dist/v8.4.0/SHASUM256.txt` will
    return a 404 right now.
    
    PR-URL: #15101
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    maclover7 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    959b270 View commit details
    Browse the repository at this point in the history
  136. tools: add eslint rule for hasCrypto checking

    The motivation for this commit is to pick up early on missing checks for
    crypto support (when Node is built --without-ssl).
    
    There are currently usages of common.hasCrypto which are not just for
    detecting if crypto support is available and then skip the test in
    question. For these case we still want to have a lint error generated
    which can then be disabled using an ESLint comment.
    
    PR-URL: #13813
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1d97ff4 View commit details
    Browse the repository at this point in the history
  137. tools: add eslint rule for inspector checking

    The motivation for this commit is to pick up early on missing checks for
    inspector support (when Node is built --without-inspector).
    
    PR-URL: #13813
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    87e44d8 View commit details
    Browse the repository at this point in the history
  138. lib: simplify the readonly properties of icu

    Call Object.defineProperty() twice to set readonly property is
    unnecessary.
    
    PR-URL: #13221
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    JacksonTian authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    605d625 View commit details
    Browse the repository at this point in the history
  139. util: remove duplicate code in format

    util.format contains an idential if statement within each branch
    of switch. Move it before the switch statement for cleaner code
    and better performance.
    
    PR-URL: #15098
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2aec977 View commit details
    Browse the repository at this point in the history
  140. assert: handle errors properly with deep*Equal

    PR-URL: #15001
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bcf0e5d View commit details
    Browse the repository at this point in the history
  141. test: split path tests into multiple files

    Create one file for testing each function of the path module.
    Keep general error tests and tests for constant properties in
    test-path.js.
    
    PR-URL: #15093
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    targos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    72aae04 View commit details
    Browse the repository at this point in the history
  142. repl: force editorMode in .load

    The `.load` command would fail with any file that contains
    multiline `.` operator expressions. This was particularly
    noticeable when chaining promises or multi-line arrow
    expressions.
    
    This change Forces the REPL to be in `editorMode` while loading
    a file from disk using the `.load` command.
    
    Fixes: #14022
    
    PR-URL: #14861
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    lance authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    eee2aa6 View commit details
    Browse the repository at this point in the history
  143. doc: readFileSync instead of fs.readFileSync

    The ALPN negotiation sample uses `fs.readFileSync` whereas
    `readFileSync` is imported into top level variable.
    
    PR-URL: #15137
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    miensol authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9542844 View commit details
    Browse the repository at this point in the history
  144. buffer: increase coverage by removing dead code

    buffer.js:L196 `if (value == null)` guarantees `obj != null`
    so L406+L418 are unnecessary.
    
    PR-URL: #15100
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    decareano authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b9e1f60 View commit details
    Browse the repository at this point in the history
  145. url: remove unused code from autoEscapeStr

    PR-URL: #15086
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cyril-lakech authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a4fc432 View commit details
    Browse the repository at this point in the history
  146. tools: bump vswhere helper to 2.0.0

    * enable explicit detection of prerelease VS versions with
      `set VSWHERE_WITH_PRERELEASE=1`
    
    PR-URL: #14557
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    refack authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    97908ea View commit details
    Browse the repository at this point in the history
  147. test: increase Http2ServerResponse test coverage

    Modify existing header tests for Http2ServerResponse to include
    sendDate (get and set) and headersSent. Expand existing test
    for end to include a check for closed. Add a new test for destroy.
    
    PR-URL: #15074
    Refs: #14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e3e9e50 View commit details
    Browse the repository at this point in the history
  148. http2: adjust error types, test coverage

    Change error types emitted from request and validatePriorityOptions
    to be TypeError rather than the incorrect RangeError. Add tests
    to confirm that all errors are thrown as expected (weight, parent,
    exclusive, silent, endStream and getTrailers). Add test for method
    CONNECT throwing error on missing :authority or superfluous :scheme
    and :path.
    
    PR-URL: #15109
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    fd51cb8 View commit details
    Browse the repository at this point in the history
  149. http2: correct emit error in onConnect, full tests

    Correct requestOnConnect to emit session error on
    NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE rather than stream error. Add full
    test suite for the error handling within requestOnConnect.
    
    PR-URL: #15080
    Refs: #14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f6c5188 View commit details
    Browse the repository at this point in the history
  150. http2: guard against destroyed session, timeouts

    Guard against destroyed session in timeouts and goaway event.
    
    Improve timeout handling a bit.
    
    PR-URL: #15106
    Fixes: #14964
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    afa72df View commit details
    Browse the repository at this point in the history
  151. test: http2 test coverage for updateOptionsBuffer

    PR-URL: #15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    837c29c View commit details
    Browse the repository at this point in the history
  152. test: http2 test coverage for assertValidPseudoHeader

    PR-URL: #15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c0dba0f View commit details
    Browse the repository at this point in the history
  153. test: http2 test coverage for NghttpError

    small test verifying that the NghttpError is as expected
    
    PR-URL: #15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    9f79bd8 View commit details
    Browse the repository at this point in the history
  154. doc: clarify async/asynchronous in deprecations.md

    Change _async_ to _asynchronous_ in `deprecations.md` to avoid confusion
    with the `async` keyword. This has the additional minor benefit of being
    more formal and less conversational prose.
    
    PR-URL: #15172
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    286111a View commit details
    Browse the repository at this point in the history
  155. deps: upgrade libuv to 1.14.1

    Fixes: #12737
    Fixes: #13581
    Fixes: #15117
    PR-URL: #14866
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    acf9650 View commit details
    Browse the repository at this point in the history
  156. build: display HTTP2 configure --help options

    Currently the options available for HTTP2 are not displayed when running
    configure --help.
    
    This commit enables the following HTTP2 section to be included in the
    help output:
    
    HTTP2:
      Flags that allows you to control HTTP2 features in Node.js
    
      --debug-http2       build with http2 debug statements on (default is
                          false)
      --debug-nghttp2     build nghttp2 with DEBUGBUILD (default is false)
    
    PR-URL: #15198
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5b8fa29 View commit details
    Browse the repository at this point in the history
  157. src: fix DEBUG_HTTP2 type arguments

    Currently when building using --debug-http2 there are a number of
    compilation errors like the following:
    
    In file included from ../src/node_http2.cc:3:
    In file included from ../src/node_http2.h:6:
    ../src/node_http2_core-inl.h:43:32: error: too few arguments to function
    call, single argument 'type'
          was not specified
                  handle->TypeName(), len, message);
    
    This commit adds the type argument to the calls.
    
    PR-URL: #15197
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7213be9 View commit details
    Browse the repository at this point in the history
  158. doc: instructions for generating coverage reports

    Add instructions for generating code coverage reports to BUILDING.md
    
    PR-URL: #15190
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ssbrewster authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    da5e6d3 View commit details
    Browse the repository at this point in the history
  159. test: refactor test-fs-readfile-unlink

    * Use tmp directory instead of mutating the fixtures directory.
    * Add comment explaining that the unlinkSync() at the end of the test is
      part of the test. Otherwise it may be tempting to remove it as
      unnecessary tmp directory cleanup.
    
    PR-URL: #15173
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    0b9fde4 View commit details
    Browse the repository at this point in the history
  160. http2: fix closedCode NaN, increase test coverage

    [kFinish](code) can be triggered from a 'finish' event (for example
    when calling response.end) which does not pass code. That tries to
    set closedCode to undefined resulting in NaN closedCode instead of
    NGHTTP2_NO_ERROR. Check for code !== undefined before setting.
    Adds tests for closed and closedCode.
    
    PR-URL: #15154
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    cc82f54 View commit details
    Browse the repository at this point in the history
  161. deps: cherry-pick 1aead19 from upstream V8

    Original commit message:
    
        Add postmortem metadata for thin strings.
    
        See: nodejs/llnode#117
        Change-Id: Icc2830c8e9096610df33ffdc2f89e74cb1b35662
        Reviewed-on: https://chromium-review.googlesource.com/618986
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Cr-Commit-Position: refs/heads/master@{#47778}
    
    PR-URL: #15184
    Ref: nodejs/llnode#117
    Ref: nodejs/llnode#121
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d18bb3d View commit details
    Browse the repository at this point in the history
  162. doc: add options argument to crypto docs

    PR-URL: #14846
    Fixes: #14804
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    ashanhol authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ddbcc9e View commit details
    Browse the repository at this point in the history
  163. http2: add compat trailers, adjust multi-headers

    Adds Http2ServerRequest trailers & rawTrailers functionality. Also fixes
    behaviour of multi-headers to conform with the spec (all values but
    set-cookie and cookie should be comma delimited, cookie should be
    semi-colon delimited and only set-cookie should be an array). Adds
    setter for statusMessage that warns, for backwards compatibility.
    End readable side of the stream on trailers or bodyless requests
    
    Refs: expressjs/express#3390 (comment)
    PR-URL: #15193
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    764213c View commit details
    Browse the repository at this point in the history
  164. http2: use session not socket timeout, tests

    Change default timeout to be tracked on the session instead
    of the socket, as nghttp2 manages the socket and we would
    need to maintain two sets of timeouts for similar purpose.
    Also fixes session setTimeout to work as it wasn't getting
    _unrefActive correctly (was called on the handle).
    
    Fixes: #15158
    PR-URL: #15188
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    93a4cf6 View commit details
    Browse the repository at this point in the history
  165. doc: describe what security issues are

    PR-URL: #14485
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    sam-github authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ea86cb5 View commit details
    Browse the repository at this point in the history
  166. inspector: log exceptions in message handlers

    Fixes: #14965
    PR-URL: #14980
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Eugene Ostroukhov authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    105acf4 View commit details
    Browse the repository at this point in the history
  167. deps: cherry-pick 5005faed5 from V8 upstream

    Original commit message:
    
        [turbofan] Improve representation selection for type guard.
    
        This takes into account the type of the type guard when choosing
        representation for a node. To make the representation changes
        unambiguous, we pass the restricted type to the changer.
    
        BUG=chromium:726554
    
        Review-Url: https://codereview.chromium.org/2920193004
        Cr-Commit-Position: refs/heads/master@{#45734}
    
    PR-URL: #15177
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Miguel Martins authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ba5a697 View commit details
    Browse the repository at this point in the history
  168. benchmark: add default configs to buffer benchmark

    Add default values to use for `type` and `method` in `buffer` benchmarks
    when the provided configuration value is an empty string. This is
    primarily useful for testing, so the test can request a single iteration
    without having to worry about providing different valid values for the
    different benchmarks.
    
    While making this change, some `var` instances in immediately
    surrounding code were changed to `const`. In some cases, `var` had been
    preserved so that the benchmarks would continue to run in versions of
    Node.js prior to 4.0.0. However, now that `const` has been introduced
    into the benchmark `common` module, the benchmarks will no longer run
    with those versions of Node.js anyway.
    
    PR-URL: #15175
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8d11220 View commit details
    Browse the repository at this point in the history
  169. test: add test-benchmark-buffer

    Add minimal test forbuffer benchmarks.
    
    PR-URL: #15175
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7106734 View commit details
    Browse the repository at this point in the history
  170. test: add http2 compat setTimeout tests

    Add tests for Http2ServerRequest and Http2ServerResponse setTimeout
    
    PR-URL: #15156
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ac71d99 View commit details
    Browse the repository at this point in the history
  171. http2: set decodeStrings to false, test

    Set writableStream decodeStrings to false to let the
    native layer handle converting strings to buffer.
    
    PR-URL: #15140
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4882f07 View commit details
    Browse the repository at this point in the history
  172. doc: document bytes to chars after setEncoding

    This commit documents and edge-case behavior in readable streams.
    It is expected that non-object streams are measured in bytes
    against the highWaterMark. However, it was discovered in issue
    thereafter begin to measure the buffer's length in characters.
    
    PR-URL: #13442
    Refs: #6798
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jalafel authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c90c68e View commit details
    Browse the repository at this point in the history
  173. test: use no-save and no-package-lock flags

    Use these flags when running make coverage so that a package-lock.json
    file is not generated and npm does not attempt to save the deps to a
    non-existent package.json file.
    
    PR-URL: #15196
    Refs: https://github.com/nodejs/node/pull/15190/files#r136932786
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ssbrewster authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6fa05e6 View commit details
    Browse the repository at this point in the history
  174. test: exclude write-coverage from coverage report

    Added a .nyrc configuration file that can be used to configure
    test coverage.
    
    Added an exclude rule that removes write-coverage.js from coverage
    reports.
    
    Pulled reporter configuration into .nycrc and added an additional
    text reporter.
    
    PR-URL: #15194
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Benjamin Coe authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2310cfc View commit details
    Browse the repository at this point in the history
  175. promises: more robust stringification

    PR-URL: #13784
    Fixes: #13771
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ae85d5f View commit details
    Browse the repository at this point in the history
  176. doc: add missing space in test/README.md

    PR-URL: #15278
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    af3b173 View commit details
    Browse the repository at this point in the history
  177. doc: fix Error property markdown level

    Properties should be documented at same level as their constructor, as
    they are in the other API doc sections.
    
    PR-URL: #15247
    Reviewed-By: Luigi Pinca <luigipinca@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: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1b51287 View commit details
    Browse the repository at this point in the history
  178. timers: fix outdated comment

    PR-URL: #14314
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    timcosta authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    dae86e4 View commit details
    Browse the repository at this point in the history
  179. n-api: implement napi_run_script

    Fixes: nodejs/abi-stable-node#51
    PR-URL: #15216
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com
    Reviewed-By: James M Snell <jasnell.gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ca.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    4bf0d4e View commit details
    Browse the repository at this point in the history
  180. async_wrap: return undefined if domain is disposed

    v8::MaybeLocal::ToLocalChecked() will abort on an empty handle.
    AsyncWrap::MakeCallback returns an empty handle if the domain is
    disposed, but this should not cause the process to abort. So instead
    return v8::Undefined() and allow the error to be handled normally.
    
    PR-URL: #14722
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    fadccba View commit details
    Browse the repository at this point in the history
  181. async_hooks: improve comments and function names

    * Reword several of the comments to be more descriptive.
    * Rename functions to better indicate what they are doing.
    * Change AsyncHooks::uid_fields_ to be a fixed array instead of a
      pointer.
    * Define regex early so line ends before 80 columns.
    * Remove obsolete comments.
    * Rename AsyncHooks::InitScope::uid_fields_ to uid_fields_ptr_ because
      using the same name as AsyncHooks::uid_fields_ was confusing.
    * Place variables that are used to store the new set of hooks if another
      hook is enabled/disabled during hook execution into an object to act
      as a namespace.
    
    PR-URL: #14722
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3e73ea8 View commit details
    Browse the repository at this point in the history
  182. async_wrap: unroll unnecessarily DRY code

    * Because Emit{Before,After}() will always exit the process if there's
      an exception there's no need to check a return value. This simplifies
      the conditions and makes {Pre,Post}CallbackExecution() unnecessary.
      They have been removed and relevant code has been moved to the
      respective call sites. Which are:
      * PromiseHook() never needs to run domains, and without a return value
        to check place the calls to Emit{Before,After}() on location.
      * The logic in MakeCallback() is simplified by moving the single calls
        to Emit{Before,After}() then doing a simpler conditional to check if
        the domain has been disposed.
    * Change Domain{Enter,Exit}() to return true if the instance has been
      disposed. Makes the conditional check in MakeCallback() simpler to
      reason about.
    * Add UNREACHABLE() after FatalException() to make sure all error
      handlers have been cleared and the process really does exit.
    
    PR-URL: #14722
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    78a36e0 View commit details
    Browse the repository at this point in the history
  183. async_hooks: don't abort unnecessarily

    * id values of -1 are allowed. They indicate that the id was never
      correctly assigned to the async resource. These will appear in any
      call graph, and will only be apparent to those using the async_hooks
      module, then reported in an issue.
    * ids < -1 are still not allowed and will cause the application to
      exit the process; because there is no scenario where this should ever
      happen.
    * Add asyncId range checks to emitAfterScript().
    * Fix emitBeforeScript() range checks which should have been || not &&.
    * Replace errors with entries in internal/errors.
    * Fix async_hooks tests that check for exceptions to match new
      internal/errors entries.
    
    NOTE: emit{Before,After,Destroy}() must continue to exit the process
    because in the case of an exception during hook execution the state of
    the application is unknowable. For example, an exception could cause a
    memory leak:
    
        const id_map = new Map();
    
        before(id) {
          id_map.set(id, /* data object or similar */);
        },
        after(id) {
          throw new Error('id never dies!');
          id_map.delete(id);
        }
    
    Allowing a recoverable exception may also cause an abort because of a
    stack check in Environment::AsyncHooks::pop_ids() that verifies the
    async id and pop'd ids match. This case would be more difficult to debug
    than if fatalError() (lib/async_hooks.js) was called immediately.
    
        try {
          async_hooks.emitBefore(null, NaN);
        } catch (e) { }
        // do something
        async_hooks.emitAfter(5);
    
    It also allows an edge case where emitBefore() could be called twice and
    not have the pop_ids() CHECK fail:
    
        try {
          async_hooks.emitBefore(5, NaN);
        } catch (e) { }
        async_hooks.emitBefore(5);
        // do something
        async_hooks.emitAfter(5);
    
    There is the option of allowing mismatches in the stack and ignoring the
    check if no async hooks are enabled, but I don't believe going this far
    is necessary.
    
    PR-URL: #14722
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    b40105d View commit details
    Browse the repository at this point in the history
  184. test: preserve env in test cases

    Allows env vars to be passed through to child processes. This is needed
    for things like NODE_TEST_DIR or LD_LIBRARY_PATH if testing the shared
    library.
    
    PR-URL: #14822
    Refs: #13390
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BethGriggs authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    7facfaa View commit details
    Browse the repository at this point in the history
  185. inspector: rewrite inspector test helper

    Helper was rewritten to rely on promises instead of manually written
    queue and callbacks. This simplifies the code and makes it easier to
    maintain and extend.
    
    PR-URL: #14797
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Eugene Ostroukhov authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e2ae08b View commit details
    Browse the repository at this point in the history
  186. test: fix inspector helper port sniffing

    PR-URL: #13870
    Reviewed-By: Miroslav Bajtoš <mbajtoss@gmail.com>
    TimothyGu authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    77bc72a View commit details
    Browse the repository at this point in the history
  187. inspector: enable async stack traces

    Implement a special async_hooks listener that forwards information
    about async tasks to V8Inspector asyncTask* API, thus enabling
    DevTools feature "async stack traces".
    
    The feature is enabled only on 64bit platforms due to a technical
    limitation of V8 Inspector: inspector uses a pointer as a task id,
    while async_hooks use 64bit numbers as ids.
    
    To avoid performance penalty of async_hooks when not debugging,
    the new listener is enabled only when the process enters a debug mode:
    
     - When the process is started with `--inspect` or `--inspect-brk`,
       the listener is enabled immediately and async stack traces
       lead all the way to the first tick of the event loop.
    
     - When the debug mode is enabled via SIGUSR1 or `_debugProcess()`,
       the listener is enabled together with the debugger. As a result,
       only async operations started after the signal was received
       will be correctly observed and reported to V8 Inspector. For example,
       a `setInterval()` called in the first tick of the event will not be
       shown in the async stack trace when the callback is invoked. This
       behaviour is consistent with Chrome DevTools.
    
    Last but not least, this commit fixes handling of InspectorAgent's
    internal property `enabled_` to ensure it's set back to `false`
    after the debugger is deactivated (typically via `process._debugEnd()`).
    
    Fixes: #11370
    PR-URL: #13870
    Reviewed-by: Timothy Gu <timothygu99@gmail.com>
    Reviewed-by: Anna Henningsen <anna@addaleax.net>
    bajtos authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8c61b72 View commit details
    Browse the repository at this point in the history
  188. buffer: fix MAX_LENGTH constant export

    This was a typo and accidentally returned the wrong value.
    
    Fixes: #14819
    Ref: #13467
    PR-URL: #14821
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    bda5585 View commit details
    Browse the repository at this point in the history
  189. src: miscellaneous cleanups for node_config

    Includes a fix for setting the `icuDataDir` as a UTF8 string
    rather than one byte. Previously, if the dir contained any
    non-ascii characters they would be mangled. This won't cover
    cases that involve paths with other character encodings
    (thank you Linux).. but it will cover the most likely.
    
    Other miscellaneous cleanups are included
    
    PR-URL: #14868
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    1c3cb49 View commit details
    Browse the repository at this point in the history
  190. src: fixup strings, reduce duplication

    PR-URL: #14937
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    5a05dfe View commit details
    Browse the repository at this point in the history
  191. src: reduce code duplication

    Adds `AsyncWrap::AddWrapMethods()` to add common methods
    to a `Local<FunctionTemplate>`. Follows same pattern as
    stream base.
    
    PR-URL: #14937
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8cee5d6 View commit details
    Browse the repository at this point in the history
  192. perf_hooks: implementation of the perf timing API

    An initial implementation of the Performance Timing API for Node.js.
    This is the same Performance Timing API implemented by modern browsers
    with a number of Node.js specific properties. The User Timing mark()
    and measure() APIs are implemented, garbage collection timing, and
    node startup milestone timing.
    
    ```js
    const { performance } = require('perf_hooks');
    
    performance.mark('A');
    setTimeout(() => {
      performance.mark('B');
      performance.measure('A to B', 'A', 'B');
      const entry = performance.getEntriesByName('A to B', 'measure')[0];
      console.log(entry.duration);
    }, 10000);
    ```
    
    The implementation is at the native layer and makes use of uv_hrtime().
    This should enable *eventual* integration with things like Tracing
    and Inspection.
    
    The implementation is extensible and should allow us to add new
    performance entry types as we go (e.g. for measuring i/o perf,
    etc).
    
    Documentation and a test are provided.
    
    PR-URL: #14680
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f75fadd View commit details
    Browse the repository at this point in the history
  193. src: fix build on certain platforms

    The `double` fields in `performance_state` could previously have
    been aligned at 4-byte instead of 8-byte boundaries, which would
    have made creating an Float64Array them as a array buffer view
    for an ArrayBuffer extending over the entire struct an invalid
    operation.
    
    Ref: 67269fd
    
    Comments out related flaky failure
    
    PR-URL: #14996
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    391855c View commit details
    Browse the repository at this point in the history
  194. lib: remove circular reference

    PR-URL: #14885
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d5a376a View commit details
    Browse the repository at this point in the history
  195. perf_hooks: mark as experimental

    PR-URL: #14997
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    jasnell authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    69e3bc6 View commit details
    Browse the repository at this point in the history
  196. errors: remove duplicated ERR_HTTP_INVALID_STATUS_CODE error

    PR-URL: #15003
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ea2b576 View commit details
    Browse the repository at this point in the history
  197. test: continue normalizing fixtures use

    PR-URL: #14716
    Refs: #14332
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    maasencioh authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ae91b1e View commit details
    Browse the repository at this point in the history
  198. perf_hooks: fix presumed typo in node_perf.cc

    PR-URL: #15019
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e3f5c58 View commit details
    Browse the repository at this point in the history
  199. src: remove unused persistent properties from env

    PR-URL: #15096
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a83d427 View commit details
    Browse the repository at this point in the history
  200. doc,lib,src,test: strip executable bits off files

    Remove the executable bits of the file modes of some files that
    accidentally received it.
    
    PR-URL: #15132
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    aaf55db View commit details
    Browse the repository at this point in the history
  201. src: fix compiler warnings in node_perf.cc

    Currently, there are a few compiler warnings generated from node_perf.cc
    regarding unused return values:
    
    ../src/node_perf.cc:58:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      env->performance_entry_callback()->Call(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    ../src/node_perf.cc:293:5: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
        obj->Set(context, idx, args[idx]);
        ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
    ../src/node_perf.cc:373:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      target->DefineOwnProperty(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    ../src/node_perf.cc:378:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      target->DefineOwnProperty(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    
    This commit add checks/casts to avoid the warnings.
    
    PR-URL: #15112
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f113d73 View commit details
    Browse the repository at this point in the history
  202. test: fix flaky test-readline-interface

    Move test reliant on timer triggering in a timely fahion from parallel
    to sequential. The test can fail under high load when the timer is
    triggered too late and the `\r` and `\n` are treated as separate lines.
    
    PR-URL: #15066
    Reviewed-By: Refael Ackermann <refack@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: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    dea959e View commit details
    Browse the repository at this point in the history
  203. test: remove envPlus, use Object.assign everywhere

    PR-URL: #14845
    Fixes: #14823
    Refs: #14822
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    gibfahn authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e87cb32 View commit details
    Browse the repository at this point in the history
  204. test: split test-cli-node-options

    * partitioning the subprocess groups
    * use `-e` instead of module
    * reduce maxBuffer
    
    PR-URL: #14195
    Fixes: #14191
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    refack authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e3d0ff9 View commit details
    Browse the repository at this point in the history
  205. module: Allow runMain to be ESM

    This follows the EPS an allows the node CLI to have ESM as an entry point.
    `node ./example.mjs`. A newer V8 is needed for `import()` so that is not
    included. `import.meta` is still in specification stage so that also is not
    included.
    
    PR-URL: #14369
    Author: Bradley Farias <bradley.meck@gmail.com>
    Author: Guy Bedford <guybedford@gmail.com>
    Author: Jan Krems <jan.krems@groupon.com>
    Author: Timothy Gu <timothygu99@gmail.com>
    Author: Michaël Zasso <targos@protonmail.com>
    Author: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bmeck authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    865a3c3 View commit details
    Browse the repository at this point in the history
  206. tls: multiple PFX in createSecureContext

    Add support for multiple PFX files in tls.createSecureContext.
    Also added support for object-style PFX pass.
    
    PR-URL: #14793
    Fixes: #14756
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    djphoenix authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d6ad9d7 View commit details
    Browse the repository at this point in the history
  207. doc: add ESM doc to _toc.md and all.md

    PR-URL: #15248
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    ffed337 View commit details
    Browse the repository at this point in the history
  208. test,doc: make module name match gyp target name

    Currently the nm_modname does not match the file name of the resulting
    module. In fact, the nm_modname is pretty arbitrary. This seeks to
    introduce some consistency into the nm_modname property by having the
    name of the module appear in exactly one place: the "target_name"
    property of the gyp target that builds the module.
    
    PR-URL: #15209
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    02260ea View commit details
    Browse the repository at this point in the history
  209. crypto: warn if counter mode used in createCipher

    `crypto.createCipher()` sets the fixed IV derived from password and it
    leads to a security risk of nonce reuse when counter mode is used.
    A warning is emitted when CTR, GCM or CCM is used in
    `crypto.createCipher()` to notify users to avoid nonce reuse.
    
    Fixes: #13801
    PR-URL: #13821
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    shigeki authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    41bf40e View commit details
    Browse the repository at this point in the history
  210. crypto: fix error of createCipher in wrap mode

    EVP_CIPHER_CTX_FLAG_WRAP_ALLOW flag needs to be set in using wrap mode
    ciphers. In `crypto.createCipher()`, AES key wrap mode does not use a
    default IV defined in RFC3394 but a generated IV with
    `EVP_BytesToKey()` to be consistent API behaviors with other ciphers.
    
    The built-in AES wrap mode in OpenSSL is not supported in FIPS mode as
    http://openssl.6102.n7.nabble.com/AES-Key-Wrap-in-FIPS-Mode-td50238.html
    so its tests in FIPS mode are skipped.
    
    Fixes: #15009
    PR-URL: #15037
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shigeki authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    78a71aa View commit details
    Browse the repository at this point in the history
  211. src: turn key length exception into CHECK

    This exception can logically never happen because of the key stretching
    that takes place first.  Failure must therefore be a bug in Node.js and
    not in the executing script.
    
    PR-URL: #15183
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    f81812b View commit details
    Browse the repository at this point in the history
  212. net: check EADDRINUSE after binding localPort

    PR-URL: #15097
    Fixes: #15084
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    67fde14 View commit details
    Browse the repository at this point in the history
  213. console: implement minimal console.group()

    Node.js exposes `console.group()` and `console.groupEnd()` via the
    inspector. These functions have no apparent effect when called from
    Node.js without the inspector. We cannot easily hide them when Node.js
    is started without the inspector because we support opening the
    inspector during runtime via `inspector.port()`.
    
    Implement a minimal `console.group()`/`console.groupEnd()`. More
    sophisticated implementations are possible, but they can be done in
    userland and/or features can be added to this at a later time.
    
    `console.groupCollapsed()` is implemented as an alias for
    `console.group()`.
    
    PR-URL: #14910
    Fixes: #1716
    Ref: #12675
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a46e59d View commit details
    Browse the repository at this point in the history
  214. console: improve console.group()

    Preserve indentation for multiline strings, objects that span multiple
    lines, etc.
    
    also make groupIndent non-enumerable
    
    Hide the internal `groupIndent` key a bit by making it non-enumerable
    and non-configurable.
    
    PR-URL: #14999
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Trott authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3a68b0b View commit details
    Browse the repository at this point in the history
  215. fs: add fs.copyFile{Sync}

    Fixes: #14906
    PR-URL: #15034
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    71f90c6 View commit details
    Browse the repository at this point in the history
  216. http2: store headersSent after stream destroyed

    Store headersSent directly on response state after finish event
    is triggered, so that users can always access it.
    
    PR-URL: #15232
    Fixes: #15226
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    d8ff550 View commit details
    Browse the repository at this point in the history
  217. http2: fix refs to status 205, add tests

    Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point
    to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204,
    205 & 304 in respond, respondWithFD & respondWithFile. Add general
    error tests for respondWithFD & respondWithFile.
    
    PR-URL: #15153
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    0343ece View commit details
    Browse the repository at this point in the history
  218. test: fix single test runner regression

    When ESM support was added it created a regression in the test runner
    that broke the ability to run individual tests. This commit
    re-introduces the use of `NormalizePath` which fixes the regression
    in the test runner
    
    Refs: #15300
    PR-URL: #15329
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    TimothyGu authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2adabe6 View commit details
    Browse the repository at this point in the history
  219. 2017-09-12, Version 8.5.0 (Current)

    Notable Changes
    
    * build:
      * Snapshots are now re-enabled in V8
      #14875
    
    * console:
      * Implement minimal `console.group()`.
      #14910
    
    * deps:
      * upgrade libuv to 1.14.1
        #14866
      * update nghttp2 to v1.25.0
        #14955
    
    * dns:
      * Add `verbatim` option to dns.lookup(). When true, results from the
        DNS resolver are passed on as-is, without the reshuffling that
        Node.js otherwise does that puts IPv4 addresses before IPv6
        addresses.
        #14731
    
    * fs:
      * add fs.copyFile and fs.copyFileSync which allows for more efficient
        copying of files.
        #15034
    
    * inspector:
      * Enable async stack traces
        #13870
    
    * module:
      * Add support for ESM. This is currently behind the
        `--experimental-modules` flag and requires the .mjs extension.
        `node --experimental-modules index.mjs`
        #14369
    
    * napi:
      * implement promise
        #14365
    
    * os:
      * Add support for CIDR notation to the output of the
        networkInterfaces() method.
        #14307
    
    * perf_hooks:
      * An initial implementation of the Performance Timing API for
        Node.js. This is the same Performance Timing API implemented by
        modern browsers with a number of Node.js specific properties. The
        User Timing mark() and measure() APIs are implemented, as is a
        Node.js specific flavor of the Frame Timing for measuring event
        loop duration.
        #14680
    
    * tls:
      * multiple PFX in createSecureContext
        [#14793](#14793)
    
    * Added new collaborators:
      * BridgeAR – Ruben Bridgewater
    
    PR-URL: #15308
    MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a2a2ff4 View commit details
    Browse the repository at this point in the history