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

v11.11.0 proposal #26322

Merged
merged 213 commits into from
Mar 6, 2019
Merged

v11.11.0 proposal #26322

merged 213 commits into from
Mar 6, 2019

Commits on Feb 28, 2019

  1. src: use more stable cast where possible

    PR-URL: #26052
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gireeshpunathil authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e314681 View commit details
    Browse the repository at this point in the history
  2. meta: moving jasnell temporarily to TSC emeritus

    Moving myself temporarily to TSC emertus status. Expecting to
    take a two month hiatus from TSC duties while I focus on some
    NearForm internal business.
    
    PR-URL: #26106
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    143b844 View commit details
    Browse the repository at this point in the history
  3. trace_events: fix trace events JS API writing

    The Trace Events JS API isn't functional if none of
    --trace-events-enabled or --trace-event-categories is passed as a CLI
    argument. This commit fixes that.
    
    In addition, we currently don't test the trace_events JS API in the
    casewhere no CLI args are provided. This commit adds that test.
    
    Fixes #24944
    
    PR-URL: #24945
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    kjin authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    1766b8c View commit details
    Browse the repository at this point in the history
  4. test: add arg to narrow http benchmark test

    PR-URL: #26101
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    refack authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dd60cd6 View commit details
    Browse the repository at this point in the history
  5. test: increase coverage for assertion_error.js

    Add a test for long strings and assert.notDeepEqual() to cover code that
    truncates output when it is longer than 1024 characters.
    
    PR-URL: #26065
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    2d0242a View commit details
    Browse the repository at this point in the history
  6. fs, src, lib: fix blksize & blocks on Windows

    libuv returns values for `blksize` and `blocks` on stat calls so
    do not coerce them into `undefined` on Windows.
    
    PR-URL: #26056
    Fixes: #25913
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    14cf22f View commit details
    Browse the repository at this point in the history
  7. build: fixed clang's warning when building openssl

    clang doesn't seem to support 'Wno-old-style-declaration', this
    is a work-around.
    
    Fixes: #25550
    Refs: nodejs/node-v0.x-archive#4186
    
    PR-URL: #25954
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    thangktran authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    f408d78 View commit details
    Browse the repository at this point in the history
  8. worker: use fake MessageEvent for port.onmessage

    Instead of passing the payload for Workers directly to `.onmessage`,
    perform something more similar to what the browser API provides,
    namely create an event object with a `.data` property.
    
    This does not make `MessagePort` implement the `EventTarget` API, nor
    does it implement the full `MessageEvent` API, but it would make
    such extensions non-breaking changes if we desire them at
    some point in the future.
    
    (This would be a breaking change if Workers were not experimental.
    Currently, this method is also undocumented and only exists with
    the idea of enabling some degree of Web compatibility.)
    
    PR-URL: #26082
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    77a944c View commit details
    Browse the repository at this point in the history
  9. test,worker: add more tests for worker.ref()/.unref()

    PR-URL: #26083
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    d1e3724 View commit details
    Browse the repository at this point in the history
  10. src: use same parameter name in node_report.cc

    PR-URL: #26046
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    497d9d8 View commit details
    Browse the repository at this point in the history
  11. test: silence compiler warning in openssl-binding

    Currently, this test generated the following compiler warning:
    ../binding.cc:33:30: warning:
    'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]
      const SSL_METHOD* method = TLSv1_2_server_method();
                                 ^
    /node/deps/openssl/openssl/include/openssl/ssl.h:1877:1:
    note: 'TLSv1_2_server_method' has been explicitly marked deprecated here
    DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))
    ^
    1 warning generated.
    
    This commit adds -Wno-deprecated-declarations to silence this warning
    for this test.
    
    PR-URL: #26067
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    danbev authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a920721 View commit details
    Browse the repository at this point in the history
  12. worker: switch to internal assert module

    PR-URL: #26091
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    6929871 View commit details
    Browse the repository at this point in the history
  13. worker: remove duplicate call

    `Environment::RunCleanup` is invoked twice in a row,
    remove one.
    
    PR-URL: #26104
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    gireeshpunathil authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8045e40 View commit details
    Browse the repository at this point in the history
  14. doc: fix notable changes list format for 11.9.0 & 11.10.0

    PR-URL: #26129
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Schweinepriester authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    2ff1644 View commit details
    Browse the repository at this point in the history
  15. inspector: make sure timer handles are cleaned up

    It is not obvious that timer handles are cleaned up properly
    when the current `Environment` exits, nor that the `Environment`
    knows to keep track of the closing handles.
    
    This change may not be necessary, because timer handles
    close without non-trivial delay (i.e. at the end of the current
    event loop term), and JS-based inspector sessions (which are
    the only ones we can easily test) are destroyed when cleaning up,
    closing the timers as a result. I don’t know what happens
    for other kinds of inspector sessions, though.
    
    PR-URL: #26088
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    0c4353a View commit details
    Browse the repository at this point in the history
  16. process: delay setup of global exception handlers

    Since bootstrap/node.js performs the setup synchronously,
    the process exception handlers do not have to setup so early in
    the bootstrap process - any fatal errors thrown before user code
    execution should simply crash the process, and we do not care
    about any clean up at that point. We don't care about emitting any
    events if the process crash upon bootstrap either.
    
    PR-URL: #26061
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b5fe27c View commit details
    Browse the repository at this point in the history
  17. doc: fix changelog entry

    PR-URL: #26114
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    3971510 View commit details
    Browse the repository at this point in the history
  18. doc: fix notable changes in v11 changelog

    targos authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    82bc68b View commit details
    Browse the repository at this point in the history
  19. doc: consolidate N-API material in Collaborator Guide

    Consolidate the N-API material in the Collaborator Guide to be succinct
    and direct.
    
    PR-URL: #26094
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a9c4437 View commit details
    Browse the repository at this point in the history
  20. src: remove unused macro in node_file.cc

    PR-URL: #26073
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    0408966 View commit details
    Browse the repository at this point in the history
  21. worker: do not add removed methods to MessagePort

    Do not put the `.stop()` and `.drain()` methods on the
    `MessagePort` prototype if we are going to remove them
    later on anyway.
    
    PR-URL: #26109
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    24debc9 View commit details
    Browse the repository at this point in the history
  22. vm: do not overwrite error when creating context

    An empty `Local<>` already indicates that an exception is pending,
    so there is no need to throw an exception. In the case of Workers,
    this could override a `.terminate()` call.
    
    PR-URL: #26112
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    7d66d47 View commit details
    Browse the repository at this point in the history
  23. inspector: forward errors from InspectorConsoleCall

    Do not assume that entering JS cannot fail.
    
    PR-URL: #26113
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    be671c3 View commit details
    Browse the repository at this point in the history
  24. src: add debug CHECKs against empty handles

    These checks were useful while investigating other issues;
    using empty `Local<>`s can be very un-debuggable, because that
    typically does not lead to assertions with debugging information
    but rather crashes based on accessing invalid memory.
    
    PR-URL: #26125
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    cbd3cf0 View commit details
    Browse the repository at this point in the history
  25. n-api: do not call into JS when that is not allowed

    Check whether calling into JS is allowed before doing so.
    
    PR-URL: #26127
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    1ce5e63 View commit details
    Browse the repository at this point in the history
  26. n-api: turn NAPI_CALL_INTO_MODULE into a function

    These do not need to be macros.
    
    PR-URL: #26128
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    2335bcd View commit details
    Browse the repository at this point in the history
  27. src: extract common sockaddr creation code

    This commit extracts code to create sockaddr which is shared by both
    UDPWrap::DoBind and UDPWrap::DoSend.
    
    PR-URL: #26070
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    f44f335 View commit details
    Browse the repository at this point in the history
  28. test: add --test-root option to test.py

    This way we can specify a custom path for the test folder, e.g.
    when building addons separately from the source tree.
    
    PR-URL: #26093
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hashseed authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    d3525d7 View commit details
    Browse the repository at this point in the history
  29. doc: improve worker_threads documentation

    This adds a few examples and clarifications.
    
    PR-URL: #26110
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a18b847 View commit details
    Browse the repository at this point in the history
  30. test,worker: posting undefined/null message to message port

    Related: #26122
    
    PR-URL: #26123
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    legendecas authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    db94ab7 View commit details
    Browse the repository at this point in the history
  31. src: check HasCaught() in JSStream calls

    `MakeCallback` can return an empty `MaybeLocal<>` even if no
    exception has been generated, in particular, if
    we were already terminating the current thread *before* the `TryCatch`
    scope started, which meant it would not have an exception to report.
    
    PR-URL: #26124
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    ee71952 View commit details
    Browse the repository at this point in the history
  32. src: remove inspector main_thread_request_ field

    This is redundant to the platform notification mechanism, and
    the handle may not be cleaned up util we attempt to close the loop.
    
    Refs: #26089
    Refs: #26006
    
    PR-URL: #26137
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    d550de4 View commit details
    Browse the repository at this point in the history
  33. worker: spin uv_run twice before closing loop

    On Windows, the Platform’s `uv_async_t` may need two iterations
    before closing when it was previously in use.
    
    Refs: #26089
    Refs: #26006
    
    PR-URL: #26138
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dab64bb View commit details
    Browse the repository at this point in the history
  34. test: fix flaky test-worker-ref-onexit

    Fixes: #26167
    
    PR-URL: #26170
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    441b545 View commit details
    Browse the repository at this point in the history
  35. tools: update ESLint to 5.14.0

    Update ESLint to 5.14.0
    
    PR-URL: #26142
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Wyatt Preul <wpreul@gmail.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    28d6074 View commit details
    Browse the repository at this point in the history
  36. src: apply clang-tidy rule modernize-use-override

    PR-URL: #26103
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e6949b4 View commit details
    Browse the repository at this point in the history
  37. lib: convert legacy process.binding to internalBinding

    PR-URL: #26095
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ZYSzys authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    733beb7 View commit details
    Browse the repository at this point in the history
  38. src: use PauseOnNextJavascriptStatement to implement --inspect-brk-node

    Instead of using the `debugger;` statement which is visible in the
    JS source code and makes primordials.js environment-dependent.
    
    PR-URL: #26034
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    4ca0789 View commit details
    Browse the repository at this point in the history
  39. src: remove invalid casts in options parser

    Fixes: #26131
    
    PR-URL: #26139
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    778db67 View commit details
    Browse the repository at this point in the history
  40. worker: ignore --abort-on-uncaught-exception for terminate()

    When running Worker threads with `--abort-on-uncaught-exception`,
    do not abort the process when `worker.terminate()` is called.
    
    PR-URL: #26111
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dab3d71 View commit details
    Browse the repository at this point in the history
  41. test: simplify test-worker-syntax-error

    Remove extraneous code from test-worker-syntax-error. Because the worker
    is called with `eval: true`, there is no need to set an environment
    variable indicating whether the worker has started and so on. The test
    file is only ever executed by the main thread.
    
    PR-URL: #26144
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    76c2f4f View commit details
    Browse the repository at this point in the history
  42. process: start coverage collection before bootstrap

    This patch moves the dispatch of `Profiler.takePreciseCoverage`
    to a point before the bootstrap scripts are run to ensure that
    we can collect coverage data for all the scripts run after
    the inspector agent is ready.
    
    Before this patch `lib/internal/bootstrap/primordials.js` was not
    covered by `make coverage`, after this patch it is.
    
    PR-URL: #26006
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    230e98b View commit details
    Browse the repository at this point in the history
  43. src: unify uptime base used across the code base

    This patch joins `per_process::prog_start_time` (a double)
    and `performance::performance_node_start` (a uint64_t) into a
    `per_process::node_start_time` (a uint64_t) which gets initialized
    in `node::Start()`.
    
    PR-URL: #26016
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    82df851 View commit details
    Browse the repository at this point in the history
  44. test: increase coverage of node_report_module.cc

    PR-URL: #26116
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    richardlau authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    38a87d5 View commit details
    Browse the repository at this point in the history
  45. benchmark,test: refactoring

    PR-URL: #26119
    Refs: #26101
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    f4955fd View commit details
    Browse the repository at this point in the history
  46. doc: wrap child_process.md at 80 characters

    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    c810ced View commit details
    Browse the repository at this point in the history
  47. doc: remove all-caps shouting from child_process.md

    Remove all-caps from child_process.md.
    
    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    4d1c87e View commit details
    Browse the repository at this point in the history
  48. doc: remove unnecessary bold italics from child_process.md

    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    789b818 View commit details
    Browse the repository at this point in the history
  49. doc: remove unnecessary bold text from child_process.md

    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b48a04b View commit details
    Browse the repository at this point in the history
  50. doc: remove unnecessary italics from child_process.md

    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e506f6a View commit details
    Browse the repository at this point in the history
  51. doc: eliminate use of "note that" from child_process.md

    PR-URL: #26141
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e108c32 View commit details
    Browse the repository at this point in the history
  52. test: consolidate assertions in ipv6only test

    PR-URL: #26149
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    59ca9e9 View commit details
    Browse the repository at this point in the history
  53. doc: remove deprecation definition in Collaborator Guide

    The Collaborator Guide links to a definition of "deprecation" but also
    quotes it extensively. Remove the extensive quotes.
    
    PR-URL: #26157
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e5dae20 View commit details
    Browse the repository at this point in the history
  54. lib: converted element to lowercase in tty.js

    Converted the first element "Eterm" in TERM_ENVS array to "eterm"
    
    PR-URL: #26121
    Fixes: #26077
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    abshek authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    bf61050 View commit details
    Browse the repository at this point in the history
  55. doc: fix code lang in repl.md

    PR-URL: #26075
    Reviewed-By: Lance Ball <lball@redhat.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8fac54a View commit details
    Browse the repository at this point in the history
  56. src: apply clang-tidy rule performance-unnecessary-value-param

    PR-URL: #26042
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    25ddbc9 View commit details
    Browse the repository at this point in the history
  57. module: use compileFunction over Module.wrap

    Use vm.compileFunction (which is a binding for
    v8::CompileFunctionInContext) instead of Module.wrap internally in
    Module._compile for the cjs loader.
    
    Fixes: #17396
    
    PR-URL: #21573
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b338edb View commit details
    Browse the repository at this point in the history
  58. module: revert module._compile to original state if module is patched

    PR-URL: #21573
    Fixes: #17396
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ryzokuken authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    54896a6 View commit details
    Browse the repository at this point in the history
  59. tracing: use ‘real’ atomics

    Use actual atomic operations instead of things that are
    named as if they were atomics, but aren’t.
    
    Refs: #26100
    
    PR-URL: #26156
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    34c685b View commit details
    Browse the repository at this point in the history
  60. src: add missing includes for vtune build

    `v8-vtune.h` must be included in order to be able to build with vtune
    support.
    
    PR-URL: #26136
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Uttam Pawar authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    6b7d836 View commit details
    Browse the repository at this point in the history
  61. process: fix calculation in process.uptime()

    In #26016 the result returned
    by process.uptime() was mistakenly set to be based in the wrong
    unit. This patch fixes the calculation and makes sure the returned
    value is in seconds.
    
    Refs: #26016
    
    PR-URL: #26206
    Fixes: #26205
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    fde4011 View commit details
    Browse the repository at this point in the history
  62. process: move test-process-uptime to parallel

    In addition, do not make too many assumptions about the startup
    time and timer latency in test-process-uptime. Instead only test
    that the value is likely in the correct unit (seconds) and it should
    be increasing in subsequent calls.
    
    PR-URL: #26206
    Fixes: #26205
    Refs: #26016
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    cd10e25 View commit details
    Browse the repository at this point in the history
  63. doc: revise Style Guide

    Most important change here is to point people to the YAML material in
    the docs rather than the previous way we indicated versions that
    introduced or deprecated APIs.
    
    Remove contents about assets as we do not actually have any in the docs.
    
    Otherwise, a bunch of stylistic changes, mostly to keep things concise
    and direct.
    
    PR-URL: #26176
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    823f0ce View commit details
    Browse the repository at this point in the history
  64. test: remove unnecessary default tmpdir value in test

    `tmpdir.path` will never be falsy so there is no need to guard against
    that.
    
    PR-URL: #26177
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    818b280 View commit details
    Browse the repository at this point in the history
  65. src: only call .ReThrow() if not terminating

    Otherwise, it looks like a `null` exception is being thrown.
    
    PR-URL: #26130
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    bd40a12 View commit details
    Browse the repository at this point in the history
  66. test: simplify test-api-getreport.js

    PR-URL: #26169
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a1fcde0 View commit details
    Browse the repository at this point in the history
  67. report: simplify TriggerNodeReport()

    PR-URL: #26174
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    633c1ea View commit details
    Browse the repository at this point in the history
  68. src: remove process.binding('config').fipsForced

    Instead use `require('internal/options').getOptionValue` to
    query to value of `--force-fips`.
    
    PR-URL: #26178
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a39cd45 View commit details
    Browse the repository at this point in the history
  69. test: increase run time in test-worker-prof

    This test has occasionally been failing on Windows since it
    was added, with 6 instead of 15 ticks being seen.
    
    Increasing the duration of the test should make it more reliable.
    
    PR-URL: #26172
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    007b2fa View commit details
    Browse the repository at this point in the history
  70. src: move req_wrap_queue to base class of ReqWrap

    Introduce a second base class for `ReqWrap` that does not
    depend on a template parameter and move the `req_wrap_queue_`
    field to it.
    
    This addresses undefined behaviour that occurs when casting
    to `ReqWrap<uv_req_t>` in the `ReqWrap` constructor.
    
    Refs: #26131
    
    PR-URL: #26148
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    c6d5af5 View commit details
    Browse the repository at this point in the history
  71. src: simplify InspectorConsoleCall

    Instead of a JS object, set the is-in-console-call flag as
    a boolean in C++.
    
    PR-URL: #26168
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8881c0b View commit details
    Browse the repository at this point in the history
  72. test,inspector: add heap allocation tracker test

    This provides coverage for the `InspectorTimer` instances
    created as part of heap allocation tracking.
    
    PR-URL: #26089
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    fbf6dd5 View commit details
    Browse the repository at this point in the history
  73. tools: update ESLint to 5.14.1

    Update ESLint to 5.14.1
    
    PR-URL: #26190
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dff0149 View commit details
    Browse the repository at this point in the history
  74. report: simplify OnFatalError() handling

    PR-URL: #26191
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    0e89d7a View commit details
    Browse the repository at this point in the history
  75. report: remove verbose setting

    This commit removes the --diagnostic-report-verbose CLI option
    and all associated logic. The flag is currently only used in one
    place, and only reflects the settings at startup. Additionally,
    Node tends to use the NODE_DEBUG mechanism for adding verbose
    output.
    
    PR-URL: #26195
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8a40468 View commit details
    Browse the repository at this point in the history
  76. deps: backport ICU fix for ARM64 Windows

    ICU 63 as ingested by Node.js does not quite support ARM64 Windows
    because its OBJ file IMAGE_FILE_MACHINE_TYPE field logic defaults to
    x86 instead of Unknown. This change backports the ICU 64.1 fix for
    this.
    
    ICU Issue: https://unicode-org.atlassian.net/browse/ICU-20382
    ICU Commit: unicode-org/icu@11e538b
    
    PR-URL: #26090
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jkunkee authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    f0a8166 View commit details
    Browse the repository at this point in the history
  77. src: move async hooks trace events setup to pre_execution.js

    Reasons:
    
    - Moves more environment-dependent setup out of bootstrap/node.js
    - No async operations should be done before the call to
      the setup functions in pre_execution.js so no async hooks should be
      triggered before that. Therefore it is safe to delay the setup
      until then.
    
    PR-URL: #26062
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    5cc2574 View commit details
    Browse the repository at this point in the history
  78. process: simplify the setup of async hooks trace events

    - Remove `trace_category_state` from `Environment` - since this is
      only accessed in the bootstrap process and later in the
      trace category update handler, we could just pass the initial
      values into JS land via the trace_events binding, and pass
      the dynamic values directly to the handler later, instead of
      accessing them out-of-band via the AliasedBuffer.
    - Instead of creating the hooks directly in
      `trace_events_async_hooks.js`, export the hook factory and
      create the hooks in trace category state toggle.
    
    PR-URL: #26062
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    966546c View commit details
    Browse the repository at this point in the history
  79. test: add test for node.async_hooks tracing in workers

    PR-URL: #26062
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dcbd907 View commit details
    Browse the repository at this point in the history
  80. test: add test for dynamically enabling node.async_hooks tracing

    PR-URL: #26062
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    28758b8 View commit details
    Browse the repository at this point in the history
  81. build,test: guard eslint with crypto check

    Currently, configuring --without-ssl will cause the lint-js target to
    fail with the following error:
    $ make lint-js
    Running JS linter...
    internal/util.js:101
        throw new ERR_NO_CRYPTO();
        ^
    
    Error [ERR_NO_CRYPTO]:
    Node.js is not compiled with OpenSSL crypto support
    at assertCrypto (internal/util.js:101:11)
    at crypto.js:31:1
    ...
    (/node/tools/node_modules/eslint/node_modules/file-entry-cache/
    cache.js:2:14)
    at Module._compile (internal/modules/cjs/loader.js:746:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:757:10)
    make: *** [lint-js] Error 1
    
    There are also a number of tests that are affected in a similar way.
    
    This commit adds crypto checks to allow for lint-js and the affected
    tests to be skipped when configured --without-ssl.
    
    PR-URL: #26182
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a3f7471 View commit details
    Browse the repository at this point in the history
  82. crypto: make ConvertKey clear openssl error stack

    Failed ConvertKey() operations should not leave errors on OpenSSL's
    error stack because that's observable by subsequent cryptographic
    operations. More to the point, it makes said operations fail with
    an unrelated error.
    
    PR-URL: #26153
    Fixes: #26133
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    108c698 View commit details
    Browse the repository at this point in the history
  83. doc: revise deprecation level explanations in Collaborator Guide

    Revise deprecation level explanations for scanability and ease of
    understanding.
    
    PR-URL: #26197
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    5e44768 View commit details
    Browse the repository at this point in the history
  84. src: move function from header to source file

    This particular Buffer::New() overload used to live in node_internals.h
    to work around a cyclic header dependency (IIRC) but that is no longer
    necessary.
    
    PR-URL: #26173
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bnoordhuis authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    ddd71f4 View commit details
    Browse the repository at this point in the history
  85. src: simplify loop arithmetic in GetCPUInfo

    Cache the repeated operations and reuse; potentially generating
    efficient code in some platforms, and improving readability.
    
    PR-URL: #26183
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gireeshpunathil authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    619b5e7 View commit details
    Browse the repository at this point in the history
  86. http2: shrink memory to match read data

    Perform a shrinking `Realloc()` so that less data is
    used for HTTP2 reads.
    
    PR-URL: #26201
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8a551b9 View commit details
    Browse the repository at this point in the history
  87. src: make node::SignalWrap::OnSignal into lambda

    PR-URL: #26184
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    gireeshpunathil authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    831aa9a View commit details
    Browse the repository at this point in the history
  88. deps: V8: backport 74571c8

    Original commit message:
    
        Fix preview of set entries
    
        Set entries return an array with the value as first and second entry.
        As such these are considered key value pairs to align with maps
        entries iterator.
        So far the return value was identical to the values iterator and that
        is misleading.
    
        This also adds tests to verify the results and improves the coverage
        a tiny bit by testing different iterators.
    
        Refs: #24629
    
        R=yangguo@chromium.org
    
        Change-Id: I669a724bb4afaf5a713e468b1f51691d22c25253
        Reviewed-on: https://chromium-review.googlesource.com/c/1350790
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#59311}
    
    Refs: v8/v8@74571c8
    
    PR-URL: #25941
    Fixes: #24629
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    206e4b0 View commit details
    Browse the repository at this point in the history
  89. util: update set iterator entries inspection

    The inspection output for Set#entries() was wrong so far as it did
    not return an array as it should have. That was a bug in V8 that is
    now fixed and the code in Node.js has to be updated accordingly.
    
    PR-URL: #25941
    Fixes: #24629
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    4bf58ac View commit details
    Browse the repository at this point in the history
  90. src: simplify AliasedBuffer lifetime management

    Rely on the V8 garbage collector to take care of managing
    the lifetime of the underlying memory of an `AliasedBuffer`.
    
    PR-URL: #26196
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    7e26ca6 View commit details
    Browse the repository at this point in the history
  91. test: improve performance of test-crypto-timing-safe-equal-benchmarks

    Using `eval()` rather than `require()`'ing a fixture and deleting it
    from the cache results in a roughtly 10x improvement in running time.
    
    Fixes: #25984
    Refs: #26229
    
    PR-URL: #26237
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    ca18525 View commit details
    Browse the repository at this point in the history
  92. src: remove unimplemented method in class StreamPipe

    PR-URL: #26202
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    3abdcfc View commit details
    Browse the repository at this point in the history
  93. build: tidy up comments in create_expfile.sh

    Fixes spelling, adds punctuation and rewords some sentences for
    readability in the comments of `tools/create_expfile.sh`.
    
    PR-URL: #26220
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    dbbceda View commit details
    Browse the repository at this point in the history
  94. test: simplify test-api-nohooks.js

    PR-URL: #26217
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    bc11415 View commit details
    Browse the repository at this point in the history
  95. test: remove node-report/test-api.js

    There does not appear to be any difference between this test
    and test/node-report/test-api-nohooks.js.
    
    PR-URL: #26219
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    cjihrig authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    6f9a764 View commit details
    Browse the repository at this point in the history
  96. worker: improve integration with native addons

    Allow loading add-ons from multiple Node.js instances if they are
    declared context-aware; in particular, this applies to N-API addons.
    
    Also, plug a memory leak that occurred when registering N-API addons.
    
    Refs: #23319
    
    PR-URL: #26175
    Fixes: #21481
    Fixes: #21783
    Fixes: #25662
    Fixes: #20239
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    addaleax authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a9a2c58 View commit details
    Browse the repository at this point in the history
  97. crypto: fix error condition in Verify::VerifyFinal

    Fail early if key parsing failed, don't try to construct a context out
    of it.
    
    PR-URL: #26238
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    tniessen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    70e463c View commit details
    Browse the repository at this point in the history
  98. crypto: fix unencrypted DER PKCS8 parsing

    The previously used OpenSSL call only supports encrypted PKCS8,
    this commit adds support for unencrypted PKCS8.
    
    PR-URL: #26236
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    tniessen authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    1333dcc View commit details
    Browse the repository at this point in the history
  99. process: setup signal handler in prepareMainThreadExecution

    Because this is only necessary in the main thread.
    Also removes the rearming of signal events since no
    signal event handlers should be created during the execution
    of node.js now that we've made the creation of stdout and stderr
    streams lazy - this has been demonstrated in the test coverage.
    
    PR-URL: #26227
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    57179a0 View commit details
    Browse the repository at this point in the history
  100. process: move initialization of node-report into pre_execution.js

    - Splits signal handler setup code into two functions: one sets up
      `process.on('SIGNAL_NAME')`, another takes care of the signal
      triggers of node-report. Both should only happen on the main thread.
      The latter needs to happen after the node-report configurations
      are read into the process.
    - Move the initialization of node-report into pre_execution.js
      because it depends on CLI/environment settings.
    
    PR-URL: #26227
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b1e739d View commit details
    Browse the repository at this point in the history
  101. worker: serialize errors if stack getter throws

    Current code that is intended to handle the stack getter throwing is
    untested. Add a test and adjust code to function as expected.
    
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    PR-URL: #26145
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    2 people authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    7e70233 View commit details
    Browse the repository at this point in the history
  102. process: use common operations to define browser globals

    Extracts:
    
    - `exposeNamespace`: https://heycam.github.io/webidl/#es-namespaces
    - `exposeInterface`: https://heycam.github.io/webidl/#es-interfaces
    - `defineOperation`: https://heycam.github.io/webidl/#define-the-operations
    
    into functions to define browser globals.
    
    PR-URL: #26230
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    d915207 View commit details
    Browse the repository at this point in the history
  103. src: use smart pointer in UDPWrap::OnSend

    PR-URL: #26233
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and rvagg committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    68accb5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2019

  1. deps: V8: cherry-pick d3308d0

    Original commit message:
    
        [api] Add `Isolate::GetArrayBufferAllocator()`
    
        This allows non-monolithic embedders to always allocate memory
        for ArrayBuffer instances using the right allocation method.
    
        This is based on a patch that Electron is currently using.
    
        Refs: https://github.com/electron/electron/blob/1898f9162073910c05958295c612deec6121a892/patches/common/v8/array_buffer.patch
        Change-Id: I39a614343118a0594aab48699a99cc2aad5b7ba9
        Reviewed-on: https://chromium-review.googlesource.com/c/1462003
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#59697}
    
    Refs: v8/v8@d3308d0
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    7f08e02 View commit details
    Browse the repository at this point in the history
  2. src: make IsolateData store ArrayBufferAllocator

    This enables us to identify whether we are using an
    allocator that we know more about than what the generic
    `ArrayBuffer::Allocator` API provides, in particular
    whether it is `malloc()`-compatible.
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    437bb25 View commit details
    Browse the repository at this point in the history
  3. worker: copy transferList ArrayBuffers on unknown allocator

    If the `ArrayBuffer::Allocator` used to create `ArrayBuffer`s
    in the current `Isolate` is not a Node.js `ArrayBufferAllocator`,
    we cannot know that it is `malloc()`-based, an in particular it might
    not be compatible with the `ArrayBuffer::Allocator` on the receiving
    end of the connection.
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    20dc172 View commit details
    Browse the repository at this point in the history
  4. src: add debugging array allocator

    Add a subclass of `ArrayBufferAllocator` that performs additional
    debug checking, which in particular verifies that:
    
    - All `ArrayBuffer` backing stores have been allocated with this
      allocator, or have been explicitly marked as coming from a
      compatible source.
    - All memory allocated by the allocator has been freed once it is
      destroyed.
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    238fa57 View commit details
    Browse the repository at this point in the history
  5. src: add allocation utils to env

    Add a RAII utility for managing blocks of memory that have
    been allocated with the `ArrayBuffer::Allocator` for a given
    `Isolate`.
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    2826076 View commit details
    Browse the repository at this point in the history
  6. src: allocate Buffer memory using ArrayBuffer allocator

    Always use the right allocator for memory that is turned into
    an `ArrayBuffer` at a later point.
    
    This enables embedders to use their own `ArrayBuffer::Allocator`s,
    and is inspired by Electron’s electron/node@f61bae3440e. It should
    render their downstream patch unnecessary.
    
    Refs: electron/node@f61bae3
    
    PR-URL: #26207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    
    Backport-PR-URL: #26302
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    3c11b4e View commit details
    Browse the repository at this point in the history
  7. doc: clarify http.ClientRequest path description

    Clarify `http.ClientRequest` path description.
    
    Fixes: #25864
    PR-URL: #26259
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    JungMinu authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    ff57a1c View commit details
    Browse the repository at this point in the history
  8. tools: update markdown linter

    Update remark-preset-lint-node to 1.4.0. This adds `End-Of-Life` as a
    prohibited string, favoring `End-of-Life` for consistency.
    
    Refs: #26251
    
    PR-URL: #26281
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0080350 View commit details
    Browse the repository at this point in the history
  9. url: handle quasi-WHATWG URLs in urlToOptions()

    PR-URL: #26226
    Refs: #26198
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0017855 View commit details
    Browse the repository at this point in the history
  10. errors: add ERR_INSPECTOR_COMMAND error

    This error is used to propagate errors returned from the
    inspector module's command system.
    
    PR-URL: #26255
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0034820 View commit details
    Browse the repository at this point in the history
  11. inspector: return Error objects on error

    The inspector communicates errors via POJOs. This commit
    wraps the error information in an actual Error object.
    
    PR-URL: #26255
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    b0c310d View commit details
    Browse the repository at this point in the history
  12. report: refactor triggerReport()

    This commit fixes the triggerReport() argument validation. The
    existing test is also updated, as it was not passing the Error
    object to triggerReport().
    
    PR-URL: #26268
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    8e2cc5e View commit details
    Browse the repository at this point in the history
  13. test: consolidate triggerReport() tests

    PR-URL: #26268
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    a382b52 View commit details
    Browse the repository at this point in the history
  14. test: increase triggerReport() coverage

    PR-URL: #26268
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    33fe892 View commit details
    Browse the repository at this point in the history
  15. report: refactor argument validation

    PR-URL: #26276
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6d2a14d View commit details
    Browse the repository at this point in the history
  16. test: increase getReport() coverage

    PR-URL: #26276
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    e8995d1 View commit details
    Browse the repository at this point in the history
  17. test: simplify node-report/test-exception.js

    PR-URL: #26277
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    88256d7 View commit details
    Browse the repository at this point in the history
  18. report: simplify heap space iteration

    PR-URL: #26285
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d2d9453 View commit details
    Browse the repository at this point in the history
  19. report: use ru_stime for system CPU calculation

    PR-URL: #26286
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    ba5f31a View commit details
    Browse the repository at this point in the history
  20. src: apply clang-tidy rule modernize-deprecated-headers

    PR-URL: #26159
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    8b515b2 View commit details
    Browse the repository at this point in the history
  21. src: remove unimplemented method in class SSLWrap

    PR-URL: #26203
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    gengjiawen authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    4001b24 View commit details
    Browse the repository at this point in the history
  22. deps: update acorn to 6.1.0

    PR-URL: #26102
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    c8d30a7 View commit details
    Browse the repository at this point in the history
  23. src: clean unused macro in inspector_socket.cc

    PR-URL: #26158
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    3e0978d View commit details
    Browse the repository at this point in the history
  24. repl: add more information

    This adds information about how to close the repl.
    
    PR-URL: #26240
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    f636f15 View commit details
    Browse the repository at this point in the history
  25. repl: add new line on ctrl+d

    Currently the repl ends on the same line which procudes a weird
    output. To prevent that, just add a new line in case of ctrl+d.
    
    PR-URL: #26240
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    2fa8170 View commit details
    Browse the repository at this point in the history
  26. repl: hide editor mode if not used in a terminal

    The editor mode is only useable when used as terminal. Hide it from
    the user in case the repl terminal option is not set.
    
    PR-URL: #26240
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    2a74a1e View commit details
    Browse the repository at this point in the history
  27. src: track memory retainer fields

    If retainers are embedded in retainers, direct tracking
    those lead to double tracking. Instead, use a special tracker
    that adjusts the tracking for the container object.
    
    PR-URL: #26161
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gireeshpunathil authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    1abe1d1 View commit details
    Browse the repository at this point in the history
  28. test: eliminate port collision

    In test test-cluster-net-listen-ipv6only-rr, the cluster member that
    listens to `any` port actually has the potential to `grab` any port
    from the environment which when passed onto the master causes
    collision when it tries to listen on.
    
    Moving the test to sequential alone is not sufficient as the cluster
    member can in theory catch on to the admin ports on the host.
    
    Assigning static port alone is also not sufficient, as it can interfere
    with other running tests in the parallel category which would be mostly
    running with `port: any` fashion.
    
    So move to sequential, and use a static port.
    
    Fixes: #25813
    PR-URL: #26298
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    gireeshpunathil authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d8f5f55 View commit details
    Browse the repository at this point in the history
  29. doc: revise deprecation semverness info in Collaborator Guide

    Simplify and clarify deprecation semverness information in the
    Collaborator Guide. Unlike some of the other changes I've made lately,
    this one is not merely cosmetic. It changes information about how to
    handle deprecations vis-a-vis SemVer. The revised conventions take
    advange of `notable change` labels etc. instead of suggesting that
    doc-deprecations be treated as `semver-minor`. The idea that a
    deprecation is a new feature seems incorrect from a SemVer perspective,
    but probably made sense at the time the text was written if we weren't
    yet using `notable change` etc.
    
    PR-URL: #26232
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    8584068 View commit details
    Browse the repository at this point in the history
  30. stream: make _read() be called indefinitely if the user wants so

    Fixes: #26097
    
    PR-URL: #26135
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mcollina authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    7612574 View commit details
    Browse the repository at this point in the history
  31. report: fix build warning in node_report.cc

    Fixes `maybe-uninitialized` build warning in `src/node_report.cc`.
    
    PR-URL: #26265
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    richardlau authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    2fe9886 View commit details
    Browse the repository at this point in the history
  32. build: silence cpp lint by default

    The cpp linter is very noisy at the moment. So use the --quiet flag
    by default instead of being verbose in this case.
    
    PR-URL: #26252
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    fa8110a View commit details
    Browse the repository at this point in the history
  33. util: mark iterator entries as such

    It is possible to distinguish the entries iterator from others.
    Expose that information to the users as well and improve the
    Symbol.toStringTag handling by adding a special tag instead of
    replacing the existent information.
    
    PR-URL: #26222
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    34905fc View commit details
    Browse the repository at this point in the history
  34. doc: add example for setting Vary: Accept-Encoding header in zlib.md

    PR-URL: #26308
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mukulkhanna authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    40a5a93 View commit details
    Browse the repository at this point in the history
  35. src: remove cast for unsupported openssl

    The cast is needed to build against OpenSSL 1.0.2, which master, 11.x,
    and 10.x no longer support.
    
    PR-URL: #26305
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d6759db View commit details
    Browse the repository at this point in the history
  36. n-api: implement date object

    Implements `napi_create_date()` as well as `napi_is_date()` to
    allow working with JavaScript Date objects.
    
    PR-URL: #25917
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jarrodconnolly authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    e72cb94 View commit details
    Browse the repository at this point in the history
  37. doc: napi_get_value_bigint_words argument order

    PR-URL: #26300
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    no2chem authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    7bf6309 View commit details
    Browse the repository at this point in the history
  38. util: add compact depth mode

    This overloads the `compact` option from `util.inspect()`. If it's
    set to a number, it is going to align all most inner entries on the
    same lign if they adhere to the following:
    
    * The entries do not exceed the `breakLength` options value.
    * The entry is one of the local most inner levels up the the one
      provided in `compact`.
    
    PR-URL: #26269
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    4500ed8 View commit details
    Browse the repository at this point in the history
  39. util: group array elements together

    When using `util.inspect()` with `compact` mode set to a number, all
    array entries exceeding 6 are going to be grouped together into
    logical parts.
    
    PR-URL: #26269
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6828fbb View commit details
    Browse the repository at this point in the history
  40. worker: refactor thread life cycle management

    The current mechanism of uses two async handles, one owned by the
    creator of the worker thread to terminate a running worker,
    and another one employed by the worker to interrupt its creator on its
    natural termination. The force termination piggybacks on the message-
    passing mechanism to inform the worker to quiesce.
    
    Also there are few flags that represent the other thread's state /
    request state because certain code path is shared by multiple
    control flows, and there are certain code path where the async
    handles may not have come to life.
    
    Refactor into an AsyncRequest abstraction that exposes routines to
    install a handle as well as to save a state.
    
    PR-URL: #26099
    Refs: #21283
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    gireeshpunathil authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    74d11e7 View commit details
    Browse the repository at this point in the history
  41. src: do not access Environment-owned handles after cleanup

    Do not access handles that have already begun to be closed
    or are closed.
    
    PR-URL: #26256
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    75ae77d View commit details
    Browse the repository at this point in the history
  42. src: clean up StreamPipe in destructor

    In the presence of Workers, it is not safe to assume that
    `StreamPipe::Unpipe()` has been called at the time when the object
    is destroyed.
    
    Instead, clean up when the destructor is called.
    
    PR-URL: #26256
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    33d6a3f View commit details
    Browse the repository at this point in the history
  43. meta: remove the useless GitHub Account

    Due to `maledong_private@qq.com` is useless because I cannot log
    in with the email address (GitHub doesn't support `qq` mail well),
    and I've successfully changed my email account to
    `maledong_github@outlook.com` instead.
    So I removed my old useless email address and keep the new
    one for the same account 'MaleDong', because there're two
    'MaleDong' Accounts and they are both pointing to me.
    
    The final solution is that to add my own email account address
    into the '.mailmap' to let AUTHORS re-generated.
    
    PR-URL: #26146
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MaleDong authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6d014a6 View commit details
    Browse the repository at this point in the history
  44. src: remove redundant cast in method AfterStringPath

    PR-URL: #26218
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6f9ab5e View commit details
    Browse the repository at this point in the history
  45. test: refactor tick objects prune function

    PR-URL: #26163
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    asattelmaier authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    69154e4 View commit details
    Browse the repository at this point in the history
  46. test: fix for activities in tick objects prune function

    PR-URL: #26163
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    asattelmaier authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0c8e9ee View commit details
    Browse the repository at this point in the history
  47. module: simpler shebang function

    This simplifies the shebang function significantly. Before, it was
    optimized for two characters input. Any module actually parsed should
    however have more characters than just the shebang.
    The performance stays the same as before.
    
    PR-URL: #26266
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    2a66cd3 View commit details
    Browse the repository at this point in the history
  48. module: fix stat cache

    The current caching logic broke by [0] because it used destructuring
    on the module arguments. Since the exported property is a primitive
    counting it up or down would not have any effect anymore in the module
    that required that property.
    
    The original implementation would cache all stat calls caused during
    bootstrap. Afterwards it would clear the cache and lazy require calls
    during runtime would create a new cascading cache for the then
    loaded modules and clear the cache again.
    This behavior is now restored. This is difficult to test without
    exposing a lot of information and therfore the existing tests have
    been removed (as they could not detect the issue).
    
    With the broken implementation it caused each module compilation to
    reset the cache and therefore minimizing the effect drastically.
    
    [0] #19177
    
    PR-URL: #26266
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d94f4c2 View commit details
    Browse the repository at this point in the history
  49. path: minor refactoring

    1) This uses some ternary expressions instead of if else to assign
       some variables.
    2) Use template strings instead of concat.
    3) Use the object shortand notation.
    4) Some var to let / const.
    5) Removed some double line breaks.
    6) Less brackets around statements if not necessary.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    b0cde2c View commit details
    Browse the repository at this point in the history
  50. path: more small refactorings

    1) Refactor for loops to while loops that were only meant to count
       up a variable.
    2) Refactor some `var` statements to `let` / `const`.
    3) Simplify return conditions.
    4) Use template strings where possible instead of concat.
    5) Use ternary expressions for variable assignments instead of
       if / else.
    6) Use the object shorthand notation for the function declarations.
    7) Consolidate if else case where possible.
    8) Remove double line breaks.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6c44e68 View commit details
    Browse the repository at this point in the history
  51. path: refactor more path code for simplicity

    1) Consolidate format to a single function.
    2) Move some code that can only be reached in some code branches
       that was formerly executed in all cases.
    3) Explicitly check for the string length of zero instead of
       converting the string to a boolean.
    4) Consolidate nested if statements if possible e.g.,
         if (foo) { if (bar) { /* do stuff */ } }
       to reduce indentation depth.
    5) Simplify checks by removing extra length checks when comparing
       two strings.
    6) Use object shorthand notation where possible.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    cccc44b View commit details
    Browse the repository at this point in the history
  52. path: minor refactoring

    1) Consolidate nested if statements if possible
         `if (foo) { if bar () { /* do stuff */ } }`)
       to reduce indentation depth.
    2) Remove obsolete else cases to reduce indentation.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6c7cd9e View commit details
    Browse the repository at this point in the history
  53. path: refactor logic for to reduce code branches

    This refactoring makes sure some code branches will not be hit if
    they do not have to be reached.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    55d6b49 View commit details
    Browse the repository at this point in the history
  54. path: simplify code and remove obsolete checks

    Either `end` is `-1` or `startPart` is not `0`. Therefore it's
    possible to move the conditions in a way that we eliminate a few code
    branches.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    e00c8cd View commit details
    Browse the repository at this point in the history
  55. path: refactor for less indentation

    This moves the `if (len === 1)` case to the top of the function.
    That way it is possible to reduce the indentation level due to
    returning early in that case.
    
    On top of that the following was done:
    
    1) For clarity refactored for loops which were meant to count up a
       variable into a while loop.
    2) Used template strings instead of string concat.
    3) Consolidating nested if statements.
    4) Using tenary expressions if applicable when assigning variables
       to reduce the code overhead.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    348f1fb View commit details
    Browse the repository at this point in the history
  56. path: refactor code for clarity

    This moves a condition inside of a for loop which can only be
    triggered at the very end of the for loop outside of the loop. That
    way the for loop itself is much simpler and easier to understand and
    the code itself is less indented which should increase the
    readability.
    
    It also refactors some `var` to `let` and `const`.
    
    PR-URL: #25278
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    5b8ac58 View commit details
    Browse the repository at this point in the history
  57. readline: improve Unicode handling

    Prevents moving left or right from placing the cursor in between code
    units comprising a code point.
    
    PR-URL: #25723
    Fixes: #25693
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Avi-D-coder authored and addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    0d660d9 View commit details
    Browse the repository at this point in the history
  58. src: remove unused Converter object

    PR-URL: #26243
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    c37b679 View commit details
    Browse the repository at this point in the history
  59. worker: remove MessagePort::AddToIncomingQueue

    PR-URL: #26271
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    51f01aa View commit details
    Browse the repository at this point in the history
  60. worker: make MessagePort uv_async_t inline field

    It’s not obvious why this was a heap allocation in the first place,
    but it’s unneccessary. Most other `HandleWrap`s also store the
    libuv handle directly.
    
    PR-URL: #26271
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6fdc502 View commit details
    Browse the repository at this point in the history
  61. src: remove dead inspector code

    This was overlooked in c583245.
    
    Refs: #26137
    
    PR-URL: #26295
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    30f0a3b View commit details
    Browse the repository at this point in the history
  62. build: remove v8_typed_array_max_size_in_heap option

    This was added in 16f86d6, based on
    the assumption that otherwise, the memory behind `ArrayBuffer`
    instances could be moved around on the heap while native code
    holds references to it.
    
    This does not match what V8 actually does (and also did at the time):
    
    - The option/build variable was about always only about TypedArrays,
      not ArrayBuffers. Calls like `new ArrayBuffer(4)` call into C++
      regardless of the option value, but calls like `new Uint8Array(4)`
      would not call into C++ under V8 defaults.
    - When first accessing a heap-allocated TypedArray’s `ArrayBuffer`,
      whether that is through the JS `.buffer` getter or the C++
      `ArrayBufferView::Buffer()` function, a copy of the contents is
      created using the ArrayBuffer allocator and stored as the
      (permanent, unmovable) backing store.
    
    As a consequence, the memory returned by `ArrayBuffer::GetContents()`
    is not moved around, because it is fixed once the `ArrayBuffer`
    object itself first comes into explicit existence in any way.
    
    Removing this build option significantly speeds up creation of typed
    arrays from JS:
    
        $ ./node benchmark/compare.js --new ./node --old ./node-master --runs 10 --filter buffer-creation.js buffers | Rscript benchmark/compare.R
                                                                             confidence improvement accuracy (*)     (**)    (***)
         buffers/buffer-creation.js n=1024 len=10 type='buffer()'                  ***    593.66 %      ±28.64%  ±41.10%  ±60.36%
         buffers/buffer-creation.js n=1024 len=10 type='fast-alloc-fill'           ***    675.42 %      ±90.67% ±130.24% ±191.54%
         buffers/buffer-creation.js n=1024 len=10 type='fast-alloc'                ***    663.55 %      ±58.41%  ±83.87% ±123.29%
         buffers/buffer-creation.js n=1024 len=10 type='fast-allocUnsafe'                   3.10 %       ±9.63%  ±13.22%  ±18.07%
         buffers/buffer-creation.js n=1024 len=10 type='slow-allocUnsafe'                   4.67 %       ±5.55%   ±7.77%  ±10.97%
         buffers/buffer-creation.js n=1024 len=10 type='slow'                              -2.48 %       ±4.47%   ±6.12%   ±8.34%
         buffers/buffer-creation.js n=1024 len=1024 type='buffer()'                        -1.91 %       ±4.71%   ±6.45%   ±8.79%
         buffers/buffer-creation.js n=1024 len=1024 type='fast-alloc-fill'                 -1.34 %       ±7.53%  ±10.33%  ±14.10%
         buffers/buffer-creation.js n=1024 len=1024 type='fast-alloc'                       0.52 %       ±5.00%   ±6.87%   ±9.40%
         buffers/buffer-creation.js n=1024 len=1024 type='fast-allocUnsafe'                 0.39 %       ±5.65%   ±7.78%  ±10.67%
         buffers/buffer-creation.js n=1024 len=1024 type='slow-allocUnsafe'                -0.13 %       ±5.68%   ±7.83%  ±10.77%
         buffers/buffer-creation.js n=1024 len=1024 type='slow'                            -5.07 %       ±7.15%   ±9.80%  ±13.35%
         buffers/buffer-creation.js n=1024 len=2048 type='buffer()'                         0.57 %       ±2.70%   ±3.74%   ±5.16%
         buffers/buffer-creation.js n=1024 len=2048 type='fast-alloc-fill'                 -1.60 %       ±4.96%   ±6.79%   ±9.25%
         buffers/buffer-creation.js n=1024 len=2048 type='fast-alloc'                       1.29 %       ±3.79%   ±5.20%   ±7.09%
         buffers/buffer-creation.js n=1024 len=2048 type='fast-allocUnsafe'                 2.73 %       ±8.79%  ±12.05%  ±16.41%
         buffers/buffer-creation.js n=1024 len=2048 type='slow-allocUnsafe'                -0.99 %       ±6.27%   ±8.65%  ±11.91%
         buffers/buffer-creation.js n=1024 len=2048 type='slow'                            -5.98 %       ±6.24%   ±8.71%  ±12.20%
         buffers/buffer-creation.js n=1024 len=4096 type='buffer()'                        -1.75 %       ±3.48%   ±4.78%   ±6.56%
         buffers/buffer-creation.js n=1024 len=4096 type='fast-alloc-fill'                 -3.18 %       ±3.97%   ±5.45%   ±7.45%
         buffers/buffer-creation.js n=1024 len=4096 type='fast-alloc'                       2.05 %       ±4.05%   ±5.58%   ±7.65%
         buffers/buffer-creation.js n=1024 len=4096 type='fast-allocUnsafe'                 1.44 %       ±5.51%   ±7.63%  ±10.57%
         buffers/buffer-creation.js n=1024 len=4096 type='slow-allocUnsafe'          *     -4.77 %       ±4.30%   ±5.90%   ±8.06%
         buffers/buffer-creation.js n=1024 len=4096 type='slow'                            -3.31 %       ±6.38%   ±8.86%  ±12.34%
         buffers/buffer-creation.js n=1024 len=8192 type='buffer()'                         0.06 %       ±2.70%   ±3.77%   ±5.31%
         buffers/buffer-creation.js n=1024 len=8192 type='fast-alloc-fill'                 -1.20 %       ±3.30%   ±4.53%   ±6.17%
         buffers/buffer-creation.js n=1024 len=8192 type='fast-alloc'                      -1.46 %       ±2.75%   ±3.84%   ±5.38%
         buffers/buffer-creation.js n=1024 len=8192 type='fast-allocUnsafe'                 1.27 %       ±4.69%   ±6.49%   ±8.98%
         buffers/buffer-creation.js n=1024 len=8192 type='slow-allocUnsafe'                -1.68 %       ±3.30%   ±4.62%   ±6.49%
         buffers/buffer-creation.js n=1024 len=8192 type='slow'                            -2.49 %       ±3.24%   ±4.44%   ±6.07%
         (Re-running the outlier with 30 runs instead of 10:)
         buffers/buffer-creation.js n=1024 len=4096 type='slow-allocUnsafe'                 2.06 %       ±2.39%   ±3.19%   ±4.15%
    
    The performance gains effect are undone once native code accesses
    the underlying ArrayBuffer, but then again that a) does not happen for
    all TypedArrays, and b) it should also make sense to look into using
    `ArrayBufferView::CopyContents()` in some places, which is made
    specifically to avoid such a performance impact and allows us to
    use the benefits of heap-allocated typed arrays.
    
    Refs: 16f86d6
    Refs: #2893
    Refs: 74178a5#commitcomment-13250880
    Refs: http://logs.libuv.org/node-dev/2015-09-15
    
    PR-URL: #26301
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    e2baa68 View commit details
    Browse the repository at this point in the history
  63. src: allow not materializing ArrayBuffers from C++

    Where appropriate, use a helper that wraps around
    `ArrayBufferView::Buffer()` or `ArrayBufferView::CopyContents()`
    rather than `Buffer::Data()`, as that may help to avoid materializing
    the underlying `ArrayBuffer` when reading small typed arrays from C++.
    This allows keeping the performance benefits of the faster creation of
    heap-allocated small typed arrays in many cases.
    
    PR-URL: #26301
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    9b4eec0 View commit details
    Browse the repository at this point in the history
  64. buffer: avoid materializing ArrayBuffer for creation

    Do not create an `ArrayBuffer` if the engine’s settings avoid it
    and we don’t need it.
    
    PR-URL: #26301
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    5e4aa28 View commit details
    Browse the repository at this point in the history
  65. test: verify heap buffer allocations occur

    Check that small typed arrays, including `Buffer`s (unless allocated
    by `Buffer.allocUnsafe()`), are indeed heap-allocated.
    
    PR-URL: #26301
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    4561cf3 View commit details
    Browse the repository at this point in the history
  66. dns: refactor QueryWrap lifetime management

    - Prefer RAII-style management over manual resource management.
    - Prefer `env->SetImmediate()` over a separate `uv_async_t`.
    - Perform `ares_destroy()` before possibly tearing down c-ares state.
    - Verify that the number of active queries is non-negative.
    - Let pending callbacks know when their underlying `QueryWrap` object
      has been destroyed.
    
    The last item has been a real bug, in that when Workers shut down
    during currently running DNS queries, they may run into use-after-free
    situations because:
    
    1. Shutting the `Worker` down leads to the cleanup code deleting
       the `QueryWrap` objects first; then
    2. deleting the `ChannelWrap` object (as it has been created before
       the `QueryWrap`s), whose destructor runs `ares_destroy()`, which
       in turn invokes all pending query callbacks with `ARES_ECANCELLED`,
    3. which lead to use-after-free, as the callback tried to access the
       deleted `QueryWrap` object.
    
    The added test verifies that this is no longer an issue.
    
    PR-URL: #26253
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    ea26ac0 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2019

  1. src: simplify native immediate by using v8::Global

    Unlike `node::Persistent`, `v8::Global` has move semantics and
    can be used directly in STL containers.
    
    PR-URL: #26254
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    06d592c View commit details
    Browse the repository at this point in the history
  2. report: add fallback for uv_getnameinfo() failures

    Attempt to report the host and port in the case that uv_getnameinfo()
    fails.
    
    PR-URL: #26140
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    b62e228 View commit details
    Browse the repository at this point in the history
  3. src: remove redundant cast in PipeWrap::Fchmod

    PR-URL: #26242
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    af2a693 View commit details
    Browse the repository at this point in the history
  4. src: remove unused macro in node_http2.h

    PR-URL: #26204
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    4df82f0 View commit details
    Browse the repository at this point in the history
  5. doc: add documentation for the defaultPort option

    PR-URL: #26152
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    8698255 View commit details
    Browse the repository at this point in the history
  6. doc: sort http.request() options alphabetically

    PR-URL: #26152
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    3560c3a View commit details
    Browse the repository at this point in the history
  7. tools: use latest rather than next for markdown linting plugin

    eslint-plugin-markdown is being installed @next to get a bugfix for
    eslint/eslint-plugin-markdown#69 but that
    bugfix is in 1.0.0. Go back to installing @latest rather than @next.
    
    PR-URL: #26345
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    adcbcf5 View commit details
    Browse the repository at this point in the history
  8. tools: update eslint-plugin-markdown to 1.0.0

    For eslint-plugin-markdown, we had been using an RC but can now use the
    most recent stable release of 1.0.0, as it has the bugfix that caused us
    to start using the RC in the first place.
    
    There are a few other updates in this commit too because it was
    performed by running `update-eslint.sh`. This did not update ESLint
    itself but did update some dependencies.
    
    PR-URL: #26345
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    347dd99 View commit details
    Browse the repository at this point in the history
  9. worker: provide process.execArgv

    Provide `process.execArgv`. If an `execArgv` option is passed to the
    `Worker` constructor, that option is used as its value; if not,
    the parent’s `process.execArgv` is inherited (since that also goes
    for the actual options in that case).
    
    PR-URL: #26267
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    8cf4170 View commit details
    Browse the repository at this point in the history
  10. build: make 'floating patch' message informational

    Downgrade the 'Using floating patch' message that is emitted
    when a local patch is applied to the bundled ICU from a warning
    to a notice. There isn't anything the user can or should do so
    warning isn't appropriate. Instead of angry yellow use soothing green.
    
    Fixes: #26346
    
    PR-URL: #26349
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bnoordhuis authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    05e6ec0 View commit details
    Browse the repository at this point in the history
  11. tools: update babel-eslint to 10.0.1

    Update babel-eslint to 10.0.1.
    
    PR-URL: #26347
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    123fad6 View commit details
    Browse the repository at this point in the history
  12. doc: correct typos in various docs

    PR-URL: #26312
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BeniCheni authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    bc5771e View commit details
    Browse the repository at this point in the history
  13. doc: maxReservedRemoteStreams value constraints

    PR-URL: #26309
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sebdeckers authored and addaleax committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    3f4b27d View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2019

  1. benchmark,doc,lib,test: capitalize comments

    This updates a lot of comments.
    
    PR-URL: #26223
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    d66cb4a View commit details
    Browse the repository at this point in the history
  2. console: prevent constructing console methods

    Ref: #25987
    
    PR-URL: #26096
    Refs: #25987
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Hakerh400 authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    a70bafb View commit details
    Browse the repository at this point in the history
  3. test: improve validation of report output

    This commit improves the validation of generated diagnostic
    reports.
    
    PR-URL: #26289
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    7ccffcb View commit details
    Browse the repository at this point in the history
  4. test: rename node-report suite to report

    This commit renames the "node-report" test suite to "report"
    in order to begin differentiating core's diagnostic reporting
    from the original node-report module on npm
    
    PR-URL: #26371
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    11bd5e0 View commit details
    Browse the repository at this point in the history
  5. doc,lib,test: rename node-report to report

    This commit completes the renaming of node-report to report
    in order to better differentiate core's reporting from the
    node-report npm module.
    
    PR-URL: #26371
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    8814d03 View commit details
    Browse the repository at this point in the history
  6. tools: remove unneeded .gitignore entries

    Remove entries from `.gitignore` that are already covered by the generic
    `.*` entry on line 2 of the .gitignore file.
    
    PR-URL: #26370
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    6e9a7e1 View commit details
    Browse the repository at this point in the history
  7. tools: update extend to 3.0.2

    Update `extend` to 3.0.2 as 3.0.1 is susceptible to a low-severity
    security issue.
    
    Refs: https://snyk.io/vuln/npm:extend:20180424
    
    PR-URL: #26392
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    96a5765 View commit details
    Browse the repository at this point in the history
  8. src: remove unused macro in env.cc

    PR-URL: #26273
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gengjiawen authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    2438a43 View commit details
    Browse the repository at this point in the history
  9. src: remove already elevated Isolate namespce

    PR-URL: #26294
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    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>
    juanarbol authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    cb2cbf2 View commit details
    Browse the repository at this point in the history
  10. esm: process proxy Symbol.toString fix

    PR-URL: #25963
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    guybedford authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    030b744 View commit details
    Browse the repository at this point in the history
  11. doc: edit deprecation identifier info in Collaborator Guide

    Edit the deprecation identifier material in the Collaborator Guide for
    simplicity and clarity.
    
    PR-URL: #26372
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Trott authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    846cba0 View commit details
    Browse the repository at this point in the history
  12. test: always activate colors if necessary

    PR-URL: #26264
    Refs: #26261
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    91b6145 View commit details
    Browse the repository at this point in the history
  13. tty: improve color detection

    1) Using `process.env.TERM = 'dumb'` should never return any colors.
    2) `process.env.TERM = 'terminator'` supports 24 bit colors.
    3) Add support for `process.env.TERM = 'rxvt-unicode-24bit'`
    4) `Hyper` does not support true colors anymore. It should fall back
       to the xterm settings in regular cases.
    5) `process.env.COLORTERM = 'truecolor'` should return 24 bit colors.
    
    PR-URL: #26264
    Refs: #26261
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    b6355ef View commit details
    Browse the repository at this point in the history
  14. test: only inspect on failure

    The inspection was done in all cases so far and that's not necessary.
    Therefore this changed this behavior to only inspect the input on
    failure cases.
    
    PR-URL: #26360
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    93d7fa3 View commit details
    Browse the repository at this point in the history
  15. repl: use object writer for thrown errors

    This makes us use the defaults that were set for the REPL, i.e.
    aligns with the printing of expression completion values, and in
    particular enables color support.
    
    PR-URL: #26361
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    4c254d6 View commit details
    Browse the repository at this point in the history
  16. zlib: report premature ends earlier

    Report end-of-stream when decompressing when we detect it,
    and do not wait until the writable side of a zlib stream
    is closed as well.
    
    Refs: #26332
    
    PR-URL: #26363
    Refs: #26332
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    851a691 View commit details
    Browse the repository at this point in the history
  17. report: use triggerReport() to handle exceptions

    This commit uses the triggerReport() binding to handle
    uncaught exceptions and removes the custom onUncaughtException
    function.
    
    PR-URL: #26386
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    b2c77ec View commit details
    Browse the repository at this point in the history
  18. src: remove unnecessary function declaration

    PR-URL: #26386
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    b216f44 View commit details
    Browse the repository at this point in the history
  19. report: use triggerReport() to handle signals

    This commit uses the triggerReport() binding to handle
    signals and removes the custom onUserSignal() function.
    
    PR-URL: #26386
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    0579f42 View commit details
    Browse the repository at this point in the history
  20. src: remove unused variable

    PR-URL: #26386
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    3093617 View commit details
    Browse the repository at this point in the history
  21. report: rename location to trigger

    trigger more accurately describes the use of the field.
    Previously, location was just the name of the C++ function
    that called TriggerNodeReport().
    
    PR-URL: #26386
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Mar 4, 2019
    Configuration menu
    Copy the full SHA
    2908e63 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2019

  1. meta: update note about building on smartOS 16

    PR-URL: #25684
    Refs: #25683
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    b25694d View commit details
    Browse the repository at this point in the history
  2. inspector: print all listening addresses

    Some hostnames have multiple interfaces. Before this commit, the
    inspector only printed the first one. Now, it prints them all.
    
    No test. I can't think of a reliable way to test this on the CI matrix.
    
    PR-URL: #26008
    Fixes: #13772
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    3bc0123 View commit details
    Browse the repository at this point in the history
  3. test: remove duplicated buffer negative allocation test

    PR-URL: #26160
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    ZYSzys authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    a41138b View commit details
    Browse the repository at this point in the history
  4. test: improve test coverage in perf_hooks

    PR-URL: #26290
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juanarbol authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    50e42c9 View commit details
    Browse the repository at this point in the history
  5. src: reduce to simple const char* in OptionsParser

    > A lot of the `std::string` usage here could be reduced
      to simple `const char*`s if it's reasonable to expect the values to be
      known at compile-time.
    
    So this commit uses `const char*` to replace most of `std::string` in
    `OptionsParser`.
    
    PR-URL: #26297
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ZYSzys authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    cb62c24 View commit details
    Browse the repository at this point in the history
  6. src: extra-semi warning in node_platform.h

    https://clang.llvm.org/docs/DiagnosticsReference.html#wextra-semi
    
    PR-URL: #26330
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    nornagon authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    63942de View commit details
    Browse the repository at this point in the history
  7. src: fix typo in callback.cc

    PR-URL: #26337
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    fc9ba36 View commit details
    Browse the repository at this point in the history
  8. http2: improve compatibility with http/1

    When using the compatibility API the connection header is from now on
    ignored instead of throwing an `ERR_HTTP2_INVALID_CONNECTION_HEADERS`
    error.
    This logs a warning in such case to notify the user about the ignored
    header.
    
    PR-URL: #23908
    Fixes: #23748
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sagitsofan authored and BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    2595fbc View commit details
    Browse the repository at this point in the history
  9. 2019-03-06, Version 11.11.0 (Current)

    Notable Changes
    
    * n-api:
      * Implement date object (Jarrod Connolly)
        #25917
    * util:
      * Add compact depth mode for `util.inspect()` (Ruben Bridgewater)
        #26269
    * worker:
      * Improve integration with native addons (Anna Henningsen)
        #26175
      * MessagePort.prototype.onmessage takes arguments closer to the Web
        specification now (Anna Henningsen)
        #26082
    BridgeAR committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    3c277d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2019

  1. Working on v11.11.1

    PR-URL: #26322
    BridgeAR committed Mar 6, 2019
    Configuration menu
    Copy the full SHA
    6d774a7 View commit details
    Browse the repository at this point in the history