Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

cmake + icu #2

Open
wants to merge 193 commits into
base: master
Choose a base branch
from
Open

cmake + icu #2

wants to merge 193 commits into from

Commits on Feb 6, 2018

  1. doc: add missing "changes" key in YAML comment

    PR-URL: nodejs#18605
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    lpinca authored and addaleax committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    610cac2 View commit details
    Browse the repository at this point in the history
  2. stream: always reset awaitDrain when emitting data

    The complicated `awaitDrain` machinery can be made a bit
    slimmer, and more correct, by just resetting the value
    each time `stream.emit('data')` is called.
    
    By resetting the value before emitting the data chunk, and
    seeing whether any pipe destinations return `.write() === false`,
    we always end up in a consistent state and don’t need to worry
    about odd situations (like `dest.write(chunk)` emitting more data).
    
    PR-URL: nodejs#18516
    Fixes: nodejs#18484
    Fixes: nodejs#18512
    Refs: nodejs#18515
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    e7cb694 View commit details
    Browse the repository at this point in the history
  3. test: add test for stream unpipe with 'data' listeners

    PR-URL: nodejs#18516
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    ee67dd0 View commit details
    Browse the repository at this point in the history
  4. tools: add FileHandle to doc/type-parser.js

    PR-URL: nodejs#18601
    Refs: nodejs#18407
    Refs: nodejs#18444
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    bff5d5b View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. util: skip type checks in internal getSystemErrorName

    PR-URL: nodejs#18546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    12ae334 View commit details
    Browse the repository at this point in the history
  2. fs: do not call new when creating uvException

    We cannot make uvException a proper class due to compatibility
    reasons for now, so there is no need to call new since
    it only returns a newly-created Error.
    
    PR-URL: nodejs#18546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    0303848 View commit details
    Browse the repository at this point in the history
  3. errors: move error creation helpers to errors.js

    This commit moves error creation helpers scattered around
    under lib/ into lib/internal/errors.js in the hope of being clearer
    about the differences of errors that we throw into the user land.
    
    - Move util._errnoException and util._exceptionWithHostPort
      into internal/errors.js and simplify their logic so it's
      clearer what the properties these helpers create.
    - Move the errnoException helper in dns.js to internal/errors.js
      into internal/errors.js and rename it to dnsException. Simplify
      it's logic so it no longer calls errnoException and skips
      the unnecessary argument checks.
    
    PR-URL: nodejs#18546
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    c0762c2 View commit details
    Browse the repository at this point in the history
  4. tools: add fixer for prefer-assert-iferror.js

    PR-URL: nodejs#16648
    Refs: nodejs#16636
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    shobhitchittora authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    d797775 View commit details
    Browse the repository at this point in the history
  5. test: do not check TXT content in test-dns-any

    google.com added another TXT record which broke this test.
    This removes the check on the content of the TXT record
    since that depends on an external state subject to change.
    
    PR-URL: nodejs#18547
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    e542920 View commit details
    Browse the repository at this point in the history
  6. test: fix flaky test-http2-session-unref

    This test should exit naturally or will timeout on its own,
    a separate unrefed timer is not necessary.
    
    PR-URL: nodejs#18589
    Fixes: nodejs#18587
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    apapirovski authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    b8f7f84 View commit details
    Browse the repository at this point in the history
  7. lib,doc: revert format name to cjs over commonjs

    PR-URL: nodejs#18596
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    guybedford authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    93df116 View commit details
    Browse the repository at this point in the history
  8. doc: be more explicit in the sypnosis

    Assuming less knowledge on the part of the reader, making it easier
    to get start using Node.js.
    
    PR-URL: nodejs#17977
    Fixes: nodejs#17970,
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    timotew authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    4ac7be9 View commit details
    Browse the repository at this point in the history
  9. test: improve error message output

    PR-URL: nodejs#18498
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    bshankar authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    5ecd2e1 View commit details
    Browse the repository at this point in the history
  10. readline: use Date.now() and move test to parallel

    The readline module wants a truthy time while using Timer.now() doesn't
    necessarily guarantee that early on in the process' life. It also
    doesn't actually resolve the timing issues experienced in an earlier
    issue. Instead, this PR fixes the related tests and moves them back
    to parallel.
    
    Refs: nodejs#14674
    
    PR-URL: nodejs#18563
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    af5632e View commit details
    Browse the repository at this point in the history
  11. deps: patch V8 to 6.4.388.42

    PR-URL: nodejs#18578
    Refs: v8/v8@6.4.388.41...6.4.388.42
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    d0e4d4e View commit details
    Browse the repository at this point in the history
  12. src: move GetNow to Environment

    PR-URL: nodejs#18562
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    1573e45 View commit details
    Browse the repository at this point in the history
  13. tls: provide now value from C++

    Instead of separately calling into C++ from JS to retrieve
    the Timer.now() value, pass it in as an argument.
    
    PR-URL: nodejs#18562
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    92ba624 View commit details
    Browse the repository at this point in the history
  14. test: refactor test-http-abort-before-end

    This test was added over six years ago, and the behavior
    seems to have changed since then. When the test was originally
    written, common.mustCall() did not exist. The only assertion
    in this test was not actually executing. Instead of an 'error'
    event being emitted as expected, an 'abort' event was emitted.
    
    PR-URL: nodejs#18508
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    ffb385b View commit details
    Browse the repository at this point in the history
  15. doc: fix link in https.md

    PR-URL: nodejs#18630
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    vsemozhetbyt committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    f783d61 View commit details
    Browse the repository at this point in the history
  16. doc: fix MDN links to avoid redirections

    developer.mozilla.org/en/... -> developer.mozilla.org/en-US/...
    
    PR-URL: nodejs#18631
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    vsemozhetbyt committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    259f62a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. src: don't abort when package.json is a directory

    PR-URL: nodejs#18270
    Fixes: nodejs#8307
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    bnoordhuis authored and Trott committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    8ccd320 View commit details
    Browse the repository at this point in the history
  2. build: do not suppress output in make doc-only

    This helps to show the cause of errors in the CI.
    
    PR-URL: nodejs#18507
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    b505716 View commit details
    Browse the repository at this point in the history
  3. fs: throw errors on invalid paths synchronously

    - Throw getPathFromURL() and nullCheck() errors synchronously instead
      of deferring them to the next tick, since we already throw
      validatePath() errors synchronously.
    - Merge nullCheck() into validatePath()
    - Never throws in `fs.exists()`, instead, invoke the callback with
      false, or emit a warning when the callback is not a function.
      This is to bring it inline with fs.existsSync(), which never throws.
    - Updates the comment of rethrow()
    - Throw ERR_INVALID_ARG_VALUE for null checks
    
    PR-URL: nodejs#18308
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    d8f7338 View commit details
    Browse the repository at this point in the history
  4. stream: always defer readable in EOF when sync

    Fix a regression introduced by
    nodejs#18515 that broke
    the dicer module tests.
    
    See: nodejs#18515
    
    PR-URL: nodejs#18615
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    87b9bce View commit details
    Browse the repository at this point in the history
  5. stream: fix misleading error message

    The method to implement is `_write` not `_transform`.
    
    PR-URL: nodejs#18604
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    lpinca authored and mcollina committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    e9b5b4f View commit details
    Browse the repository at this point in the history
  6. fs: fix misplaced errors in fs.symlinkSync

    The ctx.error is supposed to be handled in fs.readlinkSync,
    but was handled in fs.symlinkSync by mistake.
    
    Also fix the error number check in readlink to be consistent
    with SYNC_CALL.
    
    PR-URL: nodejs#18548
    Refs: nodejs#18348
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joyeecheung committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    b1c6ecb View commit details
    Browse the repository at this point in the history
  7. timers: remove unused variable

    A recent commit removed the usage of the second argument of
    tryOnTimeout but left the definition in place. Remove it.
    
    PR-URL: nodejs#18579
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    1b05d7b View commit details
    Browse the repository at this point in the history
  8. timers: be more defensive with intervals

    It's possible for user-code to flip an existing timeout to
    be an interval during its execution, in which case the
    current code would crash due to start being undefined. Fix
    this by providing a default start value within rearm.
    
    PR-URL: nodejs#18579
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    568b6a5 View commit details
    Browse the repository at this point in the history
  9. timers: async track unref timers

    When async hooks integration for Timers was introduced, it was
    not included in the code for unref'd or subsequently ref'd
    timers which means those timers only have Timerwrap hooks.
    
    PR-URL: nodejs#18579
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    c11cb03 View commit details
    Browse the repository at this point in the history
  10. timers: simplify clearTimeout & clearInterval

    Remove unnecessary condition from timeout & interval clearing.
    
    PR-URL: nodejs#18579
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    8204b0f View commit details
    Browse the repository at this point in the history
  11. stream: add a test case for the underlying cause.

    The original test case hides the underlying cause by using
    `PassThrough`. This change adds a test case for the underlying cause.
    This makes it clearer and easier to be understood.
    
    Refs: nodejs#18372
    
    PR-URL: nodejs#18575
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    陈刚 authored and mcollina committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    86c659b View commit details
    Browse the repository at this point in the history
  12. benchmark: improve compare output

    The current output uses JSON.stringify to escape the config values.
    This switches to util.inspect to have a better readable output.
    
    PR-URL: nodejs#18597
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    809af1f View commit details
    Browse the repository at this point in the history
  13. doc: remove **Note:** tags

    Remove the various **Note:** prefixes throughout the docs.
    
    PR-URL: nodejs#18592
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    jasnell authored and apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    d3569b6 View commit details
    Browse the repository at this point in the history
  14. net: remove Socket.prototoype.read

    Unused since 34b535f.
    
    PR-URL: nodejs#18568
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    ef78a1e View commit details
    Browse the repository at this point in the history
  15. test: fix flaky timers-block-eventloop test

    Due to extensive reliance on timings and the fs module, this test
    is currently inherently flaky. Refactor it to simply use setImmediate
    and only one busy loop.
    
    PR-URL: nodejs#18567
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    6963a93 View commit details
    Browse the repository at this point in the history
  16. test: properly tag anonymous namespaces

    For tests that use anonymous namespaces, some tagged the close
    of the namespace with 'namespace' while others used
    'anonymous namespace'. It was suggested I should use
    'anonymous namespace' in a recent PR review so make all of the
    tests consistent with this.
    
    PR-URL: nodejs#18583
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    fe442f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. doc: fix description of createDecipheriv

    PR-URL: nodejs#18651
    Refs: nodejs#12223
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    tniessen committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    4927d94 View commit details
    Browse the repository at this point in the history
  2. doc: add missing meta for createCipheriv

    PR-URL: nodejs#18651
    Refs: nodejs#8281
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    tniessen committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    95a35bc View commit details
    Browse the repository at this point in the history
  3. process: use linked reusable queue for ticks

    PR-URL: nodejs#18617
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    mafintosh authored and mcollina committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    240f9a2 View commit details
    Browse the repository at this point in the history
  4. benchmark: add stream.pipe benchmarks

    PR-URL: nodejs#18617
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    mafintosh authored and mcollina committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    da97a47 View commit details
    Browse the repository at this point in the history
  5. domain: runtime deprecate MakeCallback

    Users of MakeCallback that adds the domain property to carry context,
    should start using the async_context variant of MakeCallback or the
    AsyncResource class.
    
    PR-URL: nodejs#17417
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    AndreasMadsen committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    14bc3e2 View commit details
    Browse the repository at this point in the history
  6. assert: fix throws trace

    The current stack trace thrown in case `assert.throws(fn, object)`
    is used did not filter the stack trace. This fixes it.
    
    PR-URL: nodejs#18595
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    BridgeAR authored and apapirovski committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    cccddc5 View commit details
    Browse the repository at this point in the history
  7. doc: fix links in YAML metadata of assert.md

    PR-URL: nodejs#18670
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    8e70811 View commit details
    Browse the repository at this point in the history
  8. doc: add devsnek to collaborators

    PR-URL: nodejs#18679
    Fixes: nodejs#18544
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    devsnek committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    eacc88c View commit details
    Browse the repository at this point in the history
  9. doc: fix arg definition in fs

    Currently doc building doesn't support ES-style default params in
    function definitions which causes an error.
    
    PR-URL: nodejs#18678
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    apapirovski committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    dbd1d1d View commit details
    Browse the repository at this point in the history
  10. http2: add req and res options to server creation

    Add optional Http2ServerRequest and Http2ServerResponse options
    to createServer and createSecureServer. Allows custom req & res
    classes that extend the default ones to be used without
    overriding the prototype.
    
    PR-URL: nodejs#15560
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Peter Marton authored and apapirovski committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    e5f101f View commit details
    Browse the repository at this point in the history
  11. timers: refactor timer list processing

    Instead of using kOnTimeout index to track a special list
    processing function, just pass in a function to C++ at
    startup that executes all handles and determines which
    function to call.
    
    This change improves the performance of unpooled timeouts
    by roughly 20%, as well as makes the unref/ref processing
    easier to follow.
    
    PR-URL: nodejs#18582
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    apapirovski committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    0f9efef View commit details
    Browse the repository at this point in the history
  12. async_hooks: deprecate unsafe emit{Before,After}

    The emit{Before,After} APIs in AsyncResource are problematic.
    
    * emit{Before,After} are named to suggest that the only thing they do
      is emit the before and after hooks. However, they in fact, mutate
      the current execution context.
    * They must be properly nested. Failure to do so by user code leads
      to catastrophic (unrecoverable) exceptions. It is very easy for the
      users to forget that they must be using a try/finally block around
      the code that must be surrounded by these operations. Even the
      example provided in the official docs makes this mistake. Failing
      to use a finally can lead to a catastrophic crash if the callback
      ends up throwing.
    
    This change provides a safer `runInAsyncScope` API as an alternative
    and deprecates emit{Before,After}.
    
    PR-URL: nodejs#18513
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    ofrobots committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    523a155 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2018

  1. test: add url type check in Module options

    The code coverage in `root/internal/vm/Module.js` lacked test coverage
    for the url options paramter. The test adds a check to ensure error
    is thrown.
    
    PR-URL: nodejs#18664
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    JiaHerr Tee authored and devsnek committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    edffad0 View commit details
    Browse the repository at this point in the history
  2. doc: fix links to Style Guide and CPP Style Guide

    PR-URL: nodejs#18683
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    justin0022 authored and vsemozhetbyt committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    37c88f0 View commit details
    Browse the repository at this point in the history
  3. test: refactor assert test

    This adds puctiations to the comments, uses a capital letters for
    the first character, removes a few obsolete comments and switches
    to assert.ok when suitable.
    
    It also moves all `assert.deepEqual()` and `assert.deepStrictEqual()`
    tests to the appropriate file.
    
    PR-URL: nodejs#18610
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    9b4aa78 View commit details
    Browse the repository at this point in the history
  4. src: add "icu::" prefix before ICU symbols

    In ICU 61.x, icu4c will no longer put its declarations in the global namespace.
    Everything will be in the "icu::" namespace (or icu_60:: in the linker).
    Prepare for this.
    https://ssl.icu-project.org/trac/ticket/13460
    srl295 committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    b8f47b2 View commit details
    Browse the repository at this point in the history
  5. https: add extra options to Agent#getName()

    Adds the remaining options from tls.createSecureContext() to the
    string generated by Agent#getName(). This allows https.request() to
    accept the options and generate unique sockets appropriately.
    
    PR-URL: nodejs#16402
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    princjef authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    6007a9c View commit details
    Browse the repository at this point in the history
  6. repl: refactor tests to not rely on timing

    Tests relying on synchronous timing have been migrated to use events.
    
    PR-URL: nodejs#17828
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    bmeck authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    de848ac View commit details
    Browse the repository at this point in the history
  7. string_decoder: reimplement in C++

    Implement string decoder in C++. The perks are a decent speed boost
    (for decoding, whereas creation show some performance degradation),
    that this can now be used more easily to add native decoding support
    to C++ streams and (arguably) more readable variable names.
    
    PR-URL: nodejs#18537
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    180af17 View commit details
    Browse the repository at this point in the history
  8. deps,src: align ssize_t ABI between Node & nghttp2

    Previously, we performed casts that are considered undefined behavior.
    Instead, just define `ssize_t` for nghttp2 the same way we define it
    for the rest of Node.
    
    Also, remove a TODO comment that would probably also be *technically*
    correct but shouldn’t matter as long as nobody is complaining.
    
    PR-URL: nodejs#18565
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    93bbe4e View commit details
    Browse the repository at this point in the history
  9. test: convert new tests to use error types

    PR-URL: nodejs#18581
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jackhorton authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    1729af2 View commit details
    Browse the repository at this point in the history
  10. src: resolve issues reported by coverity

    The specific issues raised by Coverity are:
    
    ** CID 182716:  Control flow issues  (DEADCODE)
    /src/node_file.cc: 1192
    >>> CID 182716:  Control flow issues  (DEADCODE)
    >>> Execution cannot reach this statement:
        "args->GetReturnValue().Set(...".
    
    ** CID 182715:  Uninitialized members  (UNINIT_CTOR)
    /src/node_file.h: 29
    >>> CID 182715:  Uninitialized members  (UNINIT_CTOR)
    >>> Non-static class member "syscall_" is not initialized in this
        constructor nor in any functions that it calls.
    
    PR-URL: nodejs#18629
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    2870867 View commit details
    Browse the repository at this point in the history
  11. src: replace var for let / const.

    Replace var for let or const.
    
    PR-URL: nodejs#18649
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Julian Duque <julianduquej@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    estrada9166 authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    df2f4ad View commit details
    Browse the repository at this point in the history
  12. fs: fix stack overflow in fs.readdirSync

    Previously, fs.readdirSync calls the function returned by
    env->push_values_to_array_function() in batch and check the returned
    Maybe right away in C++, which can lead to assertions if the call stack
    already reaches the maximum size. This patch fixes that by returning
    early the call fails so the stack overflow error will be properly
    thrown into JS land.
    
    PR-URL: nodejs#18647
    Fixes: nodejs#18645
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    c5c9515 View commit details
    Browse the repository at this point in the history
  13. test: remove unused using declarations

    PR-URL: nodejs#18637
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    danbev authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    cf52ab1 View commit details
    Browse the repository at this point in the history
  14. crypto: allow passing null as IV unless required

    PR-URL: nodejs#18644
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    38bac42 View commit details
    Browse the repository at this point in the history
  15. doc: add history for url.parse

    PR-URL: nodejs#18685
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    styfle authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    fafd5b0 View commit details
    Browse the repository at this point in the history
  16. doc: fix exporting a function example

    Missing the length argument in napi_create_function.
    
    PR-URL: nodejs#18661
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Aonghus O Nia authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    2bead4b View commit details
    Browse the repository at this point in the history
  17. buffer: simplify check size in assertSize

    PR-URL: nodejs#18665
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Connormiha authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    d1e80e7 View commit details
    Browse the repository at this point in the history
  18. build: no longer have v8-debug.h as dependency.

    Ref: nodejs#18643
    
    PR-URL: nodejs#18677
    Refs: nodejs#18643
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    hashseed authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    4a1a4bf View commit details
    Browse the repository at this point in the history
  19. doc: add error check to fs example

    Previously, the err passed to the callback of fs.open() was not checked.
    
    PR-URL: nodejs#18681
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    evanlucas authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    540cbf8 View commit details
    Browse the repository at this point in the history
  20. test: fix flaky repl-timeout-throw

    Don't disconnect the child until all exceptions are thrown.
    
    Fixes: nodejs#18659
    
    PR-URL: nodejs#18692
    Fixes: nodejs#18659
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and BridgeAR committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    01d0491 View commit details
    Browse the repository at this point in the history
  21. test: formalize exposure of internal bindings

    moves exposed internalBindings to a single location with short
    guidelines on how to expose them and a warning for users should they
    come across it
    
    PR-URL: nodejs#18698
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    devsnek committed Feb 10, 2018
    Configuration menu
    Copy the full SHA
    3e8af96 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2018

  1. doc: mark NAPI_AUTO_LENGTH as code

    PR-URL: nodejs#18697
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    a1bab82 View commit details
    Browse the repository at this point in the history
  2. url: simplify constructor URLSearchParams. Remove needless check null

    PR-URL: nodejs#18700
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Connormiha authored and devsnek committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    316846b View commit details
    Browse the repository at this point in the history
  3. timers: fix enroll deprecation wording

    PR-URL: nodejs#18704
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    apapirovski committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    2aa3e3b View commit details
    Browse the repository at this point in the history
  4. module: use undefined if no main

    If the package.json file does not have a "main" entry, return undefined
    rather than an empty string. This is to make more consistent behavior.
    For example, when package.json is a directory, "main" is undefined
    rather than an empty string.
    
    PR-URL: nodejs#18593
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Trott committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    bd4773a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. async_hooks: rename PromiseWrap.parentId

    Rename the `parentId` property on the PromiseWrap object to a
    `isChainedPromise` property. The former wasn't quite useful as it was
    always defined to be the same value as the trigger id available in the
    init hook. Instead rename the property to be closer to the information
    it communicates: whether the promise is a chained promise or not.
    
    PR-URL: nodejs#18633
    Fixes: nodejs#18470
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    ofrobots committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    9f6a565 View commit details
    Browse the repository at this point in the history
  2. lib: provide proper deprecation code

    Refs: nodejs#18513
    
    PR-URL: nodejs#18694
    Refs: nodejs#18513
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    ba944b1 View commit details
    Browse the repository at this point in the history
  3. tools: fix eslint isRequired

    Currently the call can lead to a TypeError with the message:
    `Cannot read property 'value' of undefined`.
    
    This fixes it by first checking that the first argument is truthy.
    
    PR-URL: nodejs#18729
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    1a5f670 View commit details
    Browse the repository at this point in the history
  4. repl: remove deprecated NODE_REPL_HISTORY_FILE

    PR-URL: nodejs#13876
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    60c9ad7 View commit details
    Browse the repository at this point in the history
  5. Revert "repl: refactor tests to not rely on timing"

    This reverts commit de848ac.
    
    The commit broke multiline repl.
    
    PR-URL: nodejs#18715
    Refs: nodejs#17828
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    1fc373b View commit details
    Browse the repository at this point in the history
  6. assert: fix infinite loop

    In rare cirumstances it is possible to get a identical error diff.
    In such a case the advances diffing runs into a infinite loop.
    This fixes it by properly checking for extra entries.
    
    PR-URL: nodejs#18611
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    656a5d0 View commit details
    Browse the repository at this point in the history
  7. assert: show proper differences

    Right now it is possible to get an AssertionError from input that has
    the customInspect function set to always return the same value.
    
    That way the error message is actually misleading because the output
    is going to look the same. This fixes it by deactivating the custom
    inspect function.
    
    PR-URL: nodejs#18611
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    0cdc877 View commit details
    Browse the repository at this point in the history
  8. http2: use _final instead of on('finish')

    PR-URL: nodejs#18609
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    377cfd6 View commit details
    Browse the repository at this point in the history
  9. fs: make URL paths no longer experimental

    PR-URL: nodejs#18591
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jasnell authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    2287dea View commit details
    Browse the repository at this point in the history
  10. test: add useful info to error msg and refactor

    Add useful info about process.domain to error meesages in the
    uncaughtException event listener and the beforeExit event listener.
    
    Refactor code such as using template literals, and also make sure
    uncaughtException listner is detached after firing once to avoid
    endless loop in case of exception throw in the beforeExit event
    listner.
    
    PR-URL: nodejs#18541
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    chinhuang007 authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    c3ff899 View commit details
    Browse the repository at this point in the history
  11. test: fix and improve error message

    Add unexpected value to dgram socket type assertion and fix the size
    entry.
    
    PR-URL: nodejs#18449
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kcaulfield94 authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    18e7284 View commit details
    Browse the repository at this point in the history
  12. test: fix missing param in benchmark-timers

    PR-URL: nodejs#18734
    Fixes: nodejs#18730
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    apapirovski authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    a27e443 View commit details
    Browse the repository at this point in the history
  13. doc: add mmarchini to collaborators

    PR-URL: nodejs#18740
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Matheus Marchini committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    3d53848 View commit details
    Browse the repository at this point in the history
  14. path: replace "magic" numbers by readable constants

    PR-URL: nodejs#18654
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    daynin authored and BridgeAR committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    6abce37 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. deps: patch V8 to 6.4.388.44

    PR-URL: nodejs#18687
    Refs: v8/v8@6.4.388.42...6.4.388.44
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    MylesBorins committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    b6000d8 View commit details
    Browse the repository at this point in the history
  2. string_decoder: fix regressions

    There are libraries which invoke StringDecoder using .call and
    .inherits, which directly conflicts with making StringDecoder
    be a class which can only be invoked with the new keyword.
    Revert to declaring it as a function.
    
    StringDecoder#lastNeed was not defined, redefine it using
    the new interface and fix StringDecoder#lastTotal.
    
    PR-URL: nodejs#18723
    Refs: nodejs#18537
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    apapirovski committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    e782715 View commit details
    Browse the repository at this point in the history
  3. 2018-01-13, Version 6.13.0 'Boron' (LTS)

    This LTS release comes with 112 commits, 17 of which are considered
    Semver-Minor. This includes 32 which are doc related, 30 which are test
    related, 8 which are build / tool related and 1 commit which updates
    a dependency.
    
    Notable Changes:
    
    * console:
      - added console.count() and console.clear() (James M Snell)
        nodejs#12678
    * crypto:
      - expose ECDH class (Bryan English)
        nodejs#8188
      - added cypto.randomFill() and crypto.randomFillSync() (Evan Lucas)
        nodejs#10209
      - warn on invalid authentication tag length (Tobias Nießen)
        nodejs#17566
    * deps:
      - upgrade libuv to 1.16.1 (cjihrig)
        nodejs#16835
    * dgram:
      - added socket.setMulticastInterface() (Will Young)
        nodejs#7855
    * http:
      - add agent.keepSocketAlive and agent.reuseSocket as to allow
        overridable keep-alive behavior of `Agent` (Fedor Indutny)
        nodejs#13005
    * lib:
      - return this from net.Socket.end() (Sam Roberts)
        nodejs#13481
    * module:
      - add builtinModules api that provides list of all builtin modules in
        Node (Jon Moss)
        nodejs#16386
    * net:
      - return this from getConnections() (Sam Roberts)
        nodejs#13553
    * promises:
      - more robust stringification for unhandled rejections (Timothy Gu)
        nodejs#13784
    * repl:
      - improve require() autocompletion (Alexey Orlenko)
        nodejs#14409
    * src:
      - add openssl-system-ca-path configure option (Daniel Bevenius)
        nodejs#16790
      - add --use-bundled-ca --use-openssl-ca check (Daniel Bevenius)
        nodejs#12087
      - add process.ppid (cjihrig)
        nodejs#16839
    * tls:
      - accept `lookup` option for `tls.connect()` (Fedor Indutny)
        nodejs#12839
    * tools, build:
      - a new macOS installer! (JP Wesselink)
        nodejs#15179
    * url:
      - WHATWG URL api support (James M Snell)
        nodejs#7448
    * util:
      - add %i and %f formatting specifiers (Roman Reiss)
        nodejs#10308
    
    PR-URL: nodejs#18342
    MylesBorins committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    60e612d View commit details
    Browse the repository at this point in the history
  4. doc: make linter happy

    This was not caught by the linter because the release commit
    for 6.13.0 came from a different branch, where we don’t apply it
    like we do on the main branch.
    
    Example failure: https://ci.nodejs.org/job/node-test-linter/16132/console
    
    PR-URL: nodejs#18769
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    addaleax committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    80ac941 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. test: add crypto check to test-benchmark-tls

    Currently when building --without-ssl a 'ERR_NO_CRYPTO' error is
    reported.
    
    This is not currently being picked up by the crypto-check lint rule as
    it does not actually require any crypto modules directly, but instead
    this is done by common/benchmark.
    
    PR-URL: nodejs#18724
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    e9ba0cf View commit details
    Browse the repository at this point in the history
  2. src: do not redefine private for GenDebugSymbols

    Redefining private breaks any private inheritance in the
    included files. We can simply declare GenDebugSymbols()
    as friends in related classes to gain the access that we need.
    
    PR-URL: nodejs#18653
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    18d23aa View commit details
    Browse the repository at this point in the history
  3. fs: extract binding error handling into a helper

    PR-URL: nodejs#18642
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    b2e20b0 View commit details
    Browse the repository at this point in the history
  4. tls_wrap: use DoTryWrite()

    Use `DoTryWrite()` to write data to the underlying socket.
    This does probably not make any difference in performance
    because the callback is still deferred (for now), but
    brings TLSWrap in line with other things that write to
    streams.
    
    PR-URL: nodejs#18676
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    82c43ae View commit details
    Browse the repository at this point in the history
  5. src: only set JSStreamWrap write req after write()

    Otherwise `this[kCurrentWriteRequest]` is set to a value even
    if one of the `write` calls throws.
    
    This is needed in order not to break tests in a later commit.
    
    PR-URL: nodejs#18676
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    e1271c0 View commit details
    Browse the repository at this point in the history
  6. test: make sure WriteWrap tests are actually async

    PR-URL: nodejs#18676
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    0ed9ea8 View commit details
    Browse the repository at this point in the history
  7. src: refactor WriteWrap and ShutdownWraps

    Encapsulate stream requests more:
    
    - `WriteWrap` and `ShutdownWrap` classes are now tailored to the
      streams on which they are used. In particular, for most streams
      these are now plain `AsyncWrap`s and do not carry the overhead
      of unused libuv request data.
    - Provide generic `Write()` and `Shutdown()` methods that wrap
      around the actual implementations, and make *usage* of streams
      easier, rather than implementing; for example, wrap objects
      don’t need to be provided by callers anymore.
    - Use `EmitAfterWrite()` and `EmitAfterShutdown()` handlers to
      call the corresponding JS handlers, rather than always trying
      to call them. This makes usage of streams by other C++ code
      easier and leaner.
    
    Also fix up some tests that were previously not actually testing
    asynchronicity when the comments indicated that they would.
    
    PR-URL: nodejs#18676
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    0e7b612 View commit details
    Browse the repository at this point in the history
  8. module: support main w/o extension, pjson cache

    This adds support for ensuring that the top-level main into Node is
    supported loading when it has no extension for backwards-compat with
    NodeJS bin workflows.
    
    In addition package.json caching is implemented in the module lookup
    process.
    
    PR-URL: nodejs#18728
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    guybedford committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    f1fc426 View commit details
    Browse the repository at this point in the history
  9. test: remove unnecessary timer

    The timer in NAPI's test_callback_scope/test-resolve-async.js
    can be removed. If the test fails, it will timeout on its own.
    The extra timer increases the chances of the test being
    flaky.
    
    PR-URL: nodejs#18719
    Fixes: nodejs#18702
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    755e07c View commit details
    Browse the repository at this point in the history
  10. test: add multiline repl input regression test

    This commit adds a regression test for
    de848ac, which broke
    multiline input in the REPL.
    
    PR-URL: nodejs#18718
    Refs: nodejs#17828
    Refs: nodejs#18715
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    92c86fd View commit details
    Browse the repository at this point in the history
  11. doc: move Fedor to TSC Emeritus

    In a conversation Fedor requested that this PR be made. They plan
    to continue working on core as a Collaborator. It is this committers
    belief that if Fedor would like to join the TSC again in the future
    there is no reason that could not be made possible.
    
    Thanks for all the hard work!
    
    PR-URL: nodejs#18752
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    MylesBorins authored and jasnell committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    7dffabb View commit details
    Browse the repository at this point in the history
  12. src: update trace event macros to v8 6.4 version

    PR-URL: nodejs#17640
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    kjin authored and jasnell committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    d8ec49e View commit details
    Browse the repository at this point in the history
  13. doc: update crypo Certficate class.

    Update the dead link to <keygen> documentation.
    Add a link to mozilla developper documentation because
    W3C deleted the reference to this element.
    
    Add a note to inform <keygen> element is deprecated since HTML 5.2.
    
    PR-URL: nodejs#18721
    Fixes: nodejs#18662
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    antoine-amara authored and vsemozhetbyt committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    138bdf6 View commit details
    Browse the repository at this point in the history
  14. fs: fix typo in promises.lchmod & lchown

    PR-URL: nodejs#18783
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Sho Miyamoto authored and vsemozhetbyt committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    28dc56d View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2018

  1. build,win: replace run-python subroutine with single find_python call

    A subroutine does not work as a replacement for the `python` command
    since one cannot use a subroutine call in a `for /F` loop.
    
    PR-URL: nodejs#18621
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    seishun authored and bzoz committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    cfad441 View commit details
    Browse the repository at this point in the history
  2. http: process 100, 102-199 according to specs.

    Adding ServerResponse.writeProcessing to send 102 status codes.
    
    Added an `'information'` event to ClientRequest to handle
    1xx status codes except 101 Upgrade.
    101 Upgrade is excluded due to its non-informational
    processing according to RFC7231, Section 6.2.2.
    
    This affects several modules downstream that use the http
    module, e.g., node-fetch, all of whom violate HTTP RFCs
    due to this module. As such, this could introduce a
    breaking change for downstream if HTTP standards were
    ignored in an ad-hoc fashion.
    
    See also RFC2518 RFC8297.
    
    PR-URL: nodejs#18033
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    miles-po authored and mcollina committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    baf8495 View commit details
    Browse the repository at this point in the history
  3. stream: readable continues to read when push('')

    PR-URL: nodejs#18211
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    陈刚 authored and mcollina committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    faeee11 View commit details
    Browse the repository at this point in the history
  4. src: use non-deprecated V8 microtasks API

    SetAutorunMicrotasks is deprecated and a warning will be emitted
    starting from V8 6.5. Use the non-deprecated SetMicrotasksPolicy API
    instead.
    
    PR-URL: nodejs#18753
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yang Guo <yangguo@chromium.org>
    targos committed Feb 15, 2018
    Configuration menu
    Copy the full SHA
    a16081c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. module: remove unused code in module.js

    Remove unnecessary condition in lib/module.js.
    
    Refs: nodejs#18593 (comment)
    
    PR-URL: nodejs#18768
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    3b9cc42 View commit details
    Browse the repository at this point in the history
  2. src: deprecate legacy node::MakeCallback

    The legacy MakeCallback functions do not provide a mechanism to
    propagate async context. This means that any native modules using these
    directly is likely breaking async debugging & tracing tools. For
    example it is possible that such a module will cause incorrect async
    stack traces to be reported (even when the module is not on the stack).
    
    The new MakeCallback allow the user to specify the async context in
    which the callback is to be executed.
    
    Ref: nodejs#13254
    PR-URL: nodejs#18632
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    ofrobots committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    efb3259 View commit details
    Browse the repository at this point in the history
  3. src: set thread local env in CreateEnvironment

    This commit set the Environment as a thread local when CreateEnvironment
    is called which is currently not being done. This would lead to a
    segment fault if later node::AtExit is called without specifying the
    environment parameter. This specific issue was reported by Electron.
    
    If I recall correctly, back when this was implemented the motivation was
    that if embedders have multiple environments per isolate they should be
    using the AtExit functions that take an environment. This is not the
    case with Electron which only create a single environment (as far as I
    know), and if a native module calls AtExit this would lead to the
    segment fault.
    
    I was able to reproduce Electron issue and the provided test simulates
    it. I was also able to use this patch and verify that it works for the
    Electron issue as well.
    
    PR-URL: nodejs#18573
    Refs: nodejs#9163
    Refs: electron/electron#11299
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    danbev committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    42c14c5 View commit details
    Browse the repository at this point in the history
  4. doc: update buffer examples

    Move the print statements below a console.log call.
    
    PR-URL: nodejs#18758
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    759a083 View commit details
    Browse the repository at this point in the history
  5. fs: replace magic numbers by named constants

    PR-URL: nodejs#18757
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    daynin authored and Matheus Marchini committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    d8d84ee View commit details
    Browse the repository at this point in the history
  6. tools: enable no-unsafe-finally

    This enables the `no-unsafe-finally` eslint rule to make sure we
    have a proper control flow in try / catch.
    
    PR-URL: nodejs#18745
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    4d3c3f0 View commit details
    Browse the repository at this point in the history
  7. test: remove assert.doesNotThrow()

    There is actually no reason to use `assert.doesNotThrow()` in the
    tests. If a test throws, just let the error bubble up right away
    instead of first catching it and then rethrowing it.
    
    PR-URL: nodejs#18669
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    caee112 View commit details
    Browse the repository at this point in the history
  8. test: minor refactoring

    Add punctuation and comments about code that should not throw.
    Also remove a obsolete test and refactor some tests.
    
    PR-URL: nodejs#18669
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    644fdd6 View commit details
    Browse the repository at this point in the history
  9. tools: add assert.doesNotThrow eslint rule

    Prohibit the usage of `assert.doesNotThrow()`.
    
    PR-URL: nodejs#18669
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    15bb843 View commit details
    Browse the repository at this point in the history
  10. doc: fix deprecation number

    PR-URL: nodejs#18818
    Refs: nodejs@efb3259
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    1bd3208 View commit details
    Browse the repository at this point in the history
  11. process: deprecate process.assert()

    This was never documented and the `assert` module should be used
    instead.
    
    PR-URL: nodejs#18666
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    703e37c View commit details
    Browse the repository at this point in the history
  12. fs: use Persistent::Reset() for resetting handles

    PR-URL: nodejs#18650
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    3e1e450 View commit details
    Browse the repository at this point in the history
  13. test: add lib path env when node_shared=true

    When building the node with `--shared` option, the major output is the
    shared library. However, we still build a node executable which links
    to the shared lib. It's for testing purpose. When testing with the
    executable, some test cases move/copy the executable, change the
    relative path to the shared library and fail. Using lib path env would
    solve the issue. However, in macOS, need to change the install name for
    the shared library and use rpath in the executable. In AIX, `-brtl`
    linker option rebinds the symbols in the executable and addon modules
    could use them.
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    PR-URL: nodejs#18626
    Refs: nodejs#18535
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    yhwang authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    ec9e792 View commit details
    Browse the repository at this point in the history
  14. lib,src: audit process.env in lib/ for setuid binary

    Wrap SafeGetenv() in util binding with the purpose of protecting
    the cases when env vars are accessed with the privileges of another
    user in jsland.
    
    PR-URL: nodejs#18511
    Fixes: nodejs#9160
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    j0t3x authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    916cfec View commit details
    Browse the repository at this point in the history
  15. lib: set process.execPath on OpenBSD

    PR-URL: nodejs#18543
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    qbit authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    bd4350c View commit details
    Browse the repository at this point in the history
  16. test: update a few tests to work on OpenBSD

    PR-URL: nodejs#18543
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    qbit authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    ef0e92e View commit details
    Browse the repository at this point in the history
  17. buffer: remove obsolete NaN check

    These two NaN entries are not necessary and we can safely remove them.
    
    PR-URL: nodejs#18744
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    43b8ce4 View commit details
    Browse the repository at this point in the history
  18. lib: switch to Number.isNaN

    Number.isNaN is now as fast as `val !== val`. Switch to the more
    readable version. Also switch all `isNaN` to `Number.isNaN`.
    
    PR-URL: nodejs#18744
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    96c57fb View commit details
    Browse the repository at this point in the history
  19. test: wrap countdown callback in common.mustCall

    This adds a implicit common.mustCall to the callback provided to
    the countdown.
    
    PR-URL: nodejs#18506
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Bamieh authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    941bc93 View commit details
    Browse the repository at this point in the history
  20. doc: remove extra space in README.md

    PR-URL: nodejs#18822
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Matheus Marchini committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    f25104e View commit details
    Browse the repository at this point in the history
  21. child_process: fix stdio sockets creation

    `readable` and `writable` properties can be passed directly to the
    `net.Socket` constructor. This change also avoids an unnecessary call
    to `read(0)` on the `stdin` socket. This behavior was disclosed when
    trying to merge `libuv@1.19.0` and specifically this commit:
    libuv/libuv@fd04939.
    
    PR-URL: nodejs#18701
    Refs: libuv/libuv#1655
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    b74a6da View commit details
    Browse the repository at this point in the history
  22. test: try to connect after server was closed

    PR-URL: nodejs#18257
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Leko authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    befe675 View commit details
    Browse the repository at this point in the history
  23. test: reduce benchmark test run time

    The `millions` argument was missing.
    
    PR-URL: nodejs#18787
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    juggernaut451 authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    85893af View commit details
    Browse the repository at this point in the history
  24. test: make tls test more rigorous

    * exit naturally, don't use process.exit()
    * ensure callbacks are actually called
    
    PR-URL: nodejs#18792
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    3c29adb View commit details
    Browse the repository at this point in the history
  25. http: simplify checkInvalidHeaderChar

    In the spirit of [17399](nodejs#17399),
    we can also simplify checkInvalidHeaderChar to use regex matching
    instead of a loop. This makes it faster on long matches and slower
    on short matches or non-matches. This change also includes some
    sample data from an AcmeAir benchmark run, as a rough proxy for
    real-world data.
    
    PR-URL: nodejs#18381
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    sethbrenith authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    862389b View commit details
    Browse the repository at this point in the history
  26. test: refactor of test-tls-over-http-tunnel

    PR-URL: nodejs#18784
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    juggernaut451 authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    2960096 View commit details
    Browse the repository at this point in the history
  27. module: replace magic numbers by constants

    - add new constants
    - replace "magic" numbers in "module" by constants
    
    PR-URL: nodejs#18785
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    daynin authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    c86fe51 View commit details
    Browse the repository at this point in the history
  28. test: refactor parallel/test-tls-addca

    PR-URL: nodejs#18798
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    juggernaut451 authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    181209c View commit details
    Browse the repository at this point in the history
  29. deps: patch V8 to 6.4.388.45

    Refs: v8/v8@6.4.388.44...6.4.388.45
    
    PR-URL: nodejs#18751
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MylesBorins authored and targos committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    36386dc View commit details
    Browse the repository at this point in the history
  30. test,benchmark,doc: enable dot-notation rule

    This enables the eslint dot-notation rule for all code instead of
    only in /lib.
    
    PR-URL: nodejs#18749
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    463d1a4 View commit details
    Browse the repository at this point in the history
  31. doc: fix a typo in util.isDeepStrictEqual

    PR-URL: nodejs#18775
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Sho Miyamoto authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    ff471da View commit details
    Browse the repository at this point in the history
  32. doc: add missing Returns in fs & util

    PR-URL: nodejs#18775
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Sho Miyamoto authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    9a18b0e View commit details
    Browse the repository at this point in the history
  33. doc: note that linting is required in releases.md

    Refs: nodejs#18769
    
    PR-URL: nodejs#18776
    Refs: nodejs#18769
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gibfahn authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    61e3e6d View commit details
    Browse the repository at this point in the history
  34. module: fix main lookup regression from nodejs#18728

    PR-URL: nodejs#18788
    Refs: nodejs#18728
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    guybedford authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    7748865 View commit details
    Browse the repository at this point in the history
  35. async_hooks: clean up usage in internal code

    Instead of exposing internals of async_hooks & async_wrap throughout
    the code base, create necessary helper methods within the internal
    async_hooks that allows easy usage by Node.js internals. This stops
    every single internal user of async_hooks from importing a ton of
    functions, constants and internal Aliased Buffers from C++ async_wrap.
    
    Adds functions initHooksExist, afterHooksExist, and destroyHooksExist
    to determine whether the related emit methods need to be triggered.
    
    Adds clearDefaultTriggerAsyncId and clearAsyncIdStack on the JS side
    as an alternative to always calling C++.
    
    Moves async_id_symbol and trigger_async_id_symbol to internal
    async_hooks as they are never used in C++.
    
    Renames newUid to newAsyncId for added clarity of its purpose.
    
    Adjusts usage throughout the codebase, as well as in a couple of tests.
    
    PR-URL: nodejs#18720
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    apapirovski committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    e9ac80b View commit details
    Browse the repository at this point in the history
  36. doc: activate no-multiple-empty-lines rule

    This enables the `no-multiple-empty-lines` eslint rule for the docs.
    
    PR-URL: nodejs#18747
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    69f7ce9 View commit details
    Browse the repository at this point in the history
  37. test: fix unrelated variable name changes

    PR-URL: nodejs#18823
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    94e8d2a View commit details
    Browse the repository at this point in the history
  38. doc: add fs declarations to stream doc js examples

    PR-URL: nodejs#18804
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    prog1dev authored and vsemozhetbyt committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    755d805 View commit details
    Browse the repository at this point in the history
  39. doc: warn against concurrent http2stream.respondWithFD

    Upcoming changes to move away from synchronous I/O on the main
    thread will imply that using the same file descriptor to
    respond on multiple HTTP/2 streams at the same time is invalid,
    because at least on Windows `uv_fs_read()` is race-y.
    
    Therefore, warn against such usage.
    
    PR-URL: nodejs#18762
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and jasnell committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    cbe6d5c View commit details
    Browse the repository at this point in the history
  40. src: changing node_file's usage of v8::Resolver

    node_file was casting back and forth between v8::Resolver and
    v8::Promise. This is unnecessary; most of the time it just wants the
    v8::Resolver, converting to the v8::Promise only as a return value.
    
    PR-URL: nodejs#18765
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    MSLaguana authored and kfarnung committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    197258b View commit details
    Browse the repository at this point in the history
  41. test: fix warnings in addon tests

    The legacy MakeCallback deprecation was resulting in compile time
    warnings in adddon tests. Fix them.
    
    Ref: nodejs#18632
    
    PR-URL: nodejs#18810
    Refs: nodejs#18632
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    ofrobots authored and jasnell committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    6ab288f View commit details
    Browse the repository at this point in the history
  42. test: add common.skipIfEslintMissing

    We've added a number of tests that hook into ESLint which can error
    when running the test suite with the distributed tarball. This PR
    adds a new test helper `common.skipIfEslintMissing` and will skip
    remaining tests in a file when `ESLint` is not available at
    `tools/node_modules/eslint`
    
    PR-URL: nodejs#18807
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins authored and jasnell committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    1fd6987 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2018

  1. test: refactor parallel/test-tls-0-dns-altname

    PR-URL: nodejs#18803
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juggernaut451 authored and jasnell committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    760f86c View commit details
    Browse the repository at this point in the history
  2. doc: add Yihong Wang to collaborators

    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    PR-URL: nodejs#18824
    Refs: nodejs#18533
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    yhwang committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    6c9774f View commit details
    Browse the repository at this point in the history
  3. fs: move utility functions to internal/fs

    PR-URL: nodejs#18777
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    targos committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    2620358 View commit details
    Browse the repository at this point in the history
  4. fs: move fs.promises API to fs/promises

    PR-URL: nodejs#18777
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    targos committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    513d939 View commit details
    Browse the repository at this point in the history
  5. tools, test: fix prof polyfill readline

    `node --prof foo.js` may not print the full profile log file, leaving
    the last line broken (for example `tick,`. When that happens, `readline`
    will be stuck in an infinite loop. This patch fixes it.
    
    Also introduced `common.isCPPSymbolsNotMapped` to avoid duplicated code
    on tick-processor tests.
    
    PR-URL: nodejs#18641
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    killagu authored and Matheus Marchini committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    38f04d4 View commit details
    Browse the repository at this point in the history
  6. lib: replace eval with vm.runInThisContext

    PR-URL: nodejs#18623
    Refs: nodejs#18212 (review)
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    99d693d View commit details
    Browse the repository at this point in the history
  7. net: simplify net.Socket#end()

    `writable` is already set by the streams side, and
    there is a handler waiting for the writable side to finish
    which already takes care of the other cleanup code that
    was previously there; both of these things can therefore be removed.
    
    PR-URL: nodejs#18708
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    590eace View commit details
    Browse the repository at this point in the history
  8. path: replace duplicate conditions by functions

    It will also remove useless "code" variables by inlining
    path.charCodeAt.
    
    PR-URL: nodejs#18693
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    daynin authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    b404aa5 View commit details
    Browse the repository at this point in the history
  9. test: stdio pipe behavior tests

    Add two regression tests for stdio over pipes.
    
    test-stdio-pipe-access tests if accessing stdio pipe that is being read
    by another process does not deadlocks Node.js. This was reported in
    nodejs#10836 and was fixed in v8.3.0.
    The deadlock would happen intermittently, so we run the test 5 times.
    
    test-stdio-pipe-redirect tests if redirecting one child process stdin to
    another process stdout does not crash Node as reported in
    nodejs#17493. It was fixed in
    nodejs#18019.
    
    PR-URL: nodejs#18614
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    1bda746 View commit details
    Browse the repository at this point in the history
  10. doc: fix minor typos in GOVERNANCE.md

    PR-URL: nodejs#18829
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    2fbe15b View commit details
    Browse the repository at this point in the history
  11. deps: patch V8 to 6.4.388.46

    PR-URL: nodejs#18827
    Refs: v8/v8@6.4.388.45...6.4.388.46
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    MylesBorins authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    8123232 View commit details
    Browse the repository at this point in the history
  12. test: refactor stream-*-constructor-set-methods

    - Use `common.mustCall()` to ensure that callbacks are called.
    - Remove no longer needed variables.
    - Remove unnecessary `process.on('exit')` usage.
    
    PR-URL: nodejs#18817
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    lpinca authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    33103e9 View commit details
    Browse the repository at this point in the history
  13. doc: mark accessing IPC channel fd as undefined

    Adds note that accessing the fd of the IPC channel in any other way
    than process.send, or using the IPC channel with child processes that
    is not Node.js is not supported.
    
    PR-URL: nodejs#17545
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bzoz authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    ea1a076 View commit details
    Browse the repository at this point in the history
  14. doc: refactor manpage to use mdoc(7) macros

    Like man(7), mdoc(7) is a macro package for marking up computer manuals.
    The main difference is that mdoc is semantic rather than presentational,
    providing authors with a full DSL to abstract page markup from low-level
    Roff commands. By contrast, `man` is minimalist and leaves formatting to
    the author, who is expected to have a working amount of Roff knowledge.
    
    Therefore the use of `mdoc` for marking up Node's manpage is a decidedly
    better choice than bare `man`. Less room is left for error and mandoc(1)
    offers very robust error-checking and linting.
    
    PR-URL: nodejs#18559
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Alhadis authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    ef7f5a1 View commit details
    Browse the repository at this point in the history
  15. test: refactor parallel/test-tls-pause

    Use arrow functions and common.mustCall() and add a description.
    
    PR-URL: nodejs#18714
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    juggernaut451 authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    c9b42c4 View commit details
    Browse the repository at this point in the history
  16. lib: allow process kill by signal number

    This brings the behaviour in line with the documentation.
    
    PR-URL: nodejs#16944
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    7ca4ca8 View commit details
    Browse the repository at this point in the history
  17. tools: auto fix custom crypto-check eslint rule

    1. Fixer for crypto-check.js
    2. Extends tests
    
    PR-URL: nodejs#16647
    Refs: nodejs#16636
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    shobhitchittora authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    f242d4b View commit details
    Browse the repository at this point in the history
  18. tools: custom eslint autofix for inspector-check.js

    1. Adds fixer method
    2. Extends test
    
    PR-URL: nodejs#16646
    Refs: nodejs#16636
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shobhitchittora authored and BridgeAR committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    5156342 View commit details
    Browse the repository at this point in the history
  19. fs: remove useless comments which duplicate names of variables

    PR-URL: nodejs#18739
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    daynin authored and Matheus Marchini committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    472cde6 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. fs: fix potential segfault in async calls

    When the async uv_fs_* call errors out synchronously in AsyncDestCall,
    the after callbacks (e.g. AfterNoArgs) would delete the req_wrap
    in FSReqAfterScope, and AsyncDestCall would set those req_wrap to
    nullptr afterwards. But when it returns to the top-layer bindings,
    the bindings all call `req_wrap->SetReturnValue()` again without
    checking if `req_wrap` is nullptr, causing a segfault.
    
    This has not been caught in any of the tests because we usually do a
    lot of argument checking in the JS layer before invoking the uv_fs_*
    functions, so it's rare to get a synchronous error from them.
    
    Currently we never need the binding to return the wrap to JS layer,
    so we can just call `req_wrap->SetReturnValue()` to return undefined
    for normal FSReqWrap and the promise for FSReqPromise in AsyncDestCall
    instead of doing this in the top-level bindings.
    
    PR-URL: nodejs#18811
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    12412ef View commit details
    Browse the repository at this point in the history
  2. src: add nullptr check for session in DEBUG macro

    Currenlty when configuring --debug-http2
    /test/parallel/test-http2-getpackedsettings.js will segment fault:
    
    $ out/Debug/node test/parallel/test-http2-getpackedsettings.js
    Segmentation fault: 11
    
    This is happening because the settings is created with the Environment in
    PackSettings:
    Http2Session::Http2Settings settings(env);
    This will cause the session to be set to nullptr. When the init
    function is later called the expanded DEBUG_HTTP2SESSION macro will
    cause the segment fault when the session is dereferenced.
    
    PR-URL: nodejs#18815
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    e91ea21 View commit details
    Browse the repository at this point in the history
  3. stream: writable.end should return this.

    PR-URL: nodejs#18780
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mcollina committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    f6721c2 View commit details
    Browse the repository at this point in the history
  4. http: OutgoingMessage.end() should return this

    PR-URL: nodejs#18780
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mcollina committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    8118da7 View commit details
    Browse the repository at this point in the history
  5. http2: make response.end() return this

    PR-URL: nodejs#18780
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mcollina committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    3d93f39 View commit details
    Browse the repository at this point in the history
  6. build: add node_lib_target_name to cctest deps

    Currently the cctest target depend on the node_core_target_name
    target. But it is the node_lib_target_name target that compiles the
    sources now which means that if a source file in src is updated the
    cctest executable will not be re-linked against it, but will remain
    unchanged. The code will still be compiled, just not linked which
    means that if you are debugging you'll not see the changes and also a
    warning will be displayed about this issue.
    
    This commit changes the cctest target to depend on node_lib_target_name.
    
    PR-URL: nodejs#18576
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    30f89df View commit details
    Browse the repository at this point in the history
  7. timers: add helper fn for async init

    There are currently 3 places in Timers where the exact same code
    appears. Instead create a helper function that does the same job
    of setting asyncId & triggerAsyncId, as well as calling emitInit.
    
    PR-URL: nodejs#18825
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    apapirovski committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    28f3ffb View commit details
    Browse the repository at this point in the history
  8. tls: tls_wrap causes debug assert in vector

    When using a debug build (on Windows specifically) the error case for
    tls_wrap causes an assert to fire because the index being passed is
    outside the bounds of the vector.
    
    The fix is to switch to iterators.
    
    PR-URL: nodejs#18830
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    kfarnung committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    de0ed84 View commit details
    Browse the repository at this point in the history
  9. doc: fix typo in http2.md

    PR-URL: nodejs#18872
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    vsemozhetbyt committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    469036a View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. doc: fix broken link in pull-requests.md

    PR-URL: nodejs#18873
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    justin0022 authored and vsemozhetbyt committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    2caa1f5 View commit details
    Browse the repository at this point in the history
  2. doc: improved documentation for fs.unlink()

    Refs: nodejs#11135
    
    PR-URL: nodejs#18843
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    dustinnewman authored and Matheus Marchini committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    e83adf8 View commit details
    Browse the repository at this point in the history
  3. test: http2 client operations after destroy

    PR-URL: nodejs#18845
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    trivikr authored and jasnell committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    808c058 View commit details
    Browse the repository at this point in the history
  4. test: http2 client ping errors

    PR-URL: nodejs#18849
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    trivikr authored and jasnell committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    1e57a8d View commit details
    Browse the repository at this point in the history
  5. test: http2 client settings invalid callback

    PR-URL: nodejs#18850
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    trivikr authored and jasnell committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    0089860 View commit details
    Browse the repository at this point in the history
  6. test: move getTTYfd() to common helpers

    This utility is fairly generic and likely useful for more than one test.
    
    PR-URL: nodejs#18800
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Fishrock123 committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    92bf249 View commit details
    Browse the repository at this point in the history
  7. test: actually test tty getColorDepth()

    TTY tests should almost never be placed in `/parallel/`. Skipping TTY
    tests there due to missing tty fds just means they will never be run,
    ever, on any system.
    
    This moves the tty-get-color-depth test to `/pseudo-tty/` where the test
    runner will actually make a pty fd.
    
    Refs: nodejs#17615
    PR-URL: nodejs#18800
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Fishrock123 committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    7514eb3 View commit details
    Browse the repository at this point in the history
  8. lint: move eslint to new plugin system

    PR-URL: nodejs#18566
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    devsnek committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    6934792 View commit details
    Browse the repository at this point in the history
  9. doc: fix nits in tools/doc/README.md

    * Sync format schemes with the current doc state.
    * Lowercase primitive types.
    * Fix typos and unify the style.
    * Remove tautological info.
    
    PR-URL: nodejs#18874
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    vsemozhetbyt committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    d28edf9 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. doc: update onboarding.md for faster exercise completion

    Note that the CI run for the exercise can be minimal.
    
    PR-URL: nodejs#18846
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    1b83a9d View commit details
    Browse the repository at this point in the history
  2. doc: fix minor grammar/typographical issues in onboarding.md

    PR-URL: nodejs#18847
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Trott committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    e53275d View commit details
    Browse the repository at this point in the history
  3. build: add cmake support

    bnoordhuis committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    6da9315 View commit details
    Browse the repository at this point in the history
  4. tools: print iculslocs error messages to stderr

    Don't print them to stdout because stdout gets redirected to file.
    
    Errors were effectively being swallowed since said file was deleted
    afterwards.
    bnoordhuis committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    fc1b2c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    726ba1c View commit details
    Browse the repository at this point in the history