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

v9.3.0 proposal #17631

Merged
merged 379 commits into from
Dec 12, 2017
Merged

v9.3.0 proposal #17631

merged 379 commits into from
Dec 12, 2017
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Dec 12, 2017

  1. stream: improve the error message of ERR_INVALID_ARG_TYPE

    The `expected` argument of `ERR_INVALID_ARG_TYPE` can be an
    array, which is better than a single string.
    
    PR-URL: #17145
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    starkwang authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b36c726 View commit details
    Browse the repository at this point in the history
  2. doc: use better terminology for build machines

    PR-URL: #17142
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1a3aadb View commit details
    Browse the repository at this point in the history
  3. fs: use arrow functions instead of .bind and self

    PR-URL: #17137
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    starkwang authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7ebaf83 View commit details
    Browse the repository at this point in the history
  4. test: dont need to remove nonexistent directory

    the TempDirection is empty , so tempdir/test1 and tempdir/test2
    are nonexistent. we dont need to delete nonexistent directories.
    
    PR-URL: #17119
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    ah-yu authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5c70cef View commit details
    Browse the repository at this point in the history
  5. test: remove unlink function which is needless

    PR-URL: #17119
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    ah-yu authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    42a8f03 View commit details
    Browse the repository at this point in the history
  6. zlib: remove unnecessary else branch

    PR-URL: #17057
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Johnsavadkuhi authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    57ee0dd View commit details
    Browse the repository at this point in the history
  7. doc: add description for inspector-only console methods.

    Description inspired by dev tools reference and inspector err messages
    
    Added:
    * intro
    * console.debug()
    * console.dirxml()
    * console.markTimeline()
    * console.profile()
    * console.profileEnd()
    * console.table()
    * console.timeStamp()
    * console.timeline()
    * console.timelineEnd()
    
    PR-URL: #17004
    Fixes: #16755
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Tiriel authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    74506f7 View commit details
    Browse the repository at this point in the history
  8. src: add public API for managing NodePlatform

    PR-URL: #16981
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    zcbenz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    14ebda5 View commit details
    Browse the repository at this point in the history
  9. test,doc: document where common modules go

    Keep the `require('../common')` separate from other common modules, as
    it's the only line that must be there.
    
    PR-URL: #16089
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gibfahn authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b6929e2 View commit details
    Browse the repository at this point in the history
  10. doc: fs.readFile is async but not partitioned

    This change was suggested during the discussion of #17054.
    
    PR-URL: #17154
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    davisjam authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    04c4c1f View commit details
    Browse the repository at this point in the history
  11. test: add common.crashOnUnhandledRejection()

    PR-URL: #17212
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Scya597 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d50671b View commit details
    Browse the repository at this point in the history
  12. test: use common.crashOnUnhandledRejection

    Deal with crash case for unhandled rejection.
    
    PR-URL: #17217
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zack9433 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2010b80 View commit details
    Browse the repository at this point in the history
  13. test: use common.crashOnUnhandledRejection

    PR-URL: #17221
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aryung authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a536b03 View commit details
    Browse the repository at this point in the history
  14. test: add test on unhandled rejection

    PR-URL: #17228
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    LarryLuTW authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2d2e780 View commit details
    Browse the repository at this point in the history
  15. test: keep coverage reports after coverage-clean

    Add coverage folder to .gitignore and remove it from the list
    of files & folders delete by coverage-clean.
    
    PR-URL: #15470
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5cbe0f2 View commit details
    Browse the repository at this point in the history
  16. process: improve unhandled rejection message

    PR-URL: #17158
    Refs: #16768
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MadaraUchiha authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9a9aa88 View commit details
    Browse the repository at this point in the history
  17. process: Send signal name to signal handlers

    PR-URL: #15606
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    robertrossmann authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8d90db5 View commit details
    Browse the repository at this point in the history
  18. benchmark,path: remove unused variables

    PR-URL: #15789
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    薛定谔的猫 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ee84fc3 View commit details
    Browse the repository at this point in the history
  19. test: add crashonUnhandledRejection

    PR-URL: #17237
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danielLin authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ce284fc View commit details
    Browse the repository at this point in the history
  20. test: add common.crashOnHandleRejection

    PR-URL: #17225
    Reviewed-By: James M Snell <[email protected]>
    Jackyen authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    017379e View commit details
    Browse the repository at this point in the history
  21. test: use common.crashOnUnhandledRejection

    PR-URL: #17229
    Reviewed-By: James M Snell <[email protected]>
    Kurt Hsu authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e3db509 View commit details
    Browse the repository at this point in the history
  22. test: use common.crashOnUnhandledRejection()

    Add common.crashOnUnhandledRejection to
    test/parallel/test-microtask-queue-run.js
    
    PR-URL: #17232
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sorarize authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8d1ec5d View commit details
    Browse the repository at this point in the history
  23. tools/doc: add tools/remark-* to eslintignore

    PR-URL: #17240
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    IvanWei authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    623b589 View commit details
    Browse the repository at this point in the history
  24. test: use common.crashOnUnhandledRejection

    PR-URL: #17233
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Jason Chung authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cb33487 View commit details
    Browse the repository at this point in the history
  25. doc: document resolve hook formats

    Add `"dynamic"` to the list of supported `format`s returned by a
    custom resolve hook.
    
    Add a table describing the meaning of each `format`.
    
    PR-URL: #16375
    Refs: #15445
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    azz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    821951e View commit details
    Browse the repository at this point in the history
  26. internal: add emitExperimentalWarning function

    Adds a new emitExperimentalWarning function to internal/util to warn
    users that they are using an experimental feature and that feature can
    change at any time.
    
    PR-URL: #16497
    Refs: #9036
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    codeman869 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8fd316f View commit details
    Browse the repository at this point in the history
  27. doc: add SharedArrayBuffer to Buffer documentation

    PR-URL: #15489
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    ThomasdenH authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    df5436c View commit details
    Browse the repository at this point in the history
  28. doc: update http URLs to https in CONTRIBUTING.md

    PR-URL: #17261
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    him2him2 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f3c5f76 View commit details
    Browse the repository at this point in the history
  29. doc: update http URLs to https in GOVERNANCE.md

    PR-URL: #17262
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    him2him2 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c345a10 View commit details
    Browse the repository at this point in the history
  30. doc: update http URLs to https in doc/api

    PR-URL: #17263
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    him2him2 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c676129 View commit details
    Browse the repository at this point in the history
  31. doc: update http URLs to https in README.md

    PR-URL: #17264
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    him2him2 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f136672 View commit details
    Browse the repository at this point in the history
  32. tools: fix gitignore for tools/doc/

    PR-URL: #17224
    Fixes: #17216
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    RichardLitt authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f0f32dc View commit details
    Browse the repository at this point in the history
  33. doc: add maclover7 to collaborators

    PR-URL: #17289
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e45c9c6 View commit details
    Browse the repository at this point in the history
  34. n-api: use nullptr instead of NULL in node_api.cc

    This commit changes two checks which use NULL to use nullptr.
    
    I'm not very familiar with N-API but wanted to bring this up in case
    it was something that was overlooked.
    
    PR-URL: #17276
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Lance Ball <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: MichaëZasso <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b833a59 View commit details
    Browse the repository at this point in the history
  35. trace_events: add executionAsyncId to init events

    async_hooks emits trace_events. This adds the executionAsyncId to the
    init events. In theory this could be inferred from the before and after
    events but this is much simpler and doesn't require knowledge of all
    events.
    
    PR-URL: #17196
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    AndreasMadsen authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    855bb8d View commit details
    Browse the repository at this point in the history
  36. doc: add ES Modules entry to who-to-cc

    Add ES Modules entry for who-to-cc. Resisted temptation to change it to
    "whom to CC". Did move async_hooks entry, though.
    
    PR-URL: #17205
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c901cce View commit details
    Browse the repository at this point in the history
  37. doc: fix typo in api doc of url.format(urlObject)

    PR-URL: #17295
    Fixes: #17294
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    cxn-pkovacs authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    524db29 View commit details
    Browse the repository at this point in the history
  38. test: use common.crashOnUnhandledRejection

    PR-URL: #17215
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    sj82516 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c375816 View commit details
    Browse the repository at this point in the history
  39. test: add common.crashOnUnhandledRejection()

    added to test-async-hooks-enable-during-promise.js
    
    PR-URL: #17234
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    w5151381guy authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    497195a View commit details
    Browse the repository at this point in the history
  40. test: use common.crashOnUnhandledRejection

    Add common.crashOnUnhandledRejection to path:
      - test/parallel/test-microtask-queue-run-immediate-domain.js
    
    PR-URL: #17235
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Kcin1993 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    24b1839 View commit details
    Browse the repository at this point in the history
  41. test: use common.crashOnUnhandledRejection

    Add common.crashOnUnhandledRejection to
    test/sequential/test-inspector-break-e.js
    
    PR-URL: #17242
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    yozian authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0e5ff6f View commit details
    Browse the repository at this point in the history
  42. test: refactor concat string to template string

    PR-URL: #17252
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    jimmyolo authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e026132 View commit details
    Browse the repository at this point in the history
  43. deps: patch V8 to 6.2.414.46

    Refs: v8/v8@6.2.414.44...6.2.414.46
    PR-URL: #17206
    Reviewed-By: Michaël Zasso <[email protected]>
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7c2a9bb View commit details
    Browse the repository at this point in the history
  44. doc: update maintainting V8 guide

    - Mention the now existing Node.js canary branch.
    - Clearer steps for backporting commits.
    - Mention that `update-v8` can be used to simplify backports and
    updates.
    - Remove section about proposal for floating patches: embedder string
    has been implemented.
    - Wrap lines at 80 characters.
    
    PR-URL: #17260
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    targos authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4fafeae View commit details
    Browse the repository at this point in the history
  45. test: add test of stream Transform

    Add a test case of Transform constructor without new.
    
    PR-URL: #17303
    Reviewed-By: Ron Korving <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    kt3k authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    94abefb View commit details
    Browse the repository at this point in the history
  46. test: use Number.isNaN()

    PR-URL: #17319
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    fossamagna authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    284dad7 View commit details
    Browse the repository at this point in the history
  47. doc: replace function with arrow function

    PR-URL: #17304
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Ron Korving <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    078b4a6 View commit details
    Browse the repository at this point in the history
  48. test: use common.hasIntl instead of typeof Intl

    PR-URL: #17311
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AquiTCD authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b420209 View commit details
    Browse the repository at this point in the history
  49. test: use arrow function

    PR-URL: #17318
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    koooge authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d8e4d95 View commit details
    Browse the repository at this point in the history
  50. test: replace function with arrow function

    PR-URL: #17305
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kou-hin authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    3f4d0fc View commit details
    Browse the repository at this point in the history
  51. test: replace function with arrow function

    PR-URL: #17308
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    karszawa authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f51cb1c View commit details
    Browse the repository at this point in the history
  52. doc: replace function with arrow function in vm.md

    PR-URL: #17307
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    narirou authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0b14488 View commit details
    Browse the repository at this point in the history
  53. test: refactor using template string

    Use template string where it's appropriate.
    
    PR-URL: #17314
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kt3k authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e35aced View commit details
    Browse the repository at this point in the history
  54. doc: replace string with template string

    PR-URL: #17316
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2bd241e View commit details
    Browse the repository at this point in the history
  55. benchmark: refactor to use template string

    PR-URL: #17313
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    toniov authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    120d756 View commit details
    Browse the repository at this point in the history
  56. test: replace function with arrow function

    Replace some classic functions with arrow functions in
    test-child-process-send-cb.js
    
    PR-URL: #17312
    Reviewed-By: Ron Korving <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    spring_raining authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    97a279e View commit details
    Browse the repository at this point in the history
  57. test: make use of Number.isNaN to test-readfloat.js

    PR-URL: #17310
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    hiromoon authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    91e2117 View commit details
    Browse the repository at this point in the history
  58. test: fix isNAN->Number.isNAN

    PR-URL: #17309
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ykyz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1adccc6 View commit details
    Browse the repository at this point in the history
  59. build: remove empty VCLibrarianTool entry

    PR-URL: #17191
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0f727c0 View commit details
    Browse the repository at this point in the history
  60. src: make base64.h self-contained

    This commit includes stdint.h (for uint8_t, uint32_t, and int8_t) to
    make it self-contained.
    
    PR-URL: #17177
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    63f6947 View commit details
    Browse the repository at this point in the history
  61. doc: caution against removing pseudoheaders

    PR-URL: #17329
    Fixes: #15312
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a0acd91 View commit details
    Browse the repository at this point in the history
  62. build: fix bsd build with gcc

    BSD build with GCC was broken because it was checking for the
    llvm_version variable on common.gypi, even though llvm wasn't
    installed (or needed).
    
    PR-URL: #16737
    Fixes: #16257
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Matheus Marchini authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0a40a11 View commit details
    Browse the repository at this point in the history
  63. doc: Add link for ECMAScript 2015

    PR-URL: #17317
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    smatsu-hl authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    94be7fd View commit details
    Browse the repository at this point in the history
  64. module: add builtinModules

    Provides list of all builtin modules in Node.
    
    Includes modules of all types:
    - prefixed (ex: _tls_common)
    - deprecated (ex: sys)
    - regular (ex: vm)
    
    PR-URL: #16386
    Refs: #3307
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7ae7124 View commit details
    Browse the repository at this point in the history
  65. test: fix flaky parallel/test-http2-client-upload

    In parallel/test-http2-client-upload, the `client.destroy()`
    call could terminate the connection before all data was sent
    over the wire successfully.
    
    Using `client.shutdown()` removes the flakiness.
    
    Also, listen on `req.on('finish')` rather than the file stream’s
    `end` event, since we’re not interested in when the source stream
    finishes, but rather when the HTTP/2 stream finishes.
    
    PR-URL: #17361
    Refs: #17356
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Kyle Farnung <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1e3aed0 View commit details
    Browse the repository at this point in the history
  66. doc: fix typo occuring -> occurring

    PR-URL: #17350
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5756d67 View commit details
    Browse the repository at this point in the history
  67. http: do not assign intermediate variable

    No need for binding, it's only used in the next line to declare more
    variables :)
    
    PR-URL: #17335
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5a4b6c4 View commit details
    Browse the repository at this point in the history
  68. test: Update test-http-client-agent to use countdown timer

    PR-URL: #17325
    Refs: #17169
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    daxlab authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4a749c3 View commit details
    Browse the repository at this point in the history
  69. test: Update test-http-parser-free to use countdown timer

    PR-URL: #17322
    Refs: #17169
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    daxlab authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b033d38 View commit details
    Browse the repository at this point in the history
  70. build: add make lint-js-fix

    PR-URL: #17283
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    joyeecheung authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    46c1d99 View commit details
    Browse the repository at this point in the history
  71. test: refactored http test to use countdown

    PR-URL: #17241
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    24d08fe View commit details
    Browse the repository at this point in the history
  72. doc: move Code of Conduct to admin repo

    The CoC and moderation guidelines now live in the Admin repo.
    
    This PR updates the copy of CODE_OF_CONDUCT.md and references in
    other documents to the proper location.
    
    PR-URL: #17301
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0443909 View commit details
    Browse the repository at this point in the history
  73. doc: non-partitioned async crypto operations

    Neither crypto.randomBytes nor crypto.randomFill
    partitions the work submitted to the threadpool.
    
    This change was suggested during the discussion of #17054.
    See also #17154.
    
    PR-URL: #17250
    Refs: #17154
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    davisjam authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0488782 View commit details
    Browse the repository at this point in the history
  74. src: start heap object tracking after platform is initialized

    Garbage collection is triggered by the heap object tracker. The garbage
    collector may spawn garbage collection tasks on the foreground thread.
    This is only allowed after registering the isolate in the platform
    which happens in IsolateData. This CL moves the starting of the heap
    object tracker after calling IsolateData to ensure that.
    
    PR-URL: #17249
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-by: Michael Lippautz <[email protected]>
    hannespayer authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4667c5e View commit details
    Browse the repository at this point in the history
  75. module: be lazy when creating CJS facades

    This should remove the penalty for loading CJS that is never imported.
    
    PR-URL: #17153
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bmeck authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    06da8a7 View commit details
    Browse the repository at this point in the history
  76. tools: add lint fixer for require-buffer

    Adds `require-buffer` lint fixer.
    If the buffer module is not required while `Buffer` is used, require the `buffer` module.
    If the file has a `'use strict';` line, add the require after it on a separate line.
    If the file does not have any (currently impossible with the `strict` rule) add it after the first comment (before the real code starts).
    
    Fixes: #16636
    PR-URL: #17144
    Reviewed-By: Michaël Zasso <[email protected]>
    Bamieh authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b7f81ae View commit details
    Browse the repository at this point in the history
  77. test: Enable specifying flaky tests on fips

    Adds a way to mark a specified test as 'flaky' on fips compliant
    systems.
    
    Earlier, the ``tools/test.py`` script supported only 'mode',
    'system' and 'arch' for test environment specification. This limits the
    ability to specify the behavior of tests and setting pre-determined
    behavior of the same on other types of systems. As an example, the
    feature request below indicates the need to specify certain tests as
    'flaky' on fips compliant systems. It hints at future possibility of a
    shared library, which in turn may need a specifier for running tests.
    
    This commit introduces a new item in the ``env`` dict, called ``type``
    which defaults to ``simple`` type. It also adds an optional command
    line argument ``--type``, which inputs strings. Current functionality
    extends to setting ``simple`` or ``fips`` for this ``type`` variable.
    However, extending it to further uses is rather simple by adding "if"
    conditions at appropriate places in the ``tools/test.py`` script.
    
    PR-URL: #16329
    Fixes: #14746
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    komawar authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    afdfc4d View commit details
    Browse the repository at this point in the history
  78. test: add es6 module global leakage tests

    * created testing es6 module for global leakage tests
    * fixed a couple basic errors (vars -> lets, ...)
    * added globals leakage detection to es module tests
    * reversed whitespace change
    * whitespace change reversed
    
    PR-URL: #16341
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    tinybeachthor authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    36e2643 View commit details
    Browse the repository at this point in the history
  79. tools: prohibit notDeepEqual usage

    PR-URL: #16325
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    BridgeAR authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8e5b711 View commit details
    Browse the repository at this point in the history
  80. test: replace function with ES6 arrow function

    PR-URL: #17306
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    kjunichi authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    71eb186 View commit details
    Browse the repository at this point in the history
  81. tools: update to ESLint 4.12.0

    PR-URL: #16948
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6624ac3 View commit details
    Browse the repository at this point in the history
  82. module: fix for #17130 shared loader cjs dep

    PR-URL: #17131
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Bradley Farias <[email protected]>
    guybedford authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5736dc4 View commit details
    Browse the repository at this point in the history
  83. process: slightly simplify next tick execution

    Get rid of separate function to call callback from _tickCallback as
    it no longer yields worthwhile performance improvement.
    
    Move some code from nextTick & internalNextTick into TickObject
    constructor to minimize duplication.
    
    PR-URL: #16888
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9d65724 View commit details
    Browse the repository at this point in the history
  84. test: add common.dns.errorLookupMock

    PR-URL: #17296
    Refs: nodejs/help#687
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4e789a3 View commit details
    Browse the repository at this point in the history
  85. test: mock the lookup function in parallel tests

    These tests should not make any DNS calls. The lookup would fail
    when the DNS requests are hijacked and time out instead of erroring
    out.
    
    PR-URL: #17296
    Refs: nodejs/help#687
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    3d45a94 View commit details
    Browse the repository at this point in the history
  86. http2: general cleanups

    PR-URL: #17328
    Fixes: #15303
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Sebastiaan Deckers <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e5f92cd View commit details
    Browse the repository at this point in the history
  87. http2: reduce code duplication in settings

    PR-URL: #17328
    Fixes: #15303
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Sebastiaan Deckers <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    67abc1e View commit details
    Browse the repository at this point in the history
  88. test: fixup test-http2-create-client-secure-session

    General improvements to test and verify that a secureConnect
    handler is present
    
    PR-URL: #17328
    Fixes: #15303
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Sebastiaan Deckers <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    047bac2 View commit details
    Browse the repository at this point in the history
  89. http2: remove unnecessary event handlers

    PR-URL: #17328
    Fixes: #15303
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Sebastiaan Deckers <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4994d57 View commit details
    Browse the repository at this point in the history
  90. http2: use more descriptive names

    PR-URL: #17328
    Fixes: #15303
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Sebastiaan Deckers <[email protected]>
    jasnell authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    658338e View commit details
    Browse the repository at this point in the history
  91. doc: fix typo in stream.md

    PR-URL: #17357
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    matthewleon authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cc91a00 View commit details
    Browse the repository at this point in the history
  92. test: remove common.tmpDirName

    `common.tmpDirName` is used in only one test and can be replaced with
    `path.basename(common.tmpDir)`.
    
    PR-URL: #17266
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f1b26be View commit details
    Browse the repository at this point in the history
  93. async_wrap: add provider types for net server

    Adds `TCPSERVERWRAP` and `PIPESERVERWRAP` as provider types. This
    makes it possible to distinguish servers from connections.
    
    Backport-PR-URL: #17621
    PR-URL: #17157
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e0ce7cf View commit details
    Browse the repository at this point in the history
  94. doc: make error descriptions more concise

    Remove the practice of starting most error descriptions with "Used when"
    or wordier variations.
    
    Change errors of the form:
    
    > Used when the type of an asynchronous resource is invalid.
    
    ...to:
    
    > The type of an asynchronous resource was invalid.
    
    Change errors of the form:
    
    > The `'ERR_INVALID_CURSOR_POS'` is thrown specifically when a cursor on
    > a given stream is attempted to move to a specified row without a
    > specified column.
    
    ...to:
    
    > A cursor on a given stream cannot be moved to a specified row without
    > a specified column.
    
    Backport-PR-URL: #17622
    PR-URL: #16954
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    dcd87ac View commit details
    Browse the repository at this point in the history
  95. errors: consistent format for error message

    Consistently use printf-style strings for error messages that
    do not need a custom argument order or processing of arguments.
    
    Backport-PR-URL: #17624
    PR-URL: #16904
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a333e71 View commit details
    Browse the repository at this point in the history
  96. test: fix flaky async-hooks/test-graph.signal

    Make sure event loop remains open long enough for signal to be received.
    
    PR-URL: #17509
    Fixes: #14568
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f5a1e6c View commit details
    Browse the repository at this point in the history
  97. deps: V8: backport 14ac02c from upstream

    Original commit message:
      [cpu-profiler] Clear code entries when no observers are present.
    
      Performed manual testing as well by making 20 CPU profile recordings of
      loading http://meduza.io page. Without the patch the page renderer memory size
      grows beyond 300MB. With the patch it remains below 200MB.
    
      BUG=v8:6623
    
      Change-Id: Ifce541b84bb2aaaa5175520f8dd49dbc0cb5dd20
      Reviewed-on: https://chromium-review.googlesource.com/798020
      Commit-Queue: Alexei Filippov <[email protected]>
      Reviewed-by: Yang Guo <[email protected]>
      Cr-Commit-Position: refs/heads/master@{#49914}
    
    Ref: v8/v8@14ac02c
    PR-URL: #17512
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    ofrobots authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    49d23a3 View commit details
    Browse the repository at this point in the history
  98. Revert "deps: cherry-pick 3c8195d from V8 upstream"

    This reverts commit e7f30db.
    
    The original commit included tests for AsyncIterator that broke on 6.2
    
    PR-URL: #17383
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    465a32a View commit details
    Browse the repository at this point in the history
  99. deps: backport 3c8195d from V8 upstream

    Original commit message:
        Fix map constructor to correctly throw.
    
        We need to throw before rethrowing, otherwise the exception does
        not trigger a debugger event and is not reported if uncaught.
    
        [email protected], [email protected]
    
        Bug: v8:7047
        Change-Id: I7ce0253883a21d6059e4e0ed0fc56dc55a0dcba6
        Reviewed-on: https://chromium-review.googlesource.com/758372
        Reviewed-by: Jakob Gruber <[email protected]>
        Reviewed-by: Sathya Gunasekaran <[email protected]>
        Commit-Queue: Yang Guo <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#49237}
    
    Fixes: #17270
    PR-URL: #17383
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    47cd49a View commit details
    Browse the repository at this point in the history
  100. src: explicitly register built-in modules

    Previously, built-in modules are registered before main() via
    __attribute__((constructor)) mechanism in GCC and similiar
    mechanism in MSVC. This causes some issues when node is built as
    static library. Calling module registration function for built-in
    modules in node::Init() helps to avoid the issues.
    
    Signed-off-by: Yihong Wang <[email protected]>
    Refs: #14986 (comment)
    Backport-PR-URL: #17625
    PR-URL: #16565
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    yhwang authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9c7a42a View commit details
    Browse the repository at this point in the history
  101. doc: clarify fast-track of reversions

    PR-URL: #17332
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    refack authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    bd55a79 View commit details
    Browse the repository at this point in the history
  102. build,win,msi: support WiX with VS2017

    PR-URL: #17101
    Reviewed-By: Nikolai Vavilov <[email protected]>
    joaocgreis authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    87c885b View commit details
    Browse the repository at this point in the history
  103. build: fix test-v8 target

    Clean the deps/v8 directory before rebuilding node for the hash seed
    test. It is necessary to avoid the script added in [1] to use ignored
    files while generating `node-debug-support.cc`.
    
    [1]: #14901
    
    PR-URL: #17269
    Fixes: nodejs/node-v8#26
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    targos authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    742a456 View commit details
    Browse the repository at this point in the history
  104. module: print better message on esm syntax error

    Include the offending line in the output and underline the bad token.
    
    Before this commit, it printed "SyntaxError: Unexpected reserved word"
    without indicating where the syntax error is.
    
    Now it prints the line and underlines the offending token, like it does
    for syntax errors in CJS scripts.
    
    Minor changes are made to the test runner in order to support `*.mjs`
    files in test/message.
    
    Fixes: #17277
    PR-URL: #17281
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b719b77 View commit details
    Browse the repository at this point in the history
  105. test: replace function with arrow function

    1. Among the list of Code and Learn,
    I solved the unfinished task of replacing function with arrow function:
    nodejs/code-and-learn#72 (comment)
    
    2. Replace arrow function with shorter property syntax
    Arrow function makes `this` lexical scope.
    But toString expects evaluate `this` in runtime.
    
    3. Replace this with null
    makeBlock does not need `this`.
    update `this` with `null` to clarify the intent.
    
    PR-URL: #17345
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6e3a8be View commit details
    Browse the repository at this point in the history
  106. src: remove ClearFatalExceptionHandlers()

    At its call sites, `ClearFatalExceptionHandlers()` was used to
    make the process crash as soon as possible once an exception occurred,
    without giving JS land a chance to interfere.
    
    `ClearFatalExceptionHandlers()` awkwardly removed the current domain
    and any `uncaughtException` handlers, whereas a clearer way is to
    execute the relevant reporting (and `exit()`) code directly.
    
    PR-URL: #17333
    Refs: #17159
    Refs: #17324
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6a7a59a View commit details
    Browse the repository at this point in the history
  107. deps: cherry-pick 1420e44db0 from upstream V8

    Original commit message:
    
        [coverage] Correctly free DebugInfo in the absence of breakpoints
    
        It's quite possible for DebugInfos to exist without the presence of a
        bytecode array, since DebugInfos are created for all functions for which
        we have a CoverageInfo. Free such objects properly.
    
        Also move the corresponding deletion of CoverageInfos on unload up
        before the early exit.
    
        Bug: v8:6000
        Change-Id: Idde45b222290aa8b6828b61ff2251918b8ed2aed
        Reviewed-on: https://chromium-review.googlesource.com/664811
        Reviewed-by: Yang Guo <[email protected]>
        Commit-Queue: Jakob Gruber <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#48024}
    
    Fixes crash when passing Profiler.startPreciseCoverage before
    Debug.paused is received.
    
    PR-URL: #17344
    Refs: v8/v8@1420e44
    Refs: bcoe/c8#6 (comment)
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    TimothyGu authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9f282dd View commit details
    Browse the repository at this point in the history
  108. timers: cross JS/C++ border less frequently

    This removes the `process._needImmediateCallback` property
    and its semantics of having a 1/0 switch that tells C++ whether
    immediates are currently scheduled.
    
    Instead, a counter keeping track of all immediates is created,
    that can be increased on `setImmediate()` or decreased when an
    immediate is run or cleared.
    
    This is faster, because rather than reading/writing a C++ getter,
    this operation can be performed as a direct memory read/write via
    a typed array. The only C++ call that is left to make is
    activating the native handles upon creation of the first
    `Immediate` after the queue is empty.
    
    One other (good!) side-effect is that `immediate._destroyed` now
    reliably tells whether an `immediate` is still scheduled to run or not.
    
    Also, as a nice extra, this should make it easier to implement
    an internal variant of `setImmediate` for C++ that piggybacks
    off the same mechanism, which should be useful at least for
    async hooks and HTTP/2.
    
    Benchmark results:
    
        $ ./node benchmark/compare.js --new ./node --old ./node-master-1b093cb93df0 --runs 10 --filter immediate timers | Rscript benchmark/compare.R
        [00:08:53|% 100| 4/4 files | 20/20 runs | 1/1 configs]: Done
                                                             improvement confidence      p.value
         timers/immediate.js type="breadth" thousands=2000      25.61 %         ** 1.432301e-03
         timers/immediate.js type="breadth1" thousands=2000      7.66 %            1.320233e-01
         timers/immediate.js type="breadth4" thousands=2000      4.61 %            5.669053e-01
         timers/immediate.js type="clear" thousands=2000       311.40 %        *** 3.896291e-07
         timers/immediate.js type="depth" thousands=2000        17.54 %         ** 9.755389e-03
         timers/immediate.js type="depth1" thousands=2000       17.09 %        *** 7.176229e-04
         timers/set-immediate-breadth-args.js millions=5        10.63 %          * 4.250034e-02
         timers/set-immediate-breadth.js millions=10            20.62 %        *** 9.150439e-07
         timers/set-immediate-depth-args.js millions=10         17.97 %        *** 6.819135e-10
    
    PR-URL: #17064
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    fd501b3 View commit details
    Browse the repository at this point in the history
  109. process: add flag for uncaught exception abort

    Introduce `process.shouldAbortOnUncaughtException` to control
    `--abort-on-uncaught-exception` behaviour, and implement
    some of the domains functionality on top of it.
    
    PR-URL: #17159
    Refs: #17143
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    347164a View commit details
    Browse the repository at this point in the history
  110. src: use NODE_BUILTIN_MODULE_CONTEXT_AWARE() macro

    Commit d217b28 ("async_hooks: add trace events to async_hooks")
    used `NODE_MODULE_CONTEXT_AWARE_BUILTIN()` instead.
    
    After commit 8680bb9 ("src: explicitly register built-in modules")
    it no longer works for static library builds so remove it.
    
    PR-URL: #17071
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    bnoordhuis authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0db1f87 View commit details
    Browse the repository at this point in the history
  111. timers: clean up for readability

    Remove micro-optimizations that no longer yield any benefits,
    restructure timers & immediates to be a bit more straightforward.
    
    Adjust timers benchmarks to run long enough to offer meaningful data.
    
    PR-URL: #17279
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    bd79c37 View commit details
    Browse the repository at this point in the history
  112. src: introduce USE() for silencing compiler warnings

    PR-URL: #17333
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9b27bc8 View commit details
    Browse the repository at this point in the history
  113. doc: fix doc example for cctest

    cctest guide example wasn't working because of a few typos.
    
    PR-URL: #17355
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Matheus Marchini authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    3807c68 View commit details
    Browse the repository at this point in the history
  114. doc: add guide to maintaining npm

    This is based on the guide found on their wiki
    
    refs: https:/npm/npm/wiki/CLI-Team-Process#submitting-the-new-latest-x-to-nodejs
    
    PR-URL: #16541
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2a4f4f8 View commit details
    Browse the repository at this point in the history
  115. tools,test: use Execute instead of check_output

    subprocess.check_output is a python2.7 only feature. Using Execute
    allows keeping python2.6 compatibility
    
    PR-URL: #17381
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    refack authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8bd74c4 View commit details
    Browse the repository at this point in the history
  116. tools: add Boxstarter script

    Adds a Boxstarter script for easy Node.js building prerequisites installation
    
    PR-URL: #17046
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    bzoz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1cc6df2 View commit details
    Browse the repository at this point in the history
  117. src: fix typo in NODE_OPTIONS whitelist

    The whitelist of allowed cli flags that can be passed in the
    NODE_OPTIONS environment variable had --trace-events-categories,
    but the cli flag is actually --trace-event-categories.
    
    PR-URL: #17369
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    evanlucas authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7f55f98 View commit details
    Browse the repository at this point in the history
  118. tools: add docs for prefer-util-format-errors rule

    I had a little trouble understanding what the rule was trying to say, so
    am documenting what would pass/fail.
    
    PR-URL: #17376
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e41344f View commit details
    Browse the repository at this point in the history
  119. src: use nullptr instead of NULL

    PR-URL: #17373
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ceda8c5 View commit details
    Browse the repository at this point in the history
  120. tools: add cpplint rule for NULL usage

    This commit is a suggestion for adding a rule for NULL usages in the
    code base. This will currently report a number of errors which could be
    ignored using // NOLINT (readability/null_usage)
    
    PR-URL: #17373
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1e34a0e View commit details
    Browse the repository at this point in the history
  121. test: use v8 Default Allocator in cctest fixture

    This commit updates the node_test_fixture to use
    v8::ArrayBuffer::Allocator::NewDefaultAllocator() and removes the custom
    allocator.
    
    PR-URL: #17366
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ca81d4b View commit details
    Browse the repository at this point in the history
  122. test: make CreateParams stack-allocated

    PR-URL: #17366
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    78592a3 View commit details
    Browse the repository at this point in the history
  123. doc,test: remove unnecessary await with return instances

    Remove unnecessary `await` in combination with `return` in preparation
    for enabling lint rule.
    
    PR-URL: #17265
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a256482 View commit details
    Browse the repository at this point in the history
  124. tools: enable no-return-await lint rule

    Enable lint rule that prohibits unnecessary use of `await` with
    `return`.
    
    PR-URL: #17265
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6c65e04 View commit details
    Browse the repository at this point in the history
  125. deps: upgrade libuv to 1.18.0

    PR-URL: #17282
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e3df569 View commit details
    Browse the repository at this point in the history
  126. errors: fix typo in TLS_SESSION_ATTACK message

    PR-URL: #17388
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    tomhallam authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9c2f24e View commit details
    Browse the repository at this point in the history
  127. src: use non-deprecated versions of ->To*() utils

    Squashed from multiple commits:
    
    - src: replace ->To*(isolate) with ->To*(context).ToLocalChecked()
    
    - test: use .As<Object> on Exception::Error
    
      > Exception::Error always returns an object, so e.As<Object>() should also work fine
      See #17343 (comment)
    
    - test: use .As<Object> instead of ->ToObject
    
      we already checked that its a buffer
    
    - src: use FromMaybe instead of ToLocalChecked
    
      It fixed this test case: 19a1b2e
    
    - src: pass context to Get()
    
      Dont pass Local<Context> is deprecated soon.
      So we migrate to maybe version.
    
    - src: return if Get or ToObject return an empty before call ToLocalChecked
    
    Refs: #17244
    PR-URL: #17343
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    419cde7 View commit details
    Browse the repository at this point in the history
  128. test: add test case for throwing an exception with vm.Script

    It failed with `FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal`.
    
    PR-URL: #17343
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f060881 View commit details
    Browse the repository at this point in the history
  129. test: add test case for process.dlopen with undefined

    PR-URL: #17343
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8336e4f View commit details
    Browse the repository at this point in the history
  130. src: node_http2_state.h should not be executable

    PR-URL: #17408
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9b41c0b View commit details
    Browse the repository at this point in the history
  131. doc: improve checkServerIdentity docs

    PR-URL: #17203
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Hannes-Magnusson-CK authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a596577 View commit details
    Browse the repository at this point in the history
  132. doc: document tls.checkServerIdentity

    The funciton was added in eb2ca10
    
    PR-URL: #17203
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Hannes-Magnusson-CK authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7849d53 View commit details
    Browse the repository at this point in the history
  133. test: expanded assertions for console.timeEnd() output

    Added assertions to verify that console.time() coerces labels to
    strings correctly, by comparing against the expected output values of
    console.timeEnd().
    
    This helps resolve #14544 but will
    not address the whole thing.
    
    PR-URL: #17368
    Refs: #14643
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    nikniv authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ee1c95f View commit details
    Browse the repository at this point in the history
  134. test: refactored test-http-response-splitting to use countdown

    PR-URL: #17348
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1866b05 View commit details
    Browse the repository at this point in the history
  135. test: update test/parallel/test-http-pipe-fs.js to use countdown

    PR-URL: #17346
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    chungngoops authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ef25de7 View commit details
    Browse the repository at this point in the history
  136. test: refactored test-http-allow-req-after-204-res to countdown

    PR-URL: #17211
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4fb0708 View commit details
    Browse the repository at this point in the history
  137. doc: be concise about serial commas

    There is no need to hedge bets on the serial comma. Simply instruct
    people to use it.
    
    PR-URL: #17384
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9df52dd View commit details
    Browse the repository at this point in the history
  138. doc: add missing serial commas

    PR-URL: #17384
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e00923b View commit details
    Browse the repository at this point in the history
  139. test,doc: do not indicate that non-functions "return" values

    Update documentation for test `common` module so that properties that
    are not functions do not specify a return type and functions that do
    return values specify the type.
    
    PR-URL: #17267
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0093840 View commit details
    Browse the repository at this point in the history
  140. tools: update markdown lint presets

    Update remark-preset-lint-node to version at commit hash
    859eab541e0f63839b33196f26e2bed4dfe2b194. This is the most recent
    version at this time (although not yet published to npm). It includes
    linting for "v8" where "V8" is intended and "Javascript" Where
    "JavaScript" is intended. By installing those lint rules now rather than
    waiting for a published version, we avoid the possibility that new
    markdown text with those prohibited strings will be introduced.
    
    PR-URL: #17382
    Reviewed-By: Jon Moss <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0e5dc8f View commit details
    Browse the repository at this point in the history
  141. build,win: vcbuild refactoring call configure

    PR-URL: #17299
    Reviewed-By: Tobias Nießen <[email protected]>
    refack authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    90a5e9f View commit details
    Browse the repository at this point in the history
  142. doc: introduce categories to Cpp style guide

    Ref: #17052 (comment)
    
    PR-URL: #17095
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    fhinkel authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d3e76e7 View commit details
    Browse the repository at this point in the history
  143. test: update test-http-status-reason-invalid-chars to use countdown

    PR-URL: #17342
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    91d5416 View commit details
    Browse the repository at this point in the history
  144. test: update test-http-upgrade-client to use countdown

    PR-URL: #17339
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c9a4f4f View commit details
    Browse the repository at this point in the history
  145. test: add test case for missing branch

    - The case of id is string, flags is number
    - The case of flags is not 0
    
    PR-URL: #17418
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0afcea2 View commit details
    Browse the repository at this point in the history
  146. console: make dirxml an alias for console.log

    This method was previously exposed by V8 (since node 8.0.0) but not
    implemented in node.
    
    PR-URL: #17152
    Refs: #17128
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Tiriel authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    23967b2 View commit details
    Browse the repository at this point in the history
  147. test: remove common.fixturesDir from tests

    Use common/fixtures module instead of common.fixturesDir.
    
    PR-URL: #17400
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Lance Ball <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    92b29cd View commit details
    Browse the repository at this point in the history
  148. test: remove fixturesDir from common module

    Remove common.fixturesDir. All tests now use the the common/fixtures
    module instead.
    
    PR-URL: #17400
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Lance Ball <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    259f2d3 View commit details
    Browse the repository at this point in the history
  149. src: use uv_os_getpid() to get process id

    This commit uses the new uv_os_getpid() method to retrieve the
    current process id.
    
    PR-URL: #17415
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    40acda2 View commit details
    Browse the repository at this point in the history
  150. test: make common.mustNotCall show file:linenumber

    When a test fails via `common.mustNotCall` it is sometimes hard to
    determine exactly what was called. This modification stores the
    caller's file and line number by using the V8 Error API to capture
    a stack at the time `common.mustNotCall()` is called. In the event
    of failure, this information is printed.
    
    This change also exposes a new function in test/common, `getCallSite()`
    which accepts a `function` and returns a `String` with the file name and
    line number for the function.
    
    PR-URL: #17257
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    lance authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9cbb0da View commit details
    Browse the repository at this point in the history
  151. test: update test-http-timeout to use countdown

    PR-URL: #17341
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    69e775d View commit details
    Browse the repository at this point in the history
  152. test: update test-http-response-multiheaders to use countdown

    PR-URL: #17419
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    hmammedzadeh authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5fecdba View commit details
    Browse the repository at this point in the history
  153. test: remove common.PORT from parallel tests

    `common.PORT` should not be used in parallel tests because another test
    may experience a collision with `common.PORT` when using port 0 to get
    an open port. This has been observed to result in test failures in CI.
    
    PR-URL: #17410
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Lance Ball <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8c81ba0 View commit details
    Browse the repository at this point in the history
  154. test: use Countdown in http test

    PR-URL: #17436
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    85e6271 View commit details
    Browse the repository at this point in the history
  155. test: forbid common.mustCall*() in process exit handlers

    `common.mustCall()` and `common.mustCallAtLeast()` need to be called
    before process exit handlers to work because checks are done inside a
    process exit handler. Detect if being used inside a process exit handler
    and throw.
    
    PR-URL: #17453
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0ade488 View commit details
    Browse the repository at this point in the history
  156. test: use common.mustCall in test-http-malformed-request

    PR-URL: #17439
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    07fd4cf View commit details
    Browse the repository at this point in the history
  157. doc: update example in module registration

    Update return type of `Init` function in documentation to match
    `napi_addon_register_func` signature. Return type used to be
    `void`, now it is `napi_value`.
    
    PR-URL: #17424
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    fhinkel authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cd7cee5 View commit details
    Browse the repository at this point in the history
  158. test: replace assert.throws with common.expectsError

    PR-URL: #17445
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0ac87c2 View commit details
    Browse the repository at this point in the history
  159. test: update test-http-request-dont-override-options to use common.mu…

    …stCall
    
    PR-URL: #17438
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d8018bc View commit details
    Browse the repository at this point in the history
  160. test: fix flaky test-benchmark-events

    Make sure each benchmark file only runs one combination of options.
    Allow for zero iterations for short benchmark.
    
    PR-URL: #17472
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    619cbc4 View commit details
    Browse the repository at this point in the history
  161. dns: fix crash while setting server during query

    Fix this issue follow these two points:
    
    1. Keep track of how many queries are currently open. If `setServers()`
       is called while there are open queries, error out.
    2. For `Resolver` instances, use option 1. For dns.setServers(), just
       create a fresh new default channel every time it is called, and then
       set its servers list.
    
    PR-URL: #14891
    Fixes: #14734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    XadillaX authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    026f760 View commit details
    Browse the repository at this point in the history
  162. test: add dgram benchmark test

    PR-URL: #17462
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    jopann authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    562007c View commit details
    Browse the repository at this point in the history
  163. test: add more settings to test-benchmark-dgram

    Add settings to test-benchmark-dgram such that it only runs benchmark
    per benchmark file.
    
    PR-URL: #17462
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cca3526 View commit details
    Browse the repository at this point in the history
  164. doc: use colon consistently in assert.md

    PR-URL: #17463
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ef7444c View commit details
    Browse the repository at this point in the history
  165. doc: improve punctuation in fs.open() text

    PR-URL: #17463
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f3ec355 View commit details
    Browse the repository at this point in the history
  166. doc: standardize preposition usage in fs.md

    "On <operating system>" is used everywhere in this file except for one
    use of "In <operating system>". Standardize to "On".
    
    PR-URL: #17463
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4fff2ab View commit details
    Browse the repository at this point in the history
  167. doc: edit module introduction

    The module introduction includes some uninformative text and some
    repetitive text. Edit for clarity and brevity.
    
    PR-URL: #17463
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    01be946 View commit details
    Browse the repository at this point in the history
  168. doc: add serial comma in CPP_STYLE_GUIDE.md

    PR-URL: #17464
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    20dcbfc View commit details
    Browse the repository at this point in the history
  169. build: add serial commas to messages in configure script

    PR-URL: #17464
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5e0f393 View commit details
    Browse the repository at this point in the history
  170. doc: use serial comma in tls.md

    PR-URL: #17464
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f7b0054 View commit details
    Browse the repository at this point in the history
  171. test: remove hidden use of common.PORT in parallel tests

    common.hasMultiLocalhost() uses common.PORT under the hood. This is
    problematic in parallel tests because another test using port 0 to
    get an arbitrary open port may end up getting common.PORT before the
    test using common.PORT gets it.
    
    Therefore, change common.PORT to port 0 in common.hasMultiLocalhost().
    
    PR-URL: #17466
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    fe9d9f7 View commit details
    Browse the repository at this point in the history
  172. doc: update AUTHORS list

    PR-URL: #17452
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    targos authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    53ed055 View commit details
    Browse the repository at this point in the history
  173. test: refactor code to use common.mustCall

    PR-URL: #17437
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8c32b4a View commit details
    Browse the repository at this point in the history
  174. doc: use arrow functions in util.md sample code

    PR-URL: #17459
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7e38821 View commit details
    Browse the repository at this point in the history
  175. process: slight refinements to nextTick

    Remove length prop on NextTickQueue class. We technically don't need to
    keep track of the length of the queue in two places as we already have
    tickInfo doing that work (between the index & the length we have enough
    data for everything).
    
    Store asyncId in a const within the _tickCallback function. Accessing
    Symbol properties seems to be quite a bit more expensive than string
    keys so this actually has a decent performance impact.
    
    PR-URL: #17421
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a159a2c View commit details
    Browse the repository at this point in the history
  176. test: add common.crashOnUnhandledRejection()

    PR-URL: #17247
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    IHsuan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0754734 View commit details
    Browse the repository at this point in the history
  177. doc: remove IPC channel implementation details

    IPC messages are more complicated than a simple pipe passing JSON
    objects separated by new line. This removes inaccurate notes about
    implementation from the documentation.
    
    PR-URL: #17460
    Fixes: #16491
    Fixes: #17405
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bzoz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e9ee168 View commit details
    Browse the repository at this point in the history
  178. doc: remove unused link reference

    PR-URL: #17510
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    35d492c View commit details
    Browse the repository at this point in the history
  179. test: expand coverage for crypto

    crypto.Hash
    - Call constructor without new keyword
    
    crypto.Hmac
    - Call constructor without new keyword
    - Call constructor with typeof hmac != string
    - Call constructor with typeof hmac = string, typeof key != string
    
    PR-URL: #17447
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a407a48 View commit details
    Browse the repository at this point in the history
  180. doc: use American spellings per style guide

    PR-URL: #17471
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6c97f7f View commit details
    Browse the repository at this point in the history
  181. test: fix flaky test-benchmark-util

    Allow for zero iterations on benchmarks with a short duration.
    
    PR-URL: #17473
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    50f120e View commit details
    Browse the repository at this point in the history
  182. build, win: faster Release rebuilds

    Sets Link Time Code Generation to INCREMENTAL improving Release
    rebuilds speed.
    
    Adds no-cctest option to vcbuild.bat, which will skip building
    cctest.exe
    
    PR-URL: #17393
    Reviewed-By: Refael Ackermann <[email protected]>
    bzoz authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5fc1e27 View commit details
    Browse the repository at this point in the history
  183. crypto: use SetNull instead of Set

    This commit updates the only usage of Set(Null(env->isolate()) to use
    SetNull() instead which is used in other places in node_crypto.cc.
    
    PR-URL: #17521
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    9e50f17 View commit details
    Browse the repository at this point in the history
  184. doc: fix typo in dns.md

    PR-URL: #17502
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    07df234 View commit details
    Browse the repository at this point in the history
  185. doc: fix common typo involving one-time listeners

    Our docs use both "one time listener" and "one-time listener". The
    second is more correct. Standardize on that.
    
    PR-URL: #17502
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    232a486 View commit details
    Browse the repository at this point in the history
  186. doc: fix typo in repl.md

    PR-URL: #17502
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b8141a4 View commit details
    Browse the repository at this point in the history
  187. timers: improvements to TimersList management

    Move all the TimersList instantiation code into the constructor.
    
    Compare values to undefined & null as appropriate instead of
    truthy or falsy.
    
    PR-URL: #17429
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    89d31ee View commit details
    Browse the repository at this point in the history
  188. test: fix flaky test-benchmark-querystring

    Allow zero iterations for short benchmark in test.
    
    PR-URL: #17517
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7d3a843 View commit details
    Browse the repository at this point in the history
  189. crypto: declare int return type for set_field

    This commit updates the set_field function pointer to return an int, and
    also updates the lambdas with a return statement.
    
    PR-URL: #17468
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    49402b1 View commit details
    Browse the repository at this point in the history
  190. test: replace fs.accessSync with fs.existsSync

    PR-URL: #17446
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    928aecc View commit details
    Browse the repository at this point in the history
  191. test: improve crypto test coverage

    - Call Sign without new
    - Call Verify without new
    - Call Verify#verify with options.padding !== options.padding >> 0
    - Call Verify#verify with options.saltLength !== options.saltLength >> 0
    
    PR-URL: #17426
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Leko authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    fb553b5 View commit details
    Browse the repository at this point in the history
  192. util: remove check for global.process

    process is explicitly passed by NativeModule now.
    
    PR-URL: #17435
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    devsnek authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c5d20b3 View commit details
    Browse the repository at this point in the history
  193. doc: mention node-test-pull-request-lite job

    PR-URL: #17513
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    maclover7 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6aa6d41 View commit details
    Browse the repository at this point in the history
  194. test: update http test to use Countdown

    PR-URL: #17477
    Refs: #17169
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    onneri authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7b8622f View commit details
    Browse the repository at this point in the history
  195. doc: add info on post-publishing ARM6 builds

    ARM6 takes longer, more often fails builds than other
    platforms.  Add instructions for how to recover in this
    case.
    
    PR-URL: #17455
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mhdawson authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7f2764d View commit details
    Browse the repository at this point in the history
  196. test: Use common.mustCall in http test

    PR-URL: #17487
    Refs: #17169
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    sreepurnajasti authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    af8e27d View commit details
    Browse the repository at this point in the history
  197. test: replace assert.throws w/ common.expectsError

    PR-URL: #17494
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c2ff36e View commit details
    Browse the repository at this point in the history
  198. test: replace assert.throws w/ common.expectsError

    PR-URL: #17497
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f399667 View commit details
    Browse the repository at this point in the history
  199. fs: use rest param & Reflect.apply in makeCallback

    PR-URL: #17486
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benedikt Meurer <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    715baf8 View commit details
    Browse the repository at this point in the history
  200. test: use Countdown in test-http-set-cookies

    PR-URL: #17504
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    shilomagen authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    919625b View commit details
    Browse the repository at this point in the history
  201. test: use Countdown in http-response-statuscode

    PR-URL: #17327
    Refs: #17169
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    daxlab authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    2a5da9c View commit details
    Browse the repository at this point in the history
  202. test: use Number.isNaN instead of global isNaN

    PR-URL: #17515
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1aae28b View commit details
    Browse the repository at this point in the history
  203. doc: improve readability of COLLABORATOR_GUIDE.md

    * convert run-on sentence to a bulleted list
    * standardize capitalization in "Collaborators"
    
    PR-URL: #17519
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0948238 View commit details
    Browse the repository at this point in the history
  204. doc: improve readability of README.md

    Use consistent typography and other minor changes to Verifying Binaries
    section.
    
    PR-URL: #17519
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cb09959 View commit details
    Browse the repository at this point in the history
  205. doc: improve text for Console constructor

    Make text for Console constructor more precise.
    
    PR-URL: #17519
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    18d6dab View commit details
    Browse the repository at this point in the history
  206. doc: immprove inode text in fs.md

    Rewrite and edit somewhat confusing paragraph about inodes and AIX in
    fs.md.
    
    PR-URL: #17519
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    865c452 View commit details
    Browse the repository at this point in the history
  207. doc: add "Hello world" example for N-API

    Our Addons documentation has a "Hello world" example that
    outlines all steps to build it. Adding the sources for this
    "Hello world" example for N-API.
    
    PR-URL: #17425
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    fhinkel authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    0a0a56a View commit details
    Browse the repository at this point in the history
  208. test: use Countdown in http test

    PR-URL: #17506
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    idandagan1 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    993b1cb View commit details
    Browse the repository at this point in the history
  209. test: replace assert.throws w/ common.expectsError

    PR-URL: #17498
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d15cdc6 View commit details
    Browse the repository at this point in the history
  210. test: use common.expectsError in tests

    PR-URL: #17484
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    28b2d8a View commit details
    Browse the repository at this point in the history
  211. test: replace assert.throws w/ common.expectsError

    PR-URL: #17483
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ff59d3a View commit details
    Browse the repository at this point in the history
  212. doc: use correct and consistent typography for products

    Use `GitHub` rather than `Github` and `Node.js` rather than `Node.JS`.
    
    PR-URL: #17492
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8a17b7b View commit details
    Browse the repository at this point in the history
  213. tools: lint for additional strings in docs

    Check for uses of `Github` (rather than `GitHub`) and `Node.JS` (rather
    than `Node.js`) in markdown files.
    
    PR-URL: #17492
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e57af5a View commit details
    Browse the repository at this point in the history
  214. test: fix flaky test-benchmark-es

    Allow zero iterations for short benchmark in test.
    
    PR-URL: #17516
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f3d6198 View commit details
    Browse the repository at this point in the history
  215. build: add a make help option for common targets

    PR-URL: #17323
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    gibfahn authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4bb27a2 View commit details
    Browse the repository at this point in the history
  216. src: fix missing handlescope bug in inspector

    Fix a regression that was introduced in commit 5886e20 ("inspector:
    track async stacks when necessary") and that I overlooked during review:
    the persistent handle with the callback must be rematerialized *after*
    the `v8::HandleScope` is created, not before.
    
    Apparently `test/sequential/test-inspector-async-call-stack.js` has
    no test coverage for this scenario and I'm out of good ideas on how
    to create a concise and reliable test case.
    
    Fixes: #17496
    PR-URL: #17539
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    bnoordhuis authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    fb3ea4c View commit details
    Browse the repository at this point in the history
  217. doc: 'constructor' implies use of new keyword

    The square module is described as exporting a constructor,
    which would mean it would need to be invoked with the
    new keyword in bar.js after requiring it. Otherwise it's
    technically a factory function, not a constructor.
    
    PR-URL: #17364
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    CameronMoorehead authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1eff647 View commit details
    Browse the repository at this point in the history
  218. tools: replace space with \b in regex

    PR-URL: #17479
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    DiegoRBaquero authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    70cfe68 View commit details
    Browse the repository at this point in the history
  219. test: update test-http-should-keep-alive to use countdown

    PR-URL: #17505
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    tomeromrix authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    6576382 View commit details
    Browse the repository at this point in the history
  220. util: fix negative 0 check in inspect

    PR-URL: #17507
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    devsnek authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8383c34 View commit details
    Browse the repository at this point in the history
  221. test: improve assert messages in repl-reset-event

    PR-URL: #16836
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AdriVanHoudt authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    39d8e44 View commit details
    Browse the repository at this point in the history
  222. crypto: do not reach into OpenSSL internals for ThrowCryptoError

    There is a perfectly serviceable ERR_get_error function which avoids
    having to sniff through the OpenSSL ring buffer like that. It does
    return the errors in the opposite order, but that's easily fixed with
    std::reverse.
    
    Note this behavior is slightly different in that an ERR_get_error loop
    will ultimately clear the error queue, but this is desirable. Leaving
    the error queue uncleared means errors in subsequent operations may get
    mixed up and cause issues.
    
    PR-URL: #16701
    Reviewed-By: Ben Noordhuis <[email protected]>
    davidben authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8c21430 View commit details
    Browse the repository at this point in the history
  223. doc: esm loader example with module.builtinModules

    PR-URL: #17385
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    guybedford authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    b015747 View commit details
    Browse the repository at this point in the history
  224. crypto: remove explicit qualifiers in Initialize

    This commit removes the explicit namespace qualifiers in
    Connection::Initialize, and SecureContext:Initialize which should not
    necessary in a member function (using an unqualified name should resolve
    by searching the class of the member function).
    
    This is consistent with the other intialize functions in node_crypto
    like Hmac::Initialize, Hash::Initialize, Sign::Initialize,
    Verify::Initialize, DiffieHellman::Initialize, ECDH::Initialize,
    and InitCrypto.
    
    PR-URL: #17490
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    c951e2c View commit details
    Browse the repository at this point in the history
  225. build: define HAVE_OPENSSL macro for cctest

    cctest build target wasn't defining the HAVE_OPENSSL macro when
    node_use_openssl was true, causing inconsistencies on most
    `node::Environment` member's addresses. For example, if someone
    wanted to access the context of an environment by using
    `node::Environment::context()`, the object returned by the
    function was pointing to an invalid address.
    
    PR-URL: #17461
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Matheus Marchini authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5d1463a View commit details
    Browse the repository at this point in the history
  226. test: update http test to use common.mustCall

    PR-URL: #17528
    Reviewed-By: Anatoli Papirovski <[email protected]>
    collin5 authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    510116e View commit details
    Browse the repository at this point in the history
  227. build: allow running configure from any directory

    PR-URL: #17321
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    gibfahn authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    dcb53c1 View commit details
    Browse the repository at this point in the history
  228. test: use Countdown in http-agent test

    PR-URL: #17537
    Reviewed-By: Anatoli Papirovski <[email protected]>
    fedekau authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    bb780d2 View commit details
    Browse the repository at this point in the history
  229. http: simplify checkIsHttpToken()

    Replace code optimized for older versions of V8 with more
    straightforward code in checkIsHttpToken().
    
    PR-URL: #17399
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    24dc57b View commit details
    Browse the repository at this point in the history
  230. doc: simplify and clarify FIPS text in BUILDING.md

    PR-URL: #17538
    Fixes: #17536
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    a965dda View commit details
    Browse the repository at this point in the history
  231. crypto: remove BIO_set_shutdown

    I've not been able to find any reason for calling
    BIO_set_shutdown(bio, 1). This is done by default for the following
    versions of OpenSSL:
    
    https:/openssl/openssl/blob/OpenSSL_1_1_0/
    crypto/bio/bio_lib.c#L26
    
    https:/openssl/openssl/blob/OpenSSL_1_0_1/
    crypto/bio/bio_lib.c#L90
    
    https:/openssl/openssl/blob/OpenSSL_1_0_2/
    crypto/bio/bio_lib.c#L88
    
    https:/openssl/openssl/blob/OpenSSL_1_0_0/
    crypto/bio/bio_lib.c#L90
    
    This commit removes the call and the comment.
    
    PR-URL: #17542
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    4a5e322 View commit details
    Browse the repository at this point in the history
  232. src: remove unused include node_crypto_clienthello

    This commit removes the include of node.h which does not seem to be
    used.
    
    PR-URL: #17546
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8dcc40a View commit details
    Browse the repository at this point in the history
  233. tools: don't lint-md as part of main lint target

    PR-URL: #17587
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    refack authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    8996418 View commit details
    Browse the repository at this point in the history
  234. doc: add link to debugger in process.md

    PR-URL: #17522
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Delapouite authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    7e2fa5a View commit details
    Browse the repository at this point in the history
  235. test: refactored to remove unnecessary variables

    PR-URL: #17553
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mithunsasidharan authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f7e5ab0 View commit details
    Browse the repository at this point in the history
  236. benchmark: fix http/simple.js benchmark

    autocannon appears to have trouble recognizing URLs that contain true
    or false within them. Use 0 or 1 instead to represent the same.
    
    PR-URL: #17583
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    cbd0be5 View commit details
    Browse the repository at this point in the history
  237. test: replace assert.throws w/ common.expectsError

    PR-URL: #17557
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    49d6628 View commit details
    Browse the repository at this point in the history
  238. tools: prefer common.expectsError in tests

    Add lint rule to validate that common.expectsError(fn, err) is being
    used instead of assert.throws(fn, common.expectsError(err));
    
    PR-URL: #17557
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    aa32bd0 View commit details
    Browse the repository at this point in the history
  239. inspector: Fix crash for WS connection

    Attaching WS session will now include a roundtrip onto the main thread
    to make sure there is no other session (e.g. JS bindings)
    
    This change also required refactoring WS socket implementation to better
    support scenarios like this.
    
    Fixes: #16852
    PR-URL: #17085
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Eugene Ostroukhov authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    54cd7df View commit details
    Browse the repository at this point in the history
  240. doc: fix modules.md export example

    Arrow functions cannot be called with the new keyword,
    convert to ES6 classes instead.
    
    PR-URL: #17579
    Refs: #17364
    Reviewed-By: Rich Trott <[email protected]>
    apapirovski authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    ccffbd9 View commit details
    Browse the repository at this point in the history
  241. test: refactor test-http-default-port

    - Remove redundant `hasCrypto` checks
    - Use `common.mustCall()`
    - Use arrow functions
    - Deduplicate HTTP & HTTPS code
    
    PR-URL: #17562
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    addaleax authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f45ef44 View commit details
    Browse the repository at this point in the history
  242. tools: simplify prefer-common-mustnotcall rule

    PR-URL: #17572
    Reviewed-By: Anatoli Papirovski <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    d59b0a7 View commit details
    Browse the repository at this point in the history
  243. tools: simplify prefer-assert-methods rule

    PR-URL: #17572
    Reviewed-By: Anatoli Papirovski <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    01e7b44 View commit details
    Browse the repository at this point in the history
  244. tools: simplify buffer-constructor rule

    PR-URL: #17572
    Reviewed-By: Anatoli Papirovski <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e157e1c View commit details
    Browse the repository at this point in the history
  245. tools: simplify no-let-in-for-declaration rule

    PR-URL: #17572
    Reviewed-By: Anatoli Papirovski <[email protected]>
    cjihrig authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    f7a1e39 View commit details
    Browse the repository at this point in the history
  246. test: simplify common.PORT code

    common.PORT is no longer used in parallelized tests and should not be.
    Remove code that accommodates parallelized tests.
    
    PR-URL: #17559
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    39e2fb6 View commit details
    Browse the repository at this point in the history
  247. tools,test: throw if common.PORT used in parallel tests

    common.PORT should not be used in parallelized tests. (There can be a
    port collision if another tests requests an arbitrary open port from the
    operating system and ends up getting common.PORT before a test that uses
    common.PORT uses the port.) In such a situation, throw an error.
    
    PR-URL: #17559
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    03d2514 View commit details
    Browse the repository at this point in the history
  248. test: remove unnecessary use of common.PORT in addons test

    Using port 0 to request an open port from the operating system is
    sufficient in openssl-client-cert-engine/test.js.
    
    PR-URL: #17563
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Jon Moss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    5a9172f View commit details
    Browse the repository at this point in the history
  249. test: refactor test-child-process-pass-fd

    Add a comment explaining the test (especailly why it forks 80 processes.
    Use destructuring and an arrow function callback.
    
    PR-URL: #17596
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Trott authored and MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e7ae8eb View commit details
    Browse the repository at this point in the history
  250. 2017-12-12 Version 9.3.0 (Current)

    Notable changes:
    
    * async\_hooks:
      - add trace events to async_hooks (Andreas Madsen)
        #15538
      - add provider types for net server (Andreas Madsen)
        #17157
    * console:
      - console.debug can now be used outside of the inspector
        (Benjamin Zaslavsky) #17033
    * deps:
      - upgrade libuv to 1.18.0 (cjihrig)
        #17282
      - patch V8 to 6.2.414.46 (Myles Borins)
        #17206
    * module:
      - module.builtinModules will return a list of built in modules
        (Jon Moss) #16386
    * n-api:
      - add helper for addons to get the event loop (Anna Henningsen)
        #17109
    * process:
      - process.setUncaughtExceptionCaptureCallback can now be used to
        customize behavior for `--abort-on-uncaught-exception`
        (Anna Henningsen) #17159
      - A signal handler is now able to receive the signal code that
        triggered the handler. (Robert Rossmann)
        #15606
    * src:
      - embedders can now use Node::CreatePlatform to create an instance of
        NodePlatform (Cheng Zhao)
        #16981
    * stream:
      - writable.writableHighWaterMark and readable.readableHighWaterMark
        will return the values the stream object was instantiated with
        (Calvin Metcalf) #12860
    * **Added new collaborators**
      * [maclover7](https:/maclover7) Jon Moss
      * [guybedford](https:/guybedford) Guy Bedford
      * [hashseed](https:/hashseed) Yang Guo
    
    PR-URL: #17631
    MylesBorins committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    08941e9 View commit details
    Browse the repository at this point in the history