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

(v6.x backport)src: add --use-bundled-ca --use-openssl-ca check #14834

Closed

Commits on Aug 14, 2017

  1. test: add common.noop, default for common.mustCall()

    Export a new common.noop no-operation function for general use.
    Allow using common.mustCall() without a fn argument to simplify
    test cases.
    
    Replace various non-op functions throughout tests with common.noop
    
    PR-URL: nodejs#12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3edd272 View commit details
    Browse the repository at this point in the history
  2. tools: add rule prefering common.mustNotCall()

    Prefer using `common.mustNotCall()` over `common.mustCall(fn, 0)`
    
    PR-URL: nodejs#12027
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    jasnell authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2d96b01 View commit details
    Browse the repository at this point in the history
  3. test: add mustCallAtLeast

    PR-URL: nodejs#12935
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ce86b8e View commit details
    Browse the repository at this point in the history
  4. test: harden test-dgram-bind-shared-ports

    * add `mustCall` and `mustNotCall` to all callbacks
    * added `known_issue` for port binding
    
    Backport-PR-URL: nodejs#14327
    PR-URL: nodejs#13100
    Refs: nodejs#13055
    Refs: nodejs#12999
    Refs: nodejs#13526
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    189dc42 View commit details
    Browse the repository at this point in the history
  5. dns: fix resolve failed starts without network

    Fix the bug that you start process without network at first, but it
    connected lately, `dns.resolve` will stay failed with ECONNREFUSED
    because c-ares servers fallback to 127.0.0.1 at the very beginning.
    
    If c-ares servers "127.0.0.1" is detected and its not set by user self,
    and last query is not OK, recreating `ares_channel` operation will be
    triggered to reload servers.
    
    Fixes: nodejs#1644
    Backport-PR-URL: nodejs#14434
    PR-URL: nodejs#13076
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    XadillaX authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    a28f7a2 View commit details
    Browse the repository at this point in the history
  6. src: supply missing comments for CLI options

    A few of the CLI option values exposed as properties on the process
    object were missing a comment, fix this.
    
    Backport-PR-URL: nodejs#14483
    PR-URL: nodejs#12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    cb3b866 View commit details
    Browse the repository at this point in the history
  7. src: use option parser for expose_internals

    bootstrap_node.js was directly parsing process.execArgv to see if
    internals should be exposed, even though the argv was already parsed by
    node. This is unusual and unnecessary, change it to set the option value
    from the parser onto the config binding.
    
    Backport-PR-URL: nodejs#14483
    PR-URL: nodejs#12245
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    1576c09 View commit details
    Browse the repository at this point in the history
  8. test: mark test-fs-read-buffer-to-string-fail as flaky

    PR-URL: nodejs#14495
    Fixes: nodejs#14430
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Jeyanthinath authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ee98df8 View commit details
    Browse the repository at this point in the history
  9. test: increase coverage for path.parse

    Backport-PR-URL: nodejs#14787
    PR-URL: nodejs#14438
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    tniessen authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3f2b8a9 View commit details
    Browse the repository at this point in the history
  10. path: fix win32 volume-relative paths

    `path.resolve()` and `path.join()` are left alone in this commit due to
    the lack of clear semantics.
    
    Backport-PR-URL: nodejs#14787
    PR-URL: nodejs#14440
    Fixes: nodejs#14405
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    TimothyGu authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ba411f1 View commit details
    Browse the repository at this point in the history
  11. path: remove unnecessary string copies

    As the length of `path` is known at this point, there is no point in
    making an exact copy using `slice`.
    
    Backport-PR-URL: nodejs#14787
    PR-URL: nodejs#14438
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    tniessen authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    d75363b View commit details
    Browse the repository at this point in the history
  12. tools: add missing #include "unicode/putil.h"

    * we use u_setDataDirectory() in "unicode/putil.h"
    * at present, this header is indirectly included,
      but this will change in ICU 59
    * no impact on past ICUs.
    * this is an exact analog to nodejs#11753
    
    PR-URL: nodejs#12078
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    srl295 authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    cbd2c77 View commit details
    Browse the repository at this point in the history
  13. timers: do not use user object call/apply

    Timers should work even if the user has monkey-patched `.call()` and
    `.apply()` to undesirable values.
    
    PR-URL: nodejs#12960
    Ref: nodejs#12956
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    0f36025 View commit details
    Browse the repository at this point in the history
  14. deps: cherry-pick f5fad6d from upstream v8

    Original commit message:
    
        This commit adds a getter for the private is_verbose_ member.
        The use case for this comes from Node.js where the ability to avoid
        calling FatalException if the TryCatch is verbose would be nice
        to have.
    
        BUG=
    
        Review-Url: https://codereview.chromium.org/2840803002
        Cr-Commit-Position: refs/heads/master@{nodejs#45018}
    
    PR-URL: nodejs#12826
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    c7622e1 View commit details
    Browse the repository at this point in the history
  15. src: only call FatalException if not verbose

    This commit attempts to address the TODO regarding not calling
    FatalException if the try_catch is verbose.
    
    PR-URL: nodejs#12826
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2914926 View commit details
    Browse the repository at this point in the history
  16. build: reduce one level of spawning in node_gyp

    `configure` will now call `node_gyp` as a module instead of forking
    makes it easier to debug
    
    PR-URL: nodejs#12653
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    refack authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    9dde328 View commit details
    Browse the repository at this point in the history
  17. test: check number of message events

    When a no-op message event handler is used in a test, make it clear what
    is expected by using `common.mustCall()` and `common.mustNotCall()`.
    
    PR-URL: nodejs#13125
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    4072073 View commit details
    Browse the repository at this point in the history
  18. test: confirm callback is invoked in fs test

    Use common.mustCall() in test-fs-makeStatsCallback to confirm that the
    callback is invoked.
    
    PR-URL: nodejs#13132
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ibm.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    548aba4 View commit details
    Browse the repository at this point in the history
  19. test: check noop function invocations

    In test/pummel/test-stream2-basic.js, check that noop functions are
    called the expected number of times.
    
    PR-URL: nodejs#13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    4442a1f View commit details
    Browse the repository at this point in the history
  20. test: simplify assert usage in test-stream2-basic

    PR-URL: nodejs#13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    85a8d6e View commit details
    Browse the repository at this point in the history
  21. test: move stream2 test from pummel to parallel

    test-stream2-basic runs in a few seconds. It can be moved to parallel.
    
    PR-URL: nodejs#13146
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    10ad128 View commit details
    Browse the repository at this point in the history
  22. build: support dtrace on ARM

    Use the same dtrace command on ARM as on i386. Patch obtained from
    FreeBSD PR 218081 [1].
    
    1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218081
    
    PR-URL: nodejs#12193
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bradleythughes authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8fd7fcc View commit details
    Browse the repository at this point in the history
  23. test: replace indexOf with includes

    PR-URL: nodejs#13215
    Refs: nodejs#12586
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    thelostone-mc authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    6ca963a View commit details
    Browse the repository at this point in the history
  24. test: use mustNotCall() in test-stream2-objects

    Use `common.mustNotCall()` in test-stream2-objects.js to confirm that
    noop function is never invoked.
    
    PR-URL: nodejs#13249
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    b997b8f View commit details
    Browse the repository at this point in the history
  25. test: use mustCall() in test-readline-interface

    Use `common.mustCall()` to make sure noop function is called as
    expected.
    
    PR-URL: nodejs#13259
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7919eee View commit details
    Browse the repository at this point in the history
  26. test: refactor test-net-server-bind

    * Use common.mustNotCall() and common.mustCall() as appropriate
    * Use block scoping
    * Move assertions out of `exit` handler and into callbacks
    * Order assert.strictEqual() args per docs
    * Remove console.log() calls
    * Move test from `parallel` to `sequential` so `common.PORT` can be used
      without conflicting with OS-provided ports in other `parallel` tests
    
    PR-URL: nodejs#13273
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    089bd3b View commit details
    Browse the repository at this point in the history
  27. test: add documentation for common.mustNotCall()

    PR-URL: nodejs#13359
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    30201e5 View commit details
    Browse the repository at this point in the history
  28. test: refactor test-dgram-oob-buffer

    * Change common.noop to common.mustNotCall() to verify callback is not
      invoked.
    * Add destructuring assignment for clarity. Yeah, clarity. That's why.
    
    PR-URL: nodejs#13443
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7c2befc View commit details
    Browse the repository at this point in the history
  29. test: check callback not invoked on lookup error

    Use `common.mustNotCall()` to confirm that callback is not invoked when
    `dns.lookup()` throws.
    
    PR-URL: nodejs#13456
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    c15393c View commit details
    Browse the repository at this point in the history
  30. test: refactor domain tests

    * Check that noop callback is or isn't invoked as appropriate using
      common.mustCall() and common.mustNotCall()
    * Fix typo in array literal
    
    PR-URL: nodejs#13480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    1a95a51 View commit details
    Browse the repository at this point in the history
  31. test: refactor test-fs-read-*

    * Use `common.mustNotCall()` in place of `common.noop` where appropriate
    * Increase specificity of regular expressions (that is, make them match
      the whole error string rather than part of the error string) in
      `assert.throws()` calls
    
    PR-URL: nodejs#13501
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8033cf3 View commit details
    Browse the repository at this point in the history
  32. src: merge fn_name in NODE_SET_PROTOTYPE_METHOD

    Merge two duplicate `fn_name` into one in NODE_SET_PROTOTYPE_METHOD,
    it may improve a bit performance.
    
    PR-URL: nodejs#13547
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    XadillaX authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    bfea6b2 View commit details
    Browse the repository at this point in the history
  33. test: use mustNotCall in test-http-eof-on-connect

    Confirm that callback is not being invoked in
    test-http-eof-on-connect.js.
    
    PR-URL: nodejs#13587
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    245f6b0 View commit details
    Browse the repository at this point in the history
  34. test: add mustCall() to child-process test

    Add common.mustCall() check to test-child-process-stdio-big-write-end.
    
    PR-URL: nodejs#13605
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    6f44563 View commit details
    Browse the repository at this point in the history
  35. test: use mustNotCall() in test-fs-watch

    Use common.mustNotCall() in test/sequential/test-fs-watch.js in
    situations where the call to watch() is expected to throw.
    
    PR-URL: nodejs#13595
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2f8aa88 View commit details
    Browse the repository at this point in the history
  36. v8: fix RegExp nits in v8_prof_polyfill.js

    * Do not repeat RegExp creation in cycle.
    * Use sufficient string instead of RegExp in split().
    
    PR-URL: nodejs#13709
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    ac99a79 View commit details
    Browse the repository at this point in the history
  37. test: make test-http(s)-set-timeout-server alike

    Make test-http(s)-set-timeout-server tests more similar and resolve the
    following issues:
    
    * `test-http-set-timeout-server.js` had a `secReceived` check in
      `serverResponseTimeoutWithPipeline()` that was added to prevent
      flakiness, but this did not exist in the https counterpart.
    
    * `test-https-set-timeout-server.js` utilized `common.mustCall()`,
      `common.mustNotCall()`, etc., while the http counterpart utilized the
      old method of checking flags on exit of the process.
    
    Refs: nodejs#13588
    PR-URL: nodejs#13625
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    jklepatch authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    10e9f45 View commit details
    Browse the repository at this point in the history
  38. test: refactor test-http-set-timeout-server

    * Use `common.mustCall()` to track callback invocations
    * Remove console.log() statements unrelated to the test
    * Add blank line to conform with test-writing guide
    
    PR-URL: nodejs#13802
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    7aee51f View commit details
    Browse the repository at this point in the history
  39. test: remove needless RegExp flags

    * /m is needless if ^ and $ are not used
    * /g is needless in split()
    * /g is needless in test() with one-time RegExp/String
    
    PR-URL: nodejs#13690
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    2ef11d5 View commit details
    Browse the repository at this point in the history
  40. test: use string instead of RegExp in split()

    PR-URL: nodejs#13710
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    29141c0 View commit details
    Browse the repository at this point in the history
  41. doc: add missing zlib link to stream API docs

    This seems to have been removed inadvertently by
    330c8d7 in PR 12925.
    
    PR-URL: nodejs#13838
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Rob--W authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    366d1a8 View commit details
    Browse the repository at this point in the history
  42. test: remove unnecessary Buffer import

    Removed require('buffer') from
    
    - test/disabled/test-sendfd.js
    - test/internet/test-dgram-broadcast-multi-process.js
    - test/pummel/test-https-no-reader.js
    
    PR-URL: nodejs#13860
    Refs: nodejs#13836
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    swinston1000 authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    b5d763f View commit details
    Browse the repository at this point in the history
  43. test: remove require('buffer') on 6 fs test files

    * test/parallel/test-fs-mkdtemp.js
    * test/parallel/test-fs-read-zero-length.js
    * test/parallel/test-fs-read.js
    * test/parallel/test-fs-whatwg-url.js
    * test/parallel/test-fs-write-string-coerce.js
    * test/parallel/test-fs-write.js
    
    PR-URL: nodejs#13845
    Refs: nodejs#13836
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    sallen450 authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    dda959d View commit details
    Browse the repository at this point in the history
  44. test: remove require('buffer') from 4 buffer tests

    Remove superfluous import from:
    
    * test/parallel/test-buffer-alloc.js
    * test/parallel/test-buffer-arraybuffer.js
    * test/parallel/test-buffer-badhex.js
    * test/parallel/test-buffer-bytelength.js
    
    Refs: nodejs#13836
    PR-URL: nodejs#13855
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    OriLev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    611ae1e View commit details
    Browse the repository at this point in the history
  45. test: remove require('buffer') from 4 test files

    Remove superfluous import from:
    
    * test/parallel/test-buffer-fakes.js
    * test/parallel/test-buffer-includes.js
    * test/parallel/test-buffer-indexof.js
    * test/parallel/test-buffer-new.js
    
    Refs: nodejs#13836
    PR-URL: nodejs#13846
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    leizongmin authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    bfd296b View commit details
    Browse the repository at this point in the history
  46. test: remove unnecessary require('buffer').Buffer

    Remove unnecessary imports from:
    
    * test/parallel/test-buffer-nopendingdep-map.js
    * test/parallel/test-buffer-pending-deprecation.js
    * test/parallel/test-buffer-sharedarraybuffer.js
    * test/parallel/test-buffer-slow.js
    * test/parallel/test-buffer-tojson.js
    * test/parallel/test-buffer-zero-fill.js
    
    Refs: nodejs#13836
    PR-URL: nodejs#13851
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lenakaplan authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    036a97c View commit details
    Browse the repository at this point in the history
  47. test: remove require('buffer') from 4 test files

    We don't use the global Buffer throughout the lib/ to avoid circular
    dependency issues in core, but we actually don't need to require it on
    test files. So remove them on:
    
    + test/parallel/test-stream-uint8array.js
    + test/parallel/test-stream2-finish-pipe.js
    + test/parallel/test-tls-session-cache.js
    + test/parallel/test-vm-cached-data.js
    
    Refs: nodejs#13836
    PR-URL: nodejs#13844
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    XadillaX authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    47dd8f0 View commit details
    Browse the repository at this point in the history
  48. build: clean up config_fips.gypi

    Currently when configuring the project using --openssl-fips a gyp
    include file name config_fips.gypi will be created. If the project is
    later configured but without the --openssl-fips flag an error will
    occur. For example:
    
      $ ./configure --openssl-fips=bogus
      $ ./configure && make -j8
      ...
      /node/deps/openssl/fips/fipsld:
      line 8: /bin/fipsld: No such file or directory
      Error 127
    
    This commit suggests removing the generate config_fips.gypi when the
    --openssl-fips flag is not give on the command line.
    
    PR-URL: nodejs#13837
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    b801c75 View commit details
    Browse the repository at this point in the history
  49. test: make http(s)-set-timeout-server more similar

    Make test-http(s)-set-timeout-server tests more similar and resolve the
    following issues:
    
    * `test-https-set-timeout-server.js` was missing some `assert`
       statements, including with `http` module
    
    * Both files were missing some calls to `common.mustCall()`
    
    * Both files were calling `createServer()` in different ways
    
    PR-URL: nodejs#13822
    Refs: nodejs#13588
    Refs: nodejs#13625
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jklepatch authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    cb8d837 View commit details
    Browse the repository at this point in the history
  50. test: refactor test-tls-env-extra-ca

    * Use `common.mustCall()` to guarantee callback invocations
    * Order modules according to test writing guide
    
    PR-URL: nodejs#13886
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    b9837ff View commit details
    Browse the repository at this point in the history
  51. test: refactor test-tls-invoked-queued

    * use common.mustCall()/common.mustNotCall() as appropriate
    * reorder require() statements per test writing guide
    * add comment
    
    PR-URL: nodejs#13893
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    e5f8141 View commit details
    Browse the repository at this point in the history
  52. test: skip fips tests using OpenSSL config file

    The motivation for this commit is that we are building Node with
    --shared-openssl and in our case the system OpenSSL version
    supports FIPS.
    
    The tests in test-crypto-fips that toggle fips mode on/off using the
    config file option might succeed and return 1 instead of an error
    being thrown from OpenSSL (which is what happens for a default build
    but the error is not processed/displayed in any way at the moment):
    openssl config failed: error:060B10A7:digital envelope
    routines:ALG_MODULE_INIT:fips mode not supported
    
    Note that this only concerns the test that use the configuration file
    option which is different from when calling the fips setter as
    the handling of the configuration file is handled by OpenSSL, so it
    is not possible for us to try to call the fips setter as that would
    throw an error ("Error: Cannot set FIPS mode in a non-FIPS build.").
    
    The suggestion is to skips these tests when --shared-openssl is used.
    
    PR-URL: nodejs#13786
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3a45bde View commit details
    Browse the repository at this point in the history
  53. doc: fixed formatting issue in cli docs

    Removed some bad escape characters
    
    PR-URL: nodejs#13808
    Fixes: nodejs#13805
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Chris Young authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    da8851c View commit details
    Browse the repository at this point in the history
  54. test: remove unneeded HandleScope usage

    These methods are Javascript-accessible so they get an implicit
    HandleScope. The extra scope is unneeded and can be dropped.
    
    PR-URL: nodejs#13859
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
    ezequielgarcia authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8fcae92 View commit details
    Browse the repository at this point in the history
  55. doc: fix mistake in path.relative

    The docs implied that the parameters `from` and `to` are invalid only
    if neither of them is a string; in fact, they are invalid as soon as one
    of them is not a string.
    
    PR-URL: nodejs#13912
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    tniessen authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    9575c97 View commit details
    Browse the repository at this point in the history
  56. doc: add gireeshpunathil to collaborators

    PR-URL: nodejs#13967
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    gireeshpunathil authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    1ae897d View commit details
    Browse the repository at this point in the history
  57. doc: add @nodejs/documentation to CC table

    PR-URL: nodejs#13952
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    92c46ff View commit details
    Browse the repository at this point in the history
  58. tools: remove comment in eslint rule

    I noticed this comment while working on a different task and could not
    find any reason for it being there. Just bringing this up in case it was
    overlooked.
    
    PR-URL: nodejs#13945
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    4542915 View commit details
    Browse the repository at this point in the history
  59. test: refactor test-cluster-basic

    * Use common.mustNotCall() to check that callback is not invoked.
    * Add space per test writing guide.
    
    PR-URL: nodejs#13905
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    df50e01 View commit details
    Browse the repository at this point in the history
  60. doc: note that fs.futimes only works on AIX >7.1

    PR-URL: nodejs#13659
    Fixes: nodejs#12609
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
    gibfahn authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    de8c16e View commit details
    Browse the repository at this point in the history
  61. src: add missing new line to printed message

    PR-URL: nodejs#13940
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    TimothyGu authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    8de2eca View commit details
    Browse the repository at this point in the history
  62. test: refactor test-child-process-send-type-error

    * Add exit listener to child process to check return code. Previously,
      child process faiilure would not cause the test to fail.
    * Use common.mustNotCall() to guarantee callback is not invoked.
    * Insert blank line per test writing guide.
    
    PR-URL: nodejs#13904
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    3cae68a View commit details
    Browse the repository at this point in the history
  63. src: move crypto_bio/clienthello to crypto ns

    Currently, node_crypto_bio and node_crypto_clienthello are not in the
    crypto namespace but simply in the node namespace. Not sure if this was
    intentional or not, but I think it would make sense to move them to be
    consistent.
    
    PR-URL: nodejs#13957
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    401f3ce View commit details
    Browse the repository at this point in the history
  64. lib: fix typos

    Original-PR-URL: nodejs#13741
    Original-Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Original-Reviewed-By: Roman Reiss <me@silverwind.io>
    Original-Reviewed-By: James M Snell <jasnell@gmail.com>
    Original-Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Original-Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    
    PR-URL: nodejs#14044
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    BridgeAR authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    d133e33 View commit details
    Browse the repository at this point in the history
  65. test: refactor test-fs-watchfile

    * use `common.mustNotCall()` to confirm callback is not called
    * reorder modules to conform with test-writing guide
    * match full error message in `assert.throws()`
    
    PR-URL: nodejs#13721
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Aug 14, 2017
    Configuration menu
    Copy the full SHA
    5336457 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2017

  1. child_process: fix handleless NODE_HANDLE handling

    It is possible that `recvmsg()` may return an error on ancillary data
    reception when receiving a `NODE_HANDLE` message (for example
    `MSG_CTRUNC`). This would end up, if the handle type was `net.Socket`,
    on a `message` event with a non null but invalid `sendHandle`. To
    improve the situation, send a `NODE_HANDLE_NACK` that'll cause the
    sending process to retransmit the message again. In case the same
    message is retransmitted 3 times without success, close the handle and
    print a warning.
    
    Fixes: nodejs#9706
    PR-URL: nodejs#13235
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    5160d3d View commit details
    Browse the repository at this point in the history
  2. test: remove undef NDEBUG from at-exit addons test

    The at-exit addons test uses asserts like the other addons tests,
    but at-exit is the only one that undefines NDEBUG to make sure
    that asserts are enabled. This commit removes the undef for
    consistency.
    
    PR-URL: nodejs#13998
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    259e8e4 View commit details
    Browse the repository at this point in the history
  3. test: replace indexOf with includes and startsWith

    PR-URL: nodejs#13852
    Refs: nodejs#12586
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Nataly Shrits authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    d6841b3 View commit details
    Browse the repository at this point in the history
  4. doc: fix example in child_process.md

    PR-URL: nodejs#13716
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    rus0000 authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    c343d91 View commit details
    Browse the repository at this point in the history
  5. test: refactor test-http-invalidheaderfield

    * use common.mustNotCall() to confirm callback is not invoked
    * whitespace change per test-writing guide
    
    PR-URL: nodejs#13996
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    53b707d View commit details
    Browse the repository at this point in the history
  6. doc: add CTC members to Collaborators list

    For simplicity and clarity (if not brevity), add CTC and CTC Emeriti to
    Collaborators list in README. This will avoid confusion about who is and
    isn't a Collaborator.
    
    PR-URL: nodejs#13284
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    17f3dc1 View commit details
    Browse the repository at this point in the history
  7. test: refactor test-http(s)-set-timeout-server

    * Make changes to `test-https-set-timeout-server` to resolve
      inconsistencies with its http counterpart:
    
      - Apply the changes analogous to those in nodejsGH-13802 to the https test.
      - Add a missing `common.mustCall()` wrapper.
      - Make small stylistic changes (e.g., remove unnecessary line breaks
        in comments) to make it visually consistent with the http test.
    
    * Use arrow functions.
    
    PR-URL: nodejs#13935
    Fixes: nodejs#13588
    Refs: nodejs#13802
    Refs: nodejs#13625
    Refs: nodejs#13822
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    c5a427f View commit details
    Browse the repository at this point in the history
  8. test,fs: delay unlink in test-regress-nodejsGH-4027.js

    The sequential/test-regress-GH-4027 test is flaky with an increased
    system load, failing when the watched file is unlinked before the
    first state of the watched file is retrieved.
    
    After increasing the delay before unlinking and calling setTimeout
    after watchFile, the flakiness stopped reproducing.
    
    PR-URL: nodejs#14010
    Fixes: nodejs#13800
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    jaimecbernardo authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    03a5c5a View commit details
    Browse the repository at this point in the history
  9. test: fix require nits in some test-tls-* tests

    * Do not require if test is skipped.
    * Do not re-require without need.
    * Sort requiring by module names.
    
    PR-URL: nodejs#14008
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    78dc4f1 View commit details
    Browse the repository at this point in the history
  10. doc, util, console: clarify ambiguous docs

    Add clarification to the documentation on util.format()
    and console.log() regarding how excessive arguments are treated
    when the first argument is a non-format string
    compared to when it is not a string at all.
    
    PR-URL: nodejs#14027
    Fixes: nodejs#13908
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    nattelog authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    95ca4ac View commit details
    Browse the repository at this point in the history
  11. tools: use no-use-before-define ESLint rule

    Also fix repl and url libs for the rule.
    
    PR-URL: nodejs#14032
    Refs: http://eslint.org/docs/rules/no-use-before-define
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    0dbe822 View commit details
    Browse the repository at this point in the history
  12. src: add --use-bundled-ca --use-openssl-ca check

    The --use-bundled-ca and --use-openssl-ca command line arguments are
    mutually exclusive but can both be used on the same command line.
    
    This commit adds a check if both options are used.
    
    Fixes: nodejs#12083
    PR-URL: nodejs#12087
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    danbev committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    a82aa9d View commit details
    Browse the repository at this point in the history
  13. src: guard bundled_ca/openssl_ca with HAVE_OPENSSL

    Currently, the following warning will be reported when configuring
    without-ssl:
    
    ../src/node.cc:3653:8: warning: unused variable 'use_bundled_ca'
    [-Wunused-variable]
      bool use_bundled_ca = false;
           ^
    ../src/node.cc:3654:8: warning: unused variable 'use_openssl_ca'
    [-Wunused-variable]
      bool use_openssl_ca = false;
           ^
    
    I missed this when working on
    commit 8a7db9d ("src: add
    --use-bundled-ca --use-openssl-ca check").
    
    Refs: nodejs#12087
    PR-URL: nodejs#12302
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    38874df View commit details
    Browse the repository at this point in the history