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

Release proposal: v10.10.0 #22716

Merged
merged 208 commits into from Sep 6, 2018
Merged

Release proposal: v10.10.0 #22716

merged 208 commits into from Sep 6, 2018

Commits on Sep 3, 2018

  1. test: remove common.hasTracing

    `common.hasTracing` is only used in one place. `common` is bloated so
    let's move that to the one test that uses it.
    
    `hasTracing` is undocumented so there's no need to remove it from the
    README file as it's not there in the first place.
    
    Similarly, it's not included in the .mjs version of the `common` file.
    
    PR-URL: #22250
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    5cfab14 View commit details
    Browse the repository at this point in the history
  2. test: mark async-hooks/test-statwatcher as flaky

    Refs: #21425
    
    PR-URL: #22330
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    joyeecheung authored and targos committed Sep 3, 2018
    Copy the full SHA
    4a28d38 View commit details
    Browse the repository at this point in the history
  3. test: mark async-hooks/test-callback-error as flaky

    Refs: #15985
    
    PR-URL: #22330
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    joyeecheung authored and targos committed Sep 3, 2018
    Copy the full SHA
    2ed22df View commit details
    Browse the repository at this point in the history
  4. util: fix sparse array inspection

    For very special sparse arrays it was possible that util.inspect
    visualized the entries not in the intended way.
    
    PR-URL: #22283
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    cdf6471 View commit details
    Browse the repository at this point in the history
  5. util,assert: improve comparison performance

    This adds a smarter logic to compare object keys (including symbols)
    and it also skips the object key comparison for (typed) arrays, if
    possible.
    
    Besides that it adds a fast path for empty objects, arrays, sets and
    maps and fast paths for sets and maps with an unequal size.
    
    On top of that a few functions are now safer to call by using
    uncurryThis and by caching the actual function.
    
    Overall, this is a significant performance boost for comparisons.
    
    PR-URL: #22258
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    4d4180b View commit details
    Browse the repository at this point in the history
  6. lib: remove unused exec param

    `exec`'s parameters are now deconstructored through
    `normalizeExecArgs.apply`. We don't need an exclipit parameter anymore
    (and in fact it's NEVER referred in the code directly), like `spwan` or
    `spwanSync`. This might be missing.
    
    PR-URL: #22274
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    MaleDong authored and targos committed Sep 3, 2018
    Copy the full SHA
    3f93782 View commit details
    Browse the repository at this point in the history
  7. http2: emit timeout on compat request and response

    Fixes: #20079
    
    PR-URL: #22252
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and targos committed Sep 3, 2018
    Copy the full SHA
    d3ceaa1 View commit details
    Browse the repository at this point in the history
  8. doc: clarify ServerResponse explanations

    In short: `ServerResponse` acutally inherits from `OutgoingMessage`,
    with a series of methods like those in `Stream.Writable`. So we cannot
    use `implements`(this has made poeple feel puzzled because there are
    still many methods we don't need or have), so `inherits from Stream` is
    enough, due to some core reasons and performance told by mcollina from
    the ref (See some latest discussions at Ref).
    
    Ref: #14146.
    PR-URL: #22305
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    MaleDong authored and targos committed Sep 3, 2018
    Copy the full SHA
    7972298 View commit details
    Browse the repository at this point in the history
  9. cli: fix flags on help output

    PR-URL: #22271
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    devsnek authored and targos committed Sep 3, 2018
    Copy the full SHA
    dec42b5 View commit details
    Browse the repository at this point in the history
  10. test: fix cctest URLTest.ToFilePath on Win32 without Intl

    Skip one specific test that requires ICU
    
    Fixes: #19051
    
    PR-URL: #22265
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jasnell authored and targos committed Sep 3, 2018
    Copy the full SHA
    44bcc1d View commit details
    Browse the repository at this point in the history
  11. doc: Windows building supported on x64

    Since we are CI testing on x64 hosts, we can only commit to x64 hosts.
    
    PR-URL: #21443
    Refs: #21402
    Refs: #21437
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    refack authored and targos committed Sep 3, 2018
    Copy the full SHA
    c894145 View commit details
    Browse the repository at this point in the history
  12. src: fix race on modpending

    Fixes a rare race condition on modpending when two native modules are
    loaded simultaneously on different threads by storing it thread-
    locally.
    
    PR-URL: #21611
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    rpetrich authored and targos committed Sep 3, 2018
    Copy the full SHA
    866965e View commit details
    Browse the repository at this point in the history
  13. doc: clarify that new URL().port could be an empty string

    PR-URL: #22232
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    mcollina authored and targos committed Sep 3, 2018
    Copy the full SHA
    9142935 View commit details
    Browse the repository at this point in the history
  14. deps: fix CRLF in text file not present in upstream

    `deps/v8/third_party/jinja2/LICENSE` is not in upstream v8,
    and contains CRLF, which is in conflict with `deps/v8/.gitattributes`
    which sets all text files to use LF.
    This has caused failures in CI workers with older versions of Git.
    This patch manually fixes up the file to use LF to resolve
    the conflict.
    
    The file has already been fixed in upstream jinja2,
    which is pull into our repo when we update V8 so it should
    be fixed the next time we update V8.
    
    PR-URL: #22340
    Refs: nodejs/build#1443
    Refs: nodejs/reliability#12
    Refs: nodejs/build#1453
    Refs: https://chromium-review.googlesource.com/c/993812/
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and targos committed Sep 3, 2018
    Copy the full SHA
    eab377f View commit details
    Browse the repository at this point in the history
  15. src: perform integrity checks on built-in code cache

    Currently V8 only checks that the length of the source code is the
    same as the code used to generate the hash, so we add an additional
    check here:
    
    1. During compile time, when generating node_javascript.cc and
       node_code_cache.cc, we compute and include the hash of the
      (unwrapped) JavaScript source in both.
    2. At runtime, we check that the hash of the code being compiled
      and the hash of the code used to generate the cache
      (inside the wrapper) is the same.
    
    This is based on the assumptions:
    
    1. `internalBinding('code_cache_hash')` must be in sync with
       `internalBinding('code_cache')` (same C++ file)
    2. `internalBinding('natives_hash')` must be in sync with
       `process.binding('natives')` (same C++ file)
    3. If `internalBinding('natives_hash')` is in sync with
       `internalBinding('natives_hash')`, then the (unwrapped)
       code used to generate `internalBinding('code_cache')`
       should be in sync with the (unwrapped) code in
       `process.binding('natives')`
    
    There will be, however, false positives if the wrapper used
    to generate the cache is different from the one used at run time,
    and the length of the wrapper somehow stays the same.
    But that should be rare and can be eased once we make the
    two bootstrappers cached and checked as well.
    
    PR-URL: #22152
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung authored and targos committed Sep 3, 2018
    Copy the full SHA
    4638ce6 View commit details
    Browse the repository at this point in the history
  16. doc: add doc for --loader option

    PR-URL: #22104
    Fixes: #21230
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    SirR4T authored and targos committed Sep 3, 2018
    Copy the full SHA
    e644088 View commit details
    Browse the repository at this point in the history
  17. doc: clarify documentation of pipes and zlib objects

    Document how pipes can be chained in readable.pipe().
    Document that zlib.Zlib inherits from stream.Transform.
    
    PR-URL: #22354
    Fixes: #22341
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    andreasg123 authored and targos committed Sep 3, 2018
    Copy the full SHA
    d86e615 View commit details
    Browse the repository at this point in the history
  18. src: encode 0x27 (') for special URLs

    Refs: whatwg/url@6ef17eb
    PR-URL: #22022
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    TimothyGu authored and targos committed Sep 3, 2018
    Copy the full SHA
    c207865 View commit details
    Browse the repository at this point in the history
  19. tools: simplify ESLint invocation in Makefile

    Makefile currently enforces .eslintrc.js linting on the command line but
    it is already enforced in the .estlintignore file.
    
    This also simplifies an arguably-related comment in .estlinrc.js.
    
    PR-URL: #22348
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    725a2b1 View commit details
    Browse the repository at this point in the history
  20. fs: readdir optionally returning type information

    readdir and readdirSync now have a "withFileTypes" option, which, when
    enabled, provides an array of DirectoryEntry objects, similar to Stats
    objects, which have the filename and the type information.
    
    Refs: #15699
    
    PR-URL: #22020
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    bengl authored and targos committed Sep 3, 2018
    Copy the full SHA
    ad97314 View commit details
    Browse the repository at this point in the history
  21. util: harden util.inspect

    This makes sure values without prototype will still be inspected
    properly and do not cause errors. It restores the original
    information if possible.
    
    Besides that it fixes an issue with boxed symbols: extra keys were
    not visualized so far.
    
    PR-URL: #21869
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    459d676 View commit details
    Browse the repository at this point in the history
  22. util: properly indent special properties

    Calling `formatValue()` directly requires the indentation level to
    be set manually. This was not the case so far in most cases and the
    indentation was off in all these cases.
    
    PR-URL: #22291
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    e9ac683 View commit details
    Browse the repository at this point in the history
  23. test: remove harmony flags

    v8 6.8 supports all removed flags. For example for BigInt.
    
    PR-URL: #22285
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    acfb724 View commit details
    Browse the repository at this point in the history
  24. util: improve empty typed array inspection

    They should be aligned with all other empty objects. Therefore the
    whitespace is removed and they got a fast path for that.
    
    PR-URL: #22284
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    3dc3a31 View commit details
    Browse the repository at this point in the history
  25. util: escape symbol and non-enumerable keys

    These keys require escaping as they might also contain line breaks
    and other special characters.
    
    PR-URL: #22300
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    f763ac7 View commit details
    Browse the repository at this point in the history
  26. util: mark special entries as such

    This adds the color code to special entries if colors are active.
    
    PR-URL: #22287
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    1828017 View commit details
    Browse the repository at this point in the history
  27. doc: unify optional arguments format in headings

    Make space and comma distribution in some headings
    consistent with the majority of headings.
    
    PR-URL: #22397
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and targos committed Sep 3, 2018
    Copy the full SHA
    1ebaa2a View commit details
    Browse the repository at this point in the history
  28. doc: clarify fs.write[Sync]() descriptions

    1. All default values for optional `encoding` parameters
       were documented except for the one in `fs.write(fd, string...)`
       method. This PR makes up this deficiency.
    
    2. We have two variants of `fs.write()` / `fs.writeSync()` methods:
       for buffers and strings. Currently, the sync methods have only one
       common reference to the full description of async methods.
       However, the link may seem to belong to the last sync variant only
       (for strings) and, as it refers to the first async variant
       (for buffers), this may be confusing. This PR makes two different
       sync variants refer to two different async variants.
    
    3. In passing, both returned values of sync methods were also made
       more concise and unambiguous.
    
    PR-URL: #22402
    Refs: https://github.com/nodejs/node/blob/a04f2f7df630427bf869b1e04040975b752973b6/lib/fs.js#L549
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and targos committed Sep 3, 2018
    Copy the full SHA
    c17e980 View commit details
    Browse the repository at this point in the history
  29. util,assert: improve performance

    This significantly improves regular and typed array performance by
    not checking the indices keys anymore. This can be done with a V8
    API that allows to only retrieve the non indices property keys.
    
    PR-URL: #22197
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    2b1cb3b View commit details
    Browse the repository at this point in the history
  30. test: harden test-gc-http-client

    This reduces the total number of requests from 500 to 300 and triggers
    more requests in parallel. It also moves some function creation out
    and waits with the first request until the server is listening.
    
    PR-URL: #22373
    Fixes: #22336
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    149c209 View commit details
    Browse the repository at this point in the history
  31. build: use echo command instead of shell comments

    Currently, there are a few recipes where comments are indented
    and being passed to the shell.
    
    This commit updates these comments to use the echo command instead,
    which is the more common approach used in other recipes in the
    makefile.
    
    PR-URL: #22293
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev authored and targos committed Sep 3, 2018
    Copy the full SHA
    ed874e4 View commit details
    Browse the repository at this point in the history
  32. build: add test-doc to test target

    This commit adds the test-doc target to the test recipe so that docs are
    built and linters run. This used to happen but was removed at some
    point.
    
    PR-URL: #22294
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and targos committed Sep 3, 2018
    Copy the full SHA
    fd6033c View commit details
    Browse the repository at this point in the history
  33. deps: upgrade to libuv 1.23.0

    Notable changes:
    - Restores compatibility with the old IPC protocol.
    - Adds uv_open_osfhandle().
    - Adds uv_os_{get,set}priority().
    
    PR-URL: #22365
    Fixes: #21671
    Fixes: #15433
    Refs: #21675
    Refs: nodejs/node-addon-api#304
    Refs: nodejs/abi-stable-node#318
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Sep 3, 2018
    Copy the full SHA
    90e99da View commit details
    Browse the repository at this point in the history
  34. build: touch tools/doc/node_modules after run

    Currently, tools/doc/node_modules is not touched after running npm
    install resulting in npm install being run every time. I missed this
    while testing commit 88bff82 ("build:
    make tools/doc/node_modules non-phony").
    
    PR-URL: #22350
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    danbev authored and targos committed Sep 3, 2018
    Copy the full SHA
    8f760c2 View commit details
    Browse the repository at this point in the history
  35. os: improve networkInterfaces performance

    This algorithm uses less data transformations and is therefore
    significantly faster than the one before.
    
    PR-URL: #22359
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    3b44053 View commit details
    Browse the repository at this point in the history
  36. os: destructure ERR_SYSTEM_ERROR properly

    PR-URL: #22394
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Sep 3, 2018
    Copy the full SHA
    30b22a6 View commit details
    Browse the repository at this point in the history
  37. test: cover error case in os getCheckedFunction()

    getCheckedFunction() is used internally by the os module to
    handle errors from the binding layer in several methods. This
    commit adds a test for the case where the binding layer returns
    an error.
    
    PR-URL: #22394
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Sep 3, 2018
    Copy the full SHA
    fbc189b View commit details
    Browse the repository at this point in the history
  38. build: move available-node variable to top

    Currently node_use_openssl uses the available-node variable before it is
    defined causing the conditions that use it before that point to
    evaluate incorrectly. As an example running the target
    test/addons/.docbuildstamp will currently be skipped:
    
    $ make test/addons/.docbuildstamp
    Skipping .docbuildstamp (no crypto)
    
    With this commit the target will only be skipped if configured --without-ssl.
    
    PR-URL: #22356
    Reviewed-By: Richard Lau <riclau@uk.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: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Sep 3, 2018
    Copy the full SHA
    660c515 View commit details
    Browse the repository at this point in the history
  39. test: remove third argument from assert.strictEqual()

    `test/parallel/test-util-inspect.js` has a call to
    `assert.strictEqual()` that receives three arguments.
    The third argument is a string literal. Unfortunately,
    calling assert.strictEqual() this way means that if
    there is an AssertionError, the value of the variables
    pos and npos are not reported.
    This PR removes this argument.
    
    PR-URL: #22371
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    diprudnikov authored and targos committed Sep 3, 2018
    Copy the full SHA
    33994d8 View commit details
    Browse the repository at this point in the history
  40. test: fix flaky http timeout test

    There is no guarantee that a timeout won't be delayed considerably due
    to unrelated activity on the host. Instead of checking that the timeout
    happens within a certain tolerance, simply check that it did not happen
    too soon.
    
    Fixes: #22041
    
    PR-URL: #22403
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    5aa3100 View commit details
    Browse the repository at this point in the history
  41. test: move http timeout test to parallel

    test-http-client-timeout-option-with-agent no longer checks that the
    timeout happens within a certain tolerance so it can be moved to the
    parallel test suite.
    
    PR-URL: #22403
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    22adebf View commit details
    Browse the repository at this point in the history
  42. test: improve assert message in http timeout test

    PR-URL: #22403
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    e8e014a View commit details
    Browse the repository at this point in the history
  43. util: Fix number format for pad

    `pad` is now using `toString(10)`, actually we don't need to do this. As for https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString, `toString(N)` is a radix converter, which isn't proper here for time conversion.
    
    PR-URL: #21906
    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: Sam Ruby <rubys@intertwingly.net>
    MaleDong authored and targos committed Sep 3, 2018
    Copy the full SHA
    f86ca89 View commit details
    Browse the repository at this point in the history
  44. deps: patch V8 to 6.8.275.30

    Refs: v8/v8@6.8.275.24...6.8.275.30
    
    PR-URL: #22125
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    targos committed Sep 3, 2018
    Copy the full SHA
    611f423 View commit details
    Browse the repository at this point in the history
  45. doc: update wrapping-related documentation

    Update the N-API documentation to reflect that wrapping no longer
    affects the object's prototype chain.
    
    PR-URL: #22363
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Gabriel Schulhof authored and targos committed Sep 3, 2018
    Copy the full SHA
    282a45d View commit details
    Browse the repository at this point in the history
  46. perf_hooks: move strings to env

    Move repeatedly created strings to env
    
    PR-URL: #22401
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and targos committed Sep 3, 2018
    Copy the full SHA
    107c8c0 View commit details
    Browse the repository at this point in the history
  47. stream: restore flow if there are 'data' handlers after once('readable')

    Fixes: #21398
    See: #21696
    
    PR-URL: #22209
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Mathias Buus <mathiasbuus@gmail.com>
    mcollina authored and targos committed Sep 3, 2018
    Copy the full SHA
    53fb7af View commit details
    Browse the repository at this point in the history
  48. http: adding doc and debug for calling empty string on write function

    PR-URL: #22118
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    antsmartian authored and targos committed Sep 3, 2018
    Copy the full SHA
    c07a065 View commit details
    Browse the repository at this point in the history
  49. test: remove redundant cli tests

    test/parallel/test-cli-eval.js covers them, and many more things.
    
    PR-URL: #22355
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    bengl authored and targos committed Sep 3, 2018
    Copy the full SHA
    38b0c1f View commit details
    Browse the repository at this point in the history
  50. test: harden sequential/test-performance

    1) This adds a better error logging so we are able to address further
       failures easier.
    2) It adds a extra epsilon so the test runs into less issues in case
       the machine is under heavy load.
    3) The epsilon in increased if the CPU is under heavy load.
    4) The total startup epsilon was reduced due to recent startup time
       improvements.
    
    PR-URL: #22404
    Fixes: #19197
    Refs: nodejs/reliability#14
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    acfb29c View commit details
    Browse the repository at this point in the history
  51. repl: tab auto complete big arrays

    Due to a new API it's possible to skip the indices. That allows to
    use auto completion with big (typed) arrays.
    
    PR-URL: #22408
    Fixes: #21446
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    0b340ab View commit details
    Browse the repository at this point in the history
  52. build: use npm ci

    * remove obsolete `node_modules/js-yaml/package.json` target
    * remove `@touch` since `npm ci` is always destructive
    
    PR-URL: #22399
    Refs: #21802
    Refs: #21490
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    refack authored and targos committed Sep 3, 2018
    Copy the full SHA
    fc1259b View commit details
    Browse the repository at this point in the history
  53. doc: make createPushResponse() more detailled

    We don't know what will return when successful or failure for
    the callback of the function. So this commit makes it more detailled.
    
    PR-URL: #22366
    Refs: #22322
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MaleDong authored and targos committed Sep 3, 2018
    Copy the full SHA
    f27a254 View commit details
    Browse the repository at this point in the history
  54. async_hooks: adding regression test case for async/await

    The actual bug was fixed by a V8 update in Node v10.4.0.
    
    See: #19989
    PR-URL: #22374
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    antsmartian authored and targos committed Sep 3, 2018
    Copy the full SHA
    e2a801a View commit details
    Browse the repository at this point in the history
  55. doc: state callback behavior on empty buffer

    PR-URL: #22461
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    RubenVerborgh authored and targos committed Sep 3, 2018
    Copy the full SHA
    2a849ba View commit details
    Browse the repository at this point in the history
  56. build,tools: tweak the travis config

    PR-URL: #22417
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Sep 3, 2018
    Copy the full SHA
    3915537 View commit details
    Browse the repository at this point in the history
  57. doc: add lundibundi to collaborators

    PR-URL: #22491
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and targos committed Sep 3, 2018
    Copy the full SHA
    6228433 View commit details
    Browse the repository at this point in the history
  58. worker: remove redundant function call to setupPortReferencing

    There is no need to call `setupPortReferencing` in `setupChild`
    as which has been called with the same arguments in the `oninit`
    prototype method of `MessagePort`.
    
    PR-URL: #22298
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    oyyd authored and targos committed Sep 3, 2018
    Copy the full SHA
    887c43f View commit details
    Browse the repository at this point in the history
  59. build: Don't set -fno-threadsafe-statics on macOS

    This flag is not set on other platforms so it can produce inconsistent
    behaviour across platforms. For example, if you build an async node
    add-on which uses statics you can get race conditions due to static
    not supporting threads if the node add-on inherits from the Node
    common.gypi config. It is not disabled on other platforms such as
    Linux, it is not disabled by default in Xcode or clang.
    
    This setting has been there since the initial commit that introduces
    `common.gypi` and thus has been there since the start, it doesn't seem
    to be have added for any particular reason other than to potentially
    match the Xcode defaults at the time.
    
    PR-URL: #22198
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    kylef authored and targos committed Sep 3, 2018
    Copy the full SHA
    efe71e9 View commit details
    Browse the repository at this point in the history
  60. test: remove isGlibc from common

    The `common.isGlibc()` function is called exactly once from only
    one test. There's no reason for it to be in `require('../common')`
    at the current time. If it ends up needing to be used by multiple
    tests, it can easily be moved into it's own common sub-module
    (e.g. `require('../common/isglibc')` ... for now tho, just move
    it into the one test that uses it and simplify the implementation
    a bit to remove unnecessary caching.
    
    PR-URL: #22443
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell authored and targos committed Sep 3, 2018
    Copy the full SHA
    e684382 View commit details
    Browse the repository at this point in the history
  61. test: move common.ArrayStream to separate module

    In a continuing effort to de-monolithize `require('../common')`,
    move `common.ArrayStream` out to a separate module that is
    imported only when it is needed.
    
    PR-URL: #22447
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and targos committed Sep 3, 2018
    Copy the full SHA
    98af170 View commit details
    Browse the repository at this point in the history
  62. tools: update ESLint to 5.4.0

    Update ESLint from 5.3.0 to 5.4.0.
    
    PR-URL: #22454
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Trott authored and targos committed Sep 3, 2018
    Copy the full SHA
    9d246f9 View commit details
    Browse the repository at this point in the history
  63. doc: tweak macOS-firewall note position

    Move the macOS-firewall note to the end of "Building Node.js"
    and above "Running Tests".
    
    I think it's more reasonable when user prepare to build node
    step by step. Just read and build from top to end in case ignore
    the note.
    
    PR-URL: #22440
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    ZYSzys authored and targos committed Sep 3, 2018
    Copy the full SHA
    e254130 View commit details
    Browse the repository at this point in the history
  64. test,stream: fix pipeline test so it runs well on Windows in older nodes

    This test is ported automatically in readable-stream, and it fails there
    on Windows and older Node.js versions because of some bad interactions
    between the code and the event loop on Windows.
    
    See: nodejs/readable-stream#353
    
    PR-URL: #22456
    Reviewed-By: Mathias Buus <mathiasbuus@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and targos committed Sep 3, 2018
    Copy the full SHA
    7794d4e View commit details
    Browse the repository at this point in the history
  65. test: add tests for dnsPromises.lookup

    Added tests for dnsPromises.lookup to increase coverage and test
    `onlookup()` and `onlookupall()` methods.
    
    PR-URL: #21559
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Masashi Hirano authored and targos committed Sep 3, 2018
    Copy the full SHA
    ae016c8 View commit details
    Browse the repository at this point in the history
  66. test: add test unknown credential error of process.setgroups

    Added test to check ERR_UNKNOWN_CREDENTIAL of process.setgroups to
    increase coverage.
    
    PR-URL: #22368
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Masashi Hirano authored and targos committed Sep 3, 2018
    Copy the full SHA
    fcf059a View commit details
    Browse the repository at this point in the history
  67. util: restore all information in inspect

    The former implementation lacked symbols on the iterator objects
    without prototype. This is now fixed.
    The special handling for overriding `Symbol.iterator` was removed as
    it's very difficult to deal with this properly. Manipulating the
    symbols is just not supported.
    
    PR-URL: #22437
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR authored and targos committed Sep 3, 2018
    Copy the full SHA
    5b14066 View commit details
    Browse the repository at this point in the history
  68. os: add os.{get,set}Priority()

    PR-URL: #22407
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    cjihrig authored and targos committed Sep 3, 2018
    Copy the full SHA
    219da67 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. lib: extract validateNumber validator

    Pulls out another common argument validator to `internal/validators`
    
    PR-URL: #22249
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    maclover7 authored and targos committed Sep 6, 2018
    Copy the full SHA
    f0153d0 View commit details
    Browse the repository at this point in the history
  2. test: move hijackstdio out of require('common')

    Move the hijackstdio functions out of common so that they are
    imported only into the tests that actually need them
    
    PR-URL: #22462
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    07ceb54 View commit details
    Browse the repository at this point in the history
  3. test: flaky everywhere test-trace-events-fs-sync

    Refs: #21038
    
    PR-URL: #22483
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and targos committed Sep 6, 2018
    Copy the full SHA
    c04f1f3 View commit details
    Browse the repository at this point in the history
  4. test: move common.onGC to individual module

    Incrementally making `require('../common')` less of a monolith.
    Move the `common.onGC()` utility to a separate standalone module
    that is only imported when it's actually needed.
    
    PR-URL: #22446
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    c9c8b29 View commit details
    Browse the repository at this point in the history
  5. test: add v8 benchmark test

    Refs: #12068
    
    PR-URL: #22335
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    594b237 View commit details
    Browse the repository at this point in the history
  6. test: add vm benchmark test

    Refs: #12068
    
    PR-URL: #22335
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    caaac3f View commit details
    Browse the repository at this point in the history
  7. test: add streams benchmark test

    Refs: #12068
    
    PR-URL: #22335
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    c91472e View commit details
    Browse the repository at this point in the history
  8. test: improve code coverage for string decoder

    PR-URL: #22306
    Reviewed-By: Colin Ihrig <cjihrig@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>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BeniCheni authored and targos committed Sep 6, 2018
    Copy the full SHA
    a704ed8 View commit details
    Browse the repository at this point in the history
  9. test: move common.isCPPSymbolsNotMapped to tick-processor tests

    `common.isCPPSymbolsNotMapped` is used only by the tests in the
    `test/tick-processor` folder. Move it local to those to get it
    out of `common`.
    
    PR-URL: #22459
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    803b324 View commit details
    Browse the repository at this point in the history
  10. test: remove third argument from strictEqual()

    test: remove third argument from assert.strictEqual()
    
    PR-URL: #22451
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    neeraj-laad authored and targos committed Sep 6, 2018
    Copy the full SHA
    e09296b View commit details
    Browse the repository at this point in the history
  11. gyp: muffle xcodebuild warnings

    Muffle xcodebuild warnings by introducing an alternative quieter
    alternative to GetStdout, called GetStdoutQuiet, and call it selectively
    in particularly noisy xcodebuild commands.
    
    Co-authored-by: Gibson Fahnestock <gibfahn@gmail.com>
    
    PR-URL: #21999
    Original-PR-URL: nodejs/node-gyp#1370
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    cd5c672 View commit details
    Browse the repository at this point in the history
  12. test: move custom WHATWG URL tests into separate files

    To enable automatic update of WPT, move all our custom
    WHATWG URL tests that are not present in the upstream into
    files starting with `test-whatwg-url-custom-`, so it's easier
    to identify test cases that can be upstreamed and test cases
    that should be rolled into our repo (possibly with automation).
    
    PR-URL: #22442
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    joyeecheung authored and targos committed Sep 6, 2018
    Copy the full SHA
    de1d8e8 View commit details
    Browse the repository at this point in the history
  13. tools: add missing package-lock to clang-format

    `npm ci` fails where there is no package-lock.json.
    Also add the `node_modules` directory to .gitignore.
    
    PR-URL: #22500
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    2e0652d View commit details
    Browse the repository at this point in the history
  14. doc: support 'removed' field in doc YAML sections

    PR-URL: #22100
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    SirR4T authored and targos committed Sep 6, 2018
    Copy the full SHA
    060a62f View commit details
    Browse the repository at this point in the history
  15. doc: document removed error codes

    PR-URL: #22100
    Fixes: #22061
    Refs: #21491
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    SirR4T authored and targos committed Sep 6, 2018
    Copy the full SHA
    10b7404 View commit details
    Browse the repository at this point in the history
  16. doc: clarify git config name/email requirements

    The previous wording sounded like this was a necessary for
    contributing. This clarifies that it is not, and tells people what
    we do use their info for.
    
    PR-URL: #22433
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    ae34e83 View commit details
    Browse the repository at this point in the history
  17. doc: add GitHub email set up link to COLLABORATOR_GUIDE

    PR-URL: #22525
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    2ee0ef1 View commit details
    Browse the repository at this point in the history
  18. deps: import acorn@5.7.2

    Imported from the tarball published on npm
    (https://registry.npmjs.org/acorn/-/acorn-5.7.2.tgz).
    
    Update to emcaScript version 10 in order to get support for
    binding-less catch statements.
    
    Also needed to parse node.js lib API in #22405.
    
    PR-URL: #22488
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rubys authored and targos committed Sep 6, 2018
    Copy the full SHA
    6405ad9 View commit details
    Browse the repository at this point in the history
  19. doc: clarify ERR_AMBIGUOUS_ARGUMENT

    PR-URL: #22542
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    4dcf418 View commit details
    Browse the repository at this point in the history
  20. doc: simplify http2 wording and formatting

    Remove `It is important to note that` and italics from `waitForTrailers`
    sentences.
    
    PR-URL: #22541
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    f78e908 View commit details
    Browse the repository at this point in the history
  21. http2: throw better error when accessing unbound socket proxy

    Fixes: #22268
    
    PR-URL: #22486
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    6698354 View commit details
    Browse the repository at this point in the history
  22. test: remove string literal from strictEqual()

    Remove 3rd argument from assert.deepStrictEqual() in
    test/parallel/test-stream2-writable.js to allow for debugging to work
    properly.
    
    PR-URL: #22512
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    ScottyVG authored and targos committed Sep 6, 2018
    Copy the full SHA
    9ac6530 View commit details
    Browse the repository at this point in the history
  23. test: add test for internalConnect() when address type is IPv6

    PR-URL: #22444
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    yanivfriedensohn authored and targos committed Sep 6, 2018
    Copy the full SHA
    0ffedd2 View commit details
    Browse the repository at this point in the history
  24. src: implement v8::Platform::CallDelayedOnWorkerThread

    This method is crucial for Runtime.evaluate protocol command with
    timeout flag. At least Chrome DevTools frontend uses this method for
    every execution in console.
    
    Backport-PR-URL: #22567
    PR-URL: #22383
    Fixes: #22157
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    alexkozy authored and targos committed Sep 6, 2018
    Copy the full SHA
    4d802f0 View commit details
    Browse the repository at this point in the history
  25. src: yield empty maybes for failed AsyncWrap::MakeCallback calls

    Use an empty `MaybeLocal<Value>` as the return value for
    `AsyncWrap::MakeCallback()` if an exception occurred,
    regardless of `MakeCallback` depth.
    
    Unfortunately, the public API can not make this switch without
    a breaking change (and possibly some kind of deprecation/renaming).
    
    PR-URL: #22078
    Backport-PR-URL: #22505
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    727187d View commit details
    Browse the repository at this point in the history
  26. lib,src: standardize owner_symbol for handles

    Instead of somtimes using an `owner` string to link from a
    native handle object to the corresponding JS object, standardize
    on a single symbol that fulfills this role.
    
    PR-URL: #22002
    Backport-PR-URL: #22507
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    cae21ea View commit details
    Browse the repository at this point in the history
  27. process: use owner_symbol for _getActive*

    This makes it easier to provide public APIs in the return types
    of `process._getActiveHandles()` and `process._getActiveRequests()`.
    
    PR-URL: #22002
    Backport-PR-URL: #22507
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    778ddc7 View commit details
    Browse the repository at this point in the history
  28. src: refactor options parsing

    This is a major refactor of our Node’s parser. See `node_options.cc`
    for how it is used, and  `node_options-inl.h` for the bulk
    of its implementation.
    
    Unfortunately, the implementation has come to have some
    complexity, in order to meet the following goals:
    
    - Make it easy to *use* for defining or changing options.
    - Keep it (mostly) backwards-compatible.
      - No tests were harmed as part of this commit.
    - Be as consistent as possible.
      - In particular, options can now generally accept arguments
        through both `--foo=bar` notation and `--foo bar` notation.
        We were previously very inconsistent on this point.
    - Separate into different levels of scope, namely
      per-process (global), per-Isolate and per-Environment
      (+ debug options).
    - Allow programmatic accessibility in the future.
      - This includes a possible expansion for `--help` output.
    
    This commit also leaves a number of `TODO` comments, mostly for
    improving consistency even more (possibly with having to modify
    tests), improving embedder support, as well as removing pieces of
    exposed configuration variables that should never have become
    part of the public API but unfortunately are at this point.
    
    PR-URL: #22392
    Backport-PR-URL: #22558
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    52c797c View commit details
    Browse the repository at this point in the history
  29. src: move more to node_process.cc from node.cc

    PR-URL: #22422
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    5f392a1 View commit details
    Browse the repository at this point in the history
  30. src: fix --without-ssl build

    ProcessArgv referenced fields on PerProcessOptions that aren't there
    when the build is configured --without-ssl.
    
    PR-URL: #22484
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ianloic authored and targos committed Sep 6, 2018
    Copy the full SHA
    e5d47c4 View commit details
    Browse the repository at this point in the history
  31. process: add allowedNodeEnvironmentFlags property

    `process.allowedNodeEnvironmentFlags` provides an API to validate and
    list flags as specified in `NODE_OPTIONS` from user code.
    
    Refs: #17740
    Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
    
    PR-URL: #19335
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    boneskull authored and targos committed Sep 6, 2018
    Copy the full SHA
    b58ac09 View commit details
    Browse the repository at this point in the history
  32. http2: graduate from experimental

    PR-URL: #22466
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    2a3e26a View commit details
    Browse the repository at this point in the history
  33. src: fix NODE_OPTIONS parsing bug

    I, uhm, might have messed up by using a `substr(start, end)`
    signature when `std::string` actually uses `substr(start, len)`.
    Fix that.
    
    Fixes: #22526
    Refs: #22392
    
    PR-URL: #22529
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    7282768 View commit details
    Browse the repository at this point in the history
  34. doc: initial cut at support tiers for diag tools

    PR-URL: #21870
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    mhdawson authored and targos committed Sep 6, 2018
    Copy the full SHA
    58708ee View commit details
    Browse the repository at this point in the history
  35. n-api: remove idle_running from TsFn

    The idle_running member variable in TsFn is always false and can
    therefore be removed.
    
    PR-URL: #22520
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    ralphtheninja authored and targos committed Sep 6, 2018
    Copy the full SHA
    8eae030 View commit details
    Browse the repository at this point in the history
  36. doc: warn against streaming from character devices

    charcter device streaming works just like any other streams, but hangs
    on the close callsite due to the worker thread being blocked on the read
    and main thread waiting for any async event that may not occur.
    
    Document this behavior and suggest a potential workaround.
    
    Fixes: #15439
    PR-URL: #21212
    
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    gireeshpunathil authored and targos committed Sep 6, 2018
    Copy the full SHA
    8ec5a07 View commit details
    Browse the repository at this point in the history
  37. src: add missing NODE_WANT_INTERNALS guards

    We generally add these to all headers that are considered
    internal to Node.
    
    These aren’t distributed as part of the headers tarball,
    so I think this does not have to be semver-major
    (and we have been changing the APIs in these headers
    freely anyway).
    
    PR-URL: #22514
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    8d02fc6 View commit details
    Browse the repository at this point in the history
  38. test: properly extend process.env in child_process

    PR-URL: #22430
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    legendecas authored and targos committed Sep 6, 2018
    Copy the full SHA
    2d8e637 View commit details
    Browse the repository at this point in the history
  39. src,deps: add isolate parameter to String::Concat

    Partially backport an upstream commit that deprecates String::Concat
    without the isolate parameter. This overload has already been removed
    in V8 7.0.
    
    PR-URL: #22521
    Refs: v8/v8@8a011b5
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    b30b5de View commit details
    Browse the repository at this point in the history
  40. child_process: allow typed arrays for input

    doc:    Update child_process docs, stating typed arrays are allowed.
    error:  Update error message for `ERR_INVALID_SYNC_FORK_INPUT`
    lib:    Use isArrayBufferView instead of isUint8Array
    test:   Update test-child-process-spawnsync-input to test for all
            typed arrays and data view.
    
    PR-URL: #22409
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    SirR4T authored and targos committed Sep 6, 2018
    Copy the full SHA
    dfbbfb7 View commit details
    Browse the repository at this point in the history
  41. fs: update read to work with any TypedArray/DataView

    PR-URL: #22150
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    SirR4T authored and targos committed Sep 6, 2018
    Copy the full SHA
    baf7dc5 View commit details
    Browse the repository at this point in the history
  42. doc: replace 1 by process.stdout.fd

    PR-URL: #22564
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    starkwang authored and targos committed Sep 6, 2018
    Copy the full SHA
    b8ee669 View commit details
    Browse the repository at this point in the history
  43. crypto: add support for OCB mode for AEAD

    Backport-PR-URL: #22473
    PR-URL: #21447
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    6465623 View commit details
    Browse the repository at this point in the history
  44. test: move AEAD test vectors out of script

    PR-URL: #21873
    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: Jon Moss <me@jonathanmoss.me>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    a972159 View commit details
    Browse the repository at this point in the history
  45. deps: sync V8 embedder string with master branch

    To avoid conflicts while cherry-picking future V8 backports, increment
    the embedder string by one so it has the same value as in the master
    branch. The value was off by one because of an ABI-breaking backport
    that could not be taken in v10.x.
    
    Refs: #22106
    
    PR-URL: #22573
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    efeba2f View commit details
    Browse the repository at this point in the history
  46. deps: backport StackFrame::GetFrame with isolate

    This overload was added in V8 6.9 and the one without isolate was
    removed in V8 7.0.
    
    Refs: v8/v8@8a011b5
    
    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    76806e9 View commit details
    Browse the repository at this point in the history
  47. src: use StackFrame::GetFrame with isolate

    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    9efa76f View commit details
    Browse the repository at this point in the history
  48. deps: backport String::Write{OneByte,Utf8} with isolate

    These overloads were added in V8 6.9 and the ones without the isolate
    parameter were removed in V8 7.0.
    
    Refs: v8/v8@8a011b5
    
    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    9140edf View commit details
    Browse the repository at this point in the history
  49. src: use String::Write{OneByte,Utf8} with isolate

    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    f576425 View commit details
    Browse the repository at this point in the history
  50. deps: backport String::Utf8Length with isolate

    This overload was added in V8 6.9 and the one without the isolate
    parameter was removed in V8 7.0.
    
    Refs: v8/v8@3dd5c6f
    
    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    83343f7 View commit details
    Browse the repository at this point in the history
  51. src: use String::Utf8Length with isolate

    PR-URL: #22531
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    12f5480 View commit details
    Browse the repository at this point in the history
  52. doc: remove redundant 'Example:' and similar notes

    Some nits were also fixed in passing.
    
    PR-URL: #22537
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and targos committed Sep 6, 2018
    Copy the full SHA
    ca2dd8c View commit details
    Browse the repository at this point in the history
  53. vm: add bindings for v8::CompileFunctionInContext

    Adds a method compileFunction to the vm module, which serves as a
    binding for v8::CompileFunctionInContext with appropriate args for
    specifying the details, and provide params for the wrapper.
    
    Eventually, we would be changing Module._compile to use this internally
    over the standard Module.wrap
    
    PR-URL: #21571
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    a0bab89 View commit details
    Browse the repository at this point in the history
  54. test: refacor spawn[Sync]Pwd

    * extract the gist into common.pwdCommand
    * Merge test-child-process-buffering.js into test-child-process-stdio.js
    
    PR-URL: #22522
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    refack authored and targos committed Sep 6, 2018
    Copy the full SHA
    27e5286 View commit details
    Browse the repository at this point in the history
  55. tools: Include links to source code in documentation

    Parse source code using acorn; extracting exports.  When producing
    documentation, match exports to headers.  When a match is found, add a [src]
    link.
    
    This first commit handles simple exported classes and functions, and does so
    without requiring any changes to the source code or markdown.  Subsequent
    commits will attempt to match more headers, and some of these changes are
    likely to require changes to the source code and/or markdown.
    
    PR-URL: #22405
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rubys authored and targos committed Sep 6, 2018
    Copy the full SHA
    6027f42 View commit details
    Browse the repository at this point in the history
  56. doc: unify deprecation wording

    PR-URL: #22555
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    2858896 View commit details
    Browse the repository at this point in the history
  57. doc: make Stability Index more concise

    Shorten the Stability Index text.
    
    PR-URL: #22544
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    35c7105 View commit details
    Browse the repository at this point in the history
  58. test: fix typo in test name

    Correct test name to reflect the module it tests (`trace_events`).
    
    PR-URL: #22605
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    acaa918 View commit details
    Browse the repository at this point in the history
  59. src: do not pass code to ScriptCompiler::CreateCodeCacheForFunction

    This is unnecessary, deprecated, and removed in V8 7.0.
    
    PR-URL: #22596
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    targos committed Sep 6, 2018
    Copy the full SHA
    4b1685f View commit details
    Browse the repository at this point in the history
  60. doc: update Linux perf test status in our CI

    We have tests for Linux perf under `test/v8-updates/test-linux-perf.js`,
    and those tests are run as part of the `node-test-commit-v8-linux` job.
    
    PR-URL: #22588
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Matheus Marchini authored and targos committed Sep 6, 2018
    Copy the full SHA
    4dfbd91 View commit details
    Browse the repository at this point in the history
  61. doc: add profiling APIs to the diagnostics support document

    Add V8 CodeEventHandler and --interpreted-frames-native-stack to our
    diagnostics tiers of support document as Unclassified APIs.
    
    PR-URL: #22588
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Matheus Marchini authored and targos committed Sep 6, 2018
    Copy the full SHA
    f0cec23 View commit details
    Browse the repository at this point in the history
  62. win,build: build N-API addons in parallel

    Ref: #21403
    
    PR-URL: #22582
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bzoz authored and targos committed Sep 6, 2018
    Copy the full SHA
    fbf34d0 View commit details
    Browse the repository at this point in the history
  63. child_process: fix handling of incorrect uid/gid in spawn

    uid/gid must be uint32, which is asserted on a c++ side but wasn't
    checked on a JS side and therefore resulted in a process crash.
    
    Refs: #22570
    
    PR-URL: #22574
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    45eb97e View commit details
    Browse the repository at this point in the history
  64. crypto: deduplicate public key parsing

    PR-URL: #22553
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    e060fd7 View commit details
    Browse the repository at this point in the history
  65. build: use 0o octal notation in configure

    This un-‘breaks’ the error message we print when using
    Python 3 to run `configure`.
    
    Refs: nodejs/help#1457
    
    PR-URL: #22536
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    de985e8 View commit details
    Browse the repository at this point in the history
  66. test: move test that depends on dns query to internet

    These test cases in `test/parallel/test-dns-lookup.js` send
    dns requests and depend on the results, which could fail
    if the DNS service for invalid hosts is hijacked by the ISP.
    
    PR-URL: #22516
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung authored and targos committed Sep 6, 2018
    Copy the full SHA
    2d6ca80 View commit details
    Browse the repository at this point in the history
  67. doc: fix up warning text about character devices

    The text contained a number of inaccuracies:
    
    - The main thread is never blocked by a stream close.
    - There is no such thing as an EOF character on the OS level,
      the libuv level, or the Node.js stream level.
    - These streams *do* respond to `.close()`, but pending
      reads can delay this indefinitely.
    - Pushing a random character into the stream works only when
      the source data can be controlled; Using the JS `.push()`
      method is something different, and does not “unblock” any threads.
    
    Refs: #21212
    
    PR-URL: #22569
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    2a83628 View commit details
    Browse the repository at this point in the history
  68. tools: specify rules disabled in common/dns.js

    Instead of disabling all ESLint rules for a line, specify the two rules
    that should be disabled.
    
    PR-URL: #22563
    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: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    b3e4a53 View commit details
    Browse the repository at this point in the history
  69. tools: specify rule disabled in test-assert.js

    Instead of disabling all ESLint rules on two lines in test-assert.js,
    specify the rule that needs to be disabled.
    
    PR-URL: #22563
    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: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    6df8426 View commit details
    Browse the repository at this point in the history
  70. doc: add section on how to build debug build

    PR-URL: #22510
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tlbdk authored and targos committed Sep 6, 2018
    Copy the full SHA
    21068d1 View commit details
    Browse the repository at this point in the history
  71. n-api: clean up thread-safe function

    * Move class `TsFn` to name space `v8impl` and rename it to
      `ThreadSafeFunction`
    * Remove `NAPI_EXTERN` from API declarations, because it's only needed
      in the header file.
    
    PR-URL: #22259
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and targos committed Sep 6, 2018
    Copy the full SHA
    cf1a020 View commit details
    Browse the repository at this point in the history
  72. src: remove calls to deprecated v8 functions (BooleanValue)

    Remove all calls to deprecated v8 functions (here:
    Value::BooleanValue) inside the code (src directory only).
    
    PR-URL: #22075
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    684f9e5 View commit details
    Browse the repository at this point in the history
  73. doc: Remove 'dnt_helper.js'

    This file is totally useless, because it's an inner-used helper that is
    for publishment of doc files.
    
    PR-URL: #22595
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    MaleDong authored and targos committed Sep 6, 2018
    Copy the full SHA
    021b704 View commit details
    Browse the repository at this point in the history
  74. src: fix external memory usage going negative

    PR-URL: #22594
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    mafintosh authored and targos committed Sep 6, 2018
    Copy the full SHA
    f918e36 View commit details
    Browse the repository at this point in the history
  75. benchmark: add lines to scatter plots

    Adds lines between the points of the same category in scatter.R plots.
    
    PR-URL: #22074
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    lundibundi authored and targos committed Sep 6, 2018
    Copy the full SHA
    dfde87a View commit details
    Browse the repository at this point in the history
  76. doc: clarify fallback behavior of module require

    PR-URL: #22494
    Fixes: #22464
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    TomCoded authored and targos committed Sep 6, 2018
    Copy the full SHA
    f0208b3 View commit details
    Browse the repository at this point in the history
  77. test: improve assertions in test-cli-node-print-help

    PR-URL: #22489
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    0086ba6 View commit details
    Browse the repository at this point in the history
  78. crypto: improve setAuthTag

    This is an attempt to make the behavior of setAuthTag match the
    documentation: In GCM mode, it can be called at any time before
    invoking final, even after the last call to update.
    
    Fixes: #22421
    
    PR-URL: #22538
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    34ffb06 View commit details
    Browse the repository at this point in the history
  79. crypto: fix incorrect use of INT_MAX in validation

    The native crypto module doesn't export INT_MAX, so all occurrences
    in the JavaScript layer evaluated to undefined. This change removes
    all such occurrences and replaces validateInt32 with validateUint32
    since the native layer assumes uint32_t anyway.
    
    The alternative would be to use the constant from the constants
    module, but that would be pointless as far as I can tell.
    
    PR-URL: #22581
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    e39d692 View commit details
    Browse the repository at this point in the history
  80. win, build: remove superfluous error message

    When building from clean checkout, `vcbuild` will produce superfluous
    error message about missing .tmp_gyp_configure_stamp and
    .gyp_configure_stamp. This removes both those messages.
    
    PR-URL: #22580
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bzoz authored and targos committed Sep 6, 2018
    Copy the full SHA
    b9c0d5e View commit details
    Browse the repository at this point in the history
  81. src: remove calls to deprecated v8 functions (ToString)

    Remove all calls to deprecated v8 functions (here: Value::ToString)
    inside the code (src directory only).
    
    PR-URL: #21935
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    ee237e3 View commit details
    Browse the repository at this point in the history
  82. src: rework (mostly internal) functions to use Maybes

    Rework all affected functions to use Maybes, thus improving error
    handling substantially in internal functions, API functions as well as
    utilities.
    
    Co-authored-by: Michaël Zasso <targos@protonmail.com>
    PR-URL: #21935
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken and targos committed Sep 6, 2018
    Copy the full SHA
    3f9186e View commit details
    Browse the repository at this point in the history
  83. tools: add [src] links to assert.html

    Parse `const assert = module.exports = ok;` as exporting a constructor
    named `assert`.
    
    PR-URL: #22601
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rubys authored and targos committed Sep 6, 2018
    Copy the full SHA
    3f35e88 View commit details
    Browse the repository at this point in the history
  84. src: remove calls to deprecated v8 functions (Uint32Value)

    Remove all calls to deprecated v8 functions (here:
    Value::Uint32Value) inside the code (src directory only).
    
    PR-URL: #22143
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    b50f3cc View commit details
    Browse the repository at this point in the history
  85. src: deprecate option variables in public API

    These variables should never have been exposed as part of the
    public API, and certainly not as variables. Using CLI options
    parser is the right thing to do here, at least until we expose
    some part of the options parser API publicly (which should be
    possible to do now).
    
    PR-URL: #22515
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    da1f78c View commit details
    Browse the repository at this point in the history
  86. doc: fix a typo in fs.md

    `fsPromises.ftruncate()` is neither documented nor exported.
    
    PR-URL: #22635
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    vsemozhetbyt authored and targos committed Sep 6, 2018
    Copy the full SHA
    b232606 View commit details
    Browse the repository at this point in the history
  87. doc: improve examples in buffer docs

    Documentation for BufferwriteDoubleLE/writeDoubleBE is confusing
    
    PR-URL: #22170
    Fixes: #22158
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    pranshuchittora authored and targos committed Sep 6, 2018
    Copy the full SHA
    a1f57f4 View commit details
    Browse the repository at this point in the history
  88. lib: merge onread handlers for http2 streams & net.Socket

    Refs: #20993
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    
    PR-URL: #22449
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    aks- authored and targos committed Sep 6, 2018
    Copy the full SHA
    2a88731 View commit details
    Browse the repository at this point in the history
  89. doc: remove _optional_ designation for tls options

    Options are, by definition, optional. Remove specification of some
    options as "optional".
    
    PR-URL: #22545
    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: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    68f7f87 View commit details
    Browse the repository at this point in the history
  90. doc: indicate createSecureContext arg is optional

    The `options` argument to `tls.createSecureContext()` is optional.
    
    Indicate this by using `[` and `]` in the function signature.
    
    PR-URL: #22545
    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: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    672f74e View commit details
    Browse the repository at this point in the history
  91. src: fix node::FatalException

    PR-URL: #22654
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    6924d3d View commit details
    Browse the repository at this point in the history
  92. test: use module.exports consistently

    PR-URL: #22557
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jasnell authored and targos committed Sep 6, 2018
    Copy the full SHA
    9257b55 View commit details
    Browse the repository at this point in the history
  93. src: make CLI options programatically accesible

    Provide `internalBinding('options')` with some utilities
    around making the options parser and current options values
    programatically accessible.
    
    Backport-PR-URL: #22644
    PR-URL: #22490
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    b0ea867 View commit details
    Browse the repository at this point in the history
  94. cli: generate --help text in JS

    Instead of having a custom, static, hand-written string
    that is being printed to stdout when `--help` is present,
    generate it in JS when requested.
    
    Backport-PR-URL: #22644
    PR-URL: #22490
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    cab8a0b View commit details
    Browse the repository at this point in the history
  95. deps: upgrade npm to 6.4.1

    PR-URL: #22591
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    zkat authored and targos committed Sep 6, 2018
    Copy the full SHA
    6d6db60 View commit details
    Browse the repository at this point in the history
  96. src: add trace points to dns

    Add trace points to dns under node.dns.native category.
    Emit trace events for dns operations. Use the
    nestable async events instead of deprecated ones.
    Include test code to verify the trace log. The
    trace name is stored as const char* class variable.
    The test code is to check each operation in separate
    sync processes.
    
    Refs: #19157
    
    PR-URL: #21840
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    chinhuang007 authored and targos committed Sep 6, 2018
    Copy the full SHA
    c52d67b View commit details
    Browse the repository at this point in the history
  97. src: add NODE_EXTERN to class definition

    This should be part of public class definitions for Windows
    embedders who use a DLL interface for accessing Node.
    
    PR-URL: #22559
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    caaeceb View commit details
    Browse the repository at this point in the history
  98. src: disable debug options when inspector is unavailable

    This fixes `parallel/test-cli-node-print-help` when Node.js
    is compiled without the inspector.
    
    PR-URL: #22657
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    68b0f49 View commit details
    Browse the repository at this point in the history
  99. build: use arm64 as DESTCPU for aarch64

    On a aarch64 system I can run the complete build with tests without
    specifying the Makefile variable DESTCPU.
    
    But when running the tar-headers target DESTCPU is passed to configure:
    $(PYTHON) ./configure \
           --prefix=/ \
           --dest-cpu=$(DESTCPU) \
           ...
    The value of DESTCPU in this case will be aarch64 which will cause
    configure to fail:
    configure: error: option --dest-cpu: invalid choice: 'aarch64'
    (choose from 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc',
    'ppc64', 'x32', 'x64', 'x86', 'x86_64', 's390', 's390x')
    
    In the configure script there is a matching of __aarch64__ to arm64:
    $ python -c 'from configure import host_arch_cc; print host_arch_cc()'
    arm64
    
    In our case it would be nice to have consitent behaviour for both of
    these cases on aarch64.
    
    This commit changes DESTCPU to arm64 to be consistent with the
    configure script. DESTCPU is used in $(TARBALL)-headers and in
    $(BINARYTAR) but I'm not sure about the implications of making the
    change purposed and hope others might chime in and provide some
    guidance.
    
    PR-URL: #22548
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    danbev authored and targos committed Sep 6, 2018
    Copy the full SHA
    70d4039 View commit details
    Browse the repository at this point in the history
  100. stream: update emit readable debug statement

    Currently, the debug statement in emitReadable is `emit readable` which
    can be interpreted as the readable event is going to be emitted. But
    I think the intent of this debug statment is just that the
    emitReadable_ function was entered. If that was not the intent then
    perhaps the debug statment should be moved into the if statement below
    it.
    
    PR-URL: #22613
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    danbev authored and targos committed Sep 6, 2018
    Copy the full SHA
    ec670b8 View commit details
    Browse the repository at this point in the history
  101. src: fix a typo in the comment

    PR-URL: #22640
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gireeshpunathil authored and targos committed Sep 6, 2018
    Copy the full SHA
    d8fff06 View commit details
    Browse the repository at this point in the history
  102. doc: improve ECDH example

    PR-URL: #22607
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and targos committed Sep 6, 2018
    Copy the full SHA
    19633b0 View commit details
    Browse the repository at this point in the history
  103. test: fix flaky parallel/test-fs-write-file-typedarrays

    Using the same filename for different async tests could lead
    to race conditions.
    
    Example failure: https://travis-ci.com/nodejs/node/jobs/143351655
    
    Refs: #22150
    
    PR-URL: #22659
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    8efbda0 View commit details
    Browse the repository at this point in the history
  104. os: don't use getCheckedFunction() in userInfo()

    os.userInfo() takes an optional object as its first argument.
    getCheckedFunction() adds a context object to the argument list
    passed to the binding layer. The context object has the potential
    to confuse the binding layer, particularly if an error occurs.
    This commit makes userInfo() explicitly call into the binding
    layer with two arguments.
    
    PR-URL: #22609
    Refs: #22599
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and targos committed Sep 6, 2018
    Copy the full SHA
    5b8a232 View commit details
    Browse the repository at this point in the history
  105. doc: add personal pronoun for danbev

    PR-URL: #22670
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    danbev authored and targos committed Sep 6, 2018
    Copy the full SHA
    73e32ca View commit details
    Browse the repository at this point in the history
  106. doc: update a link in v8.md

    PR-URL: #22639
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    lakamsani authored and targos committed Sep 6, 2018
    Copy the full SHA
    e761c40 View commit details
    Browse the repository at this point in the history
  107. doc: clarify Readable paused/flowing!==object mode

    - Clarify that a `Readable` stream's reading mode (paused vs. flowing)
      is independent of its object mode (object vs. non-object).  I am
      relatively new to Node streams, and was briefly confused while
      reading the docs by the two uses of the word "mode".
    
    - Copyediting: add missing apostrophes; minor grammatical changes
    
    PR-URL: #22619
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cxw42 authored and targos committed Sep 6, 2018
    Copy the full SHA
    c8cd90d View commit details
    Browse the repository at this point in the history
  108. doc: add blurb about implications of ABI stability

    Mention that ABI stability can be achieved only by linking to ABI-
    stable parts of Node.js and to other libraries which are ABI-stable.
    
    PR-URL: #22508
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and targos committed Sep 6, 2018
    Copy the full SHA
    032d886 View commit details
    Browse the repository at this point in the history
  109. test: fix test-trace-events-dns

    Test is using `common.fileExists()` which has been removed. There is no
    need to check that the file exists as the attempt to read the file in
    the next line will fail if the file does not exist. Remove existence
    check.
    
    PR-URL: #22674
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and targos committed Sep 6, 2018
    Copy the full SHA
    131d7e8 View commit details
    Browse the repository at this point in the history
  110. deps: backport 4 CPU profiler commits from upstream V8

    [cpu-profiler] Add a new profiling mode with a more detailed call tree.
    https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77
    
    [cpu-profiler] Reuse free slots in code_entries_
    https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a
    
    [cpu-profiler] Only store deopt inline frames for functions that need it
    https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b
    
    [cpu-profiler] Use instruction start as the key for the CodeMap
    https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66
    
    PR-URL: #22028
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    psmarshall authored and targos committed Sep 6, 2018
    Copy the full SHA
    f354cf8 View commit details
    Browse the repository at this point in the history
  111. test: improve assertion in process test

    PR-URL: #22634
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    f493861 View commit details
    Browse the repository at this point in the history
  112. tls: improve debugging assertion

    Refs: #22618
    
    PR-URL: #22625
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    071d19a View commit details
    Browse the repository at this point in the history
  113. src: warn about odd UTF-16 decoding function signature

    Using a `uint16_t` sequence for UTF-16 processing would typically
    imply that the sequence already contains the correct 16-bit
    code units.
    
    However, our API does not account for that. The previous comments
    were somewhat misleading, since endianness is typically applied to
    sequences of bytes, which is not something that this API works with.
    
    PR-URL: #22623
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    45388f7 View commit details
    Browse the repository at this point in the history
  114. src: allow UTF-16 in generic StringBytes decode call

    This allows removing a number of special cases in other
    parts of the code, at least one of which was incorrect
    in expecting aligned input when that was not guaranteed.
    
    Fixes: #22358
    
    PR-URL: #22622
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    79556e5 View commit details
    Browse the repository at this point in the history
  115. deps: fix V8 test regression

    Fixes a regression introduced in a V8 backport PR.
    A small change in cctest/test-log.cc was forgotten.
    
    Refs: #22028
    Refs: v8/v8@ba752ea
    
    PR-URL: #22677
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    29d19fd View commit details
    Browse the repository at this point in the history
  116. deps: cherry-pick bf5ea81 from upstream V8

    Original commit message:
    
        [tracing] allow dynamic control of tracing
    
        If the trace_buffer_ was null, we were returning a pointer to a static
        flag back that permanently disabled that particular trace point.
    
        This implied an assumption that tracing will be statically enabled at
        process startup, and once it is disabled, it will never be enabled
        again. On Node.js side we want to dynamically enable/disable tracing as per
        programmer intent.
    
        Change-Id: Ic7a7839b8450ab5c356d85e8e0826f42824907f4
        Reviewed-on: https://chromium-review.googlesource.com/1161518
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com>
        Cr-Commit-Position: refs/heads/master@{#54903}
    
    Refs: v8/v8@bf5ea81
    
    PR-URL: #22114
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ofrobots authored and targos committed Sep 6, 2018
    Copy the full SHA
    3531aa0 View commit details
    Browse the repository at this point in the history
  117. test: add test to dynamic enablement of trace-events

    PR-URL: #22114
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ofrobots authored and targos committed Sep 6, 2018
    Copy the full SHA
    4c34302 View commit details
    Browse the repository at this point in the history
  118. deps: backport a8f6869 from upstream V8

    Original commit message:
    
      [debug] Fully implement Debug::ArchiveDebug and Debug::RestoreDebug.
    
      I have a project that embeds V8 and uses a single `Isolate` from multiple
      threads. The program runs just fine, but sometimes the inspector doesn't
      stop on the correct line after stepping over a statement that switches
      threads behind the scenes, even though the original thread is restored by
      the time the next statement is executed.
    
      After some digging, I discovered that the `Debug::ArchiveDebug` and
      `Debug::RestoreDebug` methods, which should be responsible for
      saving/restoring this `ThreadLocal` information when switching threads,
      currently don't do anything.
    
      This commit implements those methods using MemCopy, in the style of other
      Archive/Restore methods in the V8 codebase.
    
      Related: https://groups.google.com/forum/#!topic/v8-users/_Qf2rwljRk8
    
      R=yangguo@chromium.org,jgruber@chromium.org
      CC=info@bnoordhuis.nl
    
      Bug: v8:7230
      Change-Id: Id517c873eb81cd53f7216c7efd441b956cf7f943
      Reviewed-on: https://chromium-review.googlesource.com/833260
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54902}
    
    Refs: v8/v8@a8f6869
    
    Fix build errors by matching older V8 APIs used by Node.
    
    It looks like
    
      SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership)
    
    was simplified to just
    
      SetDebugDelegate(debug::DebugDelegate* delegate)
    
    in v8/v8@37dcd83,
    but the extra `pass_ownership` parameter is still there in the current
    version of `node/deps/v8`. I should be able to fix those tests by passing
    `false` for `pass_ownership`.
    
    Also, the `DebugDelegate::BreakProgramRequested` method lost a parameter
    in v8/v8@e404670,
    but it's not a parameter I was using in my test, so there shouldn't be any
    harm in adding the `exec_state` parameter back to `BreakProgramRequested`
    (and continuing to ignore it).
    
    Skip restoring debug state unless thread previously in DebugScope.
    
    A simpler version of the changes I proposed upstream in this V8 change
    request: https://chromium-review.googlesource.com/c/v8/v8/+/1168449
    
    In this version, Debug::RestoreDebug never attempts to enter a new
    DebugScope, but merely reuses the previous one, if we're returning to a
    thread that was previously in a DebugScope. If the thread was not
    previously in a DebugScope, I believe it does not need to have any
    debugging state restored with ClearOneShot and PrepareStep.
    
    The tests from https://chromium-review.googlesource.com/c/v8/v8/+/833260
    still pass, and the failing V8-CI tests are now passing locally for me.
    
    PR-URL: #22122
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    benjamn authored and targos committed Sep 6, 2018
    Copy the full SHA
    5e9ed6d View commit details
    Browse the repository at this point in the history
  119. deps: cherry-pick 22116dd from upstream V8

    Refs: v8/v8@22116dd
    
    Original commit message:
    
        [snapshot] fix resetting function code.
    
        Unconditionally setting the JSFunction code to that of the SFI
        may skip initializing the feedback vector.
    
        R=leszeks@chromium.org
    
        Bug: v8:7857
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I65d4bf32493be4cade2eaf3d665d44f93e80f809
        Reviewed-on: https://chromium-review.googlesource.com/1107618
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Leszek Swirski <leszeks@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53881}
    
    PR-URL: #21992
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    laverdet authored and targos committed Sep 6, 2018
    Copy the full SHA
    037906b View commit details
    Browse the repository at this point in the history
  120. build,win: remove unmatched endlocal statement

    Seems like it's a leftover from c403eeb
    
    PR-URL: #22627
    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: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    refack authored and targos committed Sep 6, 2018
    Copy the full SHA
    b934add View commit details
    Browse the repository at this point in the history
  121. assert: fix loose set and map comparison

    The fast path did not anticipate different ways to express a loose
    equal string value (e.g., 1n == '+0001'). This is now fixed with the
    downside that all primitives that could theoretically have equal
    entries must go through a full comparison.
    
    Only some strings, symbols, undefined, null and NaN can be detected
    in a fast path as those entries have a strictly limited set of
    possible equal entries.
    
    PR-URL: #22495
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    BridgeAR authored and targos committed Sep 6, 2018
    Copy the full SHA
    be7f8fc View commit details
    Browse the repository at this point in the history
  122. src: remove editing leftovers from options help text

    PR-URL: #22636
    Refs: https://github.com/nodejs/node/commit/
    85212bb#r30265305
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    3d6d137 View commit details
    Browse the repository at this point in the history
  123. cli: more flexible width when printing --help

    PR-URL: #22637
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    0bf4de9 View commit details
    Browse the repository at this point in the history
  124. src: skip warnings for our own deprecated APIs

    This makes the compiler not emit deprecation warnings for places
    where we use (or, in the case of non-functions, implement) our own
    deprecated public C++ APIs.
    
    PR-URL: #22666
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    f4a2ac7 View commit details
    Browse the repository at this point in the history
  125. deps: update to nghttp2 1.33.0

    Refs: https://github.com/nghttp2/nghttp2/releases/tag/v1.33.0
    
    PR-URL: #22649
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    6f14b96 View commit details
    Browse the repository at this point in the history
  126. worker: display MessagePort status in util.inspect()

    PR-URL: #22658
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    ed96c3c View commit details
    Browse the repository at this point in the history
  127. test: fix flaky test-worker-message-port-transfer-self

    Look at the status of the `MessagePort` rather than
    relying on a timeout.
    
    PR-URL: #22658
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    8e4caf5 View commit details
    Browse the repository at this point in the history
  128. test: fix flaky async-hooks/test-callback-error

    Remove an unnecessary timeout.
    
    Fixes: #15985
    
    PR-URL: #22655
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    8792609 View commit details
    Browse the repository at this point in the history
  129. Revert "test: mark async-hooks/test-callback-error as flaky"

    This reverts commit 59c8abf.
    
    PR-URL: #22655
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    d626372 View commit details
    Browse the repository at this point in the history
  130. test: refactor test-gc-tls-external-memory

    - Don’t use network connections, we don’t need them and
      they add more native objects into the mix when we care
      about other kinds of native objects.
    - Run GC only once every 64 iterations – this cuts down
      running time from 4 s to 400 ms.
    - Use `common.mustCall()` for the `connect()` handler.
    - Make sure that the TLS sockets do get garbage collected,
      since the test would otherwise also pass if they remain
      alive indefinitely.
    
    PR-URL: #22651
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    cb93719 View commit details
    Browse the repository at this point in the history
  131. tools: add [src] links to async_hooks.html

    handle ES2015 Class, contructor, and instance methods
    
    unrelated: update Makefile so that generated HTML is out of date whenever
    tools/doc/apilinks.js is updated.
    
    PR-URL: #22656
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rubys authored and targos committed Sep 6, 2018
    Copy the full SHA
    865180f View commit details
    Browse the repository at this point in the history
  132. http2: don't expose the original socket through the socket proxy

    Refs: #22486
    
    PR-URL: #22650
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    szmarczak authored and targos committed Sep 6, 2018
    Copy the full SHA
    015a17f View commit details
    Browse the repository at this point in the history
  133. src: remove calls to deprecated V8 functions (Int32Value)

    Remove all calls to deprecated V8 functions (here: Value::Int32Value)
    inside the code.
    
    PR-URL: #22662
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    416cfea View commit details
    Browse the repository at this point in the history
  134. src: promote v8 name spaces with using

    there are several places where v8 artifacts appear with scope resolution
    operator inline with the source. Elevate them for improved readability
    as well as to follow the convention.
    
    PR-URL: #22641
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gireeshpunathil authored and targos committed Sep 6, 2018
    Copy the full SHA
    8b3b973 View commit details
    Browse the repository at this point in the history
  135. src: remove calls to deprecated v8 functions (IntegerValue)

    Remove all calls to deprecated v8 functions (here:
    Value::IntegerValue) inside the code (src directory only).
    
    Co-authored-by: Michaël Zasso <targos@protonmail.com>
    
    PR-URL: #22129
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and targos committed Sep 6, 2018
    Copy the full SHA
    2555cb4 View commit details
    Browse the repository at this point in the history
  136. doc: remove usage of deprecated V8 APIs in addons.md

    PR-URL: #22667
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos committed Sep 6, 2018
    Copy the full SHA
    f7daf6b View commit details
    Browse the repository at this point in the history
  137. src: remove calls to deprecated V8 functions (Equals)

    Remove all calls to deprecated V8 functions (here: Value::Equals)
    inside the code.
    
    PR-URL: #22665
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos committed Sep 6, 2018
    Copy the full SHA
    dd8e007 View commit details
    Browse the repository at this point in the history
  138. coverage: expose native V8 coverage

    native V8 coverage reports can now be written to disk by setting the
    variable NODE_V8_COVERAGE=dir
    
    PR-URL: #22527
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Benjamin Coe authored and targos committed Sep 6, 2018
    Copy the full SHA
    707a37f View commit details
    Browse the repository at this point in the history
  139. zlib: fix memory leak for invalid input

    Don’t toggle the weak/strong reference flag from the error
    handler, that’s too confusing. Instead, always do it in the
    code that handles the write call.
    
    Fixes: #22705
    
    PR-URL: #22713
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Sep 6, 2018
    Copy the full SHA
    8e542ea View commit details
    Browse the repository at this point in the history
  140. 2018-09-06, Version 10.10.0 (Current)

    Notable changes:
    
    * child_process:
      * `TypedArray` and `DataView` values are now accepted as input by
        `execFileSync` and `spawnSync`. #22409
    * coverage:
      * Native V8 code coverage information can now be output to disk by setting the
        environment variable `NODE_V8_COVERAGE` to a directory. #22527
    * deps:
      * The bundled npm was upgraded to version 6.4.1. #22591
        * Changelogs:
          [6.3.0-next.0](https://github.com/npm/cli/releases/tag/v6.3.0-next.0)
          [6.3.0](https://github.com/npm/cli/releases/tag/v6.3.0)
          [6.4.0](https://github.com/npm/cli/releases/tag/v6.4.0)
          [6.4.1](https://github.com/npm/cli/releases/tag/v6.4.1)
    * fs:
      * The methods `fs.read`, `fs.readSync`, `fs.write`, `fs.writeSync`,
        `fs.writeFile` and `fs.writeFileSync` now all accept `TypedArray` and
        `DataView` objects. #22150
      * A new boolean option, `withFileTypes`, can be passed to to `fs.readdir` and
        `fs.readdirSync`. If set to true, the methods return an array of directory
        entries. These are objects that can be used to determine the type of each
        entry and filter them based on that without calling `fs.stat`. #22020
    * http2:
      * The `http2` module is no longer experimental. #22466
    * os:
      * Added two new methods: `os.getPriority` and `os.setPriority`, allowing to
        manipulate the scheduling priority of processes. #22407
    * process:
      * Added `process.allowedNodeEnvironmentFlags`. This object can be used to
        programmatically validate and list flags that are allowed in the
        `NODE_OPTIONS` environment variable. #19335
    * src:
      * Deprecated option variables in public C++ API. #22515
      * Refactored options parsing. #22392
    * vm:
      * Added `vm.compileFunction`, a method to create new JavaScript functions from
        a source body, with options similar to those of the other `vm` methods. #21571
    * Added new collaborators:
      * [lundibundi](https://github.com/lundibundi) - Denys Otrishko
    
    PR-URL: #22716
    targos committed Sep 6, 2018
    Copy the full SHA
    cdb3598 View commit details
    Browse the repository at this point in the history