Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10.x] deps: increase V8 deprecation levels #23159

Closed
wants to merge 17 commits into from

Commits on Oct 5, 2018

  1. Revert "tty: make _read throw ERR_TTY_WRITABLE_NOT_READABLE"

    This reverts commit 91eec00.
    
    Refs: nodejs#21654
    Refs: nodejs#21203
    
    PR-URL: nodejs#23053
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    090d879 View commit details
    Browse the repository at this point in the history
  2. tools: allow input for TTY tests

    Since faking TTY input is not otherwise fake-able, we need
    support in the test runner for it.
    
    PR-URL: nodejs#23053
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    dc78ac8 View commit details
    Browse the repository at this point in the history
  3. process: allow reading from stdout/stderr sockets

    Allow reading from stdio streams that are conventionally
    associated with process output, since this is only convention.
    
    This involves disabling the oddness around closing stdio
    streams. Its purpose is to prevent the file descriptors
    0 through 2 from being closed, since doing so can lead
    to information leaks when new file descriptors are being
    opened; instead, not doing anything seems like a more
    reasonable choice.
    
    Fixes: nodejs#21203
    
    PR-URL: nodejs#23053
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    de596e1 View commit details
    Browse the repository at this point in the history
  4. test: add stdin writable regression test

    Make sure that `process.stdin.write()`, and in particular
    ending the stream, works.
    
    PR-URL: nodejs#23053
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    76a0396 View commit details
    Browse the repository at this point in the history
  5. tools: fix ICU shrinker and docs

    - tools: path to ICU datafile moved
    - docs: configure is now configure.py
    
    Fixes: nodejs#23245
    
    PR-URL: nodejs#23266
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    srl295 authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    f2c90d0 View commit details
    Browse the repository at this point in the history
  6. build: cleanup in .gitignore

    * explicitly unignore files that we track.
    
    The following are not created anymore (only as subdirs of v8/gypfiles)
    /deps/v8/src/debug/obj
    deps/v8/src/Debug/
    deps/v8/src/Release/
    deps/v8/src/inspector/Debug/
    deps/v8/src/inspector/Release/
    
    PR-URL: nodejs#23180
    Refs: nodejs#23156
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Refael Ackermann authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    9023b7e View commit details
    Browse the repository at this point in the history
  7. build: add pgo specific variables to common.gypi

    Refs: nodejs#22772 (comment)
    
    PR-URL: nodejs#23102
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lundibundi authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    3f46104 View commit details
    Browse the repository at this point in the history
  8. doc: leave pull requests open for 72 hours

    Currently, we have a 48/72 rule for how many hours a pull request should
    be left open at a minimum. Unfortunately, whether a pull request should
    be left open for 48 or 72 hours is often unclear. The 72 hours is
    required if it is a weekend. If I open a pull request on a Friday
    morning, does it need to stay open 48 hours or 72 or something in
    between? Does it matter if I'm in one time zone or another?
    
    The 48/72 rule predates our fast-tracking process. Given the ability to
    fast-track trivial pull requests, there should be little disadvantage to
    leaving significant changes open for 72 hours instead of 48 hours, and
    arguably considerable advantage in terms of allowing people sufficient
    time to review things.
    
    So to simplify, standardize on 72 hours. Weekend or not, 72 hours. Easy.
    
    PR-URL: nodejs#22275
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Trott authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    110e81d View commit details
    Browse the repository at this point in the history
  9. src: add virtual desctructor to Options class

    Currently the Options class has a virtual function but no virtual
    destructor which means that if delete is called on a Options pointer
    to a derived instance, the derived destructor will not get called.
    
    The following warning is currently being printed when
    compiling:
    
    warning: delete called on non-final 'node::PerIsolateOptions' that has
    virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete __ptr;
    
    This commit adds a virtual destructor.
    
    PR-URL: nodejs#23215
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    e93b54c View commit details
    Browse the repository at this point in the history
  10. crypto: add virtual dtor to KeyPairGenerationConfig

    Currently the KeyPairGenerationConfigs class has a virtual function
    but no virtual destructor which means that if delete is called on a
    KeyPairGenerationConfig pointer to a derived instance, the derived
    destructor will not get called.
    
    The following warning is currently being printed when
    compiling:
    
    warning: delete called on 'node::crypto::KeyPairGenerationConfig' that
    is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete __ptr;
    
    This commit adds a virtual destructor.
    
    PR-URL: nodejs#23215
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    8c7448b View commit details
    Browse the repository at this point in the history
  11. inspector: add virtual destructor to WorkerDelegate

    Currently the WorkerDelegate class has a virtual function
    but no virtual destructor which means that if delete is called on a
    WorkerDelegate pointer to a derived instance, the derived destructor
    will not get called.
    
    The following warning is currently being printed when
    compiling:
    
    warning: delete called on 'node::inspector::WorkerDelegate' that is
    abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
    
    This commit adds a virtual destructor.
    
    PR-URL: nodejs#23215
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    81b4fbe View commit details
    Browse the repository at this point in the history
  12. tools: remove useless assignment from configure.py

    PR-URL: nodejs#23200
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    devsnek authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    bf776e4 View commit details
    Browse the repository at this point in the history
  13. build: make lint-addon-docs quiet

    This commit adds the --quiet flag to cpplint for the lint-addon-docs
    target to be consistent with the lint-cpp target.
    
    PR-URL: nodejs#23217
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    e582029 View commit details
    Browse the repository at this point in the history
  14. build: toggle lint-cpp using verbose (V) variable

    This commit the verbosity of cpplint to be toggled by using the V
    variable. The default setting is verbose but by passing an empty string
    cpplint will be quiet.
    
    PR-URL: nodejs#23217
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    07e3ae3 View commit details
    Browse the repository at this point in the history
  15. assert: improve diff output

    The output is now a tiny bit improved by sorting object properties
    when inspecting the values that are compared with each other. That
    reduces the overall diff for identical objects with a different
    property insertion order.
    
    Backport-PR-URL: nodejs#23226
    PR-URL: nodejs#22788
    Refs: nodejs#22763
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    2b53f17 View commit details
    Browse the repository at this point in the history
  16. util: move inspect in separate file

    The inspect function became very big and it's better to handle this
    in a separate file.
    
    Backport-PR-URL: nodejs#23226
    PR-URL: nodejs#22845
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Oct 5, 2018
    Configuration menu
    Copy the full SHA
    cbd851f View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2018

  1. deps: increase V8 deprecation levels

    Bump from `V8_DEPRECATE_SOON` to `V8_DEPRECATE` for APIs
    that are removed in V8 7.0+. Also, provide the replacement APIs
    in cases where they were absent on Node 10.
    
    Refs: nodejs#23122
    addaleax committed Oct 6, 2018
    Configuration menu
    Copy the full SHA
    78b888c View commit details
    Browse the repository at this point in the history