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.12.0 proposal #21593

Merged
merged 279 commits into from Sep 11, 2018
Merged

v8.12.0 proposal #21593

merged 279 commits into from Sep 11, 2018
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 16, 2018

  1. http2: remove duplicate words in comments

    PR-URL: #17939
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    06329a8 View commit details
    Browse the repository at this point in the history
  2. perf_hooks: fix scheduling regression

    Scheduling a PerformanceGCCallback should not keep the
    loop alive but due to the recent switch to using the
    native SetImmediate method, it does. Go back to using
    uv_async_t and add a regression test.
    
    PR-URL: #18051
    Fixes: #18047
    Refs: #18020
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    apapirovski authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    68d33c6 View commit details
    Browse the repository at this point in the history
  3. src: update make for new code coverage locations

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

    In #17987 which updated
    the location of the code coverage patches I missed a few
    changes needed to properly clean up for code coverage.  Add
    these.
    
    PR-URL: #18081
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    5ea1492 View commit details
    Browse the repository at this point in the history
  5. test: refactor test-repl

    - Switch over to async tracking through promises/async fns
    - Remove an unused temp dir refresh
    - Inline the multiline/npm text prompts into expectations
    - Unify handling prompts/stripping prompts out
    - Make sure no unexpected data is received by requireing
      all *lines* to be matched, rather than chunks received from
      the REPL. This made the test too loose in terms of
      matched lines and too strict in terms of stream chunking
      requirements.
    - Some general cleanup
    
    PR-URL: #17926
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1942440 View commit details
    Browse the repository at this point in the history
  6. benchmark: add JSStreamWrap benchmark

    This is made to mirror the connection-bound net benchmarks.
    
    PR-URL: #17983
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0a3ebb0 View commit details
    Browse the repository at this point in the history
  7. src: harden JSStream callbacks

    Since these are executing JS code, and in particular parts of that
    code may be provided by userland, handle such exceptions in C++.
    
    Refs: #17938 (comment)
    PR-URL: #18028
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    15c4717 View commit details
    Browse the repository at this point in the history
  8. src: rename On* -> Emit* for stream callbacks

    This should make these function calls a lot more intuitive for people
    who are more accustomed to Node’s EventEmitter API.
    
    PR-URL: #17701
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a8d2ab5 View commit details
    Browse the repository at this point in the history
  9. build: make gyp user defined variables lowercase

    I mistakenly introduced user defined variables using uppercase
    characters, reading the gyp documentation they state:
    "Predefined variables. By convention, these are named with
    CAPITAL_LETTERS. Predefined variables are set automatically by GYP"
    and also "By convention, user-defined variables are named with
    lowercase_letters."
    
    This commit renames the user defined variables to lowercase to follow
    the above mentioned convention.
    
    Backport-PR-URL: #20797
    PR-URL: #16238
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    9bd5fc2 View commit details
    Browse the repository at this point in the history
  10. build: add node_lib_target_name to cctest deps

    Currently the cctest target depend on the node_core_target_name
    target. But it is the node_lib_target_name target that compiles the
    sources now which means that if a source file in src is updated the
    cctest executable will not be re-linked against it, but will remain
    unchanged. The code will still be compiled, just not linked which
    means that if you are debugging you'll not see the changes and also a
    warning will be displayed about this issue.
    
    This commit changes the cctest target to depend on node_lib_target_name.
    
    Backport-PR-URL: #20797
    PR-URL: #18576
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    18fd620 View commit details
    Browse the repository at this point in the history
  11. src: refactor callback #defines into C++ templates

    Use template helpers instead of `#define`s to generate
    the raw C callbacks that are passed to the HTTP parser library.
    
    A nice effect of this is that it is more obvious what
    parameters the `Parser` methods take.
    
    PR-URL: #18133
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    59f1330 View commit details
    Browse the repository at this point in the history
  12. http: simplify parser lifetime tracking

    Instead of providing a separate class for keeping the
    parser alive during its own call back, just delay a
    possible `.close()` call until the stack has cleared
    completely.
    
    PR-URL: #18135
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e094275 View commit details
    Browse the repository at this point in the history
  13. deps: cherry-pick dbfe4a49d8 from upstream V8

    Original commit message:
    
        Introduce ScriptOrModule and HostDefinedOptions
    
        This patch introduces a new container type ScriptOrModule which
        provides the name and the host defined options of the script/module.
    
        This patch also introduces a new PrimitivesArray that can hold
        Primitive values, which the embedder can use to store metadata.
    
        The HostDefinedOptions is passed to V8 through the ScriptOrigin, and
        passed back to the embedder through HostImportModuleDynamically for
        module loading.
    
        Bug: v8:5785, v8:6658, v8:6683
        Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
        Change-Id: I56c26fc9a680b273ac0a6691e5ad75f15b8dc80a
        Reviewed-on: https://chromium-review.googlesource.com/622158
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Reviewed-by: Georg Neis <neis@chromium.org>
        Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47724}
    
    Backport-PR-URL: #17823
    PR-URL: #16889
    Refs: v8/v8@dbfe4a4
    Refs: #15713
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Jan Krems authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    656ceea View commit details
    Browse the repository at this point in the history
  14. module: Set dynamic import callback

    This is an initial implementation to support dynamic import in
    both scripts and modules. It's off by default since support for
    dynamic import is still flagged in V8. Without setting the V8 flag,
    this code won't be executed.
    
    This initial version does not support importing into vm contexts.
    
    Backport-PR-URL: #17823
    PR-URL: #15713
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Jan Krems authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d7192c4 View commit details
    Browse the repository at this point in the history
  15. module: enable dynamic import flag for esmodules

    currently if you want to use dynamic import you must use both the
    `--experimental-modules` and the `--harmony-dynamic-imports` flags.
    Chrome is currently shipping dynamic import unflagged, the flag
    only remains in V8 to guard embedders who have not set the appropriate
    callback from throwing an unhandled rejection when the feature is used.
    
    As such it is reasonable to enable the flag by default for
    `--experimental-modules`
    
    Backport-PR-URL: #17823
    PR-URL: #18387
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    MylesBorins authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0f83f25 View commit details
    Browse the repository at this point in the history
  16. doc: Update tools/icu/README.md

    - remove TODOs: the one about defaults has been
    addressed, and the one about testing is a work
    item that doesn't belong in a doc.
    - add some background information
    
    Fixes: #7843
    
    PR-URL: #16939
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    srl295 authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    fceeee6 View commit details
    Browse the repository at this point in the history
  17. tools: fix icu readme lint error

    PR-URL: #18445
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    apapirovski authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ab967b7 View commit details
    Browse the repository at this point in the history
  18. stream: delete redundant code

    In `Writable.prototype.end()`, `state.ending` is true after calling
    `endWritable()` and it doesn't reset to false.
    
    In `Writable.prototype.uncork()`, `state.finished` must be false
    if `state.bufferedRequest` is true.
    
    PR-URL: #18145
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    陈刚 authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    af27768 View commit details
    Browse the repository at this point in the history
  19. stream: delete redundant code

    `state.corkedRequestsFree` of a writable stream is always not null.
    
    PR-URL: #18145
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    陈刚 authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    c92d66a View commit details
    Browse the repository at this point in the history
  20. n-api: take n-api out of experimental

    Take n-api out of experimental as per:
    nodejs/TSC#501
    
    Backport-PR-URL: #21083
    PR-URL: #19262
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    mhdawson authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0b2f527 View commit details
    Browse the repository at this point in the history
  21. src: prepare v8 platform for multi-isolate support

    This splits the task queue used for asynchronous tasks scheduled
    by V8 in per-isolate queues, so that multiple threads can be supported.
    
    Backport-PR-URL: #20901
    Original-PR-URL: ayojs/ayo#89
    Original-Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    PR-URL: #16700
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bf8068e View commit details
    Browse the repository at this point in the history
  22. src: cancel pending delayed platform tasks on exit

    Worker threads need an event loop without active libuv handles in
    order to shut down. One source of handles that was previously
    not accounted for were delayed V8 tasks; these create timers
    that would be standing in the way of clearing the event loop.
    
    To solve this, keep track of the scheduled tasks in a list
    and close their timer handles before the corresponding isolate/loop
    is removed from the platform.
    
    It is not clear from the V8 documentation what the expectation is
    with respect to pending background tasks at the end of the
    isolate lifetime; however, an alternative approach of executing
    these scheduled tasks when flushing them led to an infinite loop
    of tasks scheduling each other; so it seems safe to assume that
    the behaviour implemented in this patch is at least acceptable.
    
    Backport-PR-URL: #20901
    Original-PR-URL: ayojs/ayo#120
    Original-Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    PR-URL: #16700
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e932754 View commit details
    Browse the repository at this point in the history
  23. src: use unique_ptr in platform implementation

    Replace raw pointers in task queues with std::unique_ptr. This
    makes ownership obvious.
    
    Backport-PR-URL: #20901
    PR-URL: #16970
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    fhinkel authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2148b19 View commit details
    Browse the repository at this point in the history
  24. src: use unique_ptr for scheduled delayed tasks

    Use std::unique_ptr for delayed tasks in the scheduled
    delayed tasks vector. This makes it clear that the vector
    has ownership of the delayed tasks and is responsible for
    deleting them.
    
    Use a custom deleter for the pointers because libuv
    needs to close the handle and then delete the data. Provide
    the handle when creating the pointer instead of invoking the
    special delete action everytime an element is removed from the vector.
    
    Backport-PR-URL: #20901
    PR-URL: #17083
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    fhinkel authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2cf2635 View commit details
    Browse the repository at this point in the history
  25. crypto: use non-deprecated v8::Object::Set

    This commit updates node_crypto to use the non-deprecated Set functions
    that return a v8::Maybe<bool>.
    
    Backport-PR-URL: #20931
    PR-URL: #17482
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4f3bf04 View commit details
    Browse the repository at this point in the history
  26. build: make lint-ci work properly on Linux make

    PR-URL: #19746
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    020057a View commit details
    Browse the repository at this point in the history
  27. deps: V8: cherry-pick 502c6ae6 from 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@{#45671}
    
    PR-URL: #21269
    Fixes: #21021
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d868eb7 View commit details
    Browse the repository at this point in the history
  28. deps: V8: cherry-pick 5ebd6fcd from 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@{#45726}
    
    PR-URL: #21269
    Fixes: #21021
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e6cd7e5 View commit details
    Browse the repository at this point in the history
  29. deps: upgrade npm to 6.1.0

    Backport-PR-URL: #21302
    PR-URL: #20190
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    iarna authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    6772364 View commit details
    Browse the repository at this point in the history
  30. tools: fix test-npm-package

    Migrate the script to the new common tmpDir API.
    
    Backport-PR-URL: #21302
    PR-URL: #19293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    targos authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    5362e2f View commit details
    Browse the repository at this point in the history
  31. tools,gyp: fix regex for version matching

    Tool versions can be 10 and higher. Float patch from node-gyp to
    accommodate this fact of life.
    
    PR-URL: #21216
    Refs: nodejs/node-gyp@293092c
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7a35e18 View commit details
    Browse the repository at this point in the history
  32. build: fix configure script for double-digits

    Compare versions using tuples instead of strings so that it is
    future-proofed against versions that contain a number that is more than
    one digit.
    
    PR-URL: #21183
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    mistydemeo authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2ec7dd4 View commit details
    Browse the repository at this point in the history
  33. tools: update tooling to work with new macOS CLI …

    Using High Sierra and `xcode-select --install` without installing full
    Xcode, our build tooling breaks due to faulty regular expressions.
    
    Update the `configure` script in our project root directory to handle
    multi-digit version numbers.
    
    `tools/gyp` and `deps/npm/node_modules/node-gyp` still need to be
    updated for a complete fix.
    
    PR-URL: #21173
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    c5eb1f8 View commit details
    Browse the repository at this point in the history
  34. test: properly tag anonymous namespaces

    For tests that use anonymous namespaces, some tagged the close
    of the namespace with 'namespace' while others used
    'anonymous namespace'. It was suggested I should use
    'anonymous namespace' in a recent PR review so make all of the
    tests consistent with this.
    
    PR-URL: #18583
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ad862a0 View commit details
    Browse the repository at this point in the history
  35. src: add "icu::" prefix before ICU symbols

    In ICU 61.x, icu4c will no longer put its declarations in the global namespace.
    Everything will be in the "icu::" namespace (or icu_60:: in the linker).
    Prepare for this.
    https://ssl.icu-project.org/trac/ticket/13460
    srl295 authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    6718291 View commit details
    Browse the repository at this point in the history
  36. tools: ensure doc-only doesn't update package-lock

    Currently `make doc-only` is updating the package-lock.json
    which is breaking our release build.
    
    This adds the flags `--no-package-lock` when
    running `npm install` to ensure the package-lock.json is not
    changed unintentionally by running make
    
    PR-URL: #21015
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MylesBorins authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    79919a3 View commit details
    Browse the repository at this point in the history
  37. deps: float fix on node-gyp in npm tree

    This is a fix for filenames that have spaces which currently breaks
    node-gyp. npm has not yet updated the dependency to the latest version
    in the mean time we should land this as a patch
    
    PR-URL: #21448
    Refs: nodejs/node-gyp#1436
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    MylesBorins authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    185aca0 View commit details
    Browse the repository at this point in the history
  38. deps: V8: backport b49206d from upstream

    This is the v8.x backport of #20727.
    
    Original commit message:
      ThreadDataTable: Change global linked list to per-Isolate hash map.
    
      For use cases with a large number of threads or a large number of
      isolates (or both), ThreadDataTable can be a major performance
      bottleneck due to O(n) lookup time of the linked list. Switching to a
      hash map reduces this to O(1).
    
      Example 1: Sandstorm.io, a Node.js app that utilizes "fibers", was
      observed spending the majority of CPU time iterating over the
      ThreadDataTable.
      See: https://sandstorm.io/news/2016-09-30-fiber-bomb-debugging-story
    
      Example 2: Cloudflare's Workers engine, a high-multi-tenancy web
      server framework built on V8 (but not Node), creates large numbers of
      threads and isolates per-process. It saw a 34x improvement in
      throughput when we applied this patch.
    
      Cloudflare has been using a patch in production since the Worker
      launch which replaces the linked list with a hash map -- but still
      global.
    
      This commit builds on that but goes further and creates a separate
      hash map and mutex for each isolate, with the table being a member of
      the Isolate class. This avoids any globals and should reduce lock
      contention.
    
      Bug: v8:5338
      Change-Id: If0d11509afb2e043b888c376e36d3463db931b47
      Reviewed-on: https://chromium-review.googlesource.com/1014407
      Reviewed-by: Yang Guo <yangguo@chromium.org>
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52753}
    
    Backport-PR-URL: #21529
    PR-URL: #20727
    Refs: #20083
    Refs: #20083
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f987a51 View commit details
    Browse the repository at this point in the history
  39. async_hooks: deprecate unsafe emit{Before,After}

    The emit{Before,After} APIs in AsyncResource are problematic.
    
    * emit{Before,After} are named to suggest that the only thing they do
      is emit the before and after hooks. However, they in fact, mutate
      the current execution context.
    * They must be properly nested. Failure to do so by user code leads
      to catastrophic (unrecoverable) exceptions. It is very easy for the
      users to forget that they must be using a try/finally block around
      the code that must be surrounded by these operations. Even the
      example provided in the official docs makes this mistake. Failing
      to use a finally can lead to a catastrophic crash if the callback
      ends up throwing.
    
    This change provides a safer `runInAsyncScope` API as an alternative
    and deprecates emit{Before,After}.
    
    Backport-PR-URL: #19517
    PR-URL: #18513
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    daacff8 View commit details
    Browse the repository at this point in the history
  40. lib: provide proper deprecation code

    Refs: #18513
    
    Backport-PR-URL: #19517
    PR-URL: #18694
    Refs: #18513
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7e23946 View commit details
    Browse the repository at this point in the history
  41. async_hooks: remove runtime deprecation

    As part of the backport to 8.x, this change removes the runtime
    deprecation making this a docs-only deprecation for 8.x.
    
    PR-URL: #19517
    Reviewed-By: mcollina - Matteo Collina <matteo.collina@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    373f4d6 View commit details
    Browse the repository at this point in the history
  42. doc: remove ES6/ECMAScript 2015 from buffer.md

    As the introduction of ES6 features recedes further into the past, it
    is less and less relevant (and more and more distracting) to cite it in
    documentation text. Remove mention in buffer.md.
    
    Backport-PR-URL: #21590
    PR-URL: #19685
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    cf0577e View commit details
    Browse the repository at this point in the history
  43. doc: Uint8Array support in Buffer functions

    Buffer.from / new Buffer accept Uint8Array
    
    Fixes: #14118
    
    Backport-PR-URL: #21590
    PR-URL: #19949
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    SheetJSDev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    41bb110 View commit details
    Browse the repository at this point in the history
  44. build: include the libuv and zlib into node

    Add libuv and zlib into node executable and shared lib. Also fix an
    issue that openssl is not fully included in node executable for macOS.
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    Fixes: #17444
    PR-URL: #18383
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yhwang authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0bef960 View commit details
    Browse the repository at this point in the history
  45. net: use _final instead of on('finish')

    Shutting down the connection is what `_final` is there for.
    
    PR-URL: #18608
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    3d38bab View commit details
    Browse the repository at this point in the history
  46. test: allow running with NODE_PENDING_DEPRECATION

    Make the test for pending deprecations work when the env var
    is set during the whole test suite run.
    
    PR-URL: #18991
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    21cdb73 View commit details
    Browse the repository at this point in the history
  47. http2: refer to stream errors by name

    Display the constant name instead of a stream error code
    in the error message, because the numerical codes give absolutely
    no clue about what happened when an error is emitted.
    
    PR-URL: #18966
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a29cd25 View commit details
    Browse the repository at this point in the history
  48. src: simplify http2 perf tracking code

    Use `unique_ptr`s and use the resulting simplification to
    reduce indentation in these functions.
    
    PR-URL: #19470
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    553e34e View commit details
    Browse the repository at this point in the history
  49. src: use unordered_map for perf marks

    PR-URL: #19558
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d38ccbb View commit details
    Browse the repository at this point in the history
  50. test: add regression test for large write

    Fixes: #19562
    
    PR-URL: #19551
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    3c6464a View commit details
    Browse the repository at this point in the history
  51. tools: treat SIGABRT as crash

    Otherwise, potentially no output is shown for aborts.
    
    PR-URL: #19990
    Refs: #19903
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bf09b7a View commit details
    Browse the repository at this point in the history
  52. src: create per-isolate strings after platform setup

    Allocation of strings may cause a garbage collection that uses
    the platform to post tasks.
    
    PR-URL: #20175
    Fixes: #20171
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    ulan authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e17f05a View commit details
    Browse the repository at this point in the history
  53. http2: remove unused using declarations node_http2

    PR-URL: #20420
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    de51a83 View commit details
    Browse the repository at this point in the history
  54. src: remove unused freelist.h header

    Always easy enough to re-introduce if we do need it.
    
    PR-URL: #20544
    Reviewed-By: Colin Ihrig <cjihrig@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: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1cb9772 View commit details
    Browse the repository at this point in the history
  55. src: fix nullptr dereference for signal during startup

    This fixes a test failure when running
    `test/parallel/test-child-process-spawnsync-kill-signal.js`
    under load. What would happen is that `SignalExit()` tries
    to shutdown the tracing agent, which might not have been set
    up by the point that Node.js receives the signal.
    
    PR-URL: #20637
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8076a79 View commit details
    Browse the repository at this point in the history
  56. src: fix typo in util.h comment

    PR-URL: #20656
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    b916620 View commit details
    Browse the repository at this point in the history
  57. test: plug AliasedBuffer cctest memory leak

    No need to heap-allocate values here.
    
    PR-URL: #20665
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    71ee19e View commit details
    Browse the repository at this point in the history
  58. http2: destroy the socket properly and add tests

    Fix a bug where the socket wasn't being correctly destroyed and
    adjust existing tests, as well as add additional tests.
    
    PR-URL: #19852
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    
    Co-authored-by: Matteo Collina <matteo.collina@gmail.com>
    2 people authored and rvagg committed Aug 16, 2018
    1 Configuration menu
    Copy the full SHA
    87818dc View commit details
    Browse the repository at this point in the history
  59. src: make AsyncResource destructor virtual

    `AsyncResource` is intended to be a base class, and since we don’t
    know what API consumers will do with it in their own code,
    it’s good practice to make its destructor virtual.
    
    This should not be ABI-breaking since all class methods are inline.
    
    PR-URL: #20633
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    342dbff View commit details
    Browse the repository at this point in the history
  60. test: check TTY mode reset on exit

    Before PR 20592, closing all handles associated with the main
    event loop would also mean that `uv_tty_reset_mode()`
    can’t function properly because the corresponding FDs have
    already been closed.
    
    Add regression tests for this condition.
    
    Refs: #21020
    Refs: #20592
    
    PR-URL: #21027
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f0f44f6 View commit details
    Browse the repository at this point in the history
  61. lib: replace eval with vm.runInThisContext

    PR-URL: #18623
    Refs: #18212 (review)
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2702fd7 View commit details
    Browse the repository at this point in the history
  62. lib: re-fix v8_prof_processor

    Make the script not error out immediately because of a missing
    pseudo-global.
    (Note that it seems like tests are still broken on `master`.)
    
    PR-URL: #19059
    Fixes: #19044
    Refs: #18623
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    29b5d39 View commit details
    Browse the repository at this point in the history
  63. test: fix test when NODE_OPTIONS env var is set to --trace-warnings

    PR-URL: #20027
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aks- authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    b1110b2 View commit details
    Browse the repository at this point in the history
  64. deps: V8: cherry-pick 8361fa58 from upstream

    Original commit message:
      [runtime] Fix derived class instantiation
    
      Bug: chromium:806388
      Change-Id: Ieb343f0d532c16b6102e85222b77713f23bacf8c
      Reviewed-on: https://chromium-review.googlesource.com/894942
      Reviewed-by: Igor Sheludko <ishell@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50990}
    
    PR-URL: #21294
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    9aeffab View commit details
    Browse the repository at this point in the history
  65. deps: V8: fix bug in InternalPerformPromiseThen

    This fix never landed upstream as it was not longer relevant to active
    V8 branches for Chromium.
    
    Original commit message:
      [turbofan] Fix bug in InternalPerformPromiseThen
    
      Bug: chromium:831170
      Change-Id: I1022fc360aafdfd392d6781eb50afc87a18096fd
    
    PR-URL: #21426
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    efe28b8 View commit details
    Browse the repository at this point in the history
  66. doc: remove ES6/ECMAScript 2015 from buffer.md

    As the introduction of ES6 features recedes further into the past, it
    is less and less relevant (and more and more distracting) to cite it in
    documentation text. Remove mention in buffer.md.
    
    Backport-PR-URL: #21590
    PR-URL: #19685
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    3ad5e30 View commit details
    Browse the repository at this point in the history
  67. doc: Uint8Array support in Buffer functions

    Buffer.from / new Buffer accept Uint8Array
    
    Fixes: #14118
    
    Backport-PR-URL: #21590
    PR-URL: #19949
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    SheetJSDev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e1a7244 View commit details
    Browse the repository at this point in the history
  68. test: make test-error-reporting engine agnostic

    Remove or modify checks in test-error-reporting that only apply to V8
    and not to ChakraCore.
    
    PR-URL: #16272
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    6d3cbcb View commit details
    Browse the repository at this point in the history
  69. doc: cleanup n-api.md doc

    Partial doc cleanup as per
    #20421
    
    PR-URL: #20430
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4709734 View commit details
    Browse the repository at this point in the history
  70. async_wrap: fix memory leak in AsyncResource

    Reset the persistent that keeps the resource
    Object alive when the AsyncResource is being
    destroyed.
    
    Fixes: nodejs/node-addon-api#237
    
    PR-URL: #20668
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8f5e991 View commit details
    Browse the repository at this point in the history
  71. test: add http _dump regression test

    Test part of 299da1f, specifically for v8.x.
    
    PR-URL: #21595
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0f45ecb View commit details
    Browse the repository at this point in the history
  72. test: remove --harmony-sharedarraybuffer usage

    This flag has been enabled by default since v8
    7662e0634c3a057fa5d746912ee5af76e285c274.
    
    Backport-PR-URL: #21717
    PR-URL: #16343
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    binji authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ed0d939 View commit details
    Browse the repository at this point in the history
  73. deps: V8: backport 49712d8a from upstream

    Original commit message:
      [wasm] Call AsyncInstantiate directly when instantiating a module object
    
      WebAssembly.instantiate is polymorphic, it can either take a module
      object as parameter, or a buffer source which should be compiled first.
      To share code between the two implementations, the module object was
      first passed to a promise (i.e. which is the result of compilation).
      However, passing the module object to a promise has a side effect if
      the module object has a then function. To avoid this side effect I
      remove this code sharing and call AsyncInstantiate directly in case
      the parameter is a module object.
    
      R=mstarzinger@chromium.org
    
      Bug: chromium:836141
      Change-Id: I67b76d0d7761c5aeb2cf1deda45b6842e494eed4
      Reviewed-on: https://chromium-review.googlesource.com/1025774
      Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52755}
    
    PR-URL: #21334
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    ofrobots authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8e0f28b View commit details
    Browse the repository at this point in the history
  74. test: add http2/tls destroy regression test

    Test part of 0c25cdf,
    specifically for v8.x.
    
    PR-URL: #21598
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8053474 View commit details
    Browse the repository at this point in the history
  75. src: move Environment ctor/dtor into env.cc

    This makes it easier to use methods from other headers
    in the constructor and destructor.
    
    Backport-PR-URL: #21599
    PR-URL: #19202
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2ee4bb7 View commit details
    Browse the repository at this point in the history
  76. src: add convenience ctor for async trigger id scope

    This backport differs from the original only in the
    omission of a change to `stream_base-inl.h` which
    would have generated conflicts.
    
    Backport-PR-URL: #21600
    PR-URL: #19204
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    9125e2b View commit details
    Browse the repository at this point in the history
  77. build: fix rm commands in tarball rule

    The `$(RM) {foo,bar,baz}` rules don't seem to work with GNU make 4.1.
    Write them out in full and get rid of a few overlong lines in the
    process.
    
    Backport-PR-URL: #21738
    PR-URL: #18332
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    bnoordhuis authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    abcc911 View commit details
    Browse the repository at this point in the history
  78. src: fix compiler warning in process.ppid

    This commit fixes a compiler warning with SetAccessor() by
    passing in the context.
    
    Backport-PR-URL: #21760
    PR-URL: #16958
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    cjihrig authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    6f545d1 View commit details
    Browse the repository at this point in the history
  79. deps: cherry-pick 09b53ee from upstream V8

    Original commit message:
    
        [api] Make running scripts in AddMessageListener callback work in debug mode
    
        The existance of an `AllowJavascriptExecutionDebugOnly` scope in
        `Isolate::ReportPendingMessages()` indicates that the API supports
        running arbitrary JS code in a `AddMessageListener` callback.
    
        Currently, this can fail in debug mode: The
        `!isolate->external_caught_exception()` condition is checked when
        entering API methods inside such a handler. However, if there is
        a verbose `TryCatch` active when the exception occurs, this
        check fails, and when calling `ToString()` on the exception object
        leaves a pending exception itself, the flag is re-set to `true`.
    
        Fix this problem by clearing the flag and the pending exception if
        there was one during `ToString()`. This matches the code a few lines
        up in `messages.cc`, so the exception state is now consistent
        during the callback.
    
        This currently makes a Node.js test fail in debug mode
        (`parallel/test-error-reporting`).
    
        Bug: node:7144
        Bug: node:17016
        Change-Id: I060d00fea3e9a497f4df34c6ff8d6e29ebe96321
        Reviewed-on: https://chromium-review.googlesource.com/718096
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#49466}
    
    Refs: v8/v8@09b53ee
    
    PR-URL: #21767
    Refs: v8/v8@09b53ee
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    addaleax authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ffb72f8 View commit details
    Browse the repository at this point in the history
  80. http: do not rely on the 'agentRemove' event

    Do not use the `'agentRemove'` event to null `socket._httpMessage` as
    that event is public and can be used to not keep a request in the agent.
    
    Backport-PR-URL: #20786
    PR-URL: #20786
    Fixes: #20690
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    lpinca authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1fc00f0 View commit details
    Browse the repository at this point in the history
  81. test: fix test-cluster-send-handle-large-payload

    test-cluster-send-handle-large-payload is susceptible to failure if it
    is competing for resources. Move to `sequential` directory so it is not
    competing with other tests.
    
    Fixes: #14844
    
    PR-URL: #19311
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0517cd8 View commit details
    Browse the repository at this point in the history
  82. n-api: improve runtime perf of n-api func call

    Added a new struct CallbackBundle to eliminate all
    GetInternalField() calls.
    
    The principle is to store all required data inside a C++ struct,
    and then store the pointer in the JavaScript object. Before this
    change, the required data are stored in the JavaScript object in
    3 or 4 seperate pointers. For every napi fun call, 3 of them
    have to be fetched out, which are 3 GetInternalField() calls;
    after this change, the C++ struct will be directly fetched out
    by using v8::External::Value(), which is faster.
    
    Profiling data show that GetInternalField() is slow.
    On an i7-4770K (3.50GHz) box, a C++ V8-binding fun call is 8 ns,
    before this change, napi fun call is 36 ns; after this change,
    napi fun call is 20 ns.
    
    The above data are measured using a modified benchmark in
    'benchmark/misc/function_call'. The modification adds an indicator
    of the average time of a "chatty" napi fun call (max 50M runs).
    This change will speed up chatty case 1.8x (overall), and will cut
    down the delay of napi mechanism to approx. 0.5x.
    
    Background: a simple C++ binding function (e.g. receiving little
    from JS, doing little and returning little to JS) is called
    'chatty' case for JS<-->C++ fun call routine.
    
    This improvement also applies to getter/setter fun calls.
    
    Backport-PR-URL: #21733
    PR-URL: #21072
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    kenny-y authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4911c4e View commit details
    Browse the repository at this point in the history
  83. src: refactor bootstrap to use bootstrap object

    Backport-PR-URL: #21798
    PR-URL: #20917
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    jasnell authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    54ea1cc View commit details
    Browse the repository at this point in the history
  84. src: add node_process.cc

    Begin moving `process` object function definitions out of
    `node.cc` ... continuing the process of making `node.cc`
    smaller and easier to maintain.
    
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Backport-PR-URL: #21798
    PR-URL: #21105
    jasnell authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0321afe View commit details
    Browse the repository at this point in the history
  85. src: add node_encoding.cc

    Continue moving bits of code out of node.cc ... add node_encoding.cc
    as a home for `ParseEncoding` and related functions.
    
    Backport-PR-URL: #21798
    PR-URL: #21112
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    eaf99d9 View commit details
    Browse the repository at this point in the history
  86. test: move http-client-timeout-agent to sequential

    Move resource-sensitive test from parallel to sequential.
    
    Fixes: #19804
    
    PR-URL: #19809
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1e25f00 View commit details
    Browse the repository at this point in the history
  87. test: fix flaky http-client-timeout-agent

    Close the connection immediately after receiving the `end` event to
    avoid that the `timeout` event is fired before the connection closes
    gracefully.
    Move the test back to parallel.
    
    PR-URL: #19856
    Fixes: #19804
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    santigimeno authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d0588f1 View commit details
    Browse the repository at this point in the history
  88. tls: accept array of protocols in TLSSocket

    Brings the ALPNProtocols & NPNProtocols options of TLSSocket in line
    with the documentation. i.e. an array of strings for protocols may be
    used, not only a buffer.
    
    Backport-PR-URL: #21721
    PR-URL: #16655
    Fixes: https://github.com/node/issues/16643
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    qubyte authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1cf17df View commit details
    Browse the repository at this point in the history
  89. n-api: throw when entry point is null

    Backport-PR-URL: #21732
    PR-URL: #20779
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Gabriel Schulhof authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7033bba View commit details
    Browse the repository at this point in the history
  90. test: bypass dns for IPv6 net tests

    Backport-PR-URL: #21736
    PR-URL: #16976
    Refs: #16248
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    refack authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    9a9ea0d View commit details
    Browse the repository at this point in the history
  91. http, http2: add 103 Early Hints status code

    PR-URL: #16644
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    yosuke-furukawa authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7c43099 View commit details
    Browse the repository at this point in the history
  92. cluster: support windowsHide option for workers

    Fixes: #17370
    
    PR-URL: #17412
    Fixes: #17370
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    toddwong authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    76805f0 View commit details
    Browse the repository at this point in the history
  93. cluster: add cwd to cluster.settings

    This commit allows cluster workers to be created with
    configurable working directories.
    
    Fixes: #16388
    PR-URL: #18399
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    dc000a5 View commit details
    Browse the repository at this point in the history
  94. doc: add missing metadata for cluster.settings.cwd

    PR-URL: #19569
    Refs: #18399
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bb85fd6 View commit details
    Browse the repository at this point in the history
  95. doc: add missing metadata for settings.windowsHide

    PR-URL: #19578
    Refs: #17412
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    tniessen authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    531cb62 View commit details
    Browse the repository at this point in the history
  96. perf_hooks: add warning when too many entries in the timeline

    PR-URL: #18087
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    b4192b0 View commit details
    Browse the repository at this point in the history
  97. deps: upgrade npm to 6.2.0

    PR-URL: #21592
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    zkat authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    74ca456 View commit details
    Browse the repository at this point in the history
  98. deps: cherry-pick 0c35b72 from upstream V8

    Original commit message:
    
        [api,modules] Allow GetModuleNamespace on unevaluated modules.
    
        Bug: v8:7217
        Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
        Change-Id: I97b067254355eb91e12b92eba92631cbc3ce8000
        Reviewed-on: https://chromium-review.googlesource.com/839280
        Commit-Queue: Georg Neis <neis@chromium.org>
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#50395}
    
    PR-URL: #18038
    Refs: v8/v8@0c35b72
    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>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    devsnek authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    3188336 View commit details
    Browse the repository at this point in the history
  99. test: replace assert.equal with assert.strictEqual

    PR-URL: #18119
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Sho Miyamoto authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e98efcf View commit details
    Browse the repository at this point in the history
  100. test: introduce SetUpTestCase/TearDownTestCase

    This commit add SetUpTestCase and TearDownTestCase functions that will
    be called once per test case. Currently we only have SetUp/TearDown
    which are called for each test.
    
    This commit moves the initialization and configuration of Node and V8 to
    be done on a per test case basis, but gives each test a new Isolate.
    
    PR-URL: #18558
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    25ce5c3 View commit details
    Browse the repository at this point in the history
  101. test: remove NodeTestFixture from Env constructor

    PR-URL: #18558
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    3cdae15 View commit details
    Browse the repository at this point in the history
  102. test: fix flaky repl-timeout-throw

    Don't disconnect the child until all exceptions are thrown.
    
    Fixes: #18659
    
    PR-URL: #18692
    Fixes: #18659
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4eca50a View commit details
    Browse the repository at this point in the history
  103. tools: fix eslint isRequired

    Currently the call can lead to a TypeError with the message:
    `Cannot read property 'value' of undefined`.
    
    This fixes it by first checking that the first argument is truthy.
    
    PR-URL: #18729
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    7f1a942 View commit details
    Browse the repository at this point in the history
  104. test: fix and improve error message

    Add unexpected value to dgram socket type assertion and fix the size
    entry.
    
    PR-URL: #18449
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kcaulfield94 authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bbc7443 View commit details
    Browse the repository at this point in the history
  105. test: fix missing param in benchmark-timers

    PR-URL: #18734
    Fixes: #18730
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    apapirovski authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1654b12 View commit details
    Browse the repository at this point in the history
  106. child_process: fix stdio sockets creation

    `readable` and `writable` properties can be passed directly to the
    `net.Socket` constructor. This change also avoids an unnecessary call
    to `read(0)` on the `stdin` socket. This behavior was disclosed when
    trying to merge `libuv@1.19.0` and specifically this commit:
    libuv/libuv@fd04939.
    
    PR-URL: #18701
    Refs: libuv/libuv#1655
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1d90700 View commit details
    Browse the repository at this point in the history
  107. tools, test: fix prof polyfill readline

    `node --prof foo.js` may not print the full profile log file, leaving
    the last line broken (for example `tick,`. When that happens, `readline`
    will be stuck in an infinite loop. This patch fixes it.
    
    Also introduced `common.isCPPSymbolsNotMapped` to avoid duplicated code
    on tick-processor tests.
    
    Backport-PR-URL: #18901
    PR-URL: #18641
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    killagu authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    c4716dc View commit details
    Browse the repository at this point in the history
  108. tools: auto fix custom crypto-check eslint rule

    1. Fixer for crypto-check.js
    2. Extends tests
    
    PR-URL: #16647
    Refs: #16636
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    shobhitchittora authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    c32b087 View commit details
    Browse the repository at this point in the history
  109. tools: custom eslint autofix for inspector-check.js

    1. Adds fixer method
    2. Extends test
    
    PR-URL: #16646
    Refs: #16636
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shobhitchittora authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    817f436 View commit details
    Browse the repository at this point in the history
  110. deps: upgrade libuv to 1.19.2

    PR-URL: #18918
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    cjihrig authored and rvagg committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    60733a7 View commit details
    Browse the repository at this point in the history
  111. tools: ignore VS compiler output in deps/v8

    PR-URL: #18952
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ce62e14 View commit details
    Browse the repository at this point in the history
  112. deps: fix typo in openssl upgrading doc

    PR-URL: #19789
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    danbev authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    812b97c View commit details
    Browse the repository at this point in the history
  113. deps: cherry-pick b767cde1e7 from upstream V8

    Original commit message:
    
        [intl] unbreak build with ICU 57
    
        Remove a call to `icu::toUCharPtr()` that wasn't present in other
        similar looking call sites either, just reinterpret_cast directly.
    
        Fixes #19656.
    
        Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
        Change-Id: If281ce0a39356aa8bd20efb24c3e4b52b06841a3
        Reviewed-on: https://chromium-review.googlesource.com/987953
        Reviewed-by: Daniel Ehrenberg <littledan@chromium.org>
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Cr-Commit-Position: refs/heads/master@{#52311}
    
    PR-URL: #19710
    Fixes: #19656
    Refs: v8/v8@b767cde
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d9ab189 View commit details
    Browse the repository at this point in the history
  114. deps: Upgrade node-inspect to 1.11.5

    Removes the prompt to report a bug when trying to launch the
    debugger using a port that is already in use.
    
    Changeset generated via:
    
    ```
    rm -rf deps/node-inspect node-inspect-* && \
      curl -sSL "https://github.com/nodejs/node-inspect/archive/v1.11.5.tar.gz" | \
      tar -xzvf - && mv node-inspect-* deps/node-inspect
    ```
    
    PR-URL: #21055
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Jan Krems authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    bf2daab View commit details
    Browse the repository at this point in the history
  115. doc: add error check to fs example

    Previously, the err passed to the callback of fs.open() was not checked.
    
    PR-URL: #18681
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.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: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    evanlucas authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a26454e View commit details
    Browse the repository at this point in the history
  116. test: add useful info to error msg and refactor

    Add useful info about process.domain to error meesages in the
    uncaughtException event listener and the beforeExit event listener.
    
    Refactor code such as using template literals, and also make sure
    uncaughtException listner is detached after firing once to avoid
    endless loop in case of exception throw in the beforeExit event
    listner.
    
    PR-URL: #18541
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    chinhuang007 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    6bc307f View commit details
    Browse the repository at this point in the history
  117. test: add crypto check to test-benchmark-tls

    Currently when building --without-ssl a 'ERR_NO_CRYPTO' error is
    reported.
    
    This is not currently being picked up by the crypto-check lint rule as
    it does not actually require any crypto modules directly, but instead
    this is done by common/benchmark.
    
    PR-URL: #18724
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0b6ab53 View commit details
    Browse the repository at this point in the history
  118. test: add multiline repl input regression test

    This commit adds a regression test for
    de848ac, which broke
    multiline input in the REPL.
    
    PR-URL: #18718
    Refs: #17828
    Refs: #18715
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1169590 View commit details
    Browse the repository at this point in the history
  119. doc: update crypo Certficate class.

    Update the dead link to <keygen> documentation.
    Add a link to mozilla developper documentation because
    W3C deleted the reference to this element.
    
    Add a note to inform <keygen> element is deprecated since HTML 5.2.
    
    PR-URL: #18721
    Fixes: #18662
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    antoine-amara authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    9c52231 View commit details
    Browse the repository at this point in the history
  120. test: add lib path env when node_shared=true

    When building the node with `--shared` option, the major output is the
    shared library. However, we still build a node executable which links
    to the shared lib. It's for testing purpose. When testing with the
    executable, some test cases move/copy the executable, change the
    relative path to the shared library and fail. Using lib path env would
    solve the issue. However, in macOS, need to change the install name for
    the shared library and use rpath in the executable. In AIX, `-brtl`
    linker option rebinds the symbols in the executable and addon modules
    could use them.
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    PR-URL: #18626
    Refs: #18535
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    yhwang authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    0977f04 View commit details
    Browse the repository at this point in the history
  121. test: wrap countdown callback in common.mustCall

    This adds a implicit common.mustCall to the callback provided to
    the countdown.
    
    PR-URL: #18506
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Bamieh authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d0083cb View commit details
    Browse the repository at this point in the history
  122. doc: remove extra space in README.md

    PR-URL: #18822
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Matheus Marchini authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a5ee6ee View commit details
    Browse the repository at this point in the history
  123. test: try to connect after server was closed

    PR-URL: #18257
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Leko authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    29009ae View commit details
    Browse the repository at this point in the history
  124. test: reduce benchmark test run time

    The `millions` argument was missing.
    
    PR-URL: #18787
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    juggernaut451 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ecf3616 View commit details
    Browse the repository at this point in the history
  125. test: make tls test more rigorous

    * exit naturally, don't use process.exit()
    * ensure callbacks are actually called
    
    PR-URL: #18792
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f534bd8 View commit details
    Browse the repository at this point in the history
  126. test: refactor parallel/test-tls-addca

    PR-URL: #18798
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    juggernaut451 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    35e691c View commit details
    Browse the repository at this point in the history
  127. test,benchmark,doc: enable dot-notation rule

    This enables the eslint dot-notation rule for all code instead of
    only in /lib.
    
    PR-URL: #18749
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    BridgeAR authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    d55e4ad View commit details
    Browse the repository at this point in the history
  128. doc: note that linting is required in releases.md

    Refs: #18769
    
    PR-URL: #18776
    Refs: #18769
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gibfahn authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    adca631 View commit details
    Browse the repository at this point in the history
  129. doc: activate no-multiple-empty-lines rule

    This enables the `no-multiple-empty-lines` eslint rule for the docs.
    
    PR-URL: #18747
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    BridgeAR authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ebd73ad View commit details
    Browse the repository at this point in the history
  130. src: allow --perf-(basic-)?prof in NODE_OPTIONS

    PR-URL: #17600
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Leko authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    161869e View commit details
    Browse the repository at this point in the history
  131. crypto: allow passing null as IV unless required

    Backport-PR-URL: #19347
    PR-URL: #18644
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    fc34f5c View commit details
    Browse the repository at this point in the history
  132. async_hooks: rename PromiseWrap.parentId

    Rename the `parentId` property on the PromiseWrap object to a
    `isChainedPromise` property. The former wasn't quite useful as it was
    always defined to be the same value as the trigger id available in the
    init hook. Instead rename the property to be closer to the information
    it communicates: whether the promise is a chained promise or not.
    
    PR-URL: #18633
    Fixes: #18470
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    ofrobots authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    b7f9334 View commit details
    Browse the repository at this point in the history
  133. fs: support as and as+ flags in stringToFlags()

    PR-URL: #18801
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    SirR4T authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e25d5d0 View commit details
    Browse the repository at this point in the history
  134. doc: add missing metadata for fs.open

    PR-URL: #19585
    Refs: #18801
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    tniessen authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f57c53c View commit details
    Browse the repository at this point in the history
  135. tls: expose Finished messages in TLSSocket

    Exposes SSL_get_finished and SSL_get_peer_finished routines in OpenSSL
    as tlsSocket.getFinished and tlsSocket.getPeerFinished, respectively.
    
    PR-URL: #19102
    Fixes: #19055
    Refs: XRPLF/rippled#2413
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    codedot authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    1f49de4 View commit details
    Browse the repository at this point in the history
  136. fs,net: emit 'ready' for fs streams and sockets

    ... in addition to the event names they currently use.
    
    Currently, various internal streams have different events that
    indicate that the underlying resource has successfully been
    established. This commit adds ready event for fs and net
    sockets to standardize on emitting ready for all of these streams.
    
    PR-URL: #19408
    Fixes: #19304
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sameer-coder authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    35a1bd9 View commit details
    Browse the repository at this point in the history
  137. doc: add Yihong Wang to collaborators

    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    PR-URL: #18824
    Refs: #18533
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    yhwang authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2cbeea0 View commit details
    Browse the repository at this point in the history
  138. net: simplify net.Socket#end()

    `writable` is already set by the streams side, and
    there is a handler waiting for the writable side to finish
    which already takes care of the other cleanup code that
    was previously there; both of these things can therefore be removed.
    
    PR-URL: #18708
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4a267f0 View commit details
    Browse the repository at this point in the history
  139. test: refactor parallel/test-tls-0-dns-altname

    PR-URL: #18803
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juggernaut451 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    488e1bb View commit details
    Browse the repository at this point in the history
  140. test: stdio pipe behavior tests

    Add two regression tests for stdio over pipes.
    
    test-stdio-pipe-access tests if accessing stdio pipe that is being read
    by another process does not deadlocks Node.js. This was reported in
    #10836 and was fixed in v8.3.0.
    The deadlock would happen intermittently, so we run the test 5 times.
    
    test-stdio-pipe-redirect tests if redirecting one child process stdin to
    another process stdout does not crash Node as reported in
    #17493. It was fixed in
    #18019.
    
    PR-URL: #18614
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    83e704d View commit details
    Browse the repository at this point in the history
  141. doc: mark accessing IPC channel fd as undefined

    Adds note that accessing the fd of the IPC channel in any other way
    than process.send, or using the IPC channel with child processes that
    is not Node.js is not supported.
    
    PR-URL: #17545
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    399ba4b View commit details
    Browse the repository at this point in the history
  142. test: refactor parallel/test-tls-pause

    Use arrow functions and common.mustCall() and add a description.
    
    PR-URL: #18714
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    juggernaut451 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ffa7b50 View commit details
    Browse the repository at this point in the history
  143. doc: fix broken link in pull-requests.md

    PR-URL: #18873
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    justin0022 authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8c5ad68 View commit details
    Browse the repository at this point in the history
  144. doc: improved documentation for fs.unlink()

    Refs: #11135
    
    PR-URL: #18843
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    dustinnewman authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a1902ca View commit details
    Browse the repository at this point in the history
  145. test: http2 client operations after destroy

    PR-URL: #18845
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    trivikr authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    cd44b82 View commit details
    Browse the repository at this point in the history
  146. test: http2 client settings invalid callback

    PR-URL: #18850
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    trivikr authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    901f579 View commit details
    Browse the repository at this point in the history
  147. test: http2 client ping errors

    PR-URL: #18849
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    trivikr authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    a8ae04d View commit details
    Browse the repository at this point in the history
  148. doc: fix nits in tools/doc/README.md

    * Sync format schemes with the current doc state.
    * Lowercase primitive types.
    * Fix typos and unify the style.
    * Remove tautological info.
    
    PR-URL: #18874
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8fad7af View commit details
    Browse the repository at this point in the history
  149. test: check symbols in shared lib

    When building the node with `--shared` option, we need
    to verify the symbols in shared lib instead of executable.
    
    Refs: #18535
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    PR-URL: #18806
    Refs: #18535
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    yhwang authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    2f6866e View commit details
    Browse the repository at this point in the history
  150. src: fix deprecation warning in node_perf.cc

    Currently the following deprecation warning is produced when compiling
    node_perf.cc:
    
    ./src/node_perf.cc:91:11:
    warning: 'MakeCallback' is deprecated: Use MakeCallback(...,
          async_context) [-Wdeprecated-declarations]
        node::MakeCallback(env->isolate(),
              ^
    ../src/node.h:172:50:
    note: 'MakeCallback' has been explicitly marked deprecated here
                    NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                     ^
    1 warning generated.
    
    This commit adds an async_context to the call and checks the maybe
    result.
    
    PR-URL: #18877
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    danbev authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    e194c37 View commit details
    Browse the repository at this point in the history
  151. test: fix deprecation warning in binding.cc

    Currently, the make-callback-domain-warning addon generates the
    following warning:
    ../binding.cc:22:9:
    warning: 'MakeCallback' is deprecated: Use MakeCallback(...,
          async_context) [-Wdeprecated-declarations]
      node::MakeCallback(isolate, recv, method, 0, nullptr);
            ^
    ../../../../src/node.h:172:50:
    note: 'MakeCallback' has been explicitly marked
          deprecated here
                    NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                     ^
    1 warning generated.
    
    This commit fixes this warning.
    
    PR-URL: #18877
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    danbev authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    78e79c7 View commit details
    Browse the repository at this point in the history
  152. src: add public API for managing NodePlatform

    PR-URL: #16981
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    zcbenz authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8af6b75 View commit details
    Browse the repository at this point in the history
  153. crypto: Use math.h definitions of isnan and isinf

    Unless you specify C++11, std::isnan and std::isinf are not guaranteed to be available. Instead, just use the math.h functions for now.
    
    PR-URL: #19196
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jer-gentoo authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    5a3dc37 View commit details
    Browse the repository at this point in the history
  154. deps: backport 804a693 from upstream V8

    Original commit message:
    
        [postmortem] add JS_ERROR_TYPE and context embedder index
    
          * JS_ERROR_TYPE is required for postmortem tools to inspect
            JSError objects (see nodejs/llnode#215
            for a usage example)
          * The context embedder index is required for postmortem tools to
            access embedder data stored in the context (see
            nodejs/llnode#204 for a usage example)
    
        R=bmeurer@google.com, yangguo@google.com
    
        Change-Id: Ib7c7eb44f6ad327fc71a1d45f510c49377db7a25
        Reviewed-on: https://chromium-review.googlesource.com/1138493
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54475}
    
    Refs: v8/v8@804a693
    
    Backport-PR-URL: #22177
    PR-URL: #21855
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Matheus Marchini authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    ae63db8 View commit details
    Browse the repository at this point in the history
  155. doc: remove CII badge in README

    PR-URL: #18908
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    silverwind authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    07e2bd4 View commit details
    Browse the repository at this point in the history
  156. tools: fix custom eslint rule errors

    This fixes a few rules by making sure the input is actually ready
    to be checked. Otherwise those can throw TypeErrors or result in
    faulty error messages.
    
    PR-URL: #18853
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    8140211 View commit details
    Browse the repository at this point in the history
  157. test: http2 compat response.write() error checks

    PR-URL: #18859
    Reviewed-By: James M Snell <jasnell@gmail.com>
    trivikr authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    4b43839 View commit details
    Browse the repository at this point in the history
  158. doc: update description of 'clientError' event

    Default behavior is to send a '400 Bad Request' response if the socket
    is writable.
    
    PR-URL: #18885
    Refs: #15324
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    f876887 View commit details
    Browse the repository at this point in the history
  159. src: remove node namespace qualifiers

    This commit removes unneccessary node namespace qualifiers in node.cc
    for consistency.
    
    PR-URL: #18962
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    danbev authored and MylesBorins committed Aug 16, 2018
    Configuration menu
    Copy the full SHA
    69efa9f View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. process: use more direct sync I/O for stdio

    This avoids routing writes through the full LibuvStreamWrap
    write machinery. In particular, it enables the next commit,
    because otherwise the callback passed to `_write()`
    would not be called synchronously for pipes on Windows
    (because the latter does not support `uv_try_write()`,
    even for blocking I/O).
    
    PR-URL: #18019
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    2ec981b View commit details
    Browse the repository at this point in the history
  2. src: use DoTryWrite() for not-all-Buffer writev()s too

    PR-URL: #18019
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    cbe9239 View commit details
    Browse the repository at this point in the history
  3. tools: bump remark-cli to 4.0

    PR-URL: #17028
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    refack authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    7d4d96b View commit details
    Browse the repository at this point in the history
  4. tty: fix console printing on Windows

    This broke writing non-ASCII data to the console on Windows because
    the result would be codepage-dependent.
    
    This partially reverts 8b751f7.
    
    Fixes: #18189
    Refs: #18019
    
    PR-URL: #18214
    Fixes: #18189
    Refs: #18019
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    9fdba04 View commit details
    Browse the repository at this point in the history
  5. lib: change hook -> hooks in code comment

    PR-URL: #19053
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    cf833e4 View commit details
    Browse the repository at this point in the history
  6. test: fix flaky inspector-stop-profile-after-done

    Use common.platformTimeout() to give longer durations to Raspberry Pi
    devices to make test more reliable.
    
    PR-URL: #18126
    Fixes: #16772
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    7d0f02e View commit details
    Browse the repository at this point in the history
  7. doc: add MoonBall to collaborators

    PR-URL: #19109
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MoonBall authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    eae80e4 View commit details
    Browse the repository at this point in the history
  8. buffer: fix typo in lib/buffer.js

    PR-URL: #19126
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    4009e3f View commit details
    Browse the repository at this point in the history
  9. test: remove assert message and add block scope

    The default message will be printed if the assertion fires. Use block
    scope for related variables and tests.
    
    PR-URL: #19054
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    wuweiweiwu authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    905c350 View commit details
    Browse the repository at this point in the history
  10. test: refactor test-async-wrap-getasyncid

    So it does not use `common.PORT` anymore.
    
    PR-URL: #18727
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    santigimeno authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    d7b657f View commit details
    Browse the repository at this point in the history
  11. build: disable openssl build warnings on macos

    We already disable `-Wmissing-field-initializers` on other Unices but
    not on MacOS.
    
    PR-URL: #19046
    Fixes: #18983
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    bnoordhuis authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    20d805e View commit details
    Browse the repository at this point in the history
  12. test: rename test-regress-GH-1726

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    20a4ec8 View commit details
    Browse the repository at this point in the history
  13. test: rename test-regress-GH-1697

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    6417564 View commit details
    Browse the repository at this point in the history
  14. test: rename test-regress-GH-4015

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    6092060 View commit details
    Browse the repository at this point in the history
  15. test: rename test-regress-GH-4027

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    b70dd35 View commit details
    Browse the repository at this point in the history
  16. test: rename tests to remove "regress" keyword

    Rename affected tests to remove the "regress" keyword as well as improve
    naming scheme.
    
    Refs: #19105
    
    PR-URL: #19161
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    d76a96c View commit details
    Browse the repository at this point in the history
  17. test: address nits and rename the corresponding fixture

    Refs: #19105
    
    PR-URL: #19161
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    3793630 View commit details
    Browse the repository at this point in the history
  18. test: rename test-regress-GH-784.js

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    67bdb35 View commit details
    Browse the repository at this point in the history
  19. test: rename test-regress-GH-877.js

    Rename the test appropriately alongside mentioning the subsystem
    Also, make a few basic changes to make sure the test conforms
    to the standard test structure
    
    Refs: #19105
    Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure
    
    PR-URL: #19161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    ryzokuken authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    812c950 View commit details
    Browse the repository at this point in the history
  20. doc: add watson to collaborators

    Closes: #18943
    
    PR-URL: #19234
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    watson authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    b9b422a View commit details
    Browse the repository at this point in the history
  21. doc: remove superfluous adverb from style guide

    PR-URL: #19246
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    20ee726 View commit details
    Browse the repository at this point in the history
  22. doc: remove confusing "cats" from style guide

    PR-URL: #19246
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    274b2d2 View commit details
    Browse the repository at this point in the history
  23. doc: add pronouns to readme

    Refs: #21803
    
    PR-URL: #22036
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    not-an-aardvark authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    98fe68f View commit details
    Browse the repository at this point in the history
  24. tools,bootstrap: preprocess gypi files to json

    PR-URL: #19140
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    devsnek authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    4df93dc View commit details
    Browse the repository at this point in the history
  25. doc: add trivikr to collaborators

    trivikr is nominated as node core collaborator for his work on http2
    https://github.com/nodejs/node/commits?author=trivikr
    
    Refs: #19067
    
    PR-URL: #19384
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    trivikr authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    ab559b8 View commit details
    Browse the repository at this point in the history
  26. tools: fix logic nit in tools/doc/generate.js

    PR-URL: #19475
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    e1c28b6 View commit details
    Browse the repository at this point in the history
  27. tools: fix nits in tools/doc/preprocess.js

    PR-URL: #19473
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    2fb47a5 View commit details
    Browse the repository at this point in the history
  28. tools: make metadata parsing less permissive

    PR-URL: #19512
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    aa3be00 View commit details
    Browse the repository at this point in the history
  29. tools: shorten metadata parsing

    PR-URL: #19512
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    11b8d47 View commit details
    Browse the repository at this point in the history
  30. tools: fix nits in tools/doc/common.js

    PR-URL: #19599
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    fe4e511 View commit details
    Browse the repository at this point in the history
  31. tools: simplify tools/doc/preprocess.js

    PR-URL: #19539
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    4a1b064 View commit details
    Browse the repository at this point in the history
  32. tools: fix nits in tools/doc/type-parser.js

    PR-URL: #19612
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    eb5f085 View commit details
    Browse the repository at this point in the history
  33. tools: fix comment nits in tools/doc/*.js files

    * Unify first letters case.
    * Unify periods.
    * Delete excess spaces.
    * Add some blank lines as logical delimiters.
    * Remove obvious comments.
    * Combine short lines, rewrap lines more logically.
    * Fix typos.
    * "XXX" -> "TODO:", OSX -> macOS.
    
    PR-URL: #19696
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    59b99e8 View commit details
    Browse the repository at this point in the history
  34. tools: dry utility function in tools/doc/json.js

    Also, move a declaration of unrelated variable
    closer to its only context.
    
    PR-URL: #19692
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    ff4c30e View commit details
    Browse the repository at this point in the history
  35. tools: remove src dir from JS editorconfig rule

    The src directory does not contain any JavaScript files, so there is no
    need to match it.
    
    PR-URL: #19521
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    tniessen authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    36ffc3b View commit details
    Browse the repository at this point in the history
  36. tools: apply editorconfig rules to tools also

    PR-URL: #19521
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    tniessen authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    cf2a7e9 View commit details
    Browse the repository at this point in the history
  37. tools: don’t emit illegal utf-8 from icutrim/iculslocs

    - argv[0] was being emitted into a utf-8 stream, but argv[0] may
    not be legal utf-8
    - fix by not emitting argv[0] (was only for a source comment)
    - partially resolves #17077
    
    PR-URL: #19756
    Fixes: #17077
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    srl295 authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    fc41817 View commit details
    Browse the repository at this point in the history
  38. win, tools: add nasm to boxstarter script

    Adds NASM installation to the Boxstarter script.
    
    Refs: #19918
    
    PR-URL: #19950
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bzoz authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    8a5c100 View commit details
    Browse the repository at this point in the history
  39. doc: update tools/doc/README.md

    PR-URL: #20047
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    f391181 View commit details
    Browse the repository at this point in the history
  40. doc: add tools/doc/README link in doc/STYLE_GUIDE

    PR-URL: #20071
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    14a5dd4 View commit details
    Browse the repository at this point in the history
  41. tools: modernize and optimize doc/addon-verify.js

    Modernize:
    * Replace `var` with `const` / `let`.
    * Replace common functions with arrow functions.
    * Use destructuring.
    * Use `String.prototype.padStart()`, `String.prototype.endsWith()`.
    
    Optimize:
    * Reduce function calls.
    * Reduce intermediate variables.
    * Cache retrieved object properties.
    * Move RegExp declaration out of a cycle.
    * Simplify RegExps.
    * Replace RegExp with string when string suffices.
    * Remove conditions that cannot be false.
    * Replace for..in with `Object.keys().forEach()`.
    
    Also, eliminate needlessly complicated function chains:
    * `ondone` callback only checks errors;
    * if there is an error, it is called once and throws, then script exits;
    * if there are no errors, it is noop;
    * so there is no need to wrap it into `once()` function
    * and there is no need to call it without errors;
    * we can eliminate it and replace with `throw` where an error occurs;
    * we can also replace `onprogress` callback with `console.log` in place;
    * at last, we can eliminate `waiting` counter and `once()` utility.
    
    The new script produces results identical to the old ones.
    
    PR-URL: #20188
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    ac05c2b View commit details
    Browse the repository at this point in the history
  42. tools: simplify HTML generation

    PR-URL: #20307
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    1241b90 View commit details
    Browse the repository at this point in the history
  43. doc: remove eu-strip from tarball

    This is been removed because of this:
    the source is not provided
    it adds 105ko of useless files
    It's only used in the android and fuchsia GN builds
    
    Fixes: #20280
    
    PR-URL: #20304
    Fixes: #20280
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jvelezpo authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    24a105f View commit details
    Browse the repository at this point in the history
  44. tools: fix TypeError from test.py --time

    Calculated durations are timedelta objects but the FormatTime function
    is expecting a number in seconds.
    
    PR-URL: #20368
    Fixes: #20341
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    richardlau authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    246c2d1 View commit details
    Browse the repository at this point in the history
  45. doc: improve buf.lastIndexOf() text

    Improve description of `encoding` option. (This change is also applied
    to `buf.indexOf()`.) Improve punctuation. Wrap at 80 characters.
    
    PR-URL: #19904
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    4a795dd View commit details
    Browse the repository at this point in the history
  46. tools: include exit code in test failures

    Include the exit code in test failures. This will give us more
    information during the currently-puzzling failures that provide no
    information in CI such as:
    
    ```
    03:10:10 not ok 563 parallel/test-fs-truncate
    03:10:10   ---
    03:10:10   duration_ms: 1.119
    03:10:10   severity: fail
    03:10:10   stack: |-
    03:10:10   ...
    ```
    
    PR-URL: #19855
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    11e53cd View commit details
    Browse the repository at this point in the history
  47. tools: include exit code in TAP log

    PR-URL: #19855
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    refack authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    f8c5042 View commit details
    Browse the repository at this point in the history
  48. tools: show stdout/stderr for timed out tests

    When a test times out, the contents of stdout and stderr can often be
    highly valuable in debugging. Provide that information.
    
    Refs: #19906 (comment)
    
    PR-URL: #20260
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    422b6e8 View commit details
    Browse the repository at this point in the history
  49. tools: add log output to crashes

    PR-URL: #20295
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    BridgeAR authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    c56aafd View commit details
    Browse the repository at this point in the history
  50. n-api: create functions directly

    Avoid using `v8::FunctionTemplate::New()` when using
    `v8::Function::New()` suffices. This ensures that individual functions
    can be gc-ed and that functions can be created dynamically without
    running out of memory.
    
    Backport-PR-URL: #22202
    PR-URL: #21688
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Gabriel Schulhof authored and MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    35a8ff7 View commit details
    Browse the repository at this point in the history
  51. test: move test-timers-throw-reschedule to sequential

    This also sets the test as flaky
    
    PR-URL: #22379
    Refs: #21188
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    MylesBorins committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    01e2eba View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. deps: V8: cherry-pick 9040405 from upstream

    Original commit message:
    
      s390x: fix high 32-bit word corruption issue
    
      R=joransiu@ca.ibm.com
    
      Change-Id: I9a2cf0f3e4a33dc4b86c83acfefcd27968bbcdb4
      Reviewed-on: https://chromium-review.googlesource.com/1176424
      Reviewed-by: Joran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#55143}
    
    Refs: v8/v8@ca95cd9
    
    PR-URL: #22375
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Junliang Yan authored and BethGriggs committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    5294919 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2018

  1. deps: upgrade npm to 6.4.1

    PR-URL: #22591
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    zkat authored and MylesBorins committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    f82d58d View commit details
    Browse the repository at this point in the history
  2. src: fix bootstrap_node on bsd

    Currently makes a call to `realpathSync.native` which doesn't exist
    on 8.x or lower
    
    PR-URL: #22663
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    sylkat authored and MylesBorins committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    d478bc7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. v8: add new to the throw statement

    Backport-PR-URL: #22380
    PR-URL: #13857
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    BridgeAR authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    ec1828c View commit details
    Browse the repository at this point in the history
  2. process: Send signal name to signal handlers

    Backport-PR-URL: #22380
    PR-URL: #15606
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    robertrossmann authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    711098e View commit details
    Browse the repository at this point in the history
  3. doc: readable.push(undefined) in non-object mode

    `readable.push()` supports `undefined` in non-object mode, but it was
    not previously documented.
    
    Backport-PR-URL: #22380
    PR-URL: #18283
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    陈刚 authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    dc6dadd View commit details
    Browse the repository at this point in the history
  4. doc: add process.debugPort to doc/api/process.md

    Fixes: #18639
    
    Backport-PR-URL: #22380
    PR-URL: #18716
    Refs: #18639
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    flickz authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    dbc5bed View commit details
    Browse the repository at this point in the history
  5. doc: make the background section concise and improve its formality

    Backport-PR-URL: #22380
    PR-URL: #18928
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Wilson authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    68e78e8 View commit details
    Browse the repository at this point in the history
  6. src: fix error message in async_hooks constructor

    There are two minor issues in the AsyncHook constructor, if the object
    passed in has an after and/or destroy property that are not functions
    the errors thrown will still be:
    TypeError [ERR_ASYNC_CALLBACK]: before must be a function
    
    This commit updates the code and adds a unit test.
    
    Backport-PR-URL: #22380
    PR-URL: #19000
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    danbev authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    02ea033 View commit details
    Browse the repository at this point in the history
  7. http: prevent aborted event when already completed

    When socket is closed on a response for a request that is being piped to
    a stream there is a condition where aborted event will be fired to http
    client when socket is closing and the incomingMessage stream is still
    set to readable.
    
    We need a check for request being complete and to only raise the
    'aborted' event on the http client if we have not yet completed reading
    the response from the server.
    
    Fixes: #18756
    
    Backport-PR-URL: #22380
    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    c4fa1f7 View commit details
    Browse the repository at this point in the history
  8. http: prevent aborted event when already completed

    Tests in progress to reproduce issue consistently.
    
    Fixes: #18756
    
    Backport-PR-URL: #22380
    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    68a810c View commit details
    Browse the repository at this point in the history
  9. test: refactor test after review

    Backport-PR-URL: #22380
    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    85aa639 View commit details
    Browse the repository at this point in the history
  10. test: specify 'dir' for directory symlinks

    Directory symlinks in Windows require the 'dir' flag to be passed to
    create the symlink correctly.
    
    Backport-PR-URL: #22380
    PR-URL: #19049
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kfarnung authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    61dd5b7 View commit details
    Browse the repository at this point in the history
  11. doc: add RegExp Unicode Property Escapes to intl

    Backport-PR-URL: #22380
    PR-URL: #19052
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    ce66b02 View commit details
    Browse the repository at this point in the history
  12. doc: Readable unpipe on Writable error event

    Backport-PR-URL: #22380
    PR-URL: #18080
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    GeorgeSapkin authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    7f6e0b3 View commit details
    Browse the repository at this point in the history
  13. doc: update list of re-exported symbols

    libuv and zlib symbols are also purposefully re-exported by Node.js for
    use in Addons.
    
    Refs: #17444
    
    Backport-PR-URL: #22380
    PR-URL: #19013
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    richardlau authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    c2978ac View commit details
    Browse the repository at this point in the history
  14. doc: add URL.format() example

    Backport-PR-URL: #22380
    PR-URL: #18888
    Fixes: #18887
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    zeke authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    d9895c4 View commit details
    Browse the repository at this point in the history
  15. doc: add simple example to rename function

    Added a simple example showing how to rename
    a file.
    
    Refs: https://github.com/nodejs/node/issues11135
    
    Backport-PR-URL: #22380
    PR-URL: #18812
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    punteek authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    e2190ad View commit details
    Browse the repository at this point in the history
  16. doc: remove tentativeness in pull-requests.md

    There are some uses of "in general" that are unnecessary. (We don't need
    to be tentative about the fact that tests should pass, for example.)
    
    Backport-PR-URL: #22380
    PR-URL: #19123
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    d141375 View commit details
    Browse the repository at this point in the history
  17. doc: remove subsystem from pull request template

    Remove request that user provide a list of subsystems in the pull
    request template.
    
    * We already ask them to put the subsystems in the first line of the
      commit message.
    * The subsystem is usually easy to determine.
    * We have a bot that applies subsystem labels on new PRs and it seems to
      do a rather good job. Tools over rules. Let the bot do it.
    * The fewer unnecessary things we ask for in the template, the lower the
      barrier to entry.
    * Anecdotal, but I have never found it useful to have the person
      submitting the PR list out subsystems in the pull request post.
    
    Backport-PR-URL: #22380
    PR-URL: #19125
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    369e1ef View commit details
    Browse the repository at this point in the history
  18. test: move require http2 to after crypto check

    Currently test-http2-client-write-empty-string.js will throw "Error
    [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support"
    when configured --without-ssl.
    
    This commit moves the require of http2 to after the crypto check to
    avoid this error.
    
    Backport-PR-URL: #22380
    PR-URL: #19111
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    21be127 View commit details
    Browse the repository at this point in the history
  19. src: #include <stdio.h>" to iculslocs

    iculslocs uses stdio, but didn't include the header.
    
    Backport-PR-URL: #22380
    PR-URL: #19150
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    srl295 authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    f33f323 View commit details
    Browse the repository at this point in the history
  20. perf_hooks: fix timing

    Fixes: #17892
    Fixes: #17893
    Fixes: #18992
    
    Backport-PR-URL: #22380
    PR-URL: #18993
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    TimothyGu authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    1a1288d View commit details
    Browse the repository at this point in the history
  21. test: add more information to assert.strictEqual

    Backport-PR-URL: #22380
    PR-URL: #19162
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.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: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    f64100a View commit details
    Browse the repository at this point in the history
  22. doc: make suggestion more direct in stream.md

    Backport-PR-URL: #22380
    PR-URL: #19124
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    1116d32 View commit details
    Browse the repository at this point in the history
  23. test: skip postmortem metadata test when nm fails

    On Windows with msys installation, `nm` is available but
    it is not able to grab symbols from the Windows build.
    Skipping the test if nm outputs anything to stderr fixes that.
    
    Backport-PR-URL: #22380
    PR-URL: #19107
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    d3a10c7 View commit details
    Browse the repository at this point in the history
  24. doc: add inspector usage example

    Add a simple example showing how to use the inspector API to access
    the CPU profiler.
    
    Backport-PR-URL: #22380
    PR-URL: #19172
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    ofrobots authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    94d27e2 View commit details
    Browse the repository at this point in the history
  25. doc: remove warning against readable/readable.read

    Remove suggestion to avoid `readable` event and `readabe.read()` method.
    No explanation was provided for this suggestion.
    
    Backport-PR-URL: #22380
    PR-URL: #19193
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Chen Gang <gangc.cxy@foxmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    7ed297d View commit details
    Browse the repository at this point in the history
  26. crypto: use bool over int consistently

    Backport-PR-URL: #22380
    PR-URL: #19238
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    4d5cb4c View commit details
    Browse the repository at this point in the history
  27. test: refactor http-https-default-ports

    Use arrow functions.
    
    Backport-PR-URL: #22380
    PR-URL: #19130
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ken23421 authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    e1e6a09 View commit details
    Browse the repository at this point in the history
  28. test: address unreliable test-performance

    test-performance can fail due to resource constraints. Move it from
    parallel to sequential so it does not compete with other tests for
    resources.
    
    Fixes: #19197
    
    Backport-PR-URL: #22380
    PR-URL: #19228
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    8adb0b3 View commit details
    Browse the repository at this point in the history
  29. test: do not check text for engine-generated error

    In test-tls-wrap-event-emitter, the text of a TypeError is checked as
    part of the test. However, this text is generated by the JavaScript
    engine (V8) and not Node.js. Thus, we should not check the text as JS
    engine error messages can change without it being considered a breaking
    change for Node.js.
    
    A side effect is that node-chakracore will no longer need to patch this
    test to pass.
    
    Backport-PR-URL: #22380
    PR-URL: #19215
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    e6131c2 View commit details
    Browse the repository at this point in the history
  30. doc: add warning to assert.doesNotThrow()

    Using `assert.doesNotThrow()` has no benefit over adding a comment
    next to some code that should not throw. Therefore it is from now
    on discouraged to use it.
    
    Backport-PR-URL: #22380
    PR-URL: #18699
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    BridgeAR authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    cae60ca View commit details
    Browse the repository at this point in the history
  31. repl: better handling of recoverable errors

    Below syntax errors are handled without force .break/clear
      - Unexpected Token (prefix errors)
      - missing ) after argument list
    
    In the multiline expression, recoverable errors are truly
    recoverable, otherwise syntax error will be thrown.
    
    Backport-PR-URL: #22380
    PR-URL: #18915
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    princejwesley authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    a6fca75 View commit details
    Browse the repository at this point in the history
  32. test: Remove unnecessary asserion messages in test-crypto-hash.js

    This commit improves asserion messages in parallel/test-crypto-hash.js.
    Instead of just simple string literal, messages are changed to also
    include values used in assertion, which should improve debugging
    in case of errors.
    
    Backport-PR-URL: #22380
    PR-URL: #18984
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    pgrzesik authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    a0fd0b6 View commit details
    Browse the repository at this point in the history
  33. test: fix test-abort-backtrace in shared lib build

    When using shared lib build, the binary path in the stack frames points
    to shared lib. Change the checking criteria in the test case to match
    that.
    
    Refs: #18535
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    Backport-PR-URL: #22380
    PR-URL: #19213
    Refs: #18535
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yhwang authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    9c781f0 View commit details
    Browse the repository at this point in the history
  34. doc: fix/add link to Android info

    We have two notes in API docs about Android support:
    the first has no links, the second links to the table of supported OSs
    where Android is not mentioned which may be confusing.
    
    This PR makes both notes link to dedicated Android part of BUILDING.md.
    
    Backport-PR-URL: #22386
    PR-URL: #19004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    vsemozhetbyt authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    a023193 View commit details
    Browse the repository at this point in the history
  35. doc,tools: formalize, unify, codify default values

    Backport-PR-URL: #22388
    PR-URL: #19737
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    50316e2 View commit details
    Browse the repository at this point in the history
  36. src: add environment cleanup hooks

    This adds pairs of methods to the `Environment` class and to public APIs
    which can add and remove cleanup handlers.
    
    Unlike `AtExit`, this API targets addon developers rather than
    embedders, giving them (and Node\u2019s internals) the ability to register
    per-`Environment` cleanup work.
    
    We may want to replace `AtExit` with this API at some point.
    
    Many thanks for Stephen Belanger for reviewing the original version of
    this commit in the Ayo.js project.
    
    Refs: ayojs/ayo#82
    Backport-PR-URL: #22435
    PR-URL: #19377
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    66343c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. 2018-09-11, Version 8.12.0 'Carbon' (LTS)

    Notable Changes:
    
    * async_hooks:
      - rename PromiseWrap.parentId (Ali Ijaz Sheikh)
        #18633
      - remove runtime deprecation (Ali Ijaz Sheikh)
        #19517
      - deprecate unsafe emit{Before,After} (Ali Ijaz Sheikh)
        #18513
    * cluster:
      - add cwd to cluster.settings (cjihrig)
        #18399
      - support windowsHide option for workers (Todd Wong)
        #17412
    * crypto:
      - allow passing null as IV unless required (Tobias Nießen)
        #18644
    * deps:
      - upgrade npm to 6.2.0 (Kat Marchán)
        #21592
      - upgrade libuv to 1.19.2 (cjihrig)
        #18918
      - Upgrade node-inspect to 1.11.5 (Jan Krems)
        #21055
    * fs,net:
      - support as and as+ flags in stringToFlags() (Sarat Addepalli)
        #18801
      - emit 'ready' for fs streams and sockets (Sameer Srivastava)
        #19408
    * http, http2:
      - add options to http.createServer() (Peter Marton)
        #15752
      - add 103 Early Hints status code (Yosuke Furukawa)
        #16644
      - add http fallback options to .createServer (Peter Marton)
        #15752
    * n-api:
      - take n-api out of experimental (Michael Dawson)
        #19262
    * perf_hooks:
      - add warning when too many entries in the timeline (James M Snell)
        #18087
    * src:
      - add public API for managing NodePlatform (Cheng Zhao)
        #16981
      - allow --perf-(basic-)?prof in NODE\_OPTIONS (Leko)
        #17600
      - node internals' postmortem metadata (Matheus Marchini)
        #14901
    * tls:
      - expose Finished messages in TLSSocket (Anton Salikhmetov)
        #19102
    * **trace_events**:
      - add file pattern cli option (Andreas Madsen)
        #18480
    * util:
      - implement util.getSystemErrorName() (Joyee Cheung)
        #18186
    
    PR-URL: #21593
    MylesBorins committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    731eed2 View commit details
    Browse the repository at this point in the history