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

V5.10.1 proposal #6060

Merged
merged 30 commits into from
Apr 5, 2016
Merged

V5.10.1 proposal #6060

merged 30 commits into from
Apr 5, 2016

Commits on Apr 5, 2016

  1. net: refactor self=this to arrow functions

    Refactor unused self=this code to code without without this pattern
    making it more consistent with the rest of our code.
    
    PR-URL: #5857
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Roman Klauke <romankl@users.noreply.github.com>
    benjamingr authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    f3f19ee View commit details
    Browse the repository at this point in the history
  2. etw: add event messages

    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    PR-URL: #5936
    joaocgreis authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    0a13099 View commit details
    Browse the repository at this point in the history
  3. test: stdin is not always a net.Socket

    `<`-ing a file into stdin actually results in a `fs.ReadStream`, rather
    than a `tty.ReadStream`, and as such does not inherit from net.Socket,
    unlike the other possible stdin options.
    
    Refs: #5916
    PR-URL: #5935
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Fishrock123 authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    f14d71c View commit details
    Browse the repository at this point in the history
  4. test: fix offending max-len linter error

    Refer: #5935
    PR-URL: #5980
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Phillip Johnsen <johphi@gmail.com>
    thefourtheye authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    4f1fa2a View commit details
    Browse the repository at this point in the history
  5. test: ensure _handle property existence

    `test-stdtout-close-unref.js` will fail if `process.stdin._handle` does
    not exist. On UNIX-like operating systems, you can see this failure this
    way:
    
        ./node test/parallel/test-stdout-close-unref.js < /dev/null
    
    This issue has been experienced by @bengl and @drewfish in a Docker
    container. I'm not sure why they are experiencing it in their
    environment, but since it is possible that the `_handle` property does
    not exist, let's use `child_process.spawn()` to make sure it exists.
    
    PR-URL: #5916
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    96bb315 View commit details
    Browse the repository at this point in the history
  6. http: Corrects IPv6 address in Host header

    IPv6 addresses in Host header (URI), must be enclosed within
    square brackets, in order to properly separate the host address
    from any port reference.
    
    PR-URL: #5314
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    mpotra authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    c6ac6f2 View commit details
    Browse the repository at this point in the history
  7. build: introduce ci targets for lint/benchmark

    Introduce two new targets we will populate with actions
    once merged into all branches we need to support through CI.
    
    PR-URL: #5921
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jbergstroem authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    3f75751 View commit details
    Browse the repository at this point in the history
  8. test: refactor http-end-throw-socket-handling

    Remove timer to avoid the test timing out occasionally.
    
    PR-URL: #5676
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    santigimeno authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    a40b0cb View commit details
    Browse the repository at this point in the history
  9. doc: consolidate timers docs in timers.markdown

    Rather than attempting to keep two versions of docs for timers up to
    date, keep them in timers.markdown, and leave references to them in
    globals.markdown.
    
    Add setImmediate and clearImmediate to globals.markdown.
    
    Change "To schedule" to "Schedules" in timers.markdown.
    
    PR-URL: #5837
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    bengl authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    8bec8aa View commit details
    Browse the repository at this point in the history
  10. doc: clarify that __dirname is module local

    Fixes: #5525
    PR-URL: #6018
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    0ae5d02 View commit details
    Browse the repository at this point in the history
  11. doc: minor argument formatting in stream.markdown

    Fixes: #4350
    PR-URL: #6016
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    7337ef6 View commit details
    Browse the repository at this point in the history
  12. tools: remove disabling of already-disabled rule

    `require-buffer` is only enabled in the `lib` directory. There is no
    need to disable it in `test`.
    
    PR-URL: #6013
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    7491fdc View commit details
    Browse the repository at this point in the history
  13. doc: add 'Command Line Options' to 'View on single page'

    Includes cli.markdown in all.markdown
    
    PR-URL: #6011
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    firedfox authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    ce17371 View commit details
    Browse the repository at this point in the history
  14. doc: clarify stdout/stderr arguments to callback

    Clarify that the arguments to child_process.execFile
    and child_process.exec callback can be Buffer or strings.
    
    Fixes: #3389
    PR-URL: #6015
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    f12c386 View commit details
    Browse the repository at this point in the history
  15. doc: document unspecified behavior for buf.write* methods

    Per #1161, when the
    buf.write*() methods are given anything other than what
    they expect, indicate that the behavior is unspecified.
    
    Fixes: #1161
    PR-URL: #5925
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    jasnell authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    f879f5e View commit details
    Browse the repository at this point in the history
  16. test: fix error message checks in test-module-loading

    PR-URL: #5986
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    6052ced View commit details
    Browse the repository at this point in the history
  17. test: fix test-dns.js flakiness

    Use empty string instead of `www.google.com` for tests where we are just
    doing parameter evaluation. This will avoid DNS lookups which appear to
    be causing flakiness on Raspberry Pi devices in CI.
    
    PR-URL: #5996
    Fixes: #5554
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    0127c2b View commit details
    Browse the repository at this point in the history
  18. doc: note assert.throws() pitfall

    PR-URL: #6029
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    dd25984 View commit details
    Browse the repository at this point in the history
  19. test: fix flaky test-net-socket-timeout-unref

    Throw immediately on socket timeout rather than checking boolean in exit
    handler.
    
    PR-URL: #6003
    Fixes: #5128
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    2ab1237 View commit details
    Browse the repository at this point in the history
  20. doc: use HTTPS for links where possible

    Provide encrypted links to freenode IRC.
    
    PR-URL: #6019
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    aa9fb03 View commit details
    Browse the repository at this point in the history
  21. path: fix win32.isAbsolute() inconsistency

    This commit fixes an inconsistency in absolute path checking compared
    to the absolute path detection used by the other path.win32 functions.
    
    Fixes: #6027
    PR-URL: #6028
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    1c40079 View commit details
    Browse the repository at this point in the history
  22. test: explicitly set global in test-repl

    The test intentionally assigns a global. Use `global` namespace to make
    it clear that it is intentional and not an accidental leak.
    
    PR-URL: #6026
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    02f2ebd View commit details
    Browse the repository at this point in the history
  23. test: make arch available in status files

    The value is retrieved from `process.arch` in node itself.
    
    PR-URL: #5997
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    santigimeno authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    7db7a82 View commit details
    Browse the repository at this point in the history
  24. test: be explicit about polluting of global

    There was a comment in `test-domain-crypto.js` indicating that the
    pollution of the `global` object with a `domain` property was
    intentional. Provide more information in the comment so someone may
    easily determine why. Use `global.domain` rather than declaring `domain`
    without the `var` keyword to more clearly signal that the pollution is
    intentional.
    
    PR-URL: #6017
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    cc8fcc5 View commit details
    Browse the repository at this point in the history
  25. test: make use of globals explicit

    Use `global` to be explicit that a global variable is intended.
    
    PR-URL: #6014
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    059b607 View commit details
    Browse the repository at this point in the history
  26. assert: Check typed array view type in deepEqual

    Do not convert typed arrays to `Buffer` for deepEqual since
    their values may not be accurately represented by 8-bit ints.
    Instead perform binary comparison of underlying `ArrayBuffer`s,
    but only when the array types match.
    
    Never apply any kind of optimization for floating-point typed
    arrays since bit pattern equality is not the right kind of check
    for them.
    
    PR-URL: #5910
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Fixes: #5907
    addaleax authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    0f5a51a View commit details
    Browse the repository at this point in the history
  27. tools: remove obsolete lint config file

    All JS files have been moved out of the `src` directory so the
    `.eslintrc` file in that directory can also be removed.
    
    PR-URL: #5959
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Klauke <romankl@users.noreply.github.com>
    Trott authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    50a062e View commit details
    Browse the repository at this point in the history
  28. meta: add "joining a wg" section to WORKING_GROUPS.md

    In the WORKING_GROUPS.md documentation, it is described how to start a
    wg, but not how to join an existing wg. This commit addresses that
    issue.
    
    Fixes: #5448
    PR-URL: #5488
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    8317778 View commit details
    Browse the repository at this point in the history
  29. doc: refine child_process detach behaviour

    this adds an example of a long running node process that actually
    executes node code.
    Also it mentions the not to harmonic detach behaviours of the
    different platforms, whereas detaching on unix requires ignoring
    the child_process' stdio explicitely.
    
    PR-URL: #5330
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eljefedelrodeodeljefe authored and Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    781290b View commit details
    Browse the repository at this point in the history
  30. 2016-04-05, Version 5.10.1 (Stable) Release

    Notable changes:
    
    http:
      * Enclose IPv6 Host header in square brackets. This will enable
      proper seperation of the host adress from any port reference
      (Mihai Potra) #5314
    
    path:
      * Make win32.isAbsolute more consistent (Brian White)
      #6028
    
    PR-URL: #6060
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    5c4a414 View commit details
    Browse the repository at this point in the history