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

[8.x backport] fs: add O_DSYNC flag (+ one other) #15653

Closed
wants to merge 114 commits into from

Commits on Sep 29, 2017

  1. http2: small fixes to compatibility layer

    Expand argument validation through compat API, adjust behaviour
    of response.end to not throw if stream already closed to match
    http1, adjust behaviour of writeContinue to not throw if stream
    already closed and other very small tweaks. Add tests for added
    and fixed behaviour. Add tests for edge case behaviours of
    setTimeout, createPushResponse, destroy, end and trailers.
    
    PR-URL: nodejs#15473
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    apapirovski authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    69357d0 View commit details
    Browse the repository at this point in the history
  2. http2: remove unused onTimeout, add timeout tests

    Remove unused onTimeout on Http2Session and Http2Stream because
    the correct _onTimeout is already declared and in use. Expand
    timeout tests to handle edge cases and additional arguments.
    
    PR-URL: nodejs#15539
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    apapirovski authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    670c2f4 View commit details
    Browse the repository at this point in the history
  3. doc: note caveats in process message serialization

    The message sent using process.send() goes through JSON
    serialization and parsing, which could lead to surprising behaviors.
    This commit elaborate a bit more on this and add a link to
    the notes about these caveats in the ECMAScript specification.
    
    PR-URL: nodejs#12963
    Refs: nodejs#12497
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    joyeecheung authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    b5faadd View commit details
    Browse the repository at this point in the history
  4. http2: fix compat stream read handling, add tests

    Handle edge case where stream pause is called between resume being
    called and actually evaluated. Other minor adjustments to avoid
    various edge cases around stream events. Add new tests that cover
    all changes.
    
    Fixes: nodejs#15491
    PR-URL: nodejs#15503
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    apapirovski authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    a872b97 View commit details
    Browse the repository at this point in the history
  5. src: correct typo in trace_event header

    PR-URL: nodejs#15583
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    dc07227 View commit details
    Browse the repository at this point in the history
  6. doc: remove invalid hash in link

    Sections in the https://tools.ietf.org/html/rfc1122 are not linkable
    anymore. Replace the possibly confusing hash with the explicit
    section number in the text.
    
    PR-URL: nodejs#15542
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    vsemozhetbyt authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    2603466 View commit details
    Browse the repository at this point in the history
  7. docs: clarify usage cli options -e,-p on windows

    PR-URL: nodejs#15568
    Fixes: nodejs#15522
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    lukaszewczak authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    ab9d1e7 View commit details
    Browse the repository at this point in the history
  8. doc: ctc -> tsc in collab guide

    PR-URL: nodejs#15590
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    bengl authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    119e05f View commit details
    Browse the repository at this point in the history
  9. doc: ctc -> tsc in onboarding extras

    PR-URL: nodejs#15621
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    bengl authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    fa07b27 View commit details
    Browse the repository at this point in the history
  10. doc: fix outdated code sample in n-api.md

    code samples of napi_create_object and napi_property_descriptor were
    not updated to latest API.
    
    PR-URL: nodejs#15581
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rebornix authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    0bd64f1 View commit details
    Browse the repository at this point in the history
  11. path: fix normalize paths ending with two dots

    Fixes: https://github.com/nodejs/security/issues/147
    PR-URL: https://github.com/nodejs-private/node-private/pull/94
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Doug Wilson <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    targos authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    00d0c51 View commit details
    Browse the repository at this point in the history
  12. 2017-09-26, Node.js Version 8.6.0 (Current)

    * **crypto**
      * Support for multiple ECDH curves. [nodejs#15206](nodejs#15206)
    * **dgram**
      * Added `setMulticastInterface()` API. [nodejs#7855](nodejs#7855)
      * Custom lookup functions are now supported. [nodejs#14560](nodejs#14560)
    * **n-api**
      * The command-line flag is no longer required to use N-API. [nodejs#14902](nodejs#14902)
    * **tls**
      * Docs-only deprecation of `parseCertString()`. [nodejs#14245](nodejs#14245)
    * **New Contributors**
      * Welcome Sebastiaan Deckers (@sebdeckers) as a new Collaborator! [nodejs#15354](nodejs#15354)
    jasnell authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    8f07f00 View commit details
    Browse the repository at this point in the history
  13. Working on v8.6.1

    PR-URL: nodejs#15509
    jasnell authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    150a1c4 View commit details
    Browse the repository at this point in the history
  14. deps: update V8 to 6.1.534.36

    PR-URL: nodejs#15393
    targos authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    9325095 View commit details
    Browse the repository at this point in the history
  15. deps: limit regress/regress-crbug-514081 v8 test

    regress/regress-crbug-514081 allocates a 2G block of memory
    and if there  are multiple variants running at the
    same time this can lead to crashes, OOM kills or
    the OS failing to allocate memory.  This patch
    limits us to running a single variant of the test
    
    Fixes: nodejs#6340
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#6678
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mhdawson authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    e04b70a View commit details
    Browse the repository at this point in the history
  16. deps: fix addons compilation with VS2013

    VS2013 does not support defaulting move constructor and assignment
    operator. This adds explicit definitions of those methods for two
    classes.
    This fix is required because we still support building addons with
    VS2013 and the incompatibility is in v8.h.
    
    Fixes: nodejs/node-v8#4
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#13263
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    bzoz authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    5add5ff View commit details
    Browse the repository at this point in the history
  17. deps: cherry-pick f19b889 from upstream V8

    Original commit message:
    
        [inspector] support for cases when embedder doesn't call contextDestroyed
    
        Node.js doesn't have good place to call contextDestroyed.
        We need to cleanup everything on our side to allow clients to not call
        contextDestroyed method.
    
        [email protected],[email protected]
    
        Bug: none
        Change-Id: Ibe3f01fd18afbfa579e5db66ab6f174d5fad7c82
        Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
        Reviewed-on: https://chromium-review.googlesource.com/575519
        Reviewed-by: Dmitry Gozman <[email protected]>
        Commit-Queue: Aleksey Kozyatinskiy <[email protected]>
        Cr-Original-Commit-Position: refs/heads/master@{nodejs#46849}
        Reviewed-on: https://chromium-review.googlesource.com/596549
        Cr-Commit-Position: refs/heads/master@{nodejs#47060}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14730
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    targos authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    7cad8dd View commit details
    Browse the repository at this point in the history
  18. 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 <[email protected]>
      Reviewed-by: Ulan Degenbaev <[email protected]>
      Cr-Commit-Position: refs/heads/master@{nodejs#47036}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14001
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Matt Loring authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    015756c View commit details
    Browse the repository at this point in the history
  19. 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 <[email protected]>
      Reviewed-by: Ulan Degenbaev <[email protected]>
      Cr-Commit-Position: refs/heads/master@{nodejs#47085}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14001
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Matt Loring authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    43adec7 View commit details
    Browse the repository at this point in the history
  20. 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 <[email protected]>
      Reviewed-by: Ulan Degenbaev <[email protected]>
      Cr-Commit-Position: refs/heads/master@{nodejs#47126}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14001
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Matt Loring authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    6c063f2 View commit details
    Browse the repository at this point in the history
  21. 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 <[email protected]>
        Reviewed-by: Eric Holk <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#47400}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14913
    Ref: nodejs/build#809
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Nikolai Vavilov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    d336d2a View commit details
    Browse the repository at this point in the history
  22. 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 <[email protected]>
        Commit-Queue: Ben Noordhuis <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#47778}
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#15184
    Ref: nodejs/llnode#117
    Ref: nodejs/llnode#121
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    fb3022f View commit details
    Browse the repository at this point in the history
  23. deps: add postmortem metadata for V8 TurboFan

    Refs: nodejs/llnode#130
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/650746
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14730
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    targos authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    8032f8c View commit details
    Browse the repository at this point in the history
  24. src: fix SmartOS compilation

    Refs: nodejs/node-v8#8
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#14730
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    targos authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    aa22c86 View commit details
    Browse the repository at this point in the history
  25. deps: patch V8 to 6.1.534.38

    Created using the update-v8 npm module and the command
    `update-v8 minor`.
    
    Refs: v8/v8@6.1.534.36...6.1.534.38
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#15431
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    f290e5d View commit details
    Browse the repository at this point in the history
  26. deps: revert ABI breaking changes in V8 6.1

    Below is the list of changes:
    
        deps: revert 70de12b73c150 from upstream V8
    
        Original commit message:
    
            Remove deprecated ForceSet
    
            Also move the soon-to-be-deprecated version to deprecated
    
            BUG=none
            [email protected]
    
            Change-Id: I2252404f63e25ac35c7798daf66b36144bef6a7e
            Reviewed-on: https://chromium-review.googlesource.com/518162
            Reviewed-by: Ulan Degenbaev <[email protected]>
            Commit-Queue: Jochen Eisinger <[email protected]>
            Cr-Commit-Position: refs/heads/master@{nodejs#45554}
    
        [squash] use renamed internal utilities
    
        v8: reorder V8_INTRINSICS_LIST for ABI compat
    
        Make `kErrorPrototype` added at the end of the `Intrinsic` for
        ABI compatibility.
    
        deps: revert 0089c786ed882 from V8 upstream
    
        Original commit message:
    
            Merged: Squashed multiple commits.
    
            Merged: [heap] Add API to set heap semi-space limits in KB.
            Revision: bb29f9a4d6fb5e32
    
            Merged: [heap] Partially reland "Allow a minimum semi-space size of 512K."
            Revision: 7486dc3331
    
            Merged: [heap] Set initial semi-space size to 512K.
            Revision: a5230d81d1f73c
    
            BUG=chromium:716032,chromium:735649
            LOG=N
            NOTRY=true
            NOPRESUBMIT=true
            NOTREECHECKS=true
            [email protected]
    
            Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
            Change-Id: Ia9946e28ce41dee6199fac571274aa196576385b
            Reviewed-on: https://chromium-review.googlesource.com/616283
            Reviewed-by: Michael Lippautz <[email protected]>
            Cr-Commit-Position: refs/branch-heads/6.1@{nodejs#47}
            Cr-Branched-From: 1bf2e10ddb194d4c2871a87a4732613419de892d-refs/heads/6.1.534@{#1}
            Cr-Branched-From: e825c4318eb2065ffdf9044aa6a5278635c36427-refs/heads/master@{nodejs#46746}
    
        v8: work around callback typedef renaming
    
        Do some clever tricks to have an easy way around
        V8 renaming one of its typedef to a deprecated version and then
        introducing a new typedef with the same name.
    
        deps: revert 5ebd6fcd269de from V8 upstream
    
        Original commit message:
    
            [heap] Lower external allocation limit when external memory shrinks.
    
            BUG=chromium:728228
            CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng
    
            Review-Url: https://codereview.chromium.org/2921883002
            Cr-Commit-Position: refs/heads/master@{nodejs#45726}
    
        deps: revert cf8f7bdc9d5ee from V8 upstream
    
        Original commit message:
    
            [heap] Increase memory reducer activation limit for external memory changes.
    
            BUG=chromium:729521
            CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng
    
            Review-Url: https://codereview.chromium.org/2923563006
            Cr-Commit-Position: refs/heads/master@{nodejs#45763}
    
        deps: revert 11fc9fab94d48 from V8 upstream
    
        Original commit message:
    
            [heap] Guard against re-entering GC on external memory change.
    
            [email protected]
            BUG=chromium:729868,chromium:729521
            CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng
    
            Review-Url: https://codereview.chromium.org/2929463002
            Cr-Commit-Position: refs/heads/master@{nodejs#45745}
    
        deps: revert 502c6ae6a0397 from V8 upstream
    
        Original commit message:
    
            [heap] Activate memory reducer on external memory activity.
    
            BUG=chromium:728228,chromium:626082
            CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng
    
            Review-Url: https://codereview.chromium.org/2917853004
            Cr-Commit-Position: refs/heads/master@{nodejs#45671}
    
        v8: revert changes to Contents structs
    
        The feature is disabled by default anyway,but we disable it completely.
    
    Backport-PR-URL: nodejs#15393
    PR-URL: nodejs#15393
    Author: Anna Henningsen <[email protected]>
    Author: Peter Marshall <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    addaleax authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    acd4696 View commit details
    Browse the repository at this point in the history
  27. deps: cherry-pick b6158eb6befae from V8 upstream

    Original commit message:
    
        [heap] Move gc callbacks from List to std::vector
    
        Bug: v8:6333
        Change-Id: I4434c6cc59f886f1e37dfd315a3ad5fee28d3f63
        Reviewed-on: https://chromium-review.googlesource.com/634907
        Reviewed-by: Ulan Degenbaev <[email protected]>
        Commit-Queue: Michael Lippautz <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#47601}
    
    PR-URL: nodejs#15391
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    addaleax authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    ae47f5b View commit details
    Browse the repository at this point in the history
  28. deps: cherry-pick 9b21865822243 from V8 upstream

    Original commit message:
    
        [api] Add optional data pointer to GC callbacks
    
        This can be useful when there may be multiple callbacks attached by
        code that's not directly tied to a single isolate, e.g. working
        on a per-context basis.
    
        This also allows rephrasing the global non-isolate APIs in terms
        of this new API, rather than working around it inside `src/heap`.
    
        [email protected]
    
        Bug:
        Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
        Change-Id: I2e490ec40d1a34ea812f25f41ef9741d2116d965
        Reviewed-on: https://chromium-review.googlesource.com/647548
        Reviewed-by: Yang Guo <[email protected]>
        Reviewed-by: Adam Klein <[email protected]>
        Commit-Queue: Yang Guo <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#47923}
    
    PR-URL: nodejs#15391
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    addaleax authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    7fe48f8 View commit details
    Browse the repository at this point in the history
  29. src: keep track of env properly in node_perf.cc

    Currently, measuring GC timing using `node_perf` is somewhat broken,
    because Isolates and Node Environments do not necessarily match 1:1;
    each environment adds its own hook, so possibly the hook code runs
    multiple times, but since it can’t reliably compute its corresponding
    event loop based on the Isolate, each run targets the same Environment
    right now.
    
    This fixes that problem by using new overloads of the GC tracking
    APIs that can pass data to the callback through opaque pointers.
    
    PR-URL: nodejs#15391
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    addaleax authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    89db101 View commit details
    Browse the repository at this point in the history
  30. src: use InstantiateModule instead of deprecated

    The following deprecation warning is displayed when compiling:
    
    ../src/module_wrap.cc:187:18: warning: 'Instantiate' is deprecated
    [-Wdeprecated-declarations]
      bool ok = mod->Instantiate(ctx, ModuleWrap::ResolveCallback);
                     ^
    ../deps/v8/include/v8.h:1158:22: note: 'Instantiate' has been explicitly
    marked deprecated here
                    bool Instantiate(Local<Context> context,
                         ^
    
    This commit changes this function call to use InstantiateModule instead
    which returns a Maybe<bool>.
    
    PR-URL: nodejs#15423
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    danbev authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    e6b64fa View commit details
    Browse the repository at this point in the history
  31. src: remove unused static variable

    PR-URL: nodejs#15458
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    b785b35 View commit details
    Browse the repository at this point in the history
  32. src: handle uv_async_init() failure

    Fix CHECKED_RETURN, RESOURCE_LEAK) and UNINIT Coverity warnings in
    MarkGarbageCollectionEnd().
    
    PR-URL: nodejs#15458
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    77103f7 View commit details
    Browse the repository at this point in the history
  33. src: return references from getters, not copies

    PR-URL: nodejs#15458
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    db1c65f View commit details
    Browse the repository at this point in the history
  34. src: constify PerformanceEntry data members

    PR-URL: nodejs#15458
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    f235f09 View commit details
    Browse the repository at this point in the history
  35. url: change variable name to be more descriptive

    PR-URL: nodejs#15551
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    jason9693 authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    5992a31 View commit details
    Browse the repository at this point in the history
  36. crypto: only try to set FIPS mode if different

    Turning FIPS mode on (or off) when it's already on (or off) should be a
    no-op, not an error.
    
    PR-URL: nodejs#12210
    Fixes: nodejs#11849
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gibfahn authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    997ccdd View commit details
    Browse the repository at this point in the history
  37. src: move node_trace_writer/buffer.h to agent.cc

    The headers node_trace_writer.h and node_trace_buffer.h are not used in
    agent.h but are more of an implementation detail of agent.cc.
    
    This commit suggests moving the inclusion of these headers to agent.cc.
    
    PR-URL: nodejs#15598
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    d8b4492 View commit details
    Browse the repository at this point in the history
  38. doc: update table of contents for common/README.md

    The `countdown` and `fixtures` modules are documented in the
    `common/README.md` file but are omitted from the table of contents. Add
    them.
    
    PR-URL: nodejs#15595
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    ccb8b0a View commit details
    Browse the repository at this point in the history
  39. async_hooks: consistent internal naming

    PR-URL: nodejs#15569
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AndreasMadsen authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    8993d93 View commit details
    Browse the repository at this point in the history
  40. src: clear async id stack if bootstrap throws

    If bootstrap throws and if ids are added to the async id stack and if
    the exception wasn't handled by the fatal exception handler then the
    AsyncCallbackScope destructor will cause the AsyncHooks::pop_ids() stack
    check to fail. Causing the application to crash. So clear the async id
    stack manually.
    
    This is only possible if the user: 1) manually calls MakeCallback() or
    2) uses async await in the top level. Which will cause _tickCallback()
    to fire before bootstrap finishes executing.
    
    The following example shows how the application can fail due to
    exceeding the maximum call stack while using async await:
    
        async function fn() {
          fn();
          throw new Error();
        }
        (async function() { await fn(); })();
    
    If this occurs during bootstrap then the application will pring the
    following warning a number of times then exit with a status of 0:
    
        (node:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: *): Error
    
    Here's the same recursive call done after enabling a new AsyncHook() the
    following will print instead of the above warning and exit with a
    non-zero code (currently it's 7 because of how node::FatalException
    assigns error codes based on where the failure happened):
    
        script.js:25
        async function fn() {
                         ^
        RangeError: Maximum call stack size exceeded
            at <anonymous>
            at fn (script.js:25:18)
            at fn (script.js:26:3)
            ....
    
    This has to do with how Promises lazily enable PromiseHook if an
    AsyncHook() is enabled. Whether these need to be made uniform is outside
    the scope of this commit
    
    Fixes: nodejs#15448
    PR-URL: nodejs#15553
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    528ebe1 View commit details
    Browse the repository at this point in the history
  41. build: add test-with-async-hooks

    The new test-with-async-hooks runs all normal tests (except async-hooks)
    with the environment variable NODE_TEST_WITH_ASYNC_HOOKS set. These
    extra checks do a minimum check to make sure async_hooks operates
    normally under all other tests. e.g. if init() or destroy() is called
    twice for the same id.
    
    Also move test "async-hooks" from CI_JS_SUITES into its own
    CI_ASYNC_HOOKS. Makes it cleaner to add, instead of supplying a massive
    list of tests that may change in the future.
    
    PR-URL: nodejs#14208
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    2c08b32 View commit details
    Browse the repository at this point in the history
  42. test: print resource stack on error

    When running tests with NODE_TEST_WITH_ASYNC_HOOKS and the same asyncId
    is detected twice print the stack traces of both init() calls. Also
    print if the resource is the same instance.
    
    PR-URL: nodejs#14208
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    c319ab0 View commit details
    Browse the repository at this point in the history
  43. test: skip test when checking async_hooks

    The test addons/async-hooks-promise depends on there being only one hook
    available. So skip it if NODE_TEST_WITH_ASYNC_HOOKS is set.
    
    PR-URL: nodejs#14208
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    37208b1 View commit details
    Browse the repository at this point in the history
  44. async_wrap: add constructor for PromiseWrap

    Another optional argument is about to be added to AsyncWrap. So instead
    of piling them on, create a separate constructor specifically for
    PromiseWrap since it's the only class that uses the "silent" argument.
    
    PR-URL: nodejs#14208
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    50f9bb3 View commit details
    Browse the repository at this point in the history
  45. async_wrap: allow user to pass execution_async_id

    Allow the user to pass in an execution_async_id instead of always
    generating one. This way the JS API can be used to pre-allocate the
    execution_async_id when the JS object is instantiated, before the native
    resource is created.
    
    Also allow the new execution_async_id to be passed via asyncReset().
    
    PR-URL: nodejs#14208
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    e218c7b View commit details
    Browse the repository at this point in the history
  46. src: remove unused computation

    PR-URL: nodejs#15593
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    9d2ab20 View commit details
    Browse the repository at this point in the history
  47. src: remove unused variable in node_url.cc

    PR-URL: nodejs#15592
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    cjihrig authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    f702876 View commit details
    Browse the repository at this point in the history
  48. test: fix http-writable-true-after-close flakyness

    Ref: nodejs#15404
    Fixes: nodejs#15505
    PR-URL: nodejs#15520
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mcollina authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    f2fde76 View commit details
    Browse the repository at this point in the history
  49. doc: retire bnoordhuis from the TSC

    PR-URL: nodejs#15626
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and MylesBorins committed Sep 29, 2017
    Configuration menu
    Copy the full SHA
    baeb46a View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2017

  1. doc: fix mistake in http2stream.respondWithFile.

    http2stream.respondWithFile api has changed since 8.5.0 with the
    addition of the onError option. In the first code example an
    onError function is implemented but never used, fix this
    mistake.
    
    Add a description to have more informations when onError is triggered.
    
    PR-URL: nodejs#15501
    Fixes: nodejs#15390
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    antoine-amara authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    70f60c9 View commit details
    Browse the repository at this point in the history
  2. src,etw: fix event 9 on 64 bit Windows

    The event manifest specifies the MethodID field as a 32 bit integer.
    The 32 bit node executable publishes this correctly, but the 64 bit
    executable published a 64 bit integer, making the event undecodable.
    
    PR-URL: nodejs#15563
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    joaocgreis authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    aabd84d View commit details
    Browse the repository at this point in the history
  3. http: client keep-alive for UNIX domain sockets

    Makes `Connection: keep-alive` behave correctly when making client
    connections to UNIX domain sockets.
    
    Prior to this, connections would never be re-used, but the keep-alive
    would cause the connections to stick around until they time out. This
    would lead to an eventual EMFILE error due to all the connections
    staying open. This was due to http.Agent not properly supporting UNIX
    domain sockets.
    
    PR-URL: nodejs#13214
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bengl authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    083077b View commit details
    Browse the repository at this point in the history
  4. build: run es-module tests in CI

    Add es-module to CI_JS_SUITES/js_test_suites, so that tests run in CI.
    Update test/README adding es-module section.
    
    PR-URL: nodejs#15276
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Benjamin Coe authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    64d61d7 View commit details
    Browse the repository at this point in the history
  5. build: fix shared installing target

    PR-URL: nodejs#15148
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    yorkie authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    322f75e View commit details
    Browse the repository at this point in the history
  6. crypto: use SSL_SESSION_get_id

    This accessor exists in OpenSSL 1.0.2, so it may be used already. This
    is cherry-picked from PR nodejs#8491.
    
    PR-URL: nodejs#15348
    Reviewed-By: Ben Noordhuis <[email protected]>
    davidben authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    01b54f7 View commit details
    Browse the repository at this point in the history
  7. crypto: use X509V3_EXT_d2i

    There is no need to reach into quite so many internals to decode an
    extension.
    
    PR-URL: nodejs#15348
    Reviewed-By: Ben Noordhuis <[email protected]>
    davidben authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    837fc99 View commit details
    Browse the repository at this point in the history
  8. doc: add callback function signatures in fs.md

    PR-URL: nodejs#13424
    Refs: nodejs#11135
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    matejkrajcovic authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    6a42c8f View commit details
    Browse the repository at this point in the history
  9. doc: improve fs.utimes

    PR-URL: nodejs#14154
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    refack authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d93e65d View commit details
    Browse the repository at this point in the history
  10. crypto: better crypto error messages

    Add openSSL error stack to the exception object thrown from crypto.
    The new exception property is only added to the object if the error
    stack has not cleared out prior to calling ThrowCryptoError.
    
    PR-URL: nodejs#15518
    Refs: nodejs#5444
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    gla5001 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3eef812 View commit details
    Browse the repository at this point in the history
  11. deps: update V8 to 6.1.534.42

    Refs: v8/v8@6.1.534.38...6.1.534.42
    
    PR-URL: nodejs#15521
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    targos authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    4a7ac6f View commit details
    Browse the repository at this point in the history
  12. src: fix typo in probe description

    This fixes a typo in a probe description added in
    dc1996d.
    
    PR-URL: nodejs#15397
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    evanlucas authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5b21109 View commit details
    Browse the repository at this point in the history
  13. tools, build: refactor macOS installer

    Creates macOS pkg installer by using `pkgbuild` and `productbuild`.
    Removes previous npm installation before installing npm.
    Packages carry correct version attributes.
    Support for intl installer features, defaults to `en`.
    Fancy formatted license.
    Renamed `osx` references to `macOS`.
    Optional installation of npm.
    
    PR-URL: nodejs#15179
    Fixes: nodejs#15012
    Refs: nodejs#5656
    Refs: nodejs#2571
    Refs: nodejs#7097
    Reviewed-By: Lance Ball <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    jpwesselink authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7e8c0fd View commit details
    Browse the repository at this point in the history
  14. src: add help for NODE_PENDING_DEPRECATION env

    PR-URL: nodejs#15609
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    tomc974 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    54ee0ca View commit details
    Browse the repository at this point in the history
  15. deps: cherry-pick 0353a1e from upstream V8

    Original commit message:
    
        Avoid disassembling Interpreted Regexp code
    
        I found that v8 will crash when --print-code is turned on while Regexp
        is interpreted. It crashes when trying to print Relocation info during
        Disassembly. It should probably avoid printing out disassembly when the
        Code object is a bytecode regexp.
    
        Bug:
        Change-Id: I35b531cb03996a303248652871452266c78fee38
        Reviewed-on: https://chromium-review.googlesource.com/642127
        Reviewed-by: Yang Guo <[email protected]>
        Commit-Queue: Jaideep Bajwa <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#47718}
    
    PR-URL: nodejs#15599
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9248768 View commit details
    Browse the repository at this point in the history
  16. doc: add bmeurer to collaborators

    PR-URL: nodejs#15677
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    bmeurer authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5eef728 View commit details
    Browse the repository at this point in the history
  17. timers: warn on overflowed timeout duration

    Cherry-pick from ayo
    
    Ayo commit log:
    > Previously there wasn't any clear indicator when you hit the overflow
    > other than possibly unexpected behavior, and I think emitting a warning
    > may be appropriate.
    
    > PR-URL: ayojs/ayo#71
    > Reviewed-By: Scott Trinh <[email protected]>
    > Reviewed-By: Alexey Orlenko <[email protected]>
    > Reviewed-By: Stephen Belanger <[email protected]>
    > Reviewed-By: Anna Henningsen <[email protected]>
    > Reviewed-By: Benjamin Gruenbaum <[email protected]>
    
    PR-URL: nodejs#15627
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Fishrock123 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8aafa9e View commit details
    Browse the repository at this point in the history
  18. doc: update libuv license

    PR-URL: nodejs#15649
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    TimothyGu authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    482b0d7 View commit details
    Browse the repository at this point in the history
  19. src: remove unused using in node_trace_writer.h

    There is an unnecessary using TracingController in node_trace_writer.h
    and this commit removes it.
    
    PR-URL: nodejs#15646
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    danbev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    0043c25 View commit details
    Browse the repository at this point in the history
  20. url: fix remaining calculation

    Fix remaining calculation in the PercentDecode function to match the
    definition in URL standard: https://url.spec.whatwg.org/#remaining
    
    PR-URL: nodejs#15637
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    rmisev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    57df19b View commit details
    Browse the repository at this point in the history
  21. perf_hooks: remove docs for unimplemented API

    The node frame (aka loop) timing API did not land, it depends on
    libuv/libuv#1489 which is still a WIP.
    
    See: nodejs#14680 (comment)
    
    PR-URL: nodejs#15641
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    sam-github authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ae7811f View commit details
    Browse the repository at this point in the history
  22. doc: fix link in the test/README.md

    PR-URL: nodejs#15642
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rmisev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    fcd910f View commit details
    Browse the repository at this point in the history
  23. dgram: support for setting socket buffer size

    * setRecvBufferSize(int) and setSendBufferSize(int)
    * added docs for send/receive buffer sizes
    * Added options support to set buffer sizes in
      dgram.createSocket().
    
    PR-URL: nodejs#13623
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    DamienOReilly authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    bc14d0c View commit details
    Browse the repository at this point in the history
  24. src: fix compiler warning in udp_wrap.cc

    Currently the following compiler warning is generated:
    1 warning generated.
    ../src/udp_wrap.cc:238:12: warning: comparison of integers of different
    signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
      if (size != args[0].As<Uint32>()->Value()) {
          ~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 warning generated.
    
    This commit changes the check to see that the Uint32 value does not
    exceed the max int size instead of first casting and then comparing.
    
    PR-URL: nodejs#15402
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    danbev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    bcdfbc1 View commit details
    Browse the repository at this point in the history
  25. doc: do not begin yaml value with backtick

    Will break YAML parsing!
    
    See details in the PR.
    
    PR-URL: nodejs#15447
    Fixes: nodejs#14930
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    maclover7 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e166bd7 View commit details
    Browse the repository at this point in the history
  26. src: use UV_EINVAL instead of EINVAL in udp_wrap

    Currently if the buffer size exceeds the maximum int size the following
    error will be thrown:
    dgram.js:180
        throw new errors.Error('ERR_SOCKET_BUFFER_SIZE', e);
        ^
    
    Error [ERR_SOCKET_BUFFER_SIZE]: Could not get or set buffer size: Error:
    Unknown system error 22: Unknown system error 22, uv_recv_buffer_size
        at bufferSize (dgram.js:180:11)
    
    It looks like perhaps UV_EINVAL was intended to give the following error
    message instead:
    dgram.js:180
        throw new errors.Error('ERR_SOCKET_BUFFER_SIZE', e);
        ^
    
    Error [ERR_SOCKET_BUFFER_SIZE]: Could not get or set buffer size: Error:
    EINVAL: invalid argument, uv_recv_buffer_size
        at bufferSize (dgram.js:180:11)
    
    This commit changes EINVAL to use UV_EINVAL.
    
    PR-URL: nodejs#15444
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c6aaaf0 View commit details
    Browse the repository at this point in the history
  27. dgram: refactor SO_RCVBUF and SO_SNDBUF methods

    This commit refactors the get/set send/receive buffer size
    methods in the following ways:
    
    - Use booleans instead of strings and numbers to differentiate
    between the send and receive buffers.
    - Reduce the amount of branching and complexity in the C++ code.
    
    Refs: nodejs#13623
    PR-URL: nodejs#15483
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cjihrig authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3142c25 View commit details
    Browse the repository at this point in the history
  28. doc: standardize function param/object prop style

    PR-URL: nodejs#13769
    Backport-PR-URL: nodejs#15687
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    gibfahn authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    62c2802 View commit details
    Browse the repository at this point in the history
  29. deps: update npm to 5.4.2

    This includes three npm releases, one of which is pretty big (5.4.0).
    
    Changes of Note
    
    * Significant performance boost for installations from cache (~10%+)
    * A number of bugfixes for important and severe bugs affecting
      installation on all supported platforms, but particularly noticeable
      on Windows.
    * More Windows-related fixes for `npx`.
    * [nodejs#17844](npm/npm#17844)
      Make package-lock.json sorting locale-agnostic. This will cause
      some users to see seemingly spurious diffs on their pkglocks if
      they were using previous versions of npm5, because, for example,
      `JSONStream` is sorted into a different location. This is fine and
      will go away as people upgrade.
    
    Changelogs
    
    * [`v5.4.0`](https://github.com/npm/npm/releases/tag/v5.4.0)
    * [`v5.4.1`](https://github.com/npm/npm/releases/tag/v5.4.1)
    * [`v5.4.2`](https://github.com/npm/npm/releases/tag/v5.4.2)
    targos authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    547fe58 View commit details
    Browse the repository at this point in the history
  30. errors: remove duplicate error definition

    Also fixes error being (now!) properly thrown by alphabetize-errors.
    
    also properly enable lint rule
    
    Was not using proper magic comment syntax before!
    
    -URL: nodejs#15307
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    maclover7 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f72da3b View commit details
    Browse the repository at this point in the history
  31. n-api: add check for large strings

    n-api uses size_t for the size of strings when specifying
    string lengths.  V8 only supports a size of int.  Add
    a check so that an error will be returned if the user
    passes in a string with a size larger than will fit into
    an int.
    
    PR-URL: nodejs#15611
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    mhdawson authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    cbe5d7a View commit details
    Browse the repository at this point in the history
  32. doc: fix links in some intra-repository docs

    PR-URL: nodejs#15675
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    vsemozhetbyt authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d954a82 View commit details
    Browse the repository at this point in the history
  33. src: remove unused includes in src/tracing

    PR-URL: nodejs#15682
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    danbev authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e4a06e6 View commit details
    Browse the repository at this point in the history
  34. test: fix test-https-writable-true-after-close

    test-https-writable-true-after-close fails intermittently when run with
    a lot of competing processes. Move it to sequential for stability.
    
    PR-URL: nodejs#15705
    Fixes: nodejs#15700
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Trott authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5d4a947 View commit details
    Browse the repository at this point in the history
  35. test: update es-module.status prefix

    PR-URL: nodejs#15690
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jackhorton authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    1604eb7 View commit details
    Browse the repository at this point in the history
  36. http2: adjust error emit in core, add tests

    Use the ability of nextTick and setImmediate to pass arguments
    instead of creating closures or binding. Add tests that cover
    the vast majority of error emits.
    
    PR-URL: nodejs#15586
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    apapirovski authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    6ad3b9d View commit details
    Browse the repository at this point in the history
  37. test: http2Stream redundant shutdown and single cb

    PR-URL: nodejs#15612
    Refs: nodejs#14985
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    trivikr authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    a5baa25 View commit details
    Browse the repository at this point in the history
  38. url: const-ify APIs, and pass URL by ref

    Fixes warnings by Coverity Scan of inefficiences when passing by value
    instead of passing by const reference.
    
    PR-URL: nodejs#15615
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    sam-github authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e26ed8d View commit details
    Browse the repository at this point in the history
  39. tty: require readline at top of file

    No need to require it on each of those function calls.
    
    PR-URL: nodejs#15647
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    bengl authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    930809d View commit details
    Browse the repository at this point in the history
  40. test: make it easier to run tests for subsystems

    You can now run suites for subsystem using shorthand, e.g., http.
    Switch to black-list of default test folders from white-list.
    Tests run by 'make test', 'make coverage', etc., now configurable.
    Stop running known_issues suite when collecting test coverage.
    
    PR-URL: nodejs#15450
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Benjamin Coe authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f623c63 View commit details
    Browse the repository at this point in the history
  41. deps: V8: cherry-pick 163d360 from upstream

    Original commit message
      [heap] Fix memory leak in the remembered set.
    
      Empty slot set buckets can leak in the following scenarios.
    
      Scenario 1 (large object space):
      1) A large array is allocated in the large object space.
      2) The array is filled with old->new references, which
        allocates new slot set buckets.
      3) The references are overwritten with smis or old space
        pointers, which make the slots set buckets empty.
      4) Garbage collection (scavenge or mark-compact) iterates the
        slots set of the array and pre-frees the empty buckets.
      5) Steps 2-4 repeated many times and leak arbitary many empty buckets.
      The fix to free empty buckets for large object space in mark-compact.
    
      Scenario 2 (no mark-compact):
      1) A small array is allocated in the old space.
      2) The array is filled with old->new references, which allocates new
        slot set buckets.
      3) The references are overwritten with smis or old space pointers,
        which make the slots set buckets empty.
      4) Scavenge iterates the slots set of the array and pre-frees the
        empty buckets.
      5) Steps 2-4 repeated many times and leak arbitary many empty buckets.
      The fix to free empty buckets for swept pages in scavenger.
    
      Bug: v8:6800
      TBR: [email protected]
      Change-Id: I48d94870f5acf4f6208858271886911c895a9126
      Reviewed-on: https://chromium-review.googlesource.com/668442
      Reviewed-by: Ulan Degenbaev <[email protected]>
      Commit-Queue: Ulan Degenbaev <[email protected]>
      Cr-Commit-Position: refs/heads/master@{nodejs#48041}
    
    PR-URL: nodejs#15664
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benedikt Meurer <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ofrobots authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    71b2a5c View commit details
    Browse the repository at this point in the history
  42. stream: fix todo

    With the update to v8 6.1 this todo can now be addressed.
    
    PR-URL: nodejs#15667
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benedikt Meurer <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7ae6132 View commit details
    Browse the repository at this point in the history
  43. doc: edit COLLABORATORS_GUIDE.md for readability

    Changes include:
    
    * add words-as-words italics
    * remove scare quotes and excessive italics-for-emphasis
    * change "is considered to be" and similar to "is"
    * change "is X and not not-X" formulations to just "is X"
    * change "any and all" to "all"
    * remove "sky is blue" paragraph about breaking changes
    * general reduction in wordiness
    
    PR-URL: nodejs#15629
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3612490 View commit details
    Browse the repository at this point in the history
  44. test: Http2Stream destroy server before shutdown

    PR-URL: nodejs#15597
    Refs: nodejs#14985
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    trivikr authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    1359cb9 View commit details
    Browse the repository at this point in the history
  45. stream: fix disparity between buffer and the count

    This changes the disparity of bufferedRequestCount and the actual buffer
    on file _stream_writable.js
    
    PR-URL: nodejs#15661
    Fixes: nodejs#6758
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jlvivero authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b8c9a4c View commit details
    Browse the repository at this point in the history
  46. http2: setting shuttingDown=true after validation

    In shutdown(), shuttingDown was set to true before validating options.
    If invalid options are passed, error was thrown and server remained in
    shuttingDown state. This code change fixes it.
    
    PR-URL: nodejs#15676
    Fixes: nodejs#15666
    Refs: nodejs#14985
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    trivikr authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    2c85d7c View commit details
    Browse the repository at this point in the history
  47. doc: update fs.utimes{,Sync} changelog

    Specify that `NaN`, `Infinity`, and `-Infinity` are no longer valid
    values for the `atime` and `mtime` arguments.
    
    PR-URL: nodejs#15680
    Fixes: nodejs#15453
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    lpinca authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c6b65cc View commit details
    Browse the repository at this point in the history
  48. test: check that this != new.target in addon

    Add two checks that are there for expository reasons as much as they are
    sanity checks.
    
    PR-URL: nodejs#15681
    Refs: nodejs/node-addon-api#142
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    bnoordhuis authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8c7c7ad View commit details
    Browse the repository at this point in the history
  49. doc: add missing TOC entry in CONTRIBUTING.md

    PR-URL: nodejs#15729
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    vsemozhetbyt authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    898d8f9 View commit details
    Browse the repository at this point in the history
  50. src: fix windows-only build breakage

    Commit af6af08 introduced a build error in a Windows-only code path in
    src/node_url.cc.
    
    Fix it by making the code a little nicer in general: const-ify the
    `input` parameter to `ToASCII()` and `ToUnicode()`.
    
    PR-URL: nodejs#15724
    Refs: nodejs#15615
    Refs: nodejs#15723
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    bnoordhuis authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ac43f7b View commit details
    Browse the repository at this point in the history
  51. doc: fix v8.6 changelog entry

    PR-URL: nodejs#15716
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    BridgeAR authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    fc7945d View commit details
    Browse the repository at this point in the history
  52. doc: fix dead link in doc/releases.md

    PR-URL: nodejs#15733
    Fixes: nodejs#15730
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    lpinca authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d9832c8 View commit details
    Browse the repository at this point in the history
  53. doc: change encoding to decoding

    As per the example, `querystring.parse` actually does URL decoding, not
    encoding.
    
    PR-URL: nodejs#15706
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    thefourtheye authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    db1b305 View commit details
    Browse the repository at this point in the history
  54. doc: alphabetize TSC Emeriti in README.md

    Move the one entry that is not in alphabetical order by GitHub username
    in the TSC Emeriti list in README.md.
    
    PR-URL: nodejs#15722
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    30dd6ad View commit details
    Browse the repository at this point in the history
  55. doc: add 'git clean -xfd' to backport guide

    When changing from a recent version, e.g. 8.x to an older branch like 6.x
    test artifacts sometimes hang around and cause failures. Using `git clean`
    will prevent that from happening.
    
    PR-URL: nodejs#15715
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    lance authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e271ccd View commit details
    Browse the repository at this point in the history
  56. doc: fix typo in tls.md

    PR-URL: nodejs#15738
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    koh110 authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    cd32563 View commit details
    Browse the repository at this point in the history
  57. test: increase test coverage for os.js

    PR-URL: nodejs#14098
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    viktor-ku authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3608983 View commit details
    Browse the repository at this point in the history
  58. http2: simplify TypeName

    PR-URL: nodejs#15693
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    jasnell authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f10e2f5 View commit details
    Browse the repository at this point in the history
  59. http2: refactor method arguments to avoid bools

    PR-URL: nodejs#15693
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    jasnell authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    470ef86 View commit details
    Browse the repository at this point in the history
  60. http2: eliminate dead code

    PR-URL: nodejs#15693
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    jasnell authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7611ed5 View commit details
    Browse the repository at this point in the history
  61. http2: making sending to the socket more efficient

    PR-URL: nodejs#15693
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    jasnell authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    93f3d25 View commit details
    Browse the repository at this point in the history
  62. async_hooks: fix reference in code comment

    PR-URL: nodejs#15748
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    mscdex authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ff4d0e2 View commit details
    Browse the repository at this point in the history
  63. util: deprecate obj.inspect for custom inspection

    The existence of `obj.inspect()` for custom inspection can cause people
    to unintentionally break `console.log()` and friends. This is a
    documentation-only deprecation that can hopefully land in 8.x.
    
    PR-URL: nodejs#15631
    Refs: nodejs#15549
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b22014e View commit details
    Browse the repository at this point in the history
  64. fs: add O_DSYNC

    PR-URL: nodejs#15451
    Fixes: nodejs#15425
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Jussi Räsänen authored and tniessen committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8b120fe View commit details
    Browse the repository at this point in the history
  65. doc,test: minor improvements to O_DSYNC

    PR-URL: nodejs#15547
    Refs: nodejs#15451
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    tniessen committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9d97fcc View commit details
    Browse the repository at this point in the history