Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[v10.x] src: more automatic memory management in node_crypto.cc #20609

Closed
wants to merge 81 commits into from

Commits on May 4, 2018

  1. doc: add more missing backticks

    Also, fix some other nits in passing
    (formatting, punctuation, typos, redundancy, obsoleteness).
    
    PR-URL: nodejs#20438
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    763627a View commit details
    Browse the repository at this point in the history
  2. doc: remove squash guideline from onboarding doc

    Although I agree with the guideline people should generally not squash
    commits in a pull request until the end (in other words, until it's time
    to land the PR), it is clear from comments and actions in the issue
    tracker that many do not share that view. This is fine by me, but I do
    think that we should our documentation should reflect our practices
    rather than being an aspirational statement.
    
    If we *do* wish to preserve this recommendation, it probably belongs in
    another document anyway as this is not a recommendation for
    Collaborators only but for anyone opening a pull request.
    
    PR-URL: nodejs#20413
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f6c6950 View commit details
    Browse the repository at this point in the history
  3. doc: add squash guideline to pull-requests doc

    Tell the contributor to generally not squash commits during the pull
    request review process.
    
    PR-URL: nodejs#20413
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ca7e3e4 View commit details
    Browse the repository at this point in the history
  4. benchmark: fix next-tick-depth

    A recent change made these benchmarks fail by always finishing
    with 0 iterations. Restore a counter variable.
    
    PR-URL: nodejs#20461
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    8fbd0d3 View commit details
    Browse the repository at this point in the history
  5. doc: add http.ClientRequest maxHeadersCount

    In http.ClientRequest's doc, add maxHeadersCount as a public property.
    And in the description of server's one, change a hyphen to a comma.
    
    PR-URL: nodejs#20361
    Refs: nodejs#20359
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    darai0512 authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    a8fc842 View commit details
    Browse the repository at this point in the history
  6. tools: fix TypeError from test.py --time

    Calculated durations are timedelta objects but the FormatTime function
    is expecting a number in seconds.
    
    PR-URL: nodejs#20368
    Fixes: nodejs#20341
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    richardlau authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f6d37f2 View commit details
    Browse the repository at this point in the history
  7. doc: update writing-and-running-benchmarks.md

    Refs: nodejs@368517c
    
    PR-URL: nodejs#20379
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    xsbchen authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    bd8e626 View commit details
    Browse the repository at this point in the history
  8. timers: named anonymous functions

    PR-URL: nodejs#20397
    Refs: nodejs#8913
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    js-kyle authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    a8ffbbe View commit details
    Browse the repository at this point in the history
  9. child_process: name anonymous functions

    Refs: nodejs#8913
    
    PR-URL: nodejs#20399
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    SerayaEryn authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    147ced4 View commit details
    Browse the repository at this point in the history
  10. test: remove unnecessary strictEqual() argument from remoteClose()

    PR-URL: nodejs#20343
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@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: Ruben Bridgewater <ruben@bridgewater.de>
    dayloryanes authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    3d2a7fe View commit details
    Browse the repository at this point in the history
  11. test: use fs.copyFileSync()

    Use the potentially more efficient fs.copyFileSync() instead of reading
    the whole file in and writing the whole file out in JavaScript.
    
    PR-URL: nodejs#20340
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    richardlau authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    f438438 View commit details
    Browse the repository at this point in the history
  12. doc: add missing periods in documentation.md

    PR-URL: nodejs#20469
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    1de252a View commit details
    Browse the repository at this point in the history
  13. events: optimize condition for optimal scenario

    Instead of always checking whether we've already warned about a
    possible EventEmitter memory leak, first run the rest of the
    code as accessing random properties on an Array is expensive.
    
    In addition, remove an unnecessary truthy check.
    
    PR-URL: nodejs#20452
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    52e6ef0 View commit details
    Browse the repository at this point in the history
  14. util: improve spliceOne perf

    Do less variable allocations and reassignments inside spliceOne
    since it's relied on by some performance sensitive code.
    
    PR-URL: nodejs#20453
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    apapirovski authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    dbf3089 View commit details
    Browse the repository at this point in the history
  15. doc: update cli flag in crypto.md

    PR-URL: nodejs#20400
    Fixes: nodejs#20385
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    shobhitchittora authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    2d26f55 View commit details
    Browse the repository at this point in the history
  16. doc: synchronize argument names for appendFile()

    The documentation used `file` for the first argument to `appendFile()`
    functions. However, the code and (more importantly) thrown errors
    referred to it as `path`. The latter is especially important because
    context is not provided. So you're looking for a function that takes
    `path` but that string doesn't appear in your code *or* in the
    documentation. It's not until the end user looks at the source code of
    Node.js that they can figure out what's going on. This is why it is
    important that the names of variables in the documentation match that in
    the code. If we want to change this to `file`, then that's OK, but we
    need to do it in the source code and error messages too, not just in the
    docs. Changing the docs is the smallest change to synchronize everything
    so that's what this change does.
    
    PR-URL: nodejs#20489
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    b15c793 View commit details
    Browse the repository at this point in the history
  17. util: named anonymous functions

    PR-URL: nodejs#20408
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    ccoxwell authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    43ba7a6 View commit details
    Browse the repository at this point in the history
  18. lib: named anonymous functions

    PR-URL: nodejs#20408
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    ccoxwell authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    81584d1 View commit details
    Browse the repository at this point in the history
  19. doc: update Collaborator Guide reference

    In pull-requests.md:
    
    * Refer to the Collaborator Guide as Collaborator Guide and not
      Collaborator's Guide. That is how the doc describes itself and we
      should be consistent.
    
    PR-URL: nodejs#20473
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    7e87142 View commit details
    Browse the repository at this point in the history
  20. doc: cleanup n-api.md doc

    Partial doc cleanup as per
    nodejs#20421
    
    PR-URL: nodejs#20430
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    36d93da View commit details
    Browse the repository at this point in the history
  21. src: remove kFlagNoShutdown flag

    This was originally introduced in 3446ff4, in order to fix
    a hard crash. However, since the libuv 1.18.0 update, that hard
    crash is gone, and since f2b9805 we do not throw an
    error in JS land anymore either, rendering the flag unnecessary.
    
    Also, the original test that checked this condition was added
    to `test/parallel/`. Since that typically runs without a TTY stdin,
    a duplicate test is being added to the pseudo-tty test suite
    in this commit.
    
    Refs: nodejs@3446ff4
    Refs: nodejs@f2b9805
    Refs: libuv/libuv@0e28141
    PR-URL: nodejs#20388
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    a5467bf View commit details
    Browse the repository at this point in the history
  22. src: access ContextifyContext* more directly in property cbs

    PR-URL: nodejs#20455
    Fixes: nodejs#18897
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    fd67e9e View commit details
    Browse the repository at this point in the history
  23. src: refactor BaseObject internal field management

    - Instead of storing a pointer whose type refers to the specific
      subclass of `BaseObject`, just store a `BaseObject*` directly.
      This means in particular that one can cast to classes along
      the way of the inheritance chain without issues, and that
      `BaseObject*` no longer needs to be the first superclass
      in the case of multiple inheritance.
    
      In particular, this renders hack-y solutions to this problem (like
      ddc19be) obsolete and addresses
      a `TODO` comment of mine.
    
    - Move wrapping/unwrapping methods to the `BaseObject` class.
      We use these almost exclusively for `BaseObject`s, and I hope
      that this gives a better idea of how (and for what) these are used
      in our code.
    
    - Perform initialization/deinitialization of the internal field
      in the `BaseObject*` constructor/destructor. This makes the code
      a bit more obviously correct, avoids explicit calls for this
      in subclass constructors, and in particular allows us to avoid
      crash situations when we previously called `ClearWrap()`
      during GC.
    
      This also means that we enforce that the object passed to the
      `BaseObject` constructor needs to have an internal field.
      This is the only reason for the test change.
    
    - Change the signature of `MakeWeak()` to not require a pointer
      argument. Previously, this would always have been the same
      as `this`, and no other value made sense. Also, the parameter
      was something that I personally found somewhat confusing
      when becoming familiar with Node’s code.
    
    - Add a `TODO` comment that motivates switching to real inheritance
      for the JS types we expose from the native side. This patch
      brings us a lot closer to being able to do that.
    
    - Some less significant drive-by cleanup.
    
    Since we *effectively* already store the `BaseObject*` pointer
    anyway since ddc19be, I do not
    think that this is going to have any impact on diagnostic tooling.
    
    Fixes: nodejs#18897
    PR-URL: nodejs#20455
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    addaleax authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    98a39e3 View commit details
    Browse the repository at this point in the history
  24. doc: update examples for fs.access()

    PR-URL: nodejs#20460
    Fixes: nodejs#17508
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BeniCheni authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    18bb358 View commit details
    Browse the repository at this point in the history
  25. n-api: make test_error functions static

    PR-URL: nodejs#20373
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    d329778 View commit details
    Browse the repository at this point in the history
  26. crypto: allocate more memory for cipher.update()

    For key wrapping algorithms, calling EVP_CipherUpdate() with null output
    could obtain the size for the ciphertext. Then use the returned size to
    allocate output buffer. Also add a test case to verify des3-wrap.
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    
    PR-URL: nodejs#20370
    Fixes: nodejs#19655
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yhwang authored and MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    c66ba19 View commit details
    Browse the repository at this point in the history
  27. deps: patch V8 to 6.6.346.27

    PR-URL: nodejs#20480
    Refs: v8/v8@6.6.346.24...6.6.346.27
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    MylesBorins committed May 4, 2018
    Configuration menu
    Copy the full SHA
    ff148b9 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2018

  1. doc: fix mkdtemp() documentation

    Several minor fixes to the entries for `mkdtemp()`. The most significant
    is that a mistaken use of `fs.mkdtemp()` is corrected to
    `fsPromises.mkdtemp()`.
    
    PR-URL: nodejs#20512
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    8c0cf1e View commit details
    Browse the repository at this point in the history
  2. doc: document using domain in REPL

    Document that REPL uses the `domain` module to handle uncaught
    exceptions, and the side effects caused by it.
    
    PR-URL: nodejs#20382
    Fixes: nodejs#19998
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    AyushG3112 authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    0254698 View commit details
    Browse the repository at this point in the history
  3. test: add fs/promises filehandle stat test

    Added test for fs/promises filehandle stat.
    
    PR-URL: nodejs#20492
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Masashi Hirano authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    d7dcc0a View commit details
    Browse the repository at this point in the history
  4. repl: add spaces to load/save messages

    PR-URL: nodejs#20536
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    064b061 View commit details
    Browse the repository at this point in the history
  5. test: rename misnamed test

    Rename test-fs-chdir-errormessage.js to
    test-process.chdir-errormessage.js. The test is for process.chdir().
    There is no fs.chdir().
    
    PR-URL: nodejs#20532
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    5248cd7 View commit details
    Browse the repository at this point in the history
  6. test: fix up N-API error test

    Replace assert.throws() with an explicit try/catch in order to catch
    the thrown value and be able to compare it strictly to an expected
    value.
    
    Re: nodejs#20428 (comment)
    
    PR-URL: nodejs#20487
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    6966c04 View commit details
    Browse the repository at this point in the history
  7. src: fix inconsistency in extern declaration

    NodeCounterProvider is declared as extern but defined as EXTERN_C.
    This confuses clang-cl.
    
    PR-URL: nodejs#20436
    Refs: nodejs#19630
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    hashseed authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    ae33fa3 View commit details
    Browse the repository at this point in the history
  8. build: check for different deprecation signatures

    Right now we strictly test for `DEP00XX`. We are already above that
    number of deprecations and it is better to have a wildcard for the
    first three numbers. Only the last character has to match the X to
    print a warning.
    
    PR-URL: nodejs#20384
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    BridgeAR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    3da63ff View commit details
    Browse the repository at this point in the history
  9. doc: fix manpage warning

    LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null
    mdoc warning: Empty input line nodejs#389
    
    PR-URL: nodejs#20383
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kapouer authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    34f73ec View commit details
    Browse the repository at this point in the history
  10. https: defines maxHeadersCount in the constructor

    In Refs, http.Server's maxHeadersCount field was defined in the
    constructor to make hidden class stable and so on. Also in https.Server,
    we can use maxHeadersCount the same as http via connectionListener. So,
    defines it in the constructor and documentation.
    
    Refs: nodejs#9116
    
    PR-URL: nodejs#20359
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    darai0512 authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b9dfaac View commit details
    Browse the repository at this point in the history
  11. src: removed unnecessary prototypes from Environment::SetProtoMethod

    Added an optional parameter of type v8::ConstructorBehavior to
    Environment::NewFunctionTemplate, defaulting to
    v8::ConstructorBehavior::kAllow. Also modified
    Environment::SetProtoMethod to pass
    v8::ConstructorBehavior::kThrow to its
    call to Environment::NewFunctionTemplate.
    
    Fixes: nodejs#17668
    Refs: nodejs#20321
    PR-URL: nodejs#20321
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brandontruggles authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    1e2ce1d View commit details
    Browse the repository at this point in the history
  12. test: fix common.canCreateSymLink() on non-Windows

    test/common/README.md indicates that canCreateSymlink() always returns
    true on non-Windows platforms. However, prior to this commit, undefined
    was being returned. This commit aligns the implementation with the
    docs by returning true.
    
    PR-URL: nodejs#20511
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Masashi Hirano authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    0642b6f View commit details
    Browse the repository at this point in the history
  13. lib: expose FixedQueue internally and fix nextTick bug

    A bug was introduced together with the FixedQueue implementation for
    process.nextTick which meant that the queue wouldn't necessarily
    fully clear on each run through. Fix it and abstract the data
    structure into an internal module that can later be used elsewhere.
    
    PR-URL: nodejs#20468
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    f508574 View commit details
    Browse the repository at this point in the history
  14. tls: cleanup onhandshakestart callback

    Re-arrange and cleanup the flow of the onhandshakestart to be
    more clear and less repetitive. Exit early in the case of a
    first ever handshake for a given connection.
    
    PR-URL: nodejs#20466
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    fc311f2 View commit details
    Browse the repository at this point in the history
  15. benchmark: track exec time in next-tick-exec

    The next-tick-exec benchmarks were meant to track nextTick execution
    time but due to an error, they actually track addition and execution.
    
    PR-URL: nodejs#20462
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    d0d0547 View commit details
    Browse the repository at this point in the history
  16. doc: fix N-API property descriptor documentation

    PR-URL: nodejs#20433
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Gabriel Schulhof authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    0f75c08 View commit details
    Browse the repository at this point in the history
  17. doc: updates crypto doc with openssl list -cipher-algorithms

    PR-URL: nodejs#20502
    Refs: nodejs#20385
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    shobhitchittora authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    31dfb0a View commit details
    Browse the repository at this point in the history
  18. tls: remove sharedCreds in Server constructor

    This commit removes the var sharedCreds which is just reassigned to
    this._sharedCreds in the following line.
    
    PR-URL: nodejs#20491
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    d866984 View commit details
    Browse the repository at this point in the history
  19. errors: remove dead code

    This was never falsy, since an array length can only be an integer.
    
    PR-URL: nodejs#20483
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    BridgeAR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    6e2a22f View commit details
    Browse the repository at this point in the history
  20. http2: rename http2_state class to Http2State

    This commit renames the http2_state class to follow the guidelines in
    CPP_STYLE_GUIDE.md.
    
    PR-URL: nodejs#20423
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    755e88f View commit details
    Browse the repository at this point in the history
  21. doc: add snake_case section for C-like structs

    This commit adds a section mentioning that for C-like structs it is
    alright to use snake_case.
    
    PR-URL: nodejs#20423
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    danbev authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    59ed6c0 View commit details
    Browse the repository at this point in the history
  22. src: add public API to expose the main V8 Platform

    Add an API to get MultiIsolatePlatform used in node main thread.
    
    PR-URL: nodejs#20447
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    helloshuangzi authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    ea6af3b View commit details
    Browse the repository at this point in the history
  23. doc: update one more command in crypto.md

    PR-URL: nodejs#20500
    Refs: nodejs#20400
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    shobhitchittora authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    aef4f80 View commit details
    Browse the repository at this point in the history
  24. Revert "stream: prevent 'end' to be emitted after 'error'"

    This reverts commit 0857790.
    
    PR-URL: nodejs#20449
    Fixes: nodejs#20334
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mscdex authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    c06821a View commit details
    Browse the repository at this point in the history
  25. url: fix WHATWG host formatting error

    The current url.format implementation will return an invalid URL string
    without the host if there is a port and unicode: true.
    
    This unexpected behavior is caused by domainToUnicode, which expects
    a hostname instead of a host string according to node_url.cc.
    
    Adds both a fix and a test for the issue.
    
    PR-URL: nodejs#20493
    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: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    peakji authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b06d90d View commit details
    Browse the repository at this point in the history
  26. tools: remove redundant code in doc/html.js

    This PR reduces code by 40 lines and docs size by ~7.5 KB. Only
    <div class="signature">...</div> wrappers are removed from docs,
    no other changes are found in results.
    
    PR-URL: nodejs#20514
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    a068808 View commit details
    Browse the repository at this point in the history
  27. doc: clearer doc-only deprecations

    Explicitely mention that a documentation only deprecation does not
    always imply that it will be staged for deprecation in a future
    Node.js major release. It is mainly there to tell developers that
    a specific API should be avoided.
    
    PR-URL: nodejs#20381
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    883d03b View commit details
    Browse the repository at this point in the history
  28. test: fix buffer writes on mips

    Mips has a different way of handling NaN. This makes sure the tests
    pass on MIPS as well.
    
    PR-URL: nodejs#20377
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    BridgeAR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    702ba74 View commit details
    Browse the repository at this point in the history
  29. test: fix test-cli-node-options.js on mips

    The performance jit logger is not implemented on mips.
    
    PR-URL: nodejs#20377
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    BridgeAR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    849d10d View commit details
    Browse the repository at this point in the history
  30. doc: add parameters for Http2Session:stream event

    Add parameters for the callback for the Http2Session:stream event
    inline with the pattern in the rest of the documentation.
    
    Refs: nodejs/help#877 (comment)
    
    PR-URL: nodejs#20547
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    ryzokuken authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    f8ddf7b View commit details
    Browse the repository at this point in the history
  31. doc: edit text for DEP0104

    Make the deprecation message a bit clear and concise.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    2bddd24 View commit details
    Browse the repository at this point in the history
  32. doc: edit text for DEP0101

    Make the text slightly more concise. Fix awkward verb tense.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b7e8249 View commit details
    Browse the repository at this point in the history
  33. doc: edit text for DEP0012

    Fix awkward verb tense.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    6011c21 View commit details
    Browse the repository at this point in the history
  34. doc: edit text for DEP0094

    Make deprecation text slightly more concise and direct.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    6a18a42 View commit details
    Browse the repository at this point in the history
  35. doc: fix text for DEP0085

    Fix a typographical error in deprecation text. Convert run-on sentence
    to two sentences (one in parentheses).
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    7d9234b View commit details
    Browse the repository at this point in the history
  36. doc: edit text for DEP0082

    Make deprecation text more concise and direct.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    bc8d08d View commit details
    Browse the repository at this point in the history
  37. doc: fix minor typographical error in DEP0079 text

    Change `backwards compatibility` to `backward compatibility`.
    
    (It's confusing because "backwards compatible" is acceptable because
    "backwards" can be used as an adverb like that. However, as an
    adjective, as in "backward compatibility", only "backward" will do.
    Easiest solution: Always use "backward" because it is OK in both cases.
    This is all compounded by the US vs UK English thing. US English tends
    to favor "backward", and we standardize on US English, so that's another
    point in favor of "backward" over "backwards" in this context.)
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    f59619a View commit details
    Browse the repository at this point in the history
  38. doc: minor edit to DEP0065

    Use "Node.js 6.0.0" instead of "Node.js v6.0.0". (We decided to drop "v"
    before version numbers to avoid confusion with the V8 JavaScript
    engine.)
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    17f9da5 View commit details
    Browse the repository at this point in the history
  39. doc: edit text for DEP0013

    * v10.0.0 -> Node.js 10.0.0
    * Parenthetical with URL rather than "PR" as a lot of people may not
      know what "PR" stands for but they will know what a URL is. Plus not
      hiding the URL means the text is more copy/paste-able. In this
      particular case, "PR 12562" is not more useful or informative than
      nodejs#12562 so just use the URL.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    4ce7026 View commit details
    Browse the repository at this point in the history
  40. doc: edit text about revoking deprecations

    * "un-deprecation" ಠ_ಠ -> "revoking deprecations"
    * "From time-to-time" -> "Occastionally"
    * "semver-major" and "semver-minor" are jargon that readers who don't
      follow our issue tracker will not know. Remove the sentence as it
      doesn't really impact end users. The deprecation is revoked when it is
      revoked. Rules around the releases where deprecations can be revoked
      may be added to the COLLABORATOR_GUIDE in the extensive section about
      deprecations there. If so, great, but let's still remove it here as
      having the information scattered in two places makes it likely that
      one will be edited to contradict the other and then it won't be clear
      which one is correct.
    * Remove unneeded italics. The italicized sentence is not hugely
      critical information that we desperately want users to know. Most
      users won't care. They will only care about the deprecation message
      that they are looking up at that moment.
    
    PR-URL: nodejs#20519
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Refael Ackermann <refack@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    b0d6edc View commit details
    Browse the repository at this point in the history
  41. doc: excise "periodically" before "emit events"

    "periodically" implies regular time intervals between emitted events,
    but as first example, "peer connects", implies, the time intervals
    may be irregular or unpredictable.
    
    PR-URL: nodejs#20581
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    jeswcollins authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    dc8c8ef View commit details
    Browse the repository at this point in the history
  42. doc: update "Who to cc..." in COLLABORATOR_GUIDE

    Some of the mentioned files seem to be moved or renamed.
    
    PR-URL: nodejs#20564
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    vsemozhetbyt authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    9ba8ab0 View commit details
    Browse the repository at this point in the history
  43. fs: move fs/promises to fs.promises

    PR-URL: nodejs#20504
    Refs: nodejs/TSC#389
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    cjihrig authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    8ed803d View commit details
    Browse the repository at this point in the history
  44. doc: add trace category for fs sync methods

    Add the trace category for file system synchronous methods to
    documentation so the users can enable it when they want to look
    into file system sync method trace data.
    
    PR-URL: nodejs#20526
    Refs: nodejs#19649
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    chinhuang007 authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    381fccd View commit details
    Browse the repository at this point in the history
  45. console: make console.table() use colored inspect

    This makes `console.table()` inspect objects with color if available
    like `console.log()`.
    
    PR-URL: nodejs#20510
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    makenowjust authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    fa0565e View commit details
    Browse the repository at this point in the history
  46. doc: move tunniclm to Emeritus

    tunniclm indicated that it would be a good idea to move them to
    Collaborator Emeritus for now. This commit makes that change in the
    README.md file.
    
    PR-URL: nodejs#20533
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    e2fb920 View commit details
    Browse the repository at this point in the history
  47. fs: remove broken code in promises/write

    That code expects the last argument to be a callback.
    When it's not a callback, it shifts arguments, defaulting
    encoding to 'utf-8', which is clearly broken.
    
    Old signature: (fd, string[, position[, encoding]], callback)
    New signature: (fd, string[, position[, encoding]])
    
    PR-URL: nodejs#20407
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jamie Davis <davisjam@vt.edu>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    ChALkeR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    acf3019 View commit details
    Browse the repository at this point in the history
  48. fs: fchmod->fchown in promises/lchown

    This was a clear error.
    
    chown should do chown, not chmod.
    
    PR-URL: nodejs#20407
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jamie Davis <davisjam@vt.edu>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    ChALkeR authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    88f9c38 View commit details
    Browse the repository at this point in the history
  49. doc: clarify this in event listeners

    this === eventEmitter or this === instance of EventEmitter,
    but it's this is not EventEmitter.
    
    PR-URL: nodejs#20537
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    dagolinuxoid authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    69a8a65 View commit details
    Browse the repository at this point in the history
  50. tools: add v10 to alternative version docs menu

    PR-URL: nodejs#20586
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    7b4e815 View commit details
    Browse the repository at this point in the history
  51. test: use common.canCreateSymLink() consistently

    This commit replaces two ad hoc symlink permission tests with
    common.canCreateSymLink().
    
    PR-URL: nodejs#20540
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    85babad View commit details
    Browse the repository at this point in the history
  52. tools: add eslint check for skipIfEslintMissing

    Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
    allow tests to run from source tarballs that do not include eslint.
    
    Fix up rule tests that were failing the new check.
    
    Refs: nodejs#20336
    
    PR-URL: nodejs#20372
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    aad2c23 View commit details
    Browse the repository at this point in the history
  53. doc: match console.count()/countReset() signatures

    PR-URL: nodejs#20599
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Lambdac0re authored and MylesBorins committed May 8, 2018
    Configuration menu
    Copy the full SHA
    7bf23cf View commit details
    Browse the repository at this point in the history
  54. src: more automatic memory management in node_crypto.cc

    Prefer custom smart pointers fitted to the OpenSSL data structures
    over more manual memory management and lots of `goto`s.
    
    PR-URL: nodejs#20238
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed May 8, 2018
    Configuration menu
    Copy the full SHA
    c7514a5 View commit details
    Browse the repository at this point in the history