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

v10.6.0 proposal #21629

Merged
merged 109 commits into from Jul 4, 2018
Merged

v10.6.0 proposal #21629

merged 109 commits into from Jul 4, 2018

Commits on Jun 20, 2018

  1. test: move test-benchmark-path to sequential

    Fixes: #18254
    
    PR-URL: #21393
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Trott authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    f461ae2 View commit details
    Browse the repository at this point in the history
  2. test: run misc benchmark only once in tests

    Prevent misc benchmark files from running more than one benchmark
    during tests.
    
    PR-URL: #21046
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    29593e2 View commit details
    Browse the repository at this point in the history
  3. benchmark: create napi benchmark directory

    Move C++ benchmark useful for NAPI to its own directory. This will
    isolate the benchmark so it can be excluded from testing that applies to
    all other benchmarks but not this one.
    
    PR-URL: #21046
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    9030e93 View commit details
    Browse the repository at this point in the history
  4. test: check that benchmark tests are minimal

    Check that benchmark tests are not running longer than necessary by
    confirming that they only produce one set of configs to report on per
    benchmark file.
    
    PR-URL: #21046
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    23f22bc View commit details
    Browse the repository at this point in the history
  5. build: fix building with --build-v8-with-gn

    PR-URL: #21330
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    hashseed authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    c214403 View commit details
    Browse the repository at this point in the history
  6. process: remove unused arguments in setup()

    PR-URL: #21377
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    2d6b337 View commit details
    Browse the repository at this point in the history
  7. test: remove the third string literal argument from assert.strictEqual()

    Third string literal argument in assert.strictEqual() needs to be
    removed. Otherwise, on AssertionError it would not display the
    values that failed the check -- this hinders debugging.
    The string literals are added as comments above the check.
    
    PR-URL: #21406
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kevintab95 authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    9cef72d View commit details
    Browse the repository at this point in the history
  8. dns: add promisified dns module

    PR-URL: #21264
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    cjihrig authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    aa864ba View commit details
    Browse the repository at this point in the history
  9. dns: remove Resolver#cancel() from promises API

    Because reasons.
    
    PR-URL: #21264
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    cjihrig authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    18179f8 View commit details
    Browse the repository at this point in the history
  10. workers,trace_events: set thread name for workers

    Set the thread name for workers in trace events. Also,
    use uint64_t for thread_id_ because there's really no
    reason for those to be doubles
    
    PR-URL: #21246
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    jasnell authored and targos committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    fb2592f View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2018

  1. crypto: refer to correct deprecation id in comment

    PR-URL: #21399
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    e7776c6 View commit details
    Browse the repository at this point in the history
  2. src: fix debugging for multiple categories

    Fix parsing of e.g. `NODE_DEBUG_NATIVE=worker,messaging`.
    
    PR-URL: #21422
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    2377aec View commit details
    Browse the repository at this point in the history
  3. test: move net bytes-per-chunk test to parallel

    This was added in 3217e8e as
    a regression test for a security patch. We moved it to
    `sequential` to lower the risk of creating a flaky test,
    because an earlier version of it was failing one some platforms.
    
    There is no known reason why te test should be flaky in this form,
    though, and moving it to parallel would be good because it does take
    around 3 seconds that would otherwise fully count towards the
    test run time.
    
    PR-URL: #21322
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    81046f9 View commit details
    Browse the repository at this point in the history
  4. http2: fix memory leak when headers are not emitted

    When headers are not emitted to JS, e.g. because of an error
    before that could happen, we currently still have the vector of
    previously received headers lying around, each one holding
    a reference count of 1.
    
    To fix the resulting memory leak, release them in the `Http2Stream`
    destructor.
    
    Also, clear the vector of headers once they have been emitted –
    there’s not need to keep it around, wasting memory.
    
    PR-URL: #21373
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    3ba9a44 View commit details
    Browse the repository at this point in the history
  5. doc: fix missing parentPort link in worker_threads

    PR-URL: #21430
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    watson authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    9e31684 View commit details
    Browse the repository at this point in the history
  6. module: experimental modules runMain separation

    PR-URL: #21350
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    guybedford authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    5cd78ba View commit details
    Browse the repository at this point in the history
  7. doc: add example of using filter with cctest

    This commit adds examples of specifying filters when running cctest.
    This can be useful when debugging and limiting the test cases run to
    the test cases of interest and I think worth documenting.
    
    PR-URL: #21401
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    e944749 View commit details
    Browse the repository at this point in the history
  8. test: add tests for process.setgroups()

    Added tests to validate process.setgroups() arguments
    
    PR-URL: #21286
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Masashi Hirano authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    d7ff752 View commit details
    Browse the repository at this point in the history
  9. test: assert process.setgroups is undefined on windows

    PR-URL: #21286
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Masashi Hirano authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    e038b2f View commit details
    Browse the repository at this point in the history
  10. doc: note synchronous part of child_process.spawn

    If an application has a large RSS (GB), jorangreef
    observed that child_process.spawn will block the
    event loop for ms-s.
    
    This is surprising behavior and merits documentation.
    
    Refs: #14917
    
    PR-URL: #21234
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    davisjam authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    8a997a5 View commit details
    Browse the repository at this point in the history
  11. deps: cherry-pick 5dd3395 from upstream V8

    Original commit message:
    
        [log] improve --perf-basic-prof-only-functions
    
        Change --perf-basic-prof-only-functions to also log builtin code
        creation events, otherwise InterpretedFunctions generated by
        --interpreted-frames-native-stack will be filtered out.
    
        R=yangguo@google.com
    
        Change-Id: Ib0623fca88e25c514473a43de56ebbbdcb146f97
        Reviewed-on: https://chromium-review.googlesource.com/1100014
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53760}
    
    Refs: v8/v8@5dd3395
    
    PR-URL: #21386
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matheus Marchini authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    5d72189 View commit details
    Browse the repository at this point in the history
  12. atomis: add notify alias

    PR-URL: #21413
    Refs: #21219
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    devsnek authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    a526b4e View commit details
    Browse the repository at this point in the history
  13. tools: fix typo in .eslintrc.js

    Refs: #18566
    
    PR-URL: #21449
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    boneskull authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    a1580a0 View commit details
    Browse the repository at this point in the history
  14. src: introduce inspect-brk-node

    This commit is a suggestion to add a new option to the node executable
    to allow for breaking in node's javascript bootstrapper code.
    
    Previously I've been able to set breakpoints in node bootstrapper code
    and then restart the debugging session and those breakpoints would be
    hit, but I don't seem to be able to do so anymore. Having this option
    would allow me to use this option and then step through or add more
    break points as needed.
    
    PR-URL: #20819
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    75e07fe View commit details
    Browse the repository at this point in the history
  15. doc: explain HTTP writeHead()'s fast path behavior

    calling writeHead() into a Response object that has no headers already
    set causes getHeader() to return undefined, even if the header was set
    in the writeHead() function call. Explain this behavior as an
    optimiation as opposed to a bug.
    
    Fixes: #10354
    PR-URL: #21289
    
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gireeshpunathil authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    8e5104b View commit details
    Browse the repository at this point in the history
  16. src: avoid common case heap allocation

    Optimize three functions that pass on (part of) their JS arguments to
    the JS function they call by stack-allocating the storage in the common
    case.
    
    PR-URL: #21409
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    bnoordhuis authored and targos committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    e0bcb6a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2018

  1. net: validate fds passed to Socket constructor

    This commit validates the file descriptor passed to the TTY
    wrap's guessHandleType() function. Prior to this commit, a bad
    file descriptor would trigger an abort in the binding layer.
    
    PR-URL: #21429
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    881d99b View commit details
    Browse the repository at this point in the history
  2. net: report uv_tcp_open() errors

    uv_tcp_open() can fail. Prior to this commit, any error was
    being silently ignored. This commit raises the errors.
    
    PR-URL: #21428
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    50f833d View commit details
    Browse the repository at this point in the history
  3. test: avoid running fsync on directory on AIX

    On AIX the underlying fsync system call returns EBADF on a file
    descriptor for an open directory. So avoid running fsync on it.
    
    PR-URL: #21298
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jBarz authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    6b40ba1 View commit details
    Browse the repository at this point in the history
  4. deps: backport aa6ce3e from upstream V8

    Original commit message:
    
        [log][api] introduce public CodeEventListener API
    
        Introduce a new public API called CodeEventListener to allow
        embedders to better support external profilers and other diagnostic
        tools without relying on unsupported methods like --perf-basic-prof.
    
        Bug: v8:7694
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I063cc965394d59401358757634c9ea84c11517e9
        Co-authored-by: Daniel Beckert <daniel@sthima.com.br>
        Reviewed-on: https://chromium-review.googlesource.com/1028770
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Hannes Payer <hpayer@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Andreas Haas <ahaas@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53382}
    
    Refs: v8/v8@aa6ce3e
    
    PR-URL: #21126
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matheus Marchini authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    4663d1c View commit details
    Browse the repository at this point in the history
  5. deps: cherry-pick b20faff from upstream V8

    Original commit message:
    
        [log] fix ExistingCodeLogger behavior on edge case
    
        ExistingCodeLogger was behaving incorrectly when the
        CodeEventHandler API was used in combination with
        --interpreted-frames-native-stack.  Instead of collecting copied
        trampolines as InterpretedFunction:functionName, they were being
        collected as Builtin:IntepreterEntryTrampolines.  This patch adds
        special handling for copied trampolines when using
        ExistingCodeLogger.
    
        R=yangguo@google.com
    
        Change-Id: I3ee4be03800122d28d53b51b20c60dcf6263e4c1
        Reviewed-on: https://chromium-review.googlesource.com/1087813
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53624}
    
    Refs: v8/v8@b20faff
    
    PR-URL: #21126
    Refs: v8/v8@aa6ce3e
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matheus Marchini authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    37a5c8c View commit details
    Browse the repository at this point in the history
  6. deps: cherry-pick acc336c from upstream V8

    Original commit message:
    
        [log] fix boolean logic on LogCodeObject
    
        R=yangguo@google.com
    
        Change-Id: Icb4825344991e5b2d15050e037064c60eeb9617e
        Reviewed-on: https://chromium-review.googlesource.com/1097578
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53777}
    
    Refs: v8/v8@acc336c
    
    PR-URL: #21126
    Refs: v8/v8@aa6ce3e
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matheus Marchini authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    ab27e0e View commit details
    Browse the repository at this point in the history
  7. deps: cherry-pick 70c4340 from upstream V8

    Original commit message:
    
        [log][api] Fix GCC 4.9 build failure
    
        GCC 4.9 used on some Node.js CI machines complains when the control
        reaches the end of a non-void function and no return is encountered.
    
        R=bmeurer@google.com, ofrobots@google.com, yangguo@google.com
    
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I5af0192cb187eccbf34dbb60ff3ac2e4774af803
        Reviewed-on: https://chromium-review.googlesource.com/1105619
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53861}
    
    Refs: v8/v8@70c4340
    
    PR-URL: #21126
    Refs: v8/v8@aa6ce3e
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matheus Marchini authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    62ca2cf View commit details
    Browse the repository at this point in the history
  8. test: add tests for end event of stream.Duplex

    Added tests to check the stream will automatically end the writable side
    when readable side ends when allowHalfOpen option is false.
    
    PR-URL: #21325
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Masashi Hirano authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    2fa49a3 View commit details
    Browse the repository at this point in the history
  9. doc: fix list format in cli.md

    PR-URL: #21467
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    361e4f2 View commit details
    Browse the repository at this point in the history
  10. build: add crypto check to markdown lint target

    Currently, if configured --without-ssl the following error will be
    repored by remark-cli:
    
    Running Markdown linter on misc docs...
    internal/util.js:100
        throw new ERR_NO_CRYPTO();
        ^
    
    Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support
        at assertCrypto (internal/util.js:100:11)
        at crypto.js:31:1
        at NativeModule.compile (internal/bootstrap/loaders.js:235:7)
        at Function.NativeModule.require
          (internal/bootstrap/loaders.js:155:18)
        at Function.Module._load (internal/modules/cjs/loader.js:530:25)
        at Module.require (internal/modules/cjs/loader.js:650:17)
        at require (internal/modules/cjs/helpers.js:20:18)
        at Object.<anonymous>
          (/node/tools/remark-cli/node_modules/math-random/node.js:1:76)
        at Module._compile (internal/modules/cjs/loader.js:702:30)
        at Object.Module._extensions..js
          (internal/modules/cjs/loader.js:713:10)
    make[1]: *** [tools/.miscmdlintstamp] Error 1
    make: *** [lint] Error 2
    
    This commit adds a check for crypto to avoid this error when node has
    been configured without crypto support. The alternative was to try to
    fix this in randomatic but that lead to another dependency failing
    (uuid) and felt like this might be simpler.
    
    PR-URL: #21326
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    42f5ff8 View commit details
    Browse the repository at this point in the history
  11. doc: sort error codes in errors.md

    A single exception is that ERR_HTTP2_* comes after ERR_HTTP_*.
    
    Actual content not changed, just some blocks are moved around.
    
    This is a part of the fixes hinted by #21470, which includes some tests
    for error codes usage and documentation and enforces a stricter format.
    
    PR-URL: #21485
    Refs: #21470
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    ChALkeR authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    c324b85 View commit details
    Browse the repository at this point in the history
  12. doc: restore documentation for two error codes

    ERR_HTTP2_ERROR and ERR_UNKNOWN_BUILTIN_MODULE error codes documentation
    seem to have been accidentally removed in commit
    1cdb41f (pull request #15160).
    
    This reverts that removal, restoring the documentation for those two
    error codes.
    
    Those error codes are used from lib/ folder.
    
    This is a part of the fixes hinted by #21470, which includes some tests
    for error codes usage and documentation and enforces a stricter format.
    
    PR-URL: #21484
    Refs: #21470
    Refs: #21440
    Refs: #15160
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    ChALkeR authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    5bb6e5c View commit details
    Browse the repository at this point in the history
  13. doc: correct parameters, return types in crypto.md

    PR-URL: #21420
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ZaneHannanAU authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    02bc99d View commit details
    Browse the repository at this point in the history
  14. test: remove string error from strictEqual

    Removes the string error from the assertion call to improve the error
    message shown on screen when the test fails.
    
    PR-URL: #21292
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    deleteman authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    91f111f View commit details
    Browse the repository at this point in the history
  15. util: fix comment typos

    When the deep(Strict)Equal comparison functions were moved to an
    internal module, a variable named `current` was replaced with `val1`.
    That accidentally also replaced a few "currently"s in comments.
    
    Refs: #16084
    
    PR-URL: #21436
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.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: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    goto-bus-stop authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    140836a View commit details
    Browse the repository at this point in the history
  16. test: move net bytes-per-chunk test to sequential

    The test is timing out on FreeBSD 10 in CI. It takes less than half as
    long to run when it is in sequential on that platform instead of
    parallel.
    
    Refs: #21322 (comment)
    
    PR-URL: #21457
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    bfac7be View commit details
    Browse the repository at this point in the history
  17. test: lint fixes for ESLint update

    This commit introduces changes required for the ESLint 5 update.
    
    PR-URL: #20855
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    357eaf3 View commit details
    Browse the repository at this point in the history
  18. tools: update ESLint to 5.0.0

    This is a new major release of ESLint.
    
    PR-URL: #20855
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    21d73a5 View commit details
    Browse the repository at this point in the history
  19. doc: fix HTTP req/res 'close' description

    PR-URL: #21047
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ronag authored and targos committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    2359823 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2018

  1. doc: show options arg to new Worker is optional

    PR-URL: #21508
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    watson authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    dbd810e View commit details
    Browse the repository at this point in the history
  2. doc: fix sort in sections, lists, tables of dns.md

    `dns.resolveAny()`, `dnsPromises.resolveAny()`,
    `dns.setServers()`, `dnsPromises.setServers()`
    were out of ABC order in some places.
    
    PR-URL: #21505
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    vsemozhetbyt authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    dad7821 View commit details
    Browse the repository at this point in the history
  3. crypto: remove outdated comment

    PR-URL: #21511
    Fixes: #21488
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    TimothyGu authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    fefa57a View commit details
    Browse the repository at this point in the history
  4. process: avoid using the same fd for ipc and stdio

    There is already a check in place to prevent stdin and the IPC
    channel from sharing a file descriptor. This commit adds a
    similar check to stdout and stderr.
    
    Refs: libuv/libuv#1851
    Refs: libuv/libuv#1897
    PR-URL: #21466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    cd2b80c View commit details
    Browse the repository at this point in the history
  5. test: fix test-net-socket-constructor

    So it doesn't fail when creating a socket whose `fd` is already
    being watched. Test that functionality now inside a cluster
    worker.
    
    Refs: libuv/libuv#1851
    Refs: libuv/libuv#1897
    PR-URL: #21466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    santigimeno authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    245c885 View commit details
    Browse the repository at this point in the history
  6. deps: upgrade to libuv 1.21.0

    Notable changes:
    
    - Building via cmake is now supported.
      PR-URL: libuv/libuv#1850
    - Stricter checks have been added to prevent watching the same
      file descriptor multiple times.
      PR-URL: libuv/libuv#1851
      Refs: #3604
    - An IPC deadlock on Windows has been fixed.
      PR-URL: libuv/libuv#1843
      Fixes: #9706
      Fixes: #7657
    - uv_fs_lchown() has been added.
      PR-URL: libuv/libuv#1826
      Refs: #19868
    - uv_fs_copyfile() sets errno on error.
      PR-URL: libuv/libuv#1881
      Fixes: #21329
    - uv_fs_fchmod() supports -A files on Windows.
      PR-URL: libuv/libuv#1819
      Refs: #12803
    
    PR-URL: #21466
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    f162939 View commit details
    Browse the repository at this point in the history
  7. doc: update LICENSE file

    Running `license-builder.sh` seems to indicate that there have been some
    license changes that have not been propagated to our LICENSE file yet.
    Here they are.
    
    PR-URL: #21472
    Reviewed-By: Luigi Pinca <luigipinca@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: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Trott authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    de195d5 View commit details
    Browse the repository at this point in the history
  8. http2: track memory allocated by nghttp2

    Provide a custom memory allocator for nghttp2, and track
    memory allocated by the library with it.
    
    This makes the used-memory-per-session estimate more
    accurate, and allows us to track memory leaks either
    in nghttp2 itself or, more likely, through faulty
    usage on our end.
    
    It also allows us to make the per-session memory limit
    more accurate in the future; currently, we are not
    handling this in an ideal way, and instead let nghttp2
    allocate what it wants, even if that goes over our limit.
    
    PR-URL: #21374
    Refs: #21373
    Refs: #21336
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    5a71e79 View commit details
    Browse the repository at this point in the history
  9. build: build addons in parallel on Windows

    Port #21155 to vcbuild.bat
    
    PR-URL: #21403
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bzoz authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    6f80e30 View commit details
    Browse the repository at this point in the history
  10. src: add native debugging code to workers

    Now that we have better native debugging utilities in core,
    let’s use them :)
    
    PR-URL: #21423
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    addaleax authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    54227ee View commit details
    Browse the repository at this point in the history
  11. win, build: fix building on 32-bit machines

    Fixes: #21402
    
    PR-URL: #21437
    Fixes: #21402
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bzoz authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    ba8ee17 View commit details
    Browse the repository at this point in the history
  12. util: recover from maximum call stack size

    Using util.inspect should still return values in case the maximum
    call stack size is reached. This is important to inspect linked
    lists and similar.
    
    PR-URL: #20725
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    7cc979d View commit details
    Browse the repository at this point in the history
  13. doc: update AUTHORS list

    PR-URL: #21468
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    6cca5a8 View commit details
    Browse the repository at this point in the history
  14. deps: float 0c27d793 from openssl (ECDSA blinding)

    Pending OpenSSL 1.1.0i release.
    
    Refs: https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/
    PR-URL: #21345
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Upstream: openssl/openssl@0c27d793
    
    Original commit message:
        Add blinding to an ECDSA signature
    
        Keegan Ryan (NCC Group) has demonstrated a side channel attack on an
        ECDSA signature operation. During signing the signer calculates:
    
        s:= k^-1 * (m + r * priv_key) mod order
    
        The addition operation above provides a sufficient signal for a
        flush+reload attack to derive the private key given sufficient signature
        operations.
    
        As a mitigation (based on a suggestion from Keegan) we add blinding to
        the operation so that:
    
        s := k^-1 * blind^-1 (blind * m + blind * r * priv_key) mod order
    
        Since this attack is a localhost side channel only no CVE is assigned.
    
        Reviewed-by: Rich Salz <rsalz@openssl.org>
    rvagg authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    fe6d707 View commit details
    Browse the repository at this point in the history
  15. doc: Improve doc for Http2 headers object

    Add more details regarding processing and data type of incoming
    headers in Http2.
    
    PR-URL: #21296
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Flarna authored and targos committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    4647f61 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. doc: clarify setServers() methods in dns.md

    Added a note that that clarifies the fact that setServers() does not
    check subsequent servers when the first one produces a NOTFOUND error.
    
    PR-URL: #21469
    Refs: #21391
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Shivang44 authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    f5fc412 View commit details
    Browse the repository at this point in the history
  2. 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 targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    a48d98e View commit details
    Browse the repository at this point in the history
  3. crypto: fix UB in computing max message size

    Before this commit it computed `(1<<(8*(15-iv_len)))-1` for `iv_len>=11`
    and that reduces to `(1<<32)-1` for `iv_len==11`.  Left-shifting past
    the sign bit and overflowing a signed integral type are both undefined
    behaviors.
    
    This commit switches to fixed values and restricts the `iv_len==11`
    case to `INT_MAX`, as was already the case for all `iv_len<=10`.
    
    PR-URL: #21462
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    45a8376 View commit details
    Browse the repository at this point in the history
  4. deps: fix gypi sysroot settings on V8

    On Node.js v8.x, gn will pass a sysroot parameter to clang to use a
    downloaded sysroot files while running `make test-v8`. Recently,
    chromium build tools switched to use Debian sid sysroot files instead of
    Debian jessie. This patch updates our V8 GYP files to conform with those
    changes.
    
    Ref: #21433
    
    PR-URL: #21494
    Refs: #21433
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Matheus Marchini authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    b30840d View commit details
    Browse the repository at this point in the history
  5. doc: add bcoe as collaborator

    PR-URL: #21536
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Benjamin Coe authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    c050279 View commit details
    Browse the repository at this point in the history
  6. build: fail on instrumentation errors

    nyc was silently failing to instrument new language features,
    resulting in a failure to instrument console.js.
    
    Refs: #20952
    PR-URL: #21071
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rebecca Turner <me@re-becca.org>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Benjamin Coe authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    2250631 View commit details
    Browse the repository at this point in the history
  7. build: improve Travis CI settings

    Remove macOS-specific steps, and reduce warnings due to compilation with
    clang.
    
    PR-URL: #21459
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    TimothyGu authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    7d2fe5d View commit details
    Browse the repository at this point in the history
  8. inspector: add debugging for WebSocket messages

    PR-URL: #21473
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and targos committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    d1b750d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2018

  1. win, build: generate .sln only when necessary

    When generating sln, store flags passed to configure. Next time, if
    node.sln exists and configure flags match those stored, skip building
    .sln files.
    
    Adds projgen vcbuild option to force .sln regeneration.
    
    PR-URL: #21284
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bzoz authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    97b2186 View commit details
    Browse the repository at this point in the history
  2. doc: updated docs to include --experimental-worker flag

    Updated worker-threads.md, cli.md and node.1 to include
    --experimental-worker flag
    
    PR-URL: #21461
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    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: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    jsmrcaga authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    511d610 View commit details
    Browse the repository at this point in the history
  3. test: add some test cases for validateOffsetLengthWrite

    PR-URL: #21195
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    kakts authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    9f2bf3c View commit details
    Browse the repository at this point in the history
  4. vm: add Script.createCodeCache()

    PR-URL: #20300
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    devsnek authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    4fc05ac View commit details
    Browse the repository at this point in the history
  5. test: make cctest fixture use node::NewIsolate

    This commit updates the gtest fixture to use node::NewIsolate instead of
    creating a new V8 Isolate using v8::Isolate::New.
    
    The motivation for this is that without calling node::NewIsolate the
    various callbacks set on the isolate, for example AddMessageListener,
    SetFatalErrorHandler etc, would not get set. I don't think this is the
    expected behaviour and I ran into this when writing a new cctest.
    
    PR-URL: #21419
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    7e10697 View commit details
    Browse the repository at this point in the history
  6. test: use aliases for smart pointers in fixture

    PR-URL: #21419
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    8f1aa3c View commit details
    Browse the repository at this point in the history
  7. worker: support relative paths

    This commit adds support for relative paths in Worker.
    Paths are relative to the current working directory.
    
    PR-URL: #21407
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    itaysabato authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    206e5bf View commit details
    Browse the repository at this point in the history
  8. build, win: make LTCG optional

    Disables Link Time Code Generation by default. Adds ‘ltcg’ vcbuild
    option to enable it. LTCG will be used by default by release and CI
    builds.
    
    PR-URL: #21186
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bzoz authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    76ef7ac View commit details
    Browse the repository at this point in the history
  9. build: speed up startup with V8 code cache

    This patch speeds up the startup time and reduce the startup memory
    footprint by using V8 code cache when comiling builtin modules.
    
    The current approach is demonstrated in the `with-code-cache`
    Makefile target (no corresponding Windows target at the moment).
    
    1. Build the binary normally (`src/node_code_cache_stub.cc` is used),
      by now `internalBinding('code_cache')` is an empty object
    2. Run `tools/generate_code_cache.js` with the binary, which generates
      the code caches by reading source code of builtin modules off source
      code exposed by `require('internal/bootstrap/cache').builtinSource`
      and then generate a C++ file containing static char arrays of the
      code cache, using a format similar to `node_javascript.cc`
    3. Run `configure` with the `--code-cache-path` option so that
      the newly generated C++ file will be used when compiling the
      new binary. The generated C++ file will put the cache into
      the `internalBinding('code_cache')` object with the module
      ids as keys
    4. The new binary tries to read the code cache from
      `internalBinding('code_cache')` and use it to compile
      builtin modules. If the cache is used, it will put the id
      into `require('internal/bootstrap/cache').compiledWithCache`
      for bookkeeping, otherwise the id will be pushed into
      `require('internal/bootstrap/cache').compiledWithoutCache`
    
    This patch also added tests that verify the code cache is
    generated and used when compiling builtin modules.
    
    The binary with code cache:
    
    - Is ~1MB bigger than the binary without code cahe
    - Consumes ~1MB less memory during start up
    - Starts up about 60% faster
    
    PR-URL: #21405
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    a7505c0 View commit details
    Browse the repository at this point in the history
  10. fs: undeprecate lchown()

    uv_fs_lchown() exists, as of libuv 1.21.0. fs.lchown() can now
    be undeprecated. This commit also adds tests, as there were
    none.
    
    PR-URL: #21498
    Fixes: #19868
    Reviewed-By: Wyatt Preul <wpreul@gmail.com>
    cjihrig authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    2e07d45 View commit details
    Browse the repository at this point in the history
  11. doc: fix code example and formatting in crypto.md

    PR-URL: #21500
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    WispProxy authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    504c0cd View commit details
    Browse the repository at this point in the history
  12. doc: separate unrelated info about child_process.exec()

    “Never pass unsanitized user input to this function” is followed by a
    code example with `bad_file`, but they aren’t related. Avoid confusion
    by moving the example and giving `bad_file` a more specific name.
    
    PR-URL: #21516
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    charmander authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    bc28398 View commit details
    Browse the repository at this point in the history
  13. doc: fix function name in process.md

    setUncaughtExceptionCapture -> setUncaughtExceptionCaptureCallback
    
    process.setUncaughtExceptionCaptureCallback and its docs were originally
    added in #17159
    
    PR-URL: #21523
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Joonas Rouhiainen authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    0f1d737 View commit details
    Browse the repository at this point in the history
  14. test: skip non-doc files in test-make-doc checks

    PR-URL: #21531
    Fixes: #21519
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    vsemozhetbyt authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    623cf11 View commit details
    Browse the repository at this point in the history
  15. src: move context bootstrap to js

    PR-URL: #21518
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    devsnek authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    eb8d60b View commit details
    Browse the repository at this point in the history
  16. per_context: add warning to Atomics.wake

    PR-URL: #21518
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    devsnek authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    0a1e8e0 View commit details
    Browse the repository at this point in the history
  17. doc: fix some typos in deprecations.md and vm.md

    PR-URL: #21569
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    vsemozhetbyt authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    51a434f View commit details
    Browse the repository at this point in the history
  18. inspector: use js_app.html as the landing page for chrome devtools

    As of this commit in chromium -
    https://chromium-review.googlesource.com/c/chromium/src/+/905450
    a new landing page (js_app.html) has been added and inspector.html
    has been made as the fallback page.
    
    Another motivation for this patch is the following bug in
    chromium -
    https://bugs.chromium.org/p/chromium/issues/detail?id=846642
    due to which, source maps won't get applied with inspector.html,
    but works with js_app.html
    
    In order to maintain compatibility, this patch adds a URL
    "devtoolsFrontendUrlCompat" to the response of /json/list REST API
    so that those using Chrome browsers older than 66.0.3345.0
    could use this to open DevTools.
    
    PR-URL: #21385
    Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=846642
    Refs: https://chromium-review.googlesource.com/c/chromium/src/+/905450
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    GauthamBanasandra authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    45fe865 View commit details
    Browse the repository at this point in the history
  19. src: add null check to GetCategoryGroupEnabled()

    The input to this function shouldn't be null, and callers are
    not equipped to deal with a nullptr return value. Change the
    nullptr return to a CHECK_NOT_NULL(). Also fix the indentation
    of the function.
    
    PR-URL: #21545
    Fixes: #19991
    Reviewed-By: Wyatt Preul <wpreul@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    7acfacb View commit details
    Browse the repository at this point in the history
  20. doc: add DataView to appropriate crypto methods

    crypto.scrypt(), crypto.scryptSync(),
    crypto.pbkdf2(), and crypto.pbkdf2Sync()
    support also DataView like most other crypto APIs.
    
    PR-URL: #21549
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Flarna authored and targos committed Jun 28, 2018
    Configuration menu
    Copy the full SHA
    e081866 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2018

  1. doc: fix typo in fs.md

    Fixes simple typo of `excludiing` to `excluding`.
    
    PR-URL: #21579
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    hugojosefson authored and targos committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    eb6dcf2 View commit details
    Browse the repository at this point in the history
  2. workers: replace message types string by constants

    This change can prevent typos and redundant strings in code.
    
    PR-URL: #21537
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    starkwang authored and targos committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    49706b4 View commit details
    Browse the repository at this point in the history
  3. workers: add test for messagePort.onmessage

    PR-URL: #21510
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    41c4b2c View commit details
    Browse the repository at this point in the history
  4. src: slightly simplify FSEventWrap

    We don’t need to track `initialized_`, `HandleWrap` already does
    that for us.
    
    PR-URL: #21533
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    bb0795a View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2018

  1. build: remove requirement to re-run ./configure

    Instead of requiring `./configure` to be run again after
    the file changed, first try to re-run the configure script
    with the arguments with which it was originally run.
    
    Usually, those arguments will either contain no flags,
    or all flags that were passed are still supported.
    
    PR-URL: #21371
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    3d3dbae View commit details
    Browse the repository at this point in the history
  2. test: add a request-response test for MessageChannel

    This commit adds a request-response test for MessageChannel.
    
    PR-URL: #21514
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    itaysabato authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    e7abde4 View commit details
    Browse the repository at this point in the history
  3. lib: fix segfault with --without-intl

    Node.js segfaults when build with `--without-intl` due to an oversight
    in d13cdd9. This fixes the issue.
    
    PR-URL: #21589
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    0d98fe6 View commit details
    Browse the repository at this point in the history
  4. n-api: add API for asynchronous functions

    Bundle a `uv_async_t`, a `uv_idle_t`, a `uv_mutex_t`, a `uv_cond_t`,
    and a `v8::Persistent<v8::Function>` to make it possible to call into JS
    from another thread. The API accepts a void data pointer and a callback
    which will be invoked on the loop thread and which will receive the
    `napi_value` representing the JavaScript function to call so as to
    perform the call into JS. The callback is run inside a
    `node::CallbackScope`.
    
    A `std::queue<void*>` is used to store calls from the secondary
    threads, and an idle loop is started by the `uv_async_t` callback on the
    loop thread to drain the queue, calling into JS with each item.
    
    Items can be added to the queue blockingly or non-blockingly.
    
    The thread-safe function can be referenced or unreferenced, with the
    same semantics as libuv handles.
    
    Re: nodejs/help#1035
    Re: #20964
    Fixes: #13512
    PR-URL: #17887
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    91384bf View commit details
    Browse the repository at this point in the history
  5. esm: loader hook URL validation and error messages

    PR-URL: #21352
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    guybedford authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    29299cc View commit details
    Browse the repository at this point in the history
  6. test: fix ESM test

    The previously landed commit was broken and it’s too late
    to force-push. Fixing up the test seems to work.
    
    Refs: #21352
    
    PR-URL: #21605
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    b28fd37 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. src: remove extra ReadStop() call

    This is no longer necessary since libuv 1.21.0.
    
    PR-URL: #21528
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    a8a7575 View commit details
    Browse the repository at this point in the history
  2. src: remove StreamBase::kFlagHasWritev

    Since libuv 1.21.0, pipes on Windows support `writev` on the
    libuv side.
    
    This allows for some simplification, and makes the `StreamBase`
    API more uniform (multi-buffer `Write()` is always supported now,
    including when used by other non-JS consumers like HTTP/2).
    
    PR-URL: #21527
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    0550a58 View commit details
    Browse the repository at this point in the history
  3. test: add worker prefix to test-message* tests

    It makes it easier to locate all tests related to the worker subsystem.
    
    PR-URL: #21512
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    95fa3c6 View commit details
    Browse the repository at this point in the history
  4. errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK

    This restores a broken and erroneously removed error, which was
    accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice
    the "INTST" vs "INST") in 921fb84
    (PR #16874) and then had documentation and implementation removed under
    the old name in 6e1c25c (PR #18857),
    as it appeared unused.
    
    This error code never worked or was documented under the mistyped name
    ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK, so renaming it back to
    ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK is a semver-patch fix.
    
    Refs: #21440
    Refs: #21470
    Refs: #16874
    Refs: #18857
    
    PR-URL: #21493
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ChALkeR authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    1e5afb7 View commit details
    Browse the repository at this point in the history
  5. doc: fix heading level in errors.md

    PR-URL: #21618
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    cadc74d View commit details
    Browse the repository at this point in the history
  6. doc: fix some typos in N-API docs

    PR-URL: #21614
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    24bc6ab View commit details
    Browse the repository at this point in the history
  7. repl: fix tab completion for object properties with special char

    The old RegExp will pass property names like `"hello world!"`
    when filtering the results of tab complete. This change is to
    fix it.
    
    Fixes: #21201
    
    PR-URL: #21556
    Fixes: #21201
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    starkwang authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    1894d6c View commit details
    Browse the repository at this point in the history
  8. doc: fix some links

    PR-URL: #21619
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    vsemozhetbyt authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    1d73ba8 View commit details
    Browse the repository at this point in the history
  9. n-api: fix compiler warning

    private field 'async_context' is not used [-Wunused-private-field]
    
    PR-URL: #21597
    Refs: #17887
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cjihrig authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    c870372 View commit details
    Browse the repository at this point in the history
  10. tools: build all.html by combining generated HTML

    Combine the toc and api contents from the generated doc/api/*.html
    files. This ensures that the single page version of the documentation
    exactly matches the individual pages.
    
    PR-URL: #21568
    Fixes: #20100
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rubys authored and targos committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    5d6d6fb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2018

  1. 2018-07-04, Version 10.6.0 (Current)

    Notable changes:
    
    * dns:
      * An experimental promisified version of the dns module is now available. Give
        it a try with `require('dns').promises`. [#21264](#21264)
    * fs:
      * `fs.lchown` has been undeprecated now that libuv supports it. [#21498](#21498)
    * lib:
      * `Atomics.wake` is being renamed to `Atomics.notify` in the ECMAScript
        specification ([reference](tc39/ecma262#1220)).
        Since Node.js now has experimental support for worker threads, we are being
        proactive and added a `notify` alias, while emitting a warning if
        `wake` is used. [#21413](#21413) [#21518](#21518)
    * n-api:
      * Add API for asynchronous functions. [#17887](#17887)
    * util:
      * `util.inspect` is now able to return a result instead of throwing when the
        maximum call stack size is exceeded during inspection. [#20725](#20725)
    * vm:
      * Add `script.createCachedData()`. This API replaces the `produceCachedData`
        option of the `Script` constructor that is now deprecated. [#20300](#20300)
    * worker:
      * Support for relative paths has been added to the `Worker` constructor. Paths
        are interpreted relative to the current working directory. [#21407](#21407)
    
    PR-URL: #21629
    targos committed Jul 4, 2018
    Configuration menu
    Copy the full SHA
    4716fd1 View commit details
    Browse the repository at this point in the history