Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Merging upstream v8.x into xplat-v8.x #258

Merged
merged 196 commits into from
May 23, 2017
Merged

Commits on Apr 26, 2017

  1. url: always show password for URL instances

    This matches browser behavior.
    
    PR-URL: nodejs/node#12420
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    mscdex authored and jasnell committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    d7ba2a6 View commit details
    Browse the repository at this point in the history
  2. test: remove obsolete lint comment

    The eslint-disable comment in test-repl.js appears to have been restored
    by accident while restoring other comments. Remove it.
    
    PR-URL: nodejs/node#12659
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and addaleax committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    bda34bd View commit details
    Browse the repository at this point in the history
  3. test: test doc'd napi_get_value_int32 behaviour

    We chose to document this in the docs as there are
    different possible behaviours.  Adding this test to validate
    that all vm implementations do it the same way.
    
    PR-URL: nodejs/node#12633
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mhdawson committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    4241577 View commit details
    Browse the repository at this point in the history
  4. doc: modernize and fix code examples in repl.md

    * Improve UX in 2 code examples (add spaces between output and input
      for better readability).
    
    * Replace indexOf() by startsWith().
    
    PR-URL: nodejs/node#12634
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    vsemozhetbyt committed Apr 26, 2017
    Configuration menu
    Copy the full SHA
    35d2137 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2017

  1. test: add coverage for napi_cancel_async_work

    adding test coverage for napi_cancel_async_work based
    on coverage report
    
    PR-URL: nodejs/node#12575
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mhdawson committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    1d96803 View commit details
    Browse the repository at this point in the history
  2. test: dynamic port in parallel regress tests

    Removed common.PORT from test-regress-GH-5051 and
    test-regress-GH-5727 in order to eliminate the possibility
    of port collision.
    
    Refs: nodejs/node#12376
    PR-URL: nodejs/node#12639
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Sebastian Plesciuc authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    e927809 View commit details
    Browse the repository at this point in the history
  3. src: remove GTEST_DONT_DEFINE_ASSERT_EQ in util.h

    As indicated by the FIXME comment, this macro guard is no longer needed.
    
    PR-URL: nodejs/node#12638
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    5bb06e8 View commit details
    Browse the repository at this point in the history
  4. test: use common.js to check platform

    PR-URL: nodejs/node#12629
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    krydos authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    f6b1eb2 View commit details
    Browse the repository at this point in the history
  5. test: fixup test-http-hostname-typechecking

    This test would currently create HTTP requests to localhost:80
    and would time out on machines that actually had an server listening
    there.
    
    To address that, `end()` the requests that are generated.
    
    PR-URL: nodejs/node#12627
    Ref: nodejs/node#12494
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    28f535a View commit details
    Browse the repository at this point in the history
  6. test: dynamic port in dgram tests

    Removed common.PORT from test-dgram-close-in-listening,
    test-dgram-close-is-not-callback, test-dgram-close,
    test-dgram-exclusive-implicit-bind and test-dgram-oob-buffer
    in order to eliminate the possibility of port collision.
    
    Refs: nodejs/node#12376
    PR-URL: nodejs/node#12623
    Reviewed-By: Anna Henningsen <[email protected]>
    Sebastian Plesciuc authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    d289678 View commit details
    Browse the repository at this point in the history
  7. build: use do_not_edit variable where possible

    We should not use hardcoded string to warn users about
    file was generated by configure script. Since we already
    have do_not_edit variable we can use it
    
    PR-URL: nodejs/node#12610
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    krydos authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    78e0063 View commit details
    Browse the repository at this point in the history
  8. test: cleanup test-util-inherits.js

    Replaced constructor with regular expression for assert.throw().
    
    PR-URL: nodejs/node#12602
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    RobotMermaid authored and addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    2055fd3 View commit details
    Browse the repository at this point in the history
  9. test: introduce common.crashOnUnhandledRejection

    Ref: nodejs/node#12442
    PR-URL: nodejs/node#12489
    Reviewed-By: Matthew Loring <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    dca0815 View commit details
    Browse the repository at this point in the history
  10. src: expose node::AddPromiseHook

    Expose `node::AddPromiseHook`, which wraps V8’s `SetPromiseHook` in
    a way that allows multiple hooks to be set up.
    
    PR-URL: nodejs/node#12489
    Reviewed-By: Matthew Loring <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    e5a25cb View commit details
    Browse the repository at this point in the history
  11. domain: support promises

    Fixes: nodejs/node#10724
    PR-URL: nodejs/node#12489
    Reviewed-By: Matthew Loring <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    84dabe8 View commit details
    Browse the repository at this point in the history
  12. src: fix incorrect macro comment

    Commit de168b4 ("src: guard
    bundled_ca/openssl_ca with HAVE_OPENSSL") included an incorrect end
    macro comment which this commit fixes.
    
    PR-URL: nodejs/node#12688
    
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    892ce06 View commit details
    Browse the repository at this point in the history
  13. n-api: Reference and external tests

     - Add a test project to addons-napi that covers the
       N-API reference and external APIs
     - Fix a bug in napi_typeof that was found by the new tests
    
    PR-URL: nodejs/node#12551
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasongin authored and mhdawson committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    4271254 View commit details
    Browse the repository at this point in the history
  14. errors: use lazy assert to avoid issues on startup

    Use of assert must be lazy to allow errors to be used early
    before the process is completely set up
    
    PR-URL: nodejs/node#11300
    Ref: nodejs/node#11273
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasnell committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    f0b7025 View commit details
    Browse the repository at this point in the history
  15. errors, child_process: migrate to using internal/errors

    PR-URL: nodejs/node#11300
    Ref: nodejs/node#11273
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasnell committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    7632761 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2017

  1. test: chdir before running test-cli-node-options

    When test-cli-node-options is run it uses the --trace-events-enabled
    option which generates a file named node_trace.1.log. This commit
    changes the working directory to the test tmp directory to avoid this
    file being created in the project root.
    
    PR-URL: nodejs/node#12660
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    danbev committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    a4fd9e5 View commit details
    Browse the repository at this point in the history
  2. n-api: Sync with back-compat changes

    Background: To enable N-API support for node versions back to v4, the
    N-API code can also be built as an external addon. To make maintenance
    easier, a single codebase needs to support both built-in and external
    scenarios, along with Node versions >= 4 (and corresponding V8
    versions).
    
    This change includes several minor fixes to avoid using node
    internal APIs and support older V8 versions:
      - Expand node::arraysize
      - In the CHECK_ENV() macro, return an error code instead of calling
        node::FatalError(). This is more consistent with how other invalid
        arguments to N-API functions are handled.
      - In v8impl::SetterCallbackWrapper::SetReturnValue(), do nothing
        instead of calling node::FatalError(). This is more consistent
        with JavaScript setter callbacks, where any returned value is
        silently ignored.
      - When queueing async work items, get the uv default loop instead of
        getting the loop from node::Environment::GetCurrent(). Currently
        that returns the same loop anyway. If/when node supports multiple
        environments, it should have a public API for getting the
        environment & event loop, and we can update this implementation
        then.
      - Use v8::Maybe::FromJust() instead of the newer alias ToChecked()
    
    PR-URL: nodejs/node#12674
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasongin authored and mhdawson committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    972bfe1 View commit details
    Browse the repository at this point in the history
  3. test: use common.mustCall in test-https-strict

    PR-URL: nodejs/node#12668
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    weewey authored and jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    f11d4a1 View commit details
    Browse the repository at this point in the history
  4. doc: replace uses of you and other style nits

    Replace uses of the pronouns `you` and `your` throughout
    the docs + other minor style nits
    
    PR-URL: nodejs/node#12673
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    71f22c8 View commit details
    Browse the repository at this point in the history
  5. test: remove AIX guard in fs-options-immutable

    The fs watch test was not run on AIX till now because of the known
    issue, nodejs/node#5085. Now that it is
    completed, this guard can be removed.
    
    PR-URL: nodejs/node#12687
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    thefourtheye authored and gibfahn committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    b16869c View commit details
    Browse the repository at this point in the history
  6. test: remove eslint comments

    This commit refactors test-whatwg-url-tojson.js to remove
    ESLint comments.
    
    PR-URL: nodejs/node#12669
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    cjihrig committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    8d1f15b View commit details
    Browse the repository at this point in the history
  7. test: remove eslint comments from test-util.js

    PR-URL: nodejs/node#12669
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    cjihrig committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    b2c7a51 View commit details
    Browse the repository at this point in the history
  8. doc: clarify arch support for power platforms

    Add specifics as to the level of hardware supported for
    power platforms.  Power 8 is the first processor level to
    support ppc little endian.  Set the minimum level
    for AIX to Power7 for Node version 8 and later.
    This will allow the potential to leverage new instructions
    and optimizations going forward.  We have spoken to the
    AIX team and they agree this makes sense. Earlier processor
    levels will continue to be supported for version 4.x and 6.x
    on AIX.
    
    PR-URL: nodejs/node#12679
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    mhdawson authored and gibfahn committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    71911be View commit details
    Browse the repository at this point in the history
  9. doc: document url.domainTo* methods separately

    PR-URL: nodejs/node#12683
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    TimothyGu authored and jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    3a0058c View commit details
    Browse the repository at this point in the history
  10. doc: add Added-in metadata for WHATWG URL

    PR-URL: nodejs/node#12683
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    TimothyGu authored and jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    9d4bb55 View commit details
    Browse the repository at this point in the history
  11. doc: Add initial documentation for N-API

    Add the initial documentation for the N-API
    
    This PR is a result of work in the abi-stable-node repo:
    https://github.com/nodejs/abi-stable-node/tree/doc,
    with this PR being the cumulative work on the documentation
    sections in that repo with the following contributors
    in alphabetical order:
    
    Author: Arunesh Chandra <[email protected]>
    Author: Gabriel Schulhof <[email protected]>
    Author: Hitesh Kanwathirtha <[email protected]>
    Author: Jason Ginchereau <[email protected]>
    Author: Michael Dawson <[email protected]>
    Author: Sampson Gao <[email protected]>
    Author: Taylor Woll <[email protected]>
    
    PR-URL: nodejs/node#12549
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mhdawson committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    deb9622 View commit details
    Browse the repository at this point in the history
  12. benchmark: add benchmark for v8.getHeap*Statistics

    PR-URL: nodejs/node#12681
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    bed4612 View commit details
    Browse the repository at this point in the history
  13. v8: refactor struture of v8 module

    Use the more efficient module.exports = {} pattern,
    restructure imports from bindings, requires.
    
    PR-URL: nodejs/node#12681
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    jasnell committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    1052383 View commit details
    Browse the repository at this point in the history
  14. test: add relative path to accommodate limit

    Found that libuv had a path character limit of 108.
    
    Used path.relative() to set prefix with relative path.
    
    Also added comments explaining the use of a relative path.
    
    PR-URL: nodejs/node#12601
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    coreybeaumont authored and Trott committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    0101a8f View commit details
    Browse the repository at this point in the history
  15. doc: fix examples in repl.md

    * Update an example according to an actual REPL session.
    * Replace an arrow function with a common function to hold `this`.
    
    PR-URL: nodejs/node#12684
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    8092fb0 View commit details
    Browse the repository at this point in the history
  16. doc: update example in repl.md

    Delete unused method call.
    
    PR-URL: nodejs/node#12685
    Refs: nodejs/node#6171
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    d8f8096 View commit details
    Browse the repository at this point in the history
  17. benchmark: terminate child process on Windows

    test-benchmark-child-process failures reveal that
    child-process-exec-stdout benchmark sometimes leaves around a stray
    yes.exe process. Add code to terminate the process.
    
    PR-URL: nodejs/node#12658
    Ref: nodejs/node#12560
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    a1a54ca View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2017

  1. test: add hasCrypto check to test-cli-node-options

    Currently when configure --without-ssl the test will throw the following
    error:
    bad option: --use-openssl-ca
    
    This commit checks if crypto was enabled and skips the crypto related
    tests if that is the case.
    
    PR-URL: nodejs/node#12692
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>/
    danbev committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    427cd29 View commit details
    Browse the repository at this point in the history
  2. test: cleanup handles in test_environment

    The test fixtures create multiple node::Environments that all use the
    uv_default_loop(), and since the test does not clean up the handles
    created by Environment::Start(), the default libuv loop structure
    contains dangling pointers after the first Environment is freed,
    which then means that creating new handles leads to memory corruption.
    
    PR-URL: nodejs/node#12621
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    d5db4d2 View commit details
    Browse the repository at this point in the history
  3. src: remove debugger dead code

    PR-URL: nodejs/node#12621
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    719247f View commit details
    Browse the repository at this point in the history
  4. test,doc: document crashOnUnhandledRejection()

    Add documentation for `common.crashOnUnhandledRejection()`.
    
    Ref: https://github.com/nodejs/node/pull/12489/files/a9c2078a60bc3012dc6156df19772697a56a2517#r113737423
    PR-URL: nodejs/node#12699
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    3d87eca View commit details
    Browse the repository at this point in the history
  5. test: improve test-tcp-wrap-listen

    PR-URL: nodejs/node#12599
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    QueueHefner authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    7c238be View commit details
    Browse the repository at this point in the history
  6. url: move to module.exports = {} pattern

    PR-URL: nodejs/node#12717
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]
    jasnell committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    b331ba6 View commit details
    Browse the repository at this point in the history
  7. url: refactor binding imports in internal/url

    PR-URL: nodejs/node#12717
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]
    jasnell committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    97ec72b View commit details
    Browse the repository at this point in the history
  8. v8: fix gcc 7 build errors

    Porting nodejs/node#12392 to master
    
    Ref: nodejs/node#12392
    Fixes: nodejs/node#10388
    PR-URL: nodejs/node#12676
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Zuzana Svetlikova authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    b07e1a8 View commit details
    Browse the repository at this point in the history
  9. doc: fixup the collaborators list

    * Add the personal pronoun for @aqrln.
    * Fix incorrectly ordered @lucamaraschi entry.
    
    PR-URL: nodejs/node#12750
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    aqrln committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    765be6c View commit details
    Browse the repository at this point in the history
  10. test: support multiple warnings in checkWarning

    This allows the common.checkWarning() test method to accept a map of
    warning names to description(s), to allow testing code that generates
    multiple types of warnings.
    
    PR-URL: nodejs/node#11640
    Reviewed-By: Anna Henningsen <[email protected]>
    apexskier authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    74f61e8 View commit details
    Browse the repository at this point in the history
  11. process: cast promise rejection reason to string

    The unhandled promise rejection warning uses a template literal and
    prints the reason a promise was rejected. If rejecting with a symbol,
    the symbol failed to convert to a string and the process crashed. Now,
    symbols are casted to strings and the process does not crash.
    
    Fixes: nodejs/node#11637
    PR-URL: nodejs/node#11640
    Reviewed-By: Anna Henningsen <[email protected]>
    apexskier authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    a3132b0 View commit details
    Browse the repository at this point in the history
  12. test: add inspect-brk option to cluster module

    Ensure that cluster interoperates with the --inspect-brk option.
    This does not test for --debug-brk.
    
    Fixes: nodejs/node#11420
    PR-URL: nodejs/node#12503
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    dave-k authored and addaleax committed Apr 29, 2017
    Configuration menu
    Copy the full SHA
    0324ac6 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2017

  1. test: replace indexOf with includes

    Start the transition to Array.prototype.includes() and
    String.prototype.includes().  This commit refactors most of the
    comparisons of Array.prototype.indexOf() and String.prototype.indexOf()
    return values with -1 to the former methods in tests.
    
    PR-URL: nodejs/node#12604
    Refs: nodejs/node#12586
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    gwer authored and aqrln committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    0142276 View commit details
    Browse the repository at this point in the history
  2. test: fix test filenames

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    91ccea6 View commit details
    Browse the repository at this point in the history
  3. build: add target for checking for perm deopts

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    7a5bac5 View commit details
    Browse the repository at this point in the history
  4. http: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    e283319 View commit details
    Browse the repository at this point in the history
  5. stream: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    e9c02c6 View commit details
    Browse the repository at this point in the history
  6. fs: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    e8a4290 View commit details
    Browse the repository at this point in the history
  7. cluster: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    033ea99 View commit details
    Browse the repository at this point in the history
  8. process: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    a641b7c View commit details
    Browse the repository at this point in the history
  9. url: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    8491c70 View commit details
    Browse the repository at this point in the history
  10. util: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    d5925af View commit details
    Browse the repository at this point in the history
  11. net: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    3c098ee View commit details
    Browse the repository at this point in the history
  12. readline: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    4484e8f View commit details
    Browse the repository at this point in the history
  13. repl: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    b45abfd View commit details
    Browse the repository at this point in the history
  14. test: fix permanent deoptimizations

    PR-URL: nodejs/node#12456
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    b6da225 View commit details
    Browse the repository at this point in the history
  15. doc: fix formatting of TOC

    PR-URL: nodejs/node#12731
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    refack authored and gibfahn committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    aa3eab0 View commit details
    Browse the repository at this point in the history
  16. test: move test to sequential for reliability

    test-https-set-timeout-server fails under load. Move it to sequential so
    it is not competing with other tests.
    
    PR-URL: nodejs/node#12704
    Fixes: nodejs/node#10130
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott committed Apr 30, 2017
    Configuration menu
    Copy the full SHA
    0833d31 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2017

  1. deps: cherry-pick bfae9db from upstream v8

    Original commit message:
    
        Update postmortem metadata generator.
    
        Add PropertyDetails::AttributesField +
        PropertyDetails::LocationField.
    
        Review-Url: https://codereview.chromium.org/2842843004
        Cr-Commit-Position: refs/heads/master@{#44889}
    
    PR-URL: nodejs/node#12722
    Refs: nodejs/llnode#81
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis committed May 1, 2017
    Configuration menu
    Copy the full SHA
    6ed791c View commit details
    Browse the repository at this point in the history
  2. src: support domains with empty labels

    Follow the spec of domainToASCII/domainToUnicode in whatwg, and
    synchronise WPT url test data.
    
    Refs: web-platform-tests/wpt#5397
    PR-URL: nodejs/node#12707
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    watilde committed May 1, 2017
    Configuration menu
    Copy the full SHA
    0f58d3c View commit details
    Browse the repository at this point in the history
  3. process: refactor internal/process.js export style

    PR-URL: nodejs/node#12644
    Reviewed-By: Brian White <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    579ff2a View commit details
    Browse the repository at this point in the history
  4. module: refactor internal/module export style

    PR-URL: nodejs/node#12644
    Reviewed-By: Brian White <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    ed0716f View commit details
    Browse the repository at this point in the history
  5. streams: refactor BufferList into ES6 class

    PR-URL: nodejs/node#12644
    Reviewed-By: Brian White <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    e2199e0 View commit details
    Browse the repository at this point in the history
  6. fs: simplify constant decls

    PR-URL: nodejs/node#12644
    Reviewed-By: Brian White <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    08809f2 View commit details
    Browse the repository at this point in the history
  7. freelist: simplify export

    PR-URL: nodejs/node#12644
    Reviewed-By: Brian White <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    ea9eed5 View commit details
    Browse the repository at this point in the history
  8. os: refactor os structure, add Symbol.toPrimitive

    Refactor the structure of the os module to use more efficient
    module.exports = {} pattern.
    
    Add Symbol.toPrimitive support to os methods that return simple
    primitives. This is a minor tweak that makes using these slightly
    more friendly when doing things like:
    
    ```js
    var m = `${os.tmpdir}/foo`
    ```
    
    PR-URL: nodejs/node#12654
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    473572e View commit details
    Browse the repository at this point in the history
  9. test: remove extra console output from test-os.js

    PR-URL: nodejs/node#12654
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    23fc082 View commit details
    Browse the repository at this point in the history
  10. process: add optional detail to process emitWarning

    Adds a new method signature variant for process.emitWarning()
    that accepts an options object. The options object may include
    a new `detail` option that allows additional detail text to be
    associated with the warning. By default, this additional text
    will be printed to stderr along with the warning, and included
    on the Warning Error object using the `.detail` property.
    
    e.g.
    
    ```js
    process.emitWarning('A message', {
      code: 'WARNING123',
      detail: 'This is additional detail'
    });
    // Emits:
    // (node {pid}) [WARNING123] Warning: A message
    // This is additional detail
    ```
    
    PR-URL: nodejs/node#12725
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell committed May 1, 2017
    Configuration menu
    Copy the full SHA
    dd20e68 View commit details
    Browse the repository at this point in the history
  11. test,lib,doc: use function declarations

    Replace function expressions with function declarations in preparation
    for a lint rule requiring function declarations.
    
    PR-URL: nodejs/node#12711
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott committed May 1, 2017
    Configuration menu
    Copy the full SHA
    a180259 View commit details
    Browse the repository at this point in the history
  12. tools: require function declarations

    Except for arrow functions, require function declarations instead of
    function expressions via linting. This is the predominant style in our
    code base (77 instances of expressions to 2344 instances of
    declarations).
    
    PR-URL: nodejs/node#12711
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott committed May 1, 2017
    Configuration menu
    Copy the full SHA
    aea7269 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2017

  1. tools: ignore node_trace.*.log

    `node_trace.*.log` files are generated by `NodeTraceWriter`.
    
    Refs: nodejs/node#9304
    PR-URL: nodejs/node#12754
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    watilde committed May 2, 2017
    Configuration menu
    Copy the full SHA
    595d4ec View commit details
    Browse the repository at this point in the history
  2. test: skipIfInspectorDisabled cluster-inspect-brk

    When configured --without-ssl the inspect-brk option will not be
    available and the process will exit with a exit value of 9 "Invalid
    Argument/Bad option".
    
    This commit adds a skipIfInspectorDisabled check since --without-ssl
    implies that no inspector support is build as well.
    
    PR-URL: nodejs/node#12757
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev committed May 2, 2017
    Configuration menu
    Copy the full SHA
    10ccf56 View commit details
    Browse the repository at this point in the history
  3. Revert "test: remove eslint comments"

    This reverts commit 8d1f15b
    to preserve the original WPT code.
    
    PR-URL: nodejs/node#12743
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung committed May 2, 2017
    Configuration menu
    Copy the full SHA
    9f7b549 View commit details
    Browse the repository at this point in the history
  4. 2017-05-02, Version 4.8.3 'Argon' (Maintenance)

    Notable Changes:
    
    * module:
      - The module loading global fallback to the Node executable's
        directory now works correctly on Windows.
        (Richard Lau) nodejs/node#9283
    * src:
      - fix base64 decoding in rare edgecase
        (Nikolai Vavilov) nodejs/node#11995
    * tls:
      - fix rare segmentation faults when using TLS
       * (Trevor Norris) nodejs/node#11947
       * (Ben Noordhuis) nodejs/node#11898
       * (jBarz) nodejs/node#11776
    
    PR-URL: nodejs/node#12499
    MylesBorins committed May 2, 2017
    Configuration menu
    Copy the full SHA
    9802d46 View commit details
    Browse the repository at this point in the history
  5. 2017-05-02, Version 6.10.3 'Boron' (LTS)

    Notable Changes:
    
    * module:
      - The module loading global fallback to the Node executable's
        directory now works correctly on Windows.
        (Richard Lau) nodejs/node#9283
    * src:
      - fix base64 decoding in rare edgecase
        (Nikolai Vavilov) nodejs/node#11995
    * tls:
      - fix rare segmentation faults when using TLS
       * (Trevor Norris) nodejs/node#11947
       * (Ben Noordhuis) nodejs/node#11898
       * (jBarz) nodejs/node#11776
    
    PR-URL: nodejs/node#12497
    MylesBorins committed May 2, 2017
    Configuration menu
    Copy the full SHA
    20e27dd View commit details
    Browse the repository at this point in the history
  6. buffer: remove pointless C++ utility methods

    PR-URL: nodejs/node#12760
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 2, 2017
    Configuration menu
    Copy the full SHA
    9d723e8 View commit details
    Browse the repository at this point in the history
  7. cluster: remove debug arg handling

    --debug and --debug-brk are no longer valid flags so remove special
    handling for them in the cluster module. Even if they are restored, they
    will be aliases for inspect and will not use the legacy debug protocol,
    so the special handling will not be needed.
    
    PR-URL: nodejs/node#12738
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott committed May 2, 2017
    Configuration menu
    Copy the full SHA
    dc3bbb4 View commit details
    Browse the repository at this point in the history
  8. repl: fix /dev/null history file regression

    This fixes a regression from 83887f35fa where ftruncate() fails on
    a file symlinked to /dev/null.
    
    PR-URL: nodejs/node#12762
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex committed May 2, 2017
    Configuration menu
    Copy the full SHA
    c20e87a View commit details
    Browse the repository at this point in the history
  9. test: minor fixes to test-module-loading.js

    Use block scope for local variables only used in a small code block.
    Fixed inverse arguments in some usages of Assert.strictEqual.
    
    PR-URL: nodejs/node#12728
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ywalterh authored and Trott committed May 2, 2017
    Configuration menu
    Copy the full SHA
    133fb0c View commit details
    Browse the repository at this point in the history

Commits on May 3, 2017

  1. test: increase coverage of buffer

    Increase coverage of lib/buffer.js.
    
    PR-URL: nodejs/node#12714
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    DavidCai1111 committed May 3, 2017
    Configuration menu
    Copy the full SHA
    04796ee View commit details
    Browse the repository at this point in the history
  2. 2017-05-02, Version 7.10.0 (Current)

    Notable changes:
    
    * **crypto**:
      - add randomFill and randomFillSync (Evan Lucas)
        nodejs/node#10209
    * **meta**: Added new collaborators
      - add lucamaraschi to collaborators (Luca Maraschi)
        nodejs/node#12538
      - add DavidCai1993 to collaborators (David Cai)
        nodejs/node#12435
      - add jkrems to collaborators (Jan Krems)
        nodejs/node#12427
      - add AnnaMag to collaborators (AnnaMag)
        nodejs/node#12414
    * **process**:
      - fix crash when Promise rejection is a Symbol (Cameron Little)
        nodejs/node#11640
    * **url**:
      - make WHATWG URL more spec compliant (Timothy Gu)
        nodejs/node#12507
    * **v8**:
      - fix stack overflow in recursive method (Ben Noordhuis)
        nodejs/node#12460
      - fix build errors with g++ 7 (Ben Noordhuis)
        nodejs/node#12392
    
    PR-URL: nodejs/node#12775
    evanlucas committed May 3, 2017
    Configuration menu
    Copy the full SHA
    871fb5a View commit details
    Browse the repository at this point in the history
  3. n-api: remove unnecessary try-catch bracket from certain APIs

    These APIs do not need a try-catch around their body, because no
    exceptions are thrown in their implementation:
    - `napi_is_array()`
    - `napi_get_value_string_latin1()`
    - `napi_get_value_string_utf8()`
    - `napi_get_value_string_utf16()`
    - `napi_get_value_external()`
    - `napi_is_buffer()`
    - `napi_is_arraybuffer()`
    - `napi_get_arraybuffer_info()`
    - `napi_is_typedarray()`
    - `napi_get_typedarray_info()`
    
    Fixes: nodejs/abi-stable-node#238
    PR-URL: nodejs/node#12705
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jason Ginchereau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Gabriel Schulhof authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    cd32b77 View commit details
    Browse the repository at this point in the history
  4. stream: remove unnecessary parameter

    Delete invalid parameter.
    
    Fixes: nodejs/node#8153
    PR-URL: nodejs/node#12767
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Leo authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    d6a6bcd View commit details
    Browse the repository at this point in the history
  5. build: add static option to vcbuild.bat

    Passes --enable-static to ./configure.
    
    PR-URL: nodejs/node#12764
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Tony Rice authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    e488857 View commit details
    Browse the repository at this point in the history
  6. node: add missing option to --help output

    PR-URL: nodejs/node#12763
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    krydos authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    896be83 View commit details
    Browse the repository at this point in the history
  7. doc: document vm timeout option perf impact

    Mention that the `timeout` option has a noticeable performance impact.
    
    Fixes: nodejs/node#10453
    PR-URL: nodejs/node#12751
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    2bf461e View commit details
    Browse the repository at this point in the history
  8. http: fix first body chunk fast case for UTF-16

    `http.OutgoingMessage` tried to send the first chunk together
    with the headers by concatenating them together as a string, but the
    list of encodings for which that works was incorrect.
    
    Change it from a blacklist to a whitelist.
    
    Fixes: nodejs/node#11788
    PR-URL: nodejs/node#12747
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    55c95b1 View commit details
    Browse the repository at this point in the history
  9. stream: fix y.pipe(x)+y.pipe(x)+y.unpipe(x)

    Fix the uncommon situation when a readable stream is piped twice into
    the same destination stream, and then unpiped once.
    
    Previously, the `unpipe` event handlers weren’t able to tell whether
    they were corresponding to the “right” conceptual pipe that was being
    removed; this fixes this by adding a counter to the `unpipe` event
    handler and only removing a single piping destination at most.
    
    Fixes: nodejs/node#12718
    PR-URL: nodejs/node#12746
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    6993eb0 View commit details
    Browse the repository at this point in the history
  10. src: add --napi-modules to whitelist

    Add --napi-modules to whitelist for NODE_OPTIONS
    as its needed so that we can run the tests that
    come along with native modules.
    
    PR-URL: nodejs/node#12733
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mhdawson authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    21653b6 View commit details
    Browse the repository at this point in the history
  11. test: fix warning in n-api reference test

    Add cast to avoid warning during build of addon.
    
    PR-URL: nodejs/node#12730
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mhdawson authored and addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    8aca66a View commit details
    Browse the repository at this point in the history
  12. test: increase readline coverage

    PR-URL: nodejs/node#12761
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    b2ab41e View commit details
    Browse the repository at this point in the history
  13. src: turn buffer type-CHECK into exception

    Turn a `CHECK()` that could be brought to fail using public APIs
    into throwing an error.
    
    Fixes: nodejs/node#12152
    PR-URL: nodejs/node#12753
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    9990be2 View commit details
    Browse the repository at this point in the history
  14. crypto: throw proper errors if out enc is UTF-16

    Throw `Error`s instead of hard crashing when the `.digest()` output
    encoding is UTF-16.
    
    Fixes: nodejs/node#9817
    PR-URL: nodejs/node#12752
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    6c2daf0 View commit details
    Browse the repository at this point in the history
  15. src: do proper StringBytes error handling

    - Return `MaybeLocal`s from `StringBytes::Encode`
    - Add an `error` out parameter to pass JS exceptions to the callers
      (instead of directly throwing)
    - Simplify some of the string generation methods in `string_bytes.cc`
      by unifying the `EXTERN_APEX` logic
    - Reduce usage of deprecated V8 APIs.
    - Remove error handling logic from JS, the `buffer.*Slice()` methods
      now throw errors themselves.
    - Left TODO comments for future semver-major error message
      improvements.
    
    This paves the way for better error messages coming out of the
    StringBytes methods.
    
    Ref: nodejs/node#3175
    PR-URL: nodejs/node#12765
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    addaleax committed May 3, 2017
    Configuration menu
    Copy the full SHA
    d56a7e6 View commit details
    Browse the repository at this point in the history
  16. doc: deprecate vm.runInDebugContext

    Docs-only deprecation for v8.0.0.
    Runtime deprecation planned for v9.0.0.
    Removal planned for v10.0.0.
    
    PR-URL: nodejs/node#12243
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joshgav committed May 3, 2017
    Configuration menu
    Copy the full SHA
    eb535c5 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2017

  1. test: move WPT to its own testing module

    This is first in a hoped-for series of moves away from a monolithic
    common.js that is loaded for every test and towards a more modular
    approach. (In the end, common.js will hopefully contain checks for
    variables leaking into the global space and perhaps some of the more
    ubiquitous functions like common.mustCall().)
    
    Move the WPT testing code to its own module.
    
    PR-URL: nodejs/node#12736
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Trott committed May 4, 2017
    Configuration menu
    Copy the full SHA
    ff001c1 View commit details
    Browse the repository at this point in the history
  2. test: enable test-debugger-pid

    Now that `node debug` is an alias for `node inspect`, it's possible that
    `node-debug-pid` can run reliably. Modify for current behavior and move
    from `disabled` to `parallel`.
    
    PR-URL: nodejs/node#12770
    Reviewed-By: Jan Krems <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott committed May 4, 2017
    Configuration menu
    Copy the full SHA
    4677766 View commit details
    Browse the repository at this point in the history
  3. src: rename CryptoPemCallback -> PasswordCallback

    While reading through node_crypto.cc I think the code could perhaps
    be be a made a little clearer if CryptPemCallback was renamed.
    
    I admit that I'm very new to the code base and openssl but having a
    name like PasswordCallback or something similar would have helped me
    so I'm suggesting this change.
    
    PR-URL: nodejs/node#12787
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev committed May 4, 2017
    Configuration menu
    Copy the full SHA
    ebcd8c6 View commit details
    Browse the repository at this point in the history
  4. src: make root_cert_vector function scoped

    root_cert_vector currently has file scope and external linkage, but is
    only used in the NewRootCertsStore function. If this is not required to
    be externally linked perhaps it can be changed to be static and function
    scoped instead.
    
    PR-URL: nodejs/node#12788
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    danbev committed May 4, 2017
    Configuration menu
    Copy the full SHA
    d0c968e View commit details
    Browse the repository at this point in the history
  5. doc: add WHATWG file URLs in fs module

    Update fs module documentation adding WHATWG file URLS support for
    relevant fs functions/classes.
    
    PR-URL: nodejs/node#12670
    Fixes: nodejs/node#12341
    Ref: nodejs/node#10739
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Olivier Martin authored and jasnell committed May 4, 2017
    Configuration menu
    Copy the full SHA
    c1b3b95 View commit details
    Browse the repository at this point in the history
  6. assert: fix AssertionError, assign error code

    Using `assert.AssertionError()` without the `new` keyword results
    in a non-intuitive error:
    
    ```js
    > assert.AssertionError({})
    TypeError: Cannot assign to read only property 'name' of function 'function ok(value, message) {
      if (!value) fail(value, true, message, '==', assert.ok);
    }'
        at Function.AssertionError (assert.js:45:13)
        at repl:1:8
        at realRunInThisContextScript (vm.js:22:35)
        at sigintHandlersWrap (vm.js:98:12)
        at ContextifyScript.Script.runInThisContext (vm.js:24:12)
        at REPLServer.defaultEval (repl.js:346:29)
        at bound (domain.js:280:14)
        at REPLServer.runBound [as eval] (domain.js:293:12)
        at REPLServer.onLine (repl.js:545:10)
        at emitOne (events.js:101:20)
    >
    ```
    
    The `assert.AssertionError()` can only be used correctly with `new`,
    so this converts it into a proper ES6 class that will give an
    appropriate error message.
    
    This also associates the appropriate internal/errors code with all
    `assert.AssertionError` instances and updates the appropriate test
    cases.
    
    PR-URL: nodejs/node#12651
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasnell committed May 4, 2017
    Configuration menu
    Copy the full SHA
    e48d58b View commit details
    Browse the repository at this point in the history
  7. src: update --inspect hint text

    * Removes "experimental" warning.
    * Prints ws://_ip_:_port_:/_uuid_ for all IDs.
    * Refers to nodejs.org guide for more details.
    
    PR-URL: nodejs/node#11207
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    joshgav committed May 4, 2017
    Configuration menu
    Copy the full SHA
    6ade7f3 View commit details
    Browse the repository at this point in the history
  8. inspector: do not add 'inspector' property

    'inspector' property is not an official API and should not be published
    on process object, where the user may discover it.
    
    This change was extracted from nodejs/node#12263
    that will be focused on creating JS bindings.
    
    PR-URL: nodejs/node#12656
    Reviewed-By: Aleksey Kozyatinskiy <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Eugene Ostroukhov committed May 4, 2017
    Configuration menu
    Copy the full SHA
    3f48ab3 View commit details
    Browse the repository at this point in the history
  9. test: fix too optimistic guess in setproctitle

    PR-URL: nodejs/node#12792
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt committed May 4, 2017
    Configuration menu
    Copy the full SHA
    f971916 View commit details
    Browse the repository at this point in the history
  10. test: add callback to fs.close() in test-fs-chmod

    To avoid '[DEP0013] DeprecationWarning:
    Calling an asynchronous function without callback is deprecated.'
    
    PR-URL: nodejs/node#12795
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt committed May 4, 2017
    Configuration menu
    Copy the full SHA
    712596f View commit details
    Browse the repository at this point in the history
  11. doc: edit CONTRIBUTING.md for clarity etc.

    PR-URL: nodejs/node#12796
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott committed May 4, 2017
    Configuration menu
    Copy the full SHA
    0258aed View commit details
    Browse the repository at this point in the history

Commits on May 5, 2017

  1. url: handle windows drive letter in the file state

    `C|` should not satisfy the condition to not copy
    the base's path. It also synchronises WPT url test data
    to verify the update in upstream.
    
    PR-URL: nodejs/node#12808
    Refs: whatwg/url#305
    Refs: web-platform-tests/wpt#5754
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    watilde authored and TimothyGu committed May 5, 2017
    Configuration menu
    Copy the full SHA
    943dd5f View commit details
    Browse the repository at this point in the history
  2. test: add callback to fs.close() in test-fs-stat

    To avoid '[DEP0013] DeprecationWarning:
    Calling an asynchronous function without callback is deprecated.'
    
    PR-URL: nodejs/node#12804
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt committed May 5, 2017
    Configuration menu
    Copy the full SHA
    665695f View commit details
    Browse the repository at this point in the history
  3. tools: remove unused code from test.py

    PR-URL: nodejs/node#12806
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott committed May 5, 2017
    Configuration menu
    Copy the full SHA
    53c88fa View commit details
    Browse the repository at this point in the history
  4. test: add regex check in test-vm-is-context

    Use a regex to validate the error message.
    
    PR-URL: nodejs/node#12785
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Jeyanthinath authored and lpinca committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bc05436 View commit details
    Browse the repository at this point in the history
  5. win: make buildable on VS2017

    * Set default to `vs2015` since `vs2017` is not CI-green yet
    * changes vcbuild.bat arg from `vc2015` to `vs2015`/`vs2017`
      `vc` as in Visual C++ is actually versions 14.0 or 14.10
      `vs` as in Visual Studio is 2015 or 2017
      Ref: http://lists.boost.org/Archives/boost/2017/03/233597.php 🤦
    * keep `vc2015` for backward compatibility but "undocumented"
    * tools: transplant vswhere wrapper from `msvs-com-helper`
      Ref: https://github.com/node4good/msvs-com-helper
    
    PR-URL: nodejs/node#11852
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    refack authored and gibfahn committed May 5, 2017
    Configuration menu
    Copy the full SHA
    1c93e8c View commit details
    Browse the repository at this point in the history
  6. test: add coverage for error apis

    Add coverage for N-API functions related to
    throwing and creating errors.  A number of these
    are currently showing as not having any
    coverage in the nightly code coverage reports.
    
    PR-URL: nodejs/node#12729
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson committed May 5, 2017
    Configuration menu
    Copy the full SHA
    94a120c View commit details
    Browse the repository at this point in the history
  7. test: make tests cwd-independent

    PR-URL: nodejs/node#12812
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    vsemozhetbyt authored and addaleax committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f1d593c View commit details
    Browse the repository at this point in the history
  8. tools: relax lint rule for regexps

    Relax the rule for maximum line length in JS files if the line contains
    a regular expression literal. This will avoid the need to convert a
    regular expression literal into a RegExp constructor call broken across
    multiple lines in order to satisfy the maximum line length rule. That
    practice hampers readability.
    
    PR-URL: nodejs/node#12807
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and addaleax committed May 5, 2017
    Configuration menu
    Copy the full SHA
    feb90d3 View commit details
    Browse the repository at this point in the history
  9. lib,test: use regular expression literals

    Replace RegExp constructors with regular expression literals where
    possible.
    
    PR-URL: nodejs/node#12807
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and addaleax committed May 5, 2017
    Configuration menu
    Copy the full SHA
    6bcf65d View commit details
    Browse the repository at this point in the history
  10. test: reduce string concatenations

    PR-URL: nodejs/node#12735
    Refs: nodejs/node#12455
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    vsemozhetbyt committed May 5, 2017
    Configuration menu
    Copy the full SHA
    8b76c3e View commit details
    Browse the repository at this point in the history
  11. doc: update readFileSync in fs.md

    * Updated fs.md stating fs.readFileAsync is platform specific
    * Fix formatting of `note`s
    
    PR-URL: nodejs/node#12800
    Refs: nodejs/node#10962
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    thelostone-mc authored and refack committed May 5, 2017
    Configuration menu
    Copy the full SHA
    2614d24 View commit details
    Browse the repository at this point in the history
  12. inspector: report when main context is destroyed

    PR-URL: nodejs/node#12814
    Reimplements: nodejs/node#7756
    Fixes: nodejs/node#7742
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Aleksey Kozyatinskiy <[email protected]>
    Eugene Ostroukhov committed May 5, 2017
    Configuration menu
    Copy the full SHA
    15e160e View commit details
    Browse the repository at this point in the history
  13. doc: fix commit guideline url

    PR-URL: nodejs/node#12862
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    watson authored and Trott committed May 5, 2017
    Configuration menu
    Copy the full SHA
    4703824 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2017

  1. test: fix flakyness with yes.exe

    PR-URL: nodejs/node#12821
    Fixes: nodejs/node#12817
    Refs: nodejs/node#12658
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    refack committed May 6, 2017
    Configuration menu
    Copy the full SHA
    68c933c View commit details
    Browse the repository at this point in the history
  2. test: port test for make_callback to n-api

    Improved test coverage for napi_make_callback by porting the
    existing addons/make_callback test to n-api
    
    PR-URL: nodejs/node#12409
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    digitalinfinity authored and refack committed May 6, 2017
    Configuration menu
    Copy the full SHA
    73d9c0f View commit details
    Browse the repository at this point in the history
  3. deps: update V8 to 5.8.283.38

    PR-URL: nodejs/node#12784
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    60d1aac View commit details
    Browse the repository at this point in the history
  4. src: update NODE_MODULE_VERSION to 55

    Major V8 updates are usually API/ABI incompatible with previous
    versions. This commit adapts NODE_MODULE_VERSION for V8 5.8.
    
    Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
    PR-URL: nodejs/node#12784
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    5b63fab View commit details
    Browse the repository at this point in the history
  5. build: fix V8 build on FreeBSD

    Use the -D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1 flag because on FreeBSD
    std::pairs copy constructor is non-trivial.
    
    Refs: https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.html
    Refs: https://github.com/gliaskos/freebsd-chromium/blob/master/www/chromium/Makefile#L202-L205
    
    PR-URL: nodejs/node#12784
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    bf5c309 View commit details
    Browse the repository at this point in the history
  6. deps: limit regress/regress-crbug-514081 v8 test

    regress/regress-crbug-514081 allocates a 2G block of memory
    and if there  are multiple variants running at the
    same time this can lead to crashes, OOM kills or
    the OS failing to allocate memory.  This patch
    limits us to running a single variant of the test
    
    Fixes: nodejs/node#6340
    PR-URL: nodejs/node#6678
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mhdawson authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    7becb19 View commit details
    Browse the repository at this point in the history
  7. v8: fix stack overflow in recursive method

    HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock()
    used to self-recurse before this commit, causing stack overflows on
    systems with small stack sizes.  Make it non-recursive by storing
    intermediate results in a heap-allocated list.
    
    Fixes: nodejs/node#11991
    PR-URL: nodejs/node#12460
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    bnoordhuis authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    14dc300 View commit details
    Browse the repository at this point in the history
  8. v8: fix gcc 7 build errors

    Porting nodejs/node#12392 to master
    
    Ref: nodejs/node#12392
    Fixes: nodejs/node#10388
    PR-URL: nodejs/node#12676
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Zuzana Svetlikova authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    0f3e69d View commit details
    Browse the repository at this point in the history
  9. deps: cherry-pick a927f81c7 from V8 upstream

    Original commit message:
    
      [ValueSerializer] Allow wire format versions beginning with 13 to be deserialized in non-legacy mode.
    
      As of version 13, delegates do not need to worry about colliding tags with the
      tags reserved by v8, since v8 inserts a "host object" prefix beforehand. Thus
      the format is now suitable for more general use, without opting into the "legacy"
      mode that had this caveat.
    
      Review-Url: https://codereview.chromium.org/2722213002
      Cr-Commit-Position: refs/heads/master@{#43521}
    
    PR-URL: nodejs/node#11752
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    addaleax authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    6690415 View commit details
    Browse the repository at this point in the history
  10. deps: backport ec1ffe3 from upstream V8

    This commit adds lldbinit files from upstream V8 and also adds these so
    that they get installed when `make install` is run.
    
    Original commit message:
    
    [tools] add lldbinit
    
        The goal of this commit is to add the equivalent to gdbinit but
        for lldb. I've tried to replicate the commands as close as possible
        but I'm unsure about the jss command and hoping to get some feedback
        on it in addition to the bta command which I'm not sure how/when
        this could be used. This is probably just inexperience on my part.
    
        The lldbinit file can be placed into a directory prefixed with dot
        (.lldbinit) and the python script is currently expected to be in the
        same directory. The path to the script can be changed manually if
        needed as well.
    
        NOTRY=true
    
        Review-Url: https://codereview.chromium.org/2758373002
        Cr-Commit-Position: refs/heads/master@{#44136}
    
    PR-URL: nodejs/node#12061
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    fe15fe7 View commit details
    Browse the repository at this point in the history
  11. deps: cherry-pick bfae9db from upstream v8

    Original commit message:
    
        Update postmortem metadata generator.
    
        Add PropertyDetails::AttributesField +
        PropertyDetails::LocationField.
    
        Review-Url: https://codereview.chromium.org/2842843004
        Cr-Commit-Position: refs/heads/master@{#44889}
    
    PR-URL: nodejs/node#12722
    Refs: nodejs/llnode#81
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis authored and targos committed May 6, 2017
    Configuration menu
    Copy the full SHA
    d74a545 View commit details
    Browse the repository at this point in the history
  12. errors,test: migrating error to internal/errors

    PR-URL: nodejs/node#11505
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    larissayvette authored and Trott committed May 6, 2017
    Configuration menu
    Copy the full SHA
    1c834e7 View commit details
    Browse the repository at this point in the history
  13. test: add mustCall in timers-unrefed-in-callback

    PR-URL: nodejs/node#12594
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    ChatbotSchool authored and Trott committed May 6, 2017
    Configuration menu
    Copy the full SHA
    3fd890a View commit details
    Browse the repository at this point in the history

Commits on May 7, 2017

  1. assert: improve deepEqual perf for large input

    Use a Map instead of an array for checking previously found
    cyclic references.
    
    This reduces complexity for an array-of-objects case from
    O(n²) to O(n·log n).
    
    Fixes: nodejs/node#12842
    PR-URL: nodejs/node#12849
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    7e5f500 View commit details
    Browse the repository at this point in the history
  2. test: complete coverage of buffer

    PR-URL: nodejs/node#12831
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    DavidCai1111 authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    a710e44 View commit details
    Browse the repository at this point in the history
  3. doc: remove test-npm from general build doc

    `make test-npm` is not particularly robust (currently fails on Linux and
    Windows, reportedly) and results in a fair number of requests for help
    from people new to the project. It is used when upgrading npm in core,
    which only a small number of mostly-predefined people do. Remove it from
    the general build doc.
    
    Refs: nodejs/node#12836
    PR-URL: nodejs/node#12840
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    a398516 View commit details
    Browse the repository at this point in the history
  4. readline: use module.exports = {}

    PR-URL: nodejs/node#12755
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    9318f82 View commit details
    Browse the repository at this point in the history
  5. readline: use module.exports = {} on internal/readline

    PR-URL: nodejs/node#12755
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    392a898 View commit details
    Browse the repository at this point in the history
  6. readline: multiple code cleanups

    Variety of code maintenance updates, cleanups
    
    PR-URL: nodejs/node#12755
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    4ac7a68 View commit details
    Browse the repository at this point in the history
  7. readline: move escape codes into internal/readline

    Moves escape codes into internal/readline for easier management.
    
    PR-URL: nodejs/node#12755
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    4c070d4 View commit details
    Browse the repository at this point in the history
  8. test: expand test coverage of readline

    PR-URL: nodejs/node#12755
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    d37f27a View commit details
    Browse the repository at this point in the history
  9. test: remove common.PORT in test tls ticket cluster

    PR-URL: nodejs/node#12715
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    ooHmartY authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    dac9f42 View commit details
    Browse the repository at this point in the history
  10. test: refactored test-repl-persistent-history

    PR-URL: nodejs/node#12703
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    cool88 authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    6058c43 View commit details
    Browse the repository at this point in the history
  11. test: refactoring test with common.mustCall

    PR-URL: nodejs/node#12702
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    weewey authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    152966d View commit details
    Browse the repository at this point in the history
  12. doc: improve path.posix.normalize docs

    Add section to path docs that explains that path.posix.normalize
    does not replace Windows slashes with POSIX slashes because POSIX
    does not recognize / as a valid path separator.
    
    Fixes: nodejs/node#12298
    PR-URL: nodejs/node#12700
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    sjlehn authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    cbd6fde View commit details
    Browse the repository at this point in the history
  13. test: refactor test-querystring

    - change URIError constructor to regular expression in assert.throws
    - use block-scope for tests that spans multiple statements
    
    PR-URL: nodejs/node#12661
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    lukaszewczak authored and addaleax committed May 7, 2017
    Configuration menu
    Copy the full SHA
    42958d1 View commit details
    Browse the repository at this point in the history
  14. test: fix napi test_reference for recent V8

    PR-URL: nodejs/node#12864
    Ref: nodejs/node#12551 (comment)
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    targos committed May 7, 2017
    Configuration menu
    Copy the full SHA
    0a734fe View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. doc: sort bottom-of-file markdown links

    PR-URL: nodejs/node#12726
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    sam-github committed May 8, 2017
    Configuration menu
    Copy the full SHA
    ea1b8a5 View commit details
    Browse the repository at this point in the history
  2. assert: restore TypeError if no arguments

    In Node 7.x, calling `throw new assert.AssertionError()` resulted in a
    TypeError.
    
    In current master, the same call does not result in an error but, due to
    the default option, it results in uninformative output ("undefined
    undefined undefined").
    
    This change removes the default argument, restoring a TypeError if there
    is no argument. This also will restore our test coverage to 100%. (The
    default argument is not tested in our current test suite.)
    
    PR-URL: nodejs/node#12843
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott committed May 8, 2017
    Configuration menu
    Copy the full SHA
    f6247a9 View commit details
    Browse the repository at this point in the history
  3. test: remove unused testpy code

    The temporary directory for tests is managed in the JS `common` module.
    Remove unused variable from `testpy` that is legacy from when it was
    managed in the Python test harness.
    
    PR-URL: nodejs/node#12844
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    Trott committed May 8, 2017
    Configuration menu
    Copy the full SHA
    dc4313c View commit details
    Browse the repository at this point in the history
  4. benchmark: update an obsolete path

    PR-URL: nodejs/node#12904
    Refs: nodejs/node#12903
    Refs: nodejs/node@ff001c1
    Reviewed-By: Anna Henningsen <[email protected]>
    vsemozhetbyt committed May 8, 2017
    Configuration menu
    Copy the full SHA
    65d6249 View commit details
    Browse the repository at this point in the history
  5. net: ensure net.connect calls Socket connect

    It's important for people who monkey-patch `Socket.prototype.connect`
    that it's called by `net.connect` since it's not possible to
    monkey-patch `net.connect` directly (as the `connect` function is called
    directly by other parts of `lib/net.js` instead of calling the
    `exports.connect` function).
    
    Among the actors who monkey-patch `Socket.prototype.connect` are most
    APM vendors, the async-listener module and the
    continuation-local-storage module.
    
    Related:
    - nodejs/node#12342
    - nodejs/node#12852
    
    PR-URL: nodejs/node#12861
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Luca Maraschi <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    watson authored and sam-github committed May 8, 2017
    Configuration menu
    Copy the full SHA
    212a7a6 View commit details
    Browse the repository at this point in the history
  6. meta: fix nits in README.md collaborators list

    PR-URL: nodejs/node#12866
    Fixes: nodejs/node#12865
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt committed May 8, 2017
    Configuration menu
    Copy the full SHA
    dd06246 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. test: add test for timers benchmarks

    PR-URL: nodejs/node#12851
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung committed May 9, 2017
    Configuration menu
    Copy the full SHA
    771568a View commit details
    Browse the repository at this point in the history
  2. net: check and throw on error for getsockname

    This commit attempts fix a TODO in net.js:
    TODO(bnoordhuis) Check err and throw?
    
    PR-URL: nodejs/node#12871
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev committed May 9, 2017
    Configuration menu
    Copy the full SHA
    cf980b0 View commit details
    Browse the repository at this point in the history
  3. test: add skipIfInspectorDisabled to debugger-pid

    Currently this test will fail if node was configured --without-ssl.
    
    PR-URL: nodejs/node#12882
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    danbev committed May 9, 2017
    Configuration menu
    Copy the full SHA
    f72376d View commit details
    Browse the repository at this point in the history
  4. util: add internal bindings for promise handling

    Add methods for creating, resolving and rejecting promises
    using the V8 C++ API that does not require creation of extra
    `resolve` and `reject` functions to `process.binding('util')`.
    
    PR-URL: nodejs/node#12442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    059f296 View commit details
    Browse the repository at this point in the history
  5. util: add util.promisify()

    Add `util.promisify(function)` for creating promisified functions.
    Includes documentation and tests.
    
    Fixes: nodejs/CTC#12
    PR-URL: nodejs/node#12442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    99da8e8 View commit details
    Browse the repository at this point in the history
  6. test: add a bunch of tests from bluebird

    Take tests from Bluebird's promisify's tests and adapted them to the
    format in use here.
    Add tests making sure things work with async functions.
    Add basic usability tests.
    
    PR-URL: nodejs/node#12442
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    MadaraUchiha authored and addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    3ea2301 View commit details
    Browse the repository at this point in the history
  7. test: add test for promisify customPromisifyArgs

    PR-URL: nodejs/node#12442
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    giltayar authored and addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    e965ed1 View commit details
    Browse the repository at this point in the history
  8. timers: add promisify support

    Add support for `util.promisify(setTimeout)` and
    `util.promisify(setImmediate)` as a proof-of-concept implementation.
    `clearTimeout()` and `clearImmediate()` do not work on those Promises.
    Includes documentation and tests.
    
    PR-URL: nodejs/node#12442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    e7c5145 View commit details
    Browse the repository at this point in the history
  9. fs: support util.promisify for fs.read/fs.write

    PR-URL: nodejs/node#12442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    fbcb4f5 View commit details
    Browse the repository at this point in the history
  10. child_process: support promisified exec(File)

    Author: Benjamin Gruenbaum <[email protected]>
    Author: Anna Henningsen <[email protected]>
    
    PR-URL: nodejs/node#12442
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    fe5ca3f View commit details
    Browse the repository at this point in the history
  11. dns: support promisified lookup(Service)

    PR-URL: nodejs/node#12442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: William Kapke <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    addaleax committed May 9, 2017
    Configuration menu
    Copy the full SHA
    faf6654 View commit details
    Browse the repository at this point in the history
  12. doc: fix typo in streams.md

    Slight grammar change to the readable event:`error`
    
    PR-URL: nodejs/node#12924
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    glennschler authored and vsemozhetbyt committed May 9, 2017
    Configuration menu
    Copy the full SHA
    e429f9a View commit details
    Browse the repository at this point in the history
  13. fs: throw on invalid callbacks for async functions

    If an asynchronous function is passed no callback function, there is no
    way to return the result. This patch throws an error if the callback
    passed is not valid or none passed at all.
    
    PR-URL: nodejs/node#12562
    
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    thefourtheye committed May 9, 2017
    Configuration menu
    Copy the full SHA
    4cb5f3d View commit details
    Browse the repository at this point in the history
  14. n-api: napi_get_cb_info should fill array

    When the number of args requested is greater than the actual number of
    args supplied to the function call, the remainder of the args array
    should be filled in with `undefined` values. Because of this bug, the
    remainder of the array was left uninitialized, which could cause a
    crash.
    
    Refer to the documentation for the `argv` parameter at
    https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_get_cb_info
    
    PR-URL: nodejs/node#12863
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    jasongin authored and mhdawson committed May 9, 2017
    Configuration menu
    Copy the full SHA
    2bbabb1 View commit details
    Browse the repository at this point in the history
  15. n-api: Handle fatal exception in async callback

     - Create a handle scope before invoking the async completion
       callback, because it is basically always needed, easy for user
       code to forget, and this makes it more consistent with ordinary
       N-API function callbacks.
    
     - Check for an unhandled JS exception after invoking an async
       completion callback, and report it via `node::FatalException()`.
    
     - Add a corresponding test case for an exception in async callback.
    
    Previously, any unhandled JS exception thrown from a
    `napi_async_complete_callback` would be silently ignored. Among other
    things this meant assertions in some test cases could be undetected.
    
    PR-URL: nodejs/node#12838
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jasongin authored and mhdawson committed May 9, 2017
    Configuration menu
    Copy the full SHA
    2e3fef7 View commit details
    Browse the repository at this point in the history
  16. lib: remove useless default caught

    The variable caught's value is undefined, so the '|| caught' is
    useless.
    
    PR-URL: nodejs/node#12884
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Ron Korving <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    JacksonTian authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    824fb49 View commit details
    Browse the repository at this point in the history
  17. test: use dynamic port instead of common.PORT

    Remove common.PORT from, test-net-connect-immediate-destroy,
    test-net-options-lookup, test-net-connect-local-error,
    test-net-connect-handle-econnrefused, test-net-socket-destroy-twice,
    test-net-better-error-messages-port-hostname, test-net-localerror,
    to reduce possibility that a dynamic port used in another test will
    collide with common.PORT.
    
    Moved test-net-listen-shared-ports, test-net-better-error-messages-port
    from tests/parallel to test/sequential
    
    Refs: nodejs/node#12376
    PR-URL: nodejs/node#12473
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    thelostone-mc authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    94eed0f View commit details
    Browse the repository at this point in the history
  18. doc: fix broken links in n-api doc

    - fix 2 broken links
    - fix capitalization in description of
    napi_create_array-with-length
    
    PR-URL: nodejs/node#12889
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: MichaëZasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    mhdawson committed May 9, 2017
    Configuration menu
    Copy the full SHA
    147048a View commit details
    Browse the repository at this point in the history
  19. deps: backport 78867ad8707a016 from v8 upstream

    Original commit message:
    
        Remove object grouping
    
        Enbedders should switch to EmbedderHeapTracer API.
    
        BUG=v8:5828
    
        Change-Id: I82f2bc583d246617865a17f5904e02cd35f92fec
        Reviewed-on: https://chromium-review.googlesource.com/448539
        Reviewed-by: Hannes Payer <[email protected]>
        Reviewed-by: Ulan Degenbaev <[email protected]>
        Commit-Queue: Michael Lippautz <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#43551}
    
    Ref: https://chromium-review.googlesource.com/448539
    Ref: v8/v8@78867ad8707a016
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    mlippautz authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    7a4b4dc View commit details
    Browse the repository at this point in the history
  20. deps: backport de1461b7efd from upstream v8

    Original commit message:
    
        Drop UniqueId from include/v8.h
    
        It's unused since March 2 2017 (https://chromium-review.googlesource.com/448539).
        This removes it assuming that leaving it in the header was an oversight.
    
        BUG=v8:5828
    
        Review-Url: https://codereview.chromium.org/2732803002
        Cr-Commit-Position: refs/heads/master@{#43605}
    
    Ref: v8/v8@de1461b7efd
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    8ff8694 View commit details
    Browse the repository at this point in the history
  21. deps: backport 2cd2f5feff3 from upstream v8

    Original commit message:
    
        Remove experimental fast accessor builder API
    
        As the code isn't used, but would have to be ported from hand-written
        assembly to CodeStubAssembler anyways, I propose to remove it and
        restore it if we decide that we actually need it.
    
        [email protected]
        BUG=
    
        Change-Id: Iffd7fc6ec534b1dd7a9144da900424355c8a7a02
        Reviewed-on: https://chromium-review.googlesource.com/453461
        Commit-Queue: Jochen Eisinger <[email protected]>
        Reviewed-by: Daniel Vogelheim <[email protected]>
        Reviewed-by: Benedikt Meurer <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#43763}
    
    Ref: v8/v8@2cd2f5feff3
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    jeisinger authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    417f6e2 View commit details
    Browse the repository at this point in the history
  22. deps: backport 3700a01c82 from upstream v8

    Original commit message:
    
        Make v8::Eternal::Get and IsEmpty const.
    
        They do not modify the state of the handle.
    
        Review-Url: https://codereview.chromium.org/2753973002
        Cr-Commit-Position: refs/heads/master@{#43907}
    
    Ref: v8/v8@3700a01c82
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    jeremyroman authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    29e9646 View commit details
    Browse the repository at this point in the history
  23. deps: backport 4acdb5eec2c from upstream v8

    Original commit message:
    
        Give v8::Eternal a direct reference to the handle.
    
        This makes it more similar to other handle types (like PersistentBase),
        by simply storing an i::Object** cast to T*. This means that it is not
        necessary to look up the handle in the eternal handles table to access
        the underlying value.
    
        Like the built-in roots (null, etc.), an eternal handle can never be
        destroyed, so we don't even need to allocate a separate local handle.
        Instead, the Local<T> can point directly at the eternal reference.
        This makes Eternal<T>::Get trivial.
    
        Review-Url: https://codereview.chromium.org/2751263003
        Cr-Commit-Position: refs/heads/master@{#43912}
    
    Ref: v8/v8@4acdb5eec2c
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    jeremyroman authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    28e0a12 View commit details
    Browse the repository at this point in the history
  24. v8: backport pieces from 99743ad460e

    Backport new virtual methods from
    99743ad460e (“[wasm] Transferrable modules”).
    
    Ref: https://codereview.chromium.org/2748473004
    Ref: v8/v8@99743ad460e
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    cc7189e View commit details
    Browse the repository at this point in the history
  25. v8: backport pieces of 6226576efa82ee

    Backport removed methods from 6226576efa82ee (“[wasm] Deleted old way
    of checking embedder limits on wasm size.”).
    
    Ref: https://codereview.chromium.org/2772203005
    Ref: v8/v8@6226576efa82ee
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    d2a7530 View commit details
    Browse the repository at this point in the history
  26. v8: backport header diff from da5b745dba387

    Backport deprecation of `Context::EstimatedSize()` from
    da5b745dba387 (“[api] deprecate unused context size estimate”).
    
    Ref: v8/v8@da5b745
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    4cad672 View commit details
    Browse the repository at this point in the history
  27. v8: backport pieces of bf463c4dc0 and dc662e5b74

    Backport ABI-incompatible changes from
    bf463c4dc080 (“[async-iteration] implement AsyncGenerator”) and
    dc662e5b740c (“[inspector] move console to builtins”).
    
    This also requires relaxing one of the V8 unit tests.
    
    Ref: https://chromium-review.googlesource.com/446961
    Ref: v8/v8@bf463c4dc080
    Ref: https://codereview.chromium.org/2785293002
    Ref: v8/v8@dc662e5b740c
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    d5f5d73 View commit details
    Browse the repository at this point in the history
  28. v8: backport header diff from 94283dcf4459f

    Backport ABI-incompatible changes from
    94283dcf4459f (“[ESNext] Implement DynamicImportCall”).
    
    Ref: https://codereview.chromium.org/2703563002
    Ref: v8/v8@94283dcf4459f
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    627089f View commit details
    Browse the repository at this point in the history
  29. v8: backport header diff from 2e4a68733803

    Backport API-incompatible changes from
    2e4a68733803 (“[v8] v8::StackTrace::AsArray returns correct array”).
    
    Ref: https://codereview.chromium.org/2806373005
    Ref: https://github.com/v8/v8/2e4a68733803
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    810dda3 View commit details
    Browse the repository at this point in the history
  30. deps: backport 4fdf9fd4813 from upstream v8

    Original commit message:
    
        Add documentation for FunctionCallbackInfo
    
        [email protected],[email protected],[email protected]
        BUG=
    
        Change-Id: I273f5ce305f80b2aa5e9c8c42a6e8e5afc51a0a7
        Reviewed-on: https://chromium-review.googlesource.com/484422
        Reviewed-by: Kentaro Hara <[email protected]>
        Reviewed-by: Toon Verwaest <[email protected]>
        Commit-Queue: Jochen Eisinger <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#44927}
    
    Ref: v8/v8@4fdf9fd4813
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    jeisinger authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    2dabf1f View commit details
    Browse the repository at this point in the history
  31. v8: do not test v8 with -Werror

    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    74bc88f View commit details
    Browse the repository at this point in the history
  32. v8: backport pieces of dab18fb0bbcdd

    Backport ABI-incompatible changes from
    dab18fb0bbcdd (“Make idle tasks optional in the default platform.”).
    
    Ref: https://codereview.chromium.org/2737743002
    Ref: v8/v8@dab18fb0bbcdd
    
    PR-URL: nodejs/node#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed May 9, 2017
    Configuration menu
    Copy the full SHA
    1ebdd1d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. Configuration menu
    Copy the full SHA
    d62c401 View commit details
    Browse the repository at this point in the history
  2. chakrashim, test: Build failures and skipped test

    * Added shim for `Promise::Resolver` and some minor additions.
    * Skipped several unit test around promises and async hooks
    
    PR-URL: nodejs#245
    Reviewed-By: Kyle Farnung <[email protected]>
    kunalspathak authored and kfarnung committed May 23, 2017
    Configuration menu
    Copy the full SHA
    26c55b8 View commit details
    Browse the repository at this point in the history
  3. chakrashim: fixing jslint issues

    A new rule was added to enforce function declaration style.
    
    PR-URL: nodejs#247
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    Reviewed-By: Kunal Pathak <[email protected]>
    kfarnung committed May 23, 2017
    Configuration menu
    Copy the full SHA
    ffc0fbd View commit details
    Browse the repository at this point in the history
  4. Fix N-API JSRT bugs found by new tests

    PR-URL: nodejs#245
    Reviewed-By: Kyle Farnung <[email protected]>
    jasongin authored and kfarnung committed May 23, 2017
    Configuration menu
    Copy the full SHA
    fa0f01d View commit details
    Browse the repository at this point in the history
  5. n-api: Fix test-addons-napi failures (nodejs#249)

    - Reimplement napi_make_callback to call node::MakeCallback
       using V8 (chakrashim) types. We always knew the direct call to
       JsCallFunction() was incorrect there.
     - Re-enable the two tests that were failing due to napi_make_callback
    
    Fixes: nodejs#246
    jasongin authored and kfarnung committed May 23, 2017
    Configuration menu
    Copy the full SHA
    26992ab View commit details
    Browse the repository at this point in the history
  6. test: disabling N-API test

    The test failure is being tracked by nodejs#246
    
    PR-URL: nodejs#258
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    kfarnung committed May 23, 2017
    Configuration menu
    Copy the full SHA
    31ee0c4 View commit details
    Browse the repository at this point in the history