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.9.0 #22295

Merged
merged 159 commits into from
Aug 16, 2018
Merged

Release proposal: v10.9.0 #22295

merged 159 commits into from
Aug 16, 2018

Commits on Aug 1, 2018

  1. test: refactor test-http2-compat-serverresponse-finished.js

    PR-URL: #21929
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    antsmartian authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    52020dc View commit details
    Browse the repository at this point in the history
  2. test: pass through stderr in benchmark tests

    This helps a lot with debugging failing benchmark tests,
    which would otherwise just print an assertion for the
    exit code (something like `+1 -0`, which yields almost no
    information about a failure).
    
    PR-URL: #21860
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    7e23080 View commit details
    Browse the repository at this point in the history
  3. doc: documentation deprecation of process.binding

    This is the first step in a long process of deprecating
    `process.binding()` and replacing it with `internalBinding()`.
    
    Eventually, once we have replaced internal uses of
    `process.binding()` with `internalBinding()`, we can escalate
    to a runtime deprecation and eventual end-of-life.
    
    PR-URL: #22004
    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: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    jasnell authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    ec9d529 View commit details
    Browse the repository at this point in the history
  4. src: reduce unnecessary includes

    A forward declaration suffices and means that the tracing
    agent header and its dependencies don’t need to be included
    in nearly every Node.js file.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    cde0e5f View commit details
    Browse the repository at this point in the history
  5. src: minor refactor of node_trace_events.cc

    Avoid unnecessary copies/extra operations & align with our style guide,
    and add protection against throwing getters.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    4379140 View commit details
    Browse the repository at this point in the history
  6. src: refactor tracing agent code

    Avoid unnecessary operations, add a bit of documentation,
    and turn the `ClientHandle` smart pointer alias into a real
    class.
    
    This should allow de-coupling the unnecessary combination of
    a single specific `file_writer` from `Agent`.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    daafe6c View commit details
    Browse the repository at this point in the history
  7. src: refactor default trace writer out of agent

    The agent code is supposed to manage multiple writers/clients.
    Adding the default writer into the mix breaks that encapsulation.
    Instead, manage default options through a separate "virtual"
    default client handle, and keep the file writer management
    all to the actual users.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    c101b39 View commit details
    Browse the repository at this point in the history
  8. src: fix tracing if cwd or file path is inaccessible

    Otherwise this would have crashed the process.
    In particular, checking the return value of an libuv call against `-1`
    was invalid to begin with, as libuv uses it to propagate the
    error code.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    4c9c1bb View commit details
    Browse the repository at this point in the history
  9. src: close tracing event loop

    Clean up resources when tearing down the tracing agent.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    56edd5f View commit details
    Browse the repository at this point in the history
  10. src: initialize file trace writer on tracing thread

    Run the initialization for the file trace writer’s `uv_async_t`s
    on the same thread as `uv_run()` for their loop to avoid race
    conditions.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    89e2302 View commit details
    Browse the repository at this point in the history
  11. src: plug trace file file descriptor leak

    Close existing file descriptors before overriding
    the field with new ones.
    
    Also, use `nullptr` as the loop for these synchronous
    operations, since they do not run on the same thread
    as the `uv_run()` call for the previously used loop.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    ce48936 View commit details
    Browse the repository at this point in the history
  12. src: use unique_ptr for internal JSON trace writer

    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    6b58746 View commit details
    Browse the repository at this point in the history
  13. src: use only one tracing write fs req at a time

    Concurrent writes to the same fd are generally not ideal,
    since it’s not generally guaranteed that data from those
    writes will end up on disk in the right order.
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    ba480d3 View commit details
    Browse the repository at this point in the history
  14. src: clean up agent loop when exiting through destructor

    Fixes: #22042
    
    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    00c33a5 View commit details
    Browse the repository at this point in the history
  15. test: add tracing crash regression test

    PR-URL: #21867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    eugeneo authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    c2372ea View commit details
    Browse the repository at this point in the history
  16. doc: fixup process.binding deprecation code

    PR-URL: #22062
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    jasnell authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    29bc553 View commit details
    Browse the repository at this point in the history
  17. test: remove test/gc, integrate into parallel

    There’s no reason to have a separate addon just for
    testing GC anymore.
    
    PR-URL: #22001
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addaleax authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    0beffc0 View commit details
    Browse the repository at this point in the history
  18. doc: correct grammatical error in BUILDING.md

    Grammatical error corrected.
    
    PR-URL: #22067
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    brandonlwt authored and targos committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    c6a56ae View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2018

  1. test: remove outdated, non-functioning test

    The timers directory test, utilizing FakeTime, has not worked in
    quite a while and is not truly testing Node.js behaviour. If a
    similar test is necessary it would be better suited to libuv
    on which Node.js relies for timers functionality.
    
    PR-URL: #20894
    Fixes: #10154
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    
    Backport-PR-URL: #22039
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    apapirovski authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    94746d6 View commit details
    Browse the repository at this point in the history
  2. tools: fix docs and run known_issues by default

    - Updates `test/README.md` with new suites
    - Fixes some outdated `IGNORED_SUITES` listings
    - Allows for `test/known_issues` suite to be run by default
    
    PR-URL: #21910
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Lance Ball <lball@redhat.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    maclover7 authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    7a7c194 View commit details
    Browse the repository at this point in the history
  3. test: remove outdated documentation

    As noted by @richardlau, `Makefile` and `vcbuild.bat` no longer need to
    be updated since they run the `default` suite.
    
    PR-URL: #22009
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    maclover7 authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    e2d97ee View commit details
    Browse the repository at this point in the history
  4. doc: mark DEP0004 and DEP0042 as End-of-Life

    `CryptoStream` was removed via 9301b8a.
    
    PR-URL: #22033
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    maclover7 authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    abac0c5 View commit details
    Browse the repository at this point in the history
  5. doc: fix changelog for v10.8.0

    Add missing link at the top.
    
    PR-URL: #22072
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    d364f9c View commit details
    Browse the repository at this point in the history
  6. test: improve reliability in http2-session-timeout

    Use `setImmediate()` instead of `setTimeout()` to improve robustness of
    test-http2-session-timeout.
    
    Fixes: #20628
    
    PR-URL: #22026
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    a40ee21 View commit details
    Browse the repository at this point in the history
  7. test: see value of "hadError" in tls test

    The existing implementation created a state that if the assert failed
    we got an error message without the values of hadError.
    Removed the default error message and added a comment explaining the
    assert.
    
    PR-URL: #22069
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    oryanmoshe authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    246a94f View commit details
    Browse the repository at this point in the history
  8. test: remove third argument from call to assert.strictEqual()

    PR-URL: #22047
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    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: Ruben Bridgewater <ruben@bridgewater.de>
    mpsommer authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    a60060b View commit details
    Browse the repository at this point in the history
  9. readline,zlib: named anonymous functions

    PR-URL: #21792
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    antsmartian authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    76a6592 View commit details
    Browse the repository at this point in the history
  10. inspector: fixed V8InspectorClient::currentTimeMS

    On inspector side inside V8 we assume that this method should
    return number of ms since epoch.
    
    PR-URL: #21917
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    alexkozy authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    311ec12 View commit details
    Browse the repository at this point in the history
  11. tools: update to using dmn 1.0.11

    dmn 1.0.11 is available. Update update-eslint.sh to use it. Update
    update-babel-eslint.sh to use it too via npx. Add removeNPMAbsolutePaths
    to the latter while we're at it.
    
    PR-URL: #22035
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    5a4abba View commit details
    Browse the repository at this point in the history
  12. doc: rename stackStartFunction in assert.md

    [assert.js](https://github.com/nodejs/node/blob/master/lib/assert.js)
    uses `stackStartFn` everywhere instead of `stackStartFunction`.
    
    This also increases consistency with `stackStartFn`
    in the `AssertionError` options.
    
    PR-URL: #22077
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    eyqs authored and targos committed Aug 2, 2018
    Configuration menu
    Copy the full SHA
    168abb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2018

  1. test: remove third argument from assert.strictEqual()

    In file test/parallel/test-stream-transform-final.js the ten calls to
    assert.strictEqual() use a string literal as third argument. When
    a AssertionError occurs, it reports the string literal and not the
    first two arguments, so the third agrument is removed and made a
    comment just above the call to assert.strictEqual().
    
    PR-URL: #22051
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.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: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rishabhptr authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    a569ae4 View commit details
    Browse the repository at this point in the history
  2. test: remove unused config

    process.maxTickDepth was removed in v0.12 a whole while ago and was
    mostly removed from our code base. There are still some places it was
    left in old benchmarks and tests.
    
    This PR removes setting the value in those tests and
    benchmarks.
    
    PR-URL: #21985
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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: Jon Moss <me@jonathanmoss.me>
    Benjamin Gruenbaum authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    dafaff3 View commit details
    Browse the repository at this point in the history
  3. doc: fix return type of server.address()

    PR-URL: #22043
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    starkwang authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    d2ad9a2 View commit details
    Browse the repository at this point in the history
  4. tools: add make format-cpp to run clang-format on C++ diffs

    This patch adds a `make format-cpp` shortcut to the Makefile
    that runs clang-format on the C++ diffs, and a
    `make format-cpp-build` to install clang-format from
    npm.
    
    To format staged changes:
    
    ```
    $ make format-cpp
    ```
    
    To format HEAD~1...HEAD (latest commit):
    
    ```
    $ CLANG_FORMAT_START=`git rev-parse HEAD~1` make format-cpp
    ```
    
    To format diff between master and current branch head (master...HEAD):
    
    ```
    $ CLANG_FORMAT_START=master make format-cpp
    ```
    
    Most of the .clang-format file comes from running
    
    ```
    $ clang-format --dump-config --style=Google
    ```
    
    with clang-format built with llvm/trunk 328768 (npm version 1.2.3)
    
    The clang-format version is fixed because different version of
    clang-format may format the files differently.
    
    PR-URL: #21997
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    joyeecheung authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    f0c871b View commit details
    Browse the repository at this point in the history
  5. test: fix incorrect file mode check

    PR-URL: #22023
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.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>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    TimothyGu authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    6cff57e View commit details
    Browse the repository at this point in the history
  6. doc: add rubys to collaborators

    PR-URL: #22109
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    rubys authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    28870a4 View commit details
    Browse the repository at this point in the history
  7. repl: support mult-line string-keyed objects

    isRecoverableError is completely reimplemented using acorn and an
    acorn plugin that examines the state of the parser at the time of the
    error to determine if the code could be completed on a subsequent line.
    
    PR-URL: #21805
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rubys authored and targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    e4f3468 View commit details
    Browse the repository at this point in the history
  8. test: run ESM tests in parallel

    PR-URL: #21919
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    targos committed Aug 4, 2018
    Configuration menu
    Copy the full SHA
    d66e52f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2018

  1. http,tls: name anonymous callbacks

    This commit is to help in the effort to name all anonymous
    functions to help when heap debugging. Specifically, this commit
    fixes some anonymous functions used as listeners in the lib/ folder.
    
    PR-URL: #21412
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Refs: #8913
    mlrv authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    1ca46ab View commit details
    Browse the repository at this point in the history
  2. test: fix n-api addon build warnings

    Fixed an MSVC warning on Windows:
    * test_general.c - Lossy conversion from int64 to double, explicitly
      casting to double resolved the warning
    
    PR-URL: #21808
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    kfarnung authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    d38ccaa View commit details
    Browse the repository at this point in the history
  3. src: clean up PackageConfig pseudo-boolean fields

    PR-URL: #21987
    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: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    0ca831a View commit details
    Browse the repository at this point in the history
  4. buffer: use FastBuffer when fill is set to 0

    A large number of libraries seem to use Buffer.alloc(size, 0)
    instead of just Buffer.alloc(size).
    
    We don't need to follow the "create unsafe buffer and fill it" path
    (i.e. actually allocate and perform fill) in that situation, that is
    better handled by Uint8Array constructor.
    
    Buffer.alloc(size) and Buffer.alloc(size, 0) are equivalent, so
    use the same code path.
    
    Not performing the zero-fill manually and having the underlying memory
    allocator do it for us can improve speed and reduce the memory usage
    for situations where Buffer.alloc(size, 0) is used.
    
    PR-URL: #21989
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ChALkeR authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    6622ac7 View commit details
    Browse the repository at this point in the history
  5. doc: correct crypto.randomFill() and randomFillSync()

    Correct return type of `crypto.randomFillSync()` which is of same type as
    passed as `buffer` argument.
    
    Correct samples for `randomFill()` and `randomFillSync()` using a `TypeArray`
    or `DataView` as these types don't support `.toString(encoding)`.
    
    PR-URL: #21550
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Flarna authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    34300aa View commit details
    Browse the repository at this point in the history
  6. src: remove unused env strings

    user_string:
    Usage removed in 4e05952
    onstop_string:
    Usage removed in 7b46e17
    max_old_space_size_string:
    Added in 0df031a, never used
    max_semi_space_size_string:
    Added in 0df031a, never used
    enter_string:
    Usage removed in eeede3b
    
    PR-URL: #22137
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    6ca00d7 View commit details
    Browse the repository at this point in the history
  7. doc: update recommendations for createCipher

    PR-URL: #22087
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    tniessen authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    6c7733f View commit details
    Browse the repository at this point in the history
  8. doc: remove unused error codes from errors.md

    This removes two unused error codes:
     * ERR_STREAM_READ_NOT_IMPLEMENTED, removed in c979488 (PR #18813).
     * ERR_VALUE_OUT_OF_RANGE, removed in d022cb1 (PR #17648).
    
    PR-URL: #21491
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    ChALkeR authored and targos committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    38dd407 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. http: allow url and options to be passed to http*.request and http*.get

    Fixes: #20795
    PR-URL: #21616
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    
    Backport-PR-URL: #21880
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    rubys authored and targos committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    37369eb View commit details
    Browse the repository at this point in the history
  2. https: allow url and options to be passed to https.request

    PR-URL: #22003
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Backport-PR-URL: #21880
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    rubys authored and targos committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    2bf9a4a View commit details
    Browse the repository at this point in the history
  3. doc: declare all parameter types

    PR-URL: #21782
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rubys authored and targos committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    40af976 View commit details
    Browse the repository at this point in the history
  4. tools: produce JSON documentation using unified/remark/rehype

    PR-URL: #21697
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rubys authored and targos committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    c85d00b View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. crypto: add better scrypt option aliases

    Make parameter names available in a human-readable way, for
    more accessible/self-documenting usage of the `scrypt` functions.
    
    This implements a review comment from the original PR that has
    not been addressed.
    
    Refs: #20816 (comment)
    
    PR-URL: #21525
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    2dc7f17 View commit details
    Browse the repository at this point in the history
  2. doc: specify options parameter type in zlib.md

    Also, delete now redundant notes and links.
    
    PR-URL: #21920
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    e75885f View commit details
    Browse the repository at this point in the history
  3. tools: convert addon-verify to remark

    This is the last use of the remark *module*. tools/remark-cli and
    tools/remark-preset-lint-node remain.
    
    PR-URL: #21978
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rubys authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    0c67d32 View commit details
    Browse the repository at this point in the history
  4. test: update certificates and private keys

    The certificates in test fixtures were set to expire in 999 days since
    they were generated. That time has passed, and they have to be reissued.
    Bump expiration time to 99999 days for all of them to prevent this from
    happening again in near future.
    
    PR-URL: #22184
    Fixes: #22182
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    indutny authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    e58c17b View commit details
    Browse the repository at this point in the history
  5. deps: update V8 to 6.8.275.24

    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    9c74271 View commit details
    Browse the repository at this point in the history
  6. build: reset embedder string to "-node.0"

    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1e7a8c3 View commit details
    Browse the repository at this point in the history
  7. deps: update v8.gyp and run Torque

    Synchronize source files list with upstream's BUILD.gn.
    
    Teach v8.gyp to build and run torque, V8's DSL for generating builtins.
    
    On Windows, the torque binary needs to be compiled and linked
    with exception semantics and assume V8 is embedded.
    
    Fixes: nodejs/node-v8#57
    
    Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
    Co-Authored-By: Refael Ackermann <refack@gmail.com>
    
    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    548008a View commit details
    Browse the repository at this point in the history
  8. deps: cherry-pick 5dd3395 from upstream V8

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

    Original commit message:
    
        [log][api] introduce public CodeEventListener API
    
        Introduce a new public API called CodeEventListener to allow embedders
        to better support external profilers and other diagnostic tools without
        relying on unsupported methods like --perf-basic-prof.
    
        Bug: v8:7694
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I063cc965394d59401358757634c9ea84c11517e9
        Co-authored-by: Daniel Beckert <daniel@sthima.com.br>
        Reviewed-on: https://chromium-review.googlesource.com/1028770
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Hannes Payer <hpayer@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Andreas Haas <ahaas@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53382}
    
    Refs: v8/v8@aa6ce3e
    
    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    6df5feb View commit details
    Browse the repository at this point in the history
  10. deps: cherry-pick b20faff from upstream V8

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

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

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

    Original commit message:
    
        [API] Expand BigInt API
    
        Provide a more complete BigInt API.
    
        Bug: v8:7712
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: Ic8562d616f3125deabdf8b52c7019b191bef0e07
        Reviewed-on: chromium-review.googlesource.com/1101198
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54122}
    
    Backport-PR-URL: #21668
    PR-URL: #21644
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    devsnek authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    7b4272a View commit details
    Browse the repository at this point in the history
  14. deps: cherry-pick 555c811 from upstream V8

    Original commit message:
    
        [api] Switch from `SetBuildEmbedderGraphCallback` to `AddBuildEmbedderGraphCallback`
    
        `SetBuildEmbedderGraphCallback`, unlike `SetWrapperClassInfoProvider`,
        assumes a monolithic embedder that can provide all necessary information.
        That is not the case for e.g. Node.js, which can e.g. provide multiple Node.js
        instances per V8 Isolate, as well as native addons that may allocate resources
        on their own.
    
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: Ib53dfde82416dd69934b08623e27d674a483ac2d
        Reviewed-on: https://chromium-review.googlesource.com/1082441
        Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#53545}
    
    Refs: v8/v8@555c811
    
    Backport-PR-URL: #21668
    PR-URL: #21741
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    4f24256 View commit details
    Browse the repository at this point in the history
  15. deps: cherry-pick 2075910 from upstream V8

    Original commit message:
    
        [turbofan] Remove optimization of default Promise capability functions.
    
        The JSCallReducer could in theory inline the default resolve and reject
        functions passed to the executor in the Promise constructor. But that
        inlining is almost never triggered because we don't have SFI based feedback
        in the CallIC. Also the use of the Promise constructor is discouraged,
        so we shouldn't really need to squeeze the last bit of performance out
        of this even in the future.
    
        Getting rid of this optimization will make significantly easier to
        implement the Swallowed Rejection Hook, as there's less churn on the
        TurboFan side then.
    
        Bug: v8:7919
        Change-Id: If0c54f1c6c7ce95686cd74232be6b8693ac688c9
        Reviewed-on: https://chromium-review.googlesource.com/1125926
        Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
        Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54210}
    
    Refs: v8/v8@2075910
    
    Backport-PR-URL: #21668
    PR-URL: #21838
    Refs: nodejs/promises-debugging#8
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    afacfd2 View commit details
    Browse the repository at this point in the history
  16. deps: cherry-pick 907d7bc from upstream V8

    Original commit message:
    
        [promise] Implement Swallowed Rejection Hook.
    
        This extends the current Promise Rejection Hook with two new events
    
          kPromiseRejectAfterResolved
          kPromiseResolveAfterResolved
    
        which are used to detect (and signal) misuse of the Promise constructor.
        Specifically the common bug like
    
          new Promise((res, rej) => {
            res(1);
            throw new Error("something")
          });
    
        where the error is silently swallowed by the Promise constructor without
        the user ever noticing can be caught via this hook.
    
        Doc: https://goo.gl/2stLUY
        Bug: v8:7919
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I890a7e766cdd1be88db94844fb744f72823dba33
        Reviewed-on: https://chromium-review.googlesource.com/1126099
        Reviewed-by: Maya Lekova <mslekova@chromium.org>
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54309}
    
    Refs: v8/v8@907d7bc
    
    Backport-PR-URL: #21668
    PR-URL: #21838
    Refs: nodejs/promises-debugging#8
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    328c899 View commit details
    Browse the repository at this point in the history
  17. deps: V8: Backport of 0dd3390 from upstream

    Original commit message:
    
      Reland "[builtins] Add %IsTraceCategoryEnabled and %Trace builtins"
    
      This is a reland of 8d4572a
    
      Original change's description:
      > [builtins] Add %IsTraceCategoryEnabled and %Trace builtins
      >
      > Adds the builtin Trace and IsTraceCategoryEnabled functions
      > exposed via extra bindings. These are intended to use by
      > embedders to allow basic trace event support from JavaScript.
      >
      > ```js
      > isTraceCategoryEnabled('v8.some-category')
      >
      > trace('e'.charCodeAt(0), 'v8.some-category',
      >       'Foo', 0, { abc: 'xyz'})
      > ```
      >
      > Bug: v8:7851
      > Change-Id: I7bfb9bb059efdf87d92a56a0aae326650730c250
      > Reviewed-on: chromium-review.googlesource.com/1103294
      > Commit-Queue: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Fadi Meawad <fmeawad@chromium.org>
      > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#54121}
    
      TBR=cbruni@chromium.org
    
      Bug: v8:7851
      Change-Id: Id063754b2834b3b6a2b2654e76e8637bcd6aa5f8
      Reviewed-on: chromium-review.googlesource.com/1137071
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Yang Guo <yangguo@chromium.org>
      Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54532}
    
    Backport-PR-URL: #21668
    PR-URL: #21899
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    7eccaf8 View commit details
    Browse the repository at this point in the history
  18. deps: cherry-pick 804a693 from upstream V8

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

    As per Node.js docs, vm.Script instance is not bound to any context.
    
    However, this test was expecting otherwise and depended on
    implementation details which are going to change.
    
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1013581
    
    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    RReverser authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    16a929b View commit details
    Browse the repository at this point in the history
  20. test: update postmortem metadata test

    This commit updates the following postmortem metadata constant:
    
    - v8dbg_context_idx_closure
      - Renamed: v8dbg_context_idx_scope_info
      - V8 commit: v8/v8@39496a9#diff-f3f182b0510ba2ee39ae87e421ff110b
    
    Fixes: nodejs/node-v8#59
    
    Backport-PR-URL: #21668
    PR-URL: #21079
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    cjihrig authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    6daa4f8 View commit details
    Browse the repository at this point in the history
  21. deps: patch the V8 API to be backwards compatible with 6.7

    PR-URL: #21668
    Fixes: https://github.com/I
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    psmarshall authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    5fa3ffa View commit details
    Browse the repository at this point in the history
  22. deps: refactor v8.gyp

    Mostly reorders lists of source files to match more BUILD.gn.
    Fixes a few wrong entries.
    
    Backport-PR-URL: #21668
    PR-URL: #22017
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    981fff7 View commit details
    Browse the repository at this point in the history
  23. deps: remove thread_local to fix V8 compilation

    PR-URL: #21668
    Fixes: https://github.com/I
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    psmarshall authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    c69fdc9 View commit details
    Browse the repository at this point in the history
  24. deps: cherry-pick 09bca09 from upstream V8

    Original commit message:
    
        [postmortem] add ScopeInfo and Context types
    
        The metadata introduced in this patch will be useful for postmortem
        tools to inspect Contexts and ScopeInfos (see
        nodejs/llnode#211).
    
        R=bmeurer@google.com, yangguo@google.com
    
        Change-Id: I927fcab4014d128bd782046c1ecb9ee045723e95
        Reviewed-on: https://chromium-review.googlesource.com/1153858
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#54768}
    
    Refs: v8/v8@09bca09
    
    PR-URL: #22068
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Matheus Marchini authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f8bc5d6 View commit details
    Browse the repository at this point in the history
  25. src: remove unused env->vm_parsing_context_symbol

    Stopped being used via 77b52fd, was
    originally added in d932e80.
    
    For the one remaining usecase inside of `lib/vm.js`, define a Symbol at
    the top of the file.
    
    PR-URL: #22034
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    maclover7 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    c09872b View commit details
    Browse the repository at this point in the history
  26. test: check arg type for dnsPromises.resolve

    PR-URL: #22000
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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>
    Masashi Hirano authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    ca0fb3a View commit details
    Browse the repository at this point in the history
  27. trace_events: add node.promises category, rejection counter

    Allow the trace event log to include a count of unhandled rejections
    and handled after rejections. This is useful primarily as a quick
    check to see if rejections may be going unhandled (and unnoticed
    in a process).
    
    PR-URL: #22124
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    ad46cca View commit details
    Browse the repository at this point in the history
  28. lib: extract validateString validator

    Pulls out a common argument validator to `internal/validators`
    
    PR-URL: #22101
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    maclover7 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    3f729aa View commit details
    Browse the repository at this point in the history
  29. zlib: remove unused parameters

    When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
    function only has two parameters, so `lower` and `upper` don't need to
    be passed for validation.
    
    PR-URL: #22115
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MaleDong authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    4b0d2de View commit details
    Browse the repository at this point in the history
  30. test: remove unused argument in assertion

    PR-URL: #22113
    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: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    yahavf6 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    77ce40f View commit details
    Browse the repository at this point in the history
  31. src: remove calls to deprecated v8 functions (NumberValue)

    Remove all calls to deprecated v8 functions (here:
    Value::NumberValue) inside the code (src directory only).
    
    PR-URL: #22094
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    ryzokuken authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    e90e56f View commit details
    Browse the repository at this point in the history
  32. tools: update ESLint to 5.3.0

    PR-URL: #22134
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    950a4a9 View commit details
    Browse the repository at this point in the history
  33. tools: do not autolink section to itself

    Fix a regression in the new doc generation toolchain.
    
    PR-URL: #22138
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    bc35f17 View commit details
    Browse the repository at this point in the history
  34. crypto: simplify Hmac::HmacUpdate

    This makes HmacUpdate slightly simpler and introduces a CHECK instead
    of ignoring invalid input types.
    
    PR-URL: #22132
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    916a1d5 View commit details
    Browse the repository at this point in the history
  35. crypto: simplify state failure handling

    It is more intuitive to return true/false instead of undefined/false
    and also simplifies handling in the JS layer.
    
    PR-URL: #22131
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    tniessen authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    9212875 View commit details
    Browse the repository at this point in the history
  36. test: remove common.fileExists()

    test-trace-event-promises.js was added to the codebase between the last
    CI for #22151 and it landing.
    
    PR-URL: #22200
    Refs: #22151
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    richardlau authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    5018661 View commit details
    Browse the repository at this point in the history
  37. worker: fix deadlock when calling terminate from exit handler

    Just before we call the `'exit'` handlers of a Worker, we drain
    the public port’s message queue to ensure proper ordering.
    Previously, we held the Worker’s `mutex_` during the
    exit handler call, so calling `terminate()` on the worker
    could lead to a deadlock if called from one of those message
    handlers.
    
    This fixes flakiness in the `parallel/test-worker-dns-terminate` test.
    
    PR-URL: #22073
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    677d10c View commit details
    Browse the repository at this point in the history
  38. src: fix up doc comment for experimental-worker bool

    PR-URL: #22165
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    8b5485d View commit details
    Browse the repository at this point in the history
  39. tls: preallocate SSL cipher array

    PR-URL: #22136
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    tniessen authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f989681 View commit details
    Browse the repository at this point in the history
  40. test: don't mask descriptor.enumerable

    PR-URL: #22172
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    tomleah authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    7a4c7e6 View commit details
    Browse the repository at this point in the history
  41. build: extract common parts from addon .buildstamp

    This commit extracts common parts from the targets
    test/addons/.buildstamp, and test/addons-napi/.buildstamp to reduce some
    duplication.
    
    PR-URL: #22171
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    cdb8c1b View commit details
    Browse the repository at this point in the history
  42. build: add crypto check to build targets

    Currently when configured without-ssl the build will fail when trying
    to run the tools/doc/node_modules, and .docbuildstamp make targets:
    
    internal/util.js:97
        throw new ERR_NO_CRYPTO();
        ^
    Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto
                           support
        at assertCrypto (internal/util.js:97:11)
        at crypto.js:31:1
        ...
        at Object.<anonymous>
           (/node/deps/npm/node_modules/uuid/lib/rng.js:4:14)
        at Module._compile (internal/modules/cjs/loader.js:689:30)
        ...
    make[1]: *** [tools/doc/node_modules] Error 1
    
    This commit adds crypto check to these targets to allow the build to
    pass.
    
    PR-URL: #22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    c42ff4e View commit details
    Browse the repository at this point in the history
  43. test: move require of http2 to after crypto check

    Currently when configured without-ssl test-heapdump-http2.js will fail
    with a missing crypto message.
    This commit moves the require of http2 to after the crypto check.
    
    PR-URL: #22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a6ab19a View commit details
    Browse the repository at this point in the history
  44. test: move require of https to after crypto check

    Currently when configured without-ssl test-request-arguments.js will
    fail with a missing crypto message.
    This commit moves the require of https to after the crypto check.
    
    PR-URL: #22148
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    b1cbbbc View commit details
    Browse the repository at this point in the history
  45. build: make tools/doc/node_modules non-phony

    This commit makes the target tools/doc/node_modules a non-phony target
    and also adds tools/doc/package.json as a prerequisite to it to avoid
    running it unnecessary. This is currently causing the target
    test/addons/.docbuildstamp to be always be executed as it has
    tools/doc/node_modules as a prerequisite.
    
    PR-URL: #22189
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Sam Ruby <rubys@intertwingly.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    4520bb8 View commit details
    Browse the repository at this point in the history
  46. stream: fix readable behavior for highWaterMark === 0

    Avoid trying to emit 'readable' due to the fact that
    state.length is always >= state.highWaterMark if highWaterMark is 0.
    Therefore upon .read(0) call (through .on('readable')) stream assumed
    that it has enough data to emit 'readable' even though
    state.length === 0 instead of issuing _read(). Which led to the TTY
    not recognizing that someone is waiting for the input.
    
    Fixes: #20503
    Refs: #18372
    
    PR-URL: #21690
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lundibundi authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    31e3e6f View commit details
    Browse the repository at this point in the history
  47. doc: add gdams to collaborators

    PR-URL: #22236
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    George Adams authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d4f3615 View commit details
    Browse the repository at this point in the history
  48. test: remove second arg from assert.ifError()

    `test/parallel/test-fs-readfile.js` has a call to
    `assert.ifError()` that receives two arguments.
    
    There is no second argument used in `assert.ifError()`.
    This PR removes this argument.
    
    PR-URL: #22190
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhamwala authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    cefc4a0 View commit details
    Browse the repository at this point in the history
  49. doc: add subprocess.ref() and subprocess.unref()

    PR-URL: #22220
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    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: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tlhunter authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    fafdae4 View commit details
    Browse the repository at this point in the history
  50. test: handle errors correctly in GC http test

    In test-gc-http-client-timeout.js, res.resume is not a function if error
    occurs. Remove the error handler.
    
    PR-URL: #22185
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    oyyd authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    bc1cb7b View commit details
    Browse the repository at this point in the history
  51. inspector: add inspector_protocol as a direct dependency

    Currently, node.js depends on inspector_protocol indirectly through the
    dependency on v8.
    
    This is a dependency violation that will make it hard to roll V8 into
    Node if V8 gets a newer inspector protocol version with incompatible
    API. In fact, this surfaced on one of our bots when we tried to roll new
    inspector_protocol into V8.
    
    This patch adds inspector protocol and its required dependencies to node
    deps:
    - jinja2
    - markupsafe
    
    PR-URL: #21975
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    aslushnikov authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    3989869 View commit details
    Browse the repository at this point in the history
  52. test: remove common.fileExists()

    common.fileExists() can be replaced with fs.existsSync().
    
    PR-URL: #22151
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    bdc644f View commit details
    Browse the repository at this point in the history
  53. doc: replace _WG_ with _team_

    AFAICT, there is no N-API Working Group. There *is* an N-API team, but
    AFAIK there is no charter etc. (And if I'm wrong and there is, then
    https://nodejs.org/en/about/working-groups/ needs an update!)
    
    PR-URL: #22183
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    cea8d4f View commit details
    Browse the repository at this point in the history
  54. doc: discuss special protocol handling

    Fixes: #13523
    
    PR-URL: #22261
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1b41cd4 View commit details
    Browse the repository at this point in the history
  55. doc: list encodings supported by buffer.transcode

    Fixes: #15632
    
    PR-URL: #22263
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    ef8d0fc View commit details
    Browse the repository at this point in the history
  56. crypto: remove unused SSLWrap handle methods

    One was not used at all, and the other was only used in a test, which I
    converted to use the more standard `ShutdownWrap` API.
    
    PR-URL: #22216
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    maclover7 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    86ab2c0 View commit details
    Browse the repository at this point in the history
  57. src: add READONLY_STRING_PROPERTY and simplify config

    Bit of tidying up where we set different config values.
    
    PR-URL: #22222
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    maclover7 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    2737b46 View commit details
    Browse the repository at this point in the history
  58. build: add CONFIG_FLAGS to with-code-cache target

    This commit adds CONFIG_FLAGS to allow the with-code-cache target to be
    used with a debug build. The motivation for this is to make it easier to
    debug a build with the code cache enabled.
    
    The suggested usage:
    $ make BUILDTYPE=Debug with-code-cache
    
    The BUILDTYPE option is not needed if ./configure was already
    configured with --debug.
    
    PR-URL: #22207
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1be6fb9 View commit details
    Browse the repository at this point in the history
  59. http2: remove streamError from docs

    `streamError` was removed quite some time ago but the docs and
    code comments weren't updated. Fix that.
    
    Fixes: #20211
    
    PR-URL: #22246
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    fcca2f7 View commit details
    Browse the repository at this point in the history
  60. src: fix integer overflow in GetNow

    PR-URL: #22214
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    apapirovski authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    82e71dd View commit details
    Browse the repository at this point in the history
  61. doc: add missing option for child_process.spawnSync()

    PR-URL: #22231
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    thw0rted authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    9e25028 View commit details
    Browse the repository at this point in the history
  62. assert: fix loose assert with map and set

    There was an oversight when checking the possible loose comparisons.
    This is now fixed by also accepting `''` instead of `0` or `false`.
    
    PR-URL: #22145
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    58a9ae1 View commit details
    Browse the repository at this point in the history
  63. doc: declare all parameter types

    PR-URL: #21782
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rubys authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d95a22c View commit details
    Browse the repository at this point in the history
  64. util: improve display of iterators and weak entries

    This adds the number of not visible elements when inspecting iterators
    while exceeding `maxArrayLength`.
    It also fixes a edge case with `maxArrayLength` and the map.entries()
    iterator. Now the whole entry will be visible instead of only the key
    but not the value of the first entry.
    Besides that it uses a slighly better algorithm that improves the
    performance by skipping unnecessary steps.
    
    PR-URL: #20961
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    b171fa2 View commit details
    Browse the repository at this point in the history
  65. build: make --shared-[...]-path work on Windows

    The `-L<path>` syntax isn't recognized by link.exe, and gyp
    doesn't translate it properly. Without this, link.exe generates
    the following warning and fails to link:
    
    ```
    LINK : warning LNK4044: unrecognized option '/LC:/Users/nornagon/...'; ignored
    ```
    
    PR-URL: #21530
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    nornagon authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f506a5f View commit details
    Browse the repository at this point in the history
  66. src: use smart pointers for NodeBIO

    PR-URL: #21984
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d85b0a3 View commit details
    Browse the repository at this point in the history
  67. src: avoid possible race during NodeBIO initialization

    PR-URL: #21984
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    b2ac7a7 View commit details
    Browse the repository at this point in the history
  68. src: remove unnecessary writes in tls_wrap.cc

    PR-URL: #21984
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d0b0ea9 View commit details
    Browse the repository at this point in the history
  69. tools: add no-misleading-character-class ESLint rule

    Refs: https://eslint.org/docs/rules/no-misleading-character-class
    
    PR-URL: #22278
    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>
    vsemozhetbyt authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    80dd044 View commit details
    Browse the repository at this point in the history
  70. doc: add multiple issue templates for GitHub

    Fixes: #21812
    
    PR-URL: #22215
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    dd96ba5 View commit details
    Browse the repository at this point in the history
  71. tls: remove SLAB_BUFFER_SIZE

    This constant has not been in use for many years now and the test
    alongside it is invalid, as well as flaky.
    
    PR-URL: #21199
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    2d1c185 View commit details
    Browse the repository at this point in the history
  72. util,assert: fix boxed primitives bug

    Currently the comparison could throw an error in case a boxed
    primitive has no valueOf function on one side of the assert call.
    
    PR-URL: #22243
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f1c22ea View commit details
    Browse the repository at this point in the history
  73. test: improve test coverage for comparisons

    PR-URL: #22212
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    c145690 View commit details
    Browse the repository at this point in the history
  74. tls: change var to const

    PR-URL: #22219
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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: Gus Caplan <me@gus.host>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    oygen87 authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    ec2209d View commit details
    Browse the repository at this point in the history
  75. doc: clarify http2 docs around class exports

    PR-URL: #22247
    Fixes: #21434
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@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>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    882c2c0 View commit details
    Browse the repository at this point in the history
  76. test,doc: fix lint error in test fixtures

    Add first-level header to .md file in fixture directory. The file in
    question is documentation for the fixture and is not part of any tests.
    This is in prepration for markdown linting of the `test` directory.
    
    PR-URL: #22221
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    21883be View commit details
    Browse the repository at this point in the history
  77. test,doc: wrap common module md doc at 80 chars

    In preparation for markdown linting of files in the `test` directory,
    make sure all lines in `test/common/README.md` are no more than 80
    characters long.
    
    PR-URL: #22221
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    5c41caa View commit details
    Browse the repository at this point in the history
  78. test,doc: adjust async-hooks coverage doc for lint

    First header should be a first-level header according to our lint rules.
    Make it so in prepartion for applying the markdown linting to the test
    directory.
    
    PR-URL: #22221
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    8f56cc0 View commit details
    Browse the repository at this point in the history
  79. test,doc: adjust markdown table for linting

    In preparation for applying markdown linting to the `test` directory,
    adjust the table in `test/README.md` to comply with our markdown rules.
    
    PR-URL: #22221
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d60b017 View commit details
    Browse the repository at this point in the history
  80. tools,build: apply markdown linting to test dir

    Enable markdown linting of the test directory. This change is applied
    only to Makefile and not vcbuild.bat because we do not currently lint
    anything outside of the doc directory using vcbuild.bat. In the
    Makefile, the other targets are called "misc" but that feature does not
    currently exist in vcbuild.bat. Adding it would be good, but outside the
    scope of this change.
    
    PR-URL: #22221
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    4995b28 View commit details
    Browse the repository at this point in the history
  81. test,doc: fix async-hooks coverage doc for md lint

    #20894 / 2930bd1 was introduced on
    master which removed an offending line in this doc before linting was
    applied to test/ in #22221 /
    56103ab. Since 20894 is semver-major, the full changes were not
    backported.
    
    PR-URL: #22296
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    88665b3 View commit details
    Browse the repository at this point in the history
  82. deps: upgrade openssl sources to 1.1.0i

    This updates all sources in deps/openssl/openssl with openssl-1.1.0i.
    
    PR-URL: #22318
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    shigeki authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    05e48fd View commit details
    Browse the repository at this point in the history
  83. deps: add s390 asm rules for OpenSSL-1.1.0

    This is a floating patch against OpenSSL-1.1.0 to generate asm files
    with Makefile rules and it is to be submitted to the upstream.
    
    Fixes: #4270
    PR-URL: #19794
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    shigeki authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    473996c View commit details
    Browse the repository at this point in the history
  84. deps: update archs files for OpenSSL-1.1.0i

    `cd deps/openssl/config; make` updates all archs dependant files.
    
    PR-URL: #22318
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    shigeki authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a07ccae View commit details
    Browse the repository at this point in the history
  85. test: fix error messages for OpenSSL-1.1.0i

    After upgradeing OpenSSL-1.1.0i, two tests are failed due to changes
    of error messages.
    
    Ref: openssl/openssl@45ae18b
    Ref: openssl/openssl@36d2517
    PR-URL: #22318
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    shigeki authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    01fe2ce View commit details
    Browse the repository at this point in the history
  86. deps: backport c608122b from upstream

    Original commit message:
      [api][keys] Allow skipping indices for Proxies with GetPropertyNames
    
      Bug: v8:7942
      Change-Id: I7b3740b04cbcaa56dc809150900ab8d821b054ce
      Reviewed-on: https://chromium-review.googlesource.com/1156544
      Reviewed-by: Toon Verwaest <verwaest@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54821}
    
    PR-URL: #22210
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    fcf422e View commit details
    Browse the repository at this point in the history
  87. http2: avoid race condition in OnHeaderCallback

    Fixes: #21416
    
    PR-URL: #22256
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    cee78bf View commit details
    Browse the repository at this point in the history
  88. test: add test-http2-large-file sequential test

    Refs: #19141
    
    PR-URL: #22254
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@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>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a414b07 View commit details
    Browse the repository at this point in the history
  89. benchmark: improve assert benchmarks

    This reduces the runtime and makes sure the strict and loose options
    can be tested individually.
    
    Besides that a couple of redundant cases were removed.
    
    PR-URL: #22211
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1c57701 View commit details
    Browse the repository at this point in the history
  90. test: move test-http-client-timeout-option-with-agent to sequential

    The timeout event cannot be precisely timed and the actual timeout
    may be longer in some situations. Here we move this test into the
    sequential folder to make it happens less likely.
    
    PR-URL: #22083
    Fixes: #22041
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    oyyd authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a7dad45 View commit details
    Browse the repository at this point in the history
  91. tools: fix header escaping regression

    quick fix for #22065
    
    Preferred long term fix can be found at:
    #22140
    
    PR-URL: #22084
    Fixes: #22065
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rubys authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    6cd2d1d View commit details
    Browse the repository at this point in the history
  92. inspector: unmark tests as flaky

    PR-URL: #22253
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    eugeneo authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1afcea1 View commit details
    Browse the repository at this point in the history
  93. perf_hooks: avoid memory leak on gc observer

    Fixes: #22229
    
    PR-URL: #22241
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    f570c19 View commit details
    Browse the repository at this point in the history
  94. http2: explicitly disallow nested push streams

    Fixes: #19095
    
    PR-URL: #22245
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    jasnell authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    7223a91 View commit details
    Browse the repository at this point in the history
  95. test: call gc() explicitly to avoid OOM

    PR-URL: #22301
    Refs: nodejs/reliability#12
    Refs: #16354
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    refack authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    1d15f33 View commit details
    Browse the repository at this point in the history
  96. test: rename some allegories

    PR-URL: #22307
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    vsemozhetbyt authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    9d89b3c View commit details
    Browse the repository at this point in the history
  97. lib: remove unused filterInternalStackFrames param

    Actually we don't refer the `error` directly in
    `filterInternalStackFrames`, so just remove it anyway.
    
    PR-URL: #22267
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MaleDong authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    8f7e373 View commit details
    Browse the repository at this point in the history
  98. inspector: tie objects lifetime to the thread they belong to

    PR-URL: #22242
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    eugeneo authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    4c5dc6e View commit details
    Browse the repository at this point in the history
  99. http2: correcting the heading format

    PR-URL: #22262
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    antsmartian authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    8d226c6 View commit details
    Browse the repository at this point in the history
  100. doc: document 'inherit' option for stdio (non-shorthand)

    PR-URL: #22309
    Fixes: #22297
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    thw0rted authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    e04b053 View commit details
    Browse the repository at this point in the history
  101. doc: bump ICU version to avoid confusion

    ICU has been on 6X for a while but example file name in Intl docs
    still refers to it as 5X. It might be a small thing but I think
    it's good to update this to avoid confusion.
    
    PR-URL: #22313
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: George Adams <george.adams@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    csabapalfi authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    da76b61 View commit details
    Browse the repository at this point in the history
  102. doc: use italics for words-as-words

    PR-URL: #22324
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    3236697 View commit details
    Browse the repository at this point in the history
  103. doc: remove redundant explanation of format

    Simplify format explanation for urlObject.auth.
    
    PR-URL: #22324
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a658a4d View commit details
    Browse the repository at this point in the history
  104. doc: simplify format description of urlObject.auth

    The "at sign" is properly the "commercial at" but let's just avoid the
    whole naming issue by putting the symbol right in the sentence.
    
    PR-URL: #22324
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    6d29986 View commit details
    Browse the repository at this point in the history
  105. doc: simplify urlObject.hash description

    It's an octothorp, but no one knows what that is either so let's just
    show the character in the sentence and be done with it.
    
    PR-URL: #22326
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    d284869 View commit details
    Browse the repository at this point in the history
  106. doc: simplify urlObject.hash text

    Remove "consists of" in favor of "is". Use "fragment identifier" instead
    of "fragment" and remove quotes.
    
    PR-URL: #22326
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a3f3c40 View commit details
    Browse the repository at this point in the history
  107. buffer: avoid overrun on UCS-2 string write

    CVE-2018-12115
    Discovered by ChALkeR - Сковорода Никита Андреевич
    Fix by Anna Henningsen
    
    Writing to the second-to-last byte with UCS-2 encoding will cause a -1
    length to be send to String::Write(), writing all of the provided Buffer
    from that point and beyond.
    
    Fixes: nodejs-private/security#203
    PR-URL: nodejs-private/node-private#138
    rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    2c4c17b View commit details
    Browse the repository at this point in the history
  108. buffer: stop alloc() uninitialized memory return

    CVE-2018-7166
    Discovered by ChALkeR - Сковорода Никита Андреевич
    
    Prevent Buffer.alloc(size, fill, number) from returning uninitialized memory.
    
    Fixes: nodejs-private/security#202
    PR-URL: nodejs-private/node-private#137
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    cjihrig authored and rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    734323d View commit details
    Browse the repository at this point in the history
  109. 2018-08-15, Version 10.9.0 (Current)

    Notable changes:
    
    * buffer:
      * Fix out-of-bounds (OOB) write in `Buffer.write()` for UCS-2 encoding
        (CVE-2018-12115)
      * Fix unintentional exposure of uninitialized memory in `Buffer.alloc()`
        (CVE-2018-7166)
    * deps:
      * Upgrade to OpenSSL 1.1.0i, fixing:
        - Client DoS due to large DH parameter (CVE-2018-0732)
        - ECDSA key extraction via local side-channel (CVE not assigned)
      * Upgrade V8 from 6.7 to 6.8 (Michaël Zasso) #21079
        - Memory reduction and performance improvements, details at:
          https://v8project.blogspot.com/2018/06/v8-release-68.html
    * http: `http.get()` and `http.request()` (and `https` variants) can now accept
      three arguments to allow for a `URL` _and_ an `options` object
      (Sam Ruby) #21616
    * Added new collaborators
      * Sam Ruby (https://github.com/rubys)
      * George Adams (https://github.com/gdams)
    rvagg committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    03b8258 View commit details
    Browse the repository at this point in the history