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

Propose v6.1.0 wrong base please ignore #6556

Closed
wants to merge 216 commits into from
Closed

Commits on Apr 26, 2016

  1. doc: fix a typo in 5.10.1's changelog

    PR-URL: #6076
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Vladimir Varankin authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    063d306 View commit details
    Browse the repository at this point in the history
  2. doc: update openssl LICENSE using license-builder.sh

    * due to: openssl bump in 1f43478
    
    PR-URL: #6065
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    srl295 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    beb5af2 View commit details
    Browse the repository at this point in the history
  3. deps: backport 125ac66 from v8 upstream

    As requested in #5221
    
    Original commit message:
    
      fix debug command processor wrt restart frame.
    
      R=jkummerow@chromium.org
      BUG=v8:4757
      LOG=N
    
      Review URL: https://codereview.chromium.org/1700693002
    
      Cr-Commit-Position: refs/heads/master@{#33983}
    
    PR-URL: #6086
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Myles Borins authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e6e1bf7 View commit details
    Browse the repository at this point in the history
  4. test: refactor test-file-write-stream3

    * use common.mustCall() to verify all tests have run
    * eliminate unneeded removeTestFile()
    * eliminate unneeded var leaking into global scope
    * var -> const
    * remove instance of let
    
    PR-URL: #6050
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5679f4c View commit details
    Browse the repository at this point in the history
  5. doc: add example using algorithms not directly exposed

    PR-URL: #6108
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    hillbrad authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4305a23 View commit details
    Browse the repository at this point in the history
  6. buffer: standardize array index check

    ParseArrayIndex() was requesting a Uint32Value(), but assigning it to an
    in32_t. This caused slight differences in error message reported in edge
    cases of argument parsing. Fixed by getting the IntegerValue() before
    checking if the value is < 0. Added test of API that was affected.
    
    PR-URL: #6084
    Reviewed-By: James M Snell <jasnell@gmail.com>
    trevnorris authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5b41230 View commit details
    Browse the repository at this point in the history
  7. doc: add topic - event loop, timers, nextTick()

    Adds a new topic that provides an overview of the event loop, timers, and
    `process.nextTick()` that is based upon a NodeSource "Need to Node" presentation
    hosted by @trevnorris: Event Scheduling and the Node.js Event
    Loop (https://nodesource.com/resources).
    
    PR-URL: #4936
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Calvin W. Metcalf <calvin.metcalf@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    techjeffharris authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    b89a285 View commit details
    Browse the repository at this point in the history
  8. repl: refactor repl.js

    There is some unnecessary logic in repl.js. Remove it.
    
    PR-URL: #6071
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    16f011e View commit details
    Browse the repository at this point in the history
  9. path: fixing a test that breaks on some machines.

    A win32-only test was verifying that path.win32._makeLong('C:')
    would return the current working directory.  This would only work if
    current working directory was also on the C: device.  Fix is to grab
    the device letter for current working directory, and pass that to
    _makeLong().
    
    PR-URL: #6067
    Reviewed-By: Trott - Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joao Reis <reis@janeasystems.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Mike Kaufman authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c4518ab View commit details
    Browse the repository at this point in the history
  10. tools: do not rewrite npm shebang in install.py

    Rewriting npm shebang in install.py violates user expectations
    among other things.
    
    The shebang in npm.js is kept as #!/usr/bin/env node.
    
    Fixes: #6095
    PR-URL: #6098
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    evanlucas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    102a776 View commit details
    Browse the repository at this point in the history
  11. test: fix flaky test-http-client-abort

    Fixes: #6080
    PR-URL: #6124
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7ce9670 View commit details
    Browse the repository at this point in the history
  12. test: move some test from sequential to parallel

    The only test with modifications is `test-stdin-child-proc` that was
    passing when it should not because the exit code of the child process
    was not being checked.
    
    PR-URL: #6087
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    720b8f0 View commit details
    Browse the repository at this point in the history
  13. doc: path.format provide more examples

    This change was to add upon the algorithm description of path.format
    by adding examples for unix systems that clarified behavior in
    various scenarios.
    
    PR-URL: #5838
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    eversojk authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    dd4b0e5 View commit details
    Browse the repository at this point in the history
  14. buffer: add Buffer.prototype.compare by offset

    Adds additional `targetStart`, `targetEnd`, `sourceStart,
    and `sourceEnd` arguments to `Buffer.prototype.compare`
    to allow comparison of sub-ranges of two Buffers without
    requiring Buffer.prototype.slice()
    
    Fixes: #521
    PR-URL: #5880
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6832078 View commit details
    Browse the repository at this point in the history
  15. doc: fix scrolling on iOS devices

    Fixes an issue that prevented scrolling from going past large code
    blocks on iOS devices. Also fixes a few minor styling issues that
    came up in the discussion.
    
    Fixes: #5861
    PR-URL: #5878
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
    lpinca authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e865488 View commit details
    Browse the repository at this point in the history
  16. tools,doc: fix incomplete json produced by doctool

    Doc tool produces incomplete json when it meets unordered lists that
    directly following a heading. Add a default case to processList function
    to handle the lists.
    
    PR-URL: #5966
    Fixes: #1545
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    firedfox authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8a19569 View commit details
    Browse the repository at this point in the history
  17. tools,doc: fix json for grouped optional params

    Current tools/doc/json.js only supports one bracket style for optional
    params methodName(param0[,param1],param2). Add support to other styles
    such as methodName(param0,[param1,]param2) or
    methodName(param0[,param1,param2]) or
    methodName(param0[,param1[,param2]]).
    
    PR-URL: #5977
    Fixes: #5976
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    firedfox authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    bcb37f0 View commit details
    Browse the repository at this point in the history
  18. doc: describe child.kill() pitfalls on linux

    This commit refines the documentation around child.kill(), where kill
    attempts against shells will lead to unexpected results. Namely, on
    linux the child process of a child process will not terminate, when
    its parent gets terminated. This is different across the the
    platforms.
    
    PR-URL: #2098
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Closes: #2098
    eljefedelrodeodeljefe authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d66d028 View commit details
    Browse the repository at this point in the history
  19. tools: update ESLint to 2.7.0

    PR-URL: #6132
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
    silverwind authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    128f582 View commit details
    Browse the repository at this point in the history
  20. test: fix issues for ESLint 2.7.0

    PR-URL: #6132
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
    silverwind authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    1ecb0ab View commit details
    Browse the repository at this point in the history
  21. doc: clarification for maxBuffer and Unicode output

    Clarify caveats on `maxBuffer` with regards to Unicode output.
    
    Refs: #1901
    PR-URL: #6030
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    aa1220d View commit details
    Browse the repository at this point in the history
  22. doc: add copy about how to curl SHA256.txt

    Currently we include instructions on how to check the sha of a
    downloaded tar-ball, but do not include instruction on how to
    get the `SHA256.txt` file. This has led to confusion with people
    thinking that the SHA256.txt is included in that tarball.
    
    This commit includes instructions on how to use curl to download the
    `SHA256.txt` prior to the instructions on how to verify the sha.
    
    Refs: nodejs/help#113
    Refs: nodejs/help#137
    PR-URL: #6120
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Myles Borins authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    677642e View commit details
    Browse the repository at this point in the history
  23. querystring: using toString for objects on querystring.escape

    This commit fixes an inconsistency in querystring.escape objects handling
    compared to native encodeURIComponent function.
    
    Fixes: #5309
    PR-URL: #5341
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    silentroach authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5c8b597 View commit details
    Browse the repository at this point in the history
  24. stream: Fix readableState.awaitDrain mechanism

    In 6899094 (#2325),
    the conditions for increasing `readableState.awaitDrain` when
    writing to a piping destination returns false were changed so
    that they could not actually be met, effectively leaving
    `readableState.awaitDrain` with a constant value of 0.
    
    This patch changes the conditions to testing whether the
    stream for which `.write()` returned false is still a piping
    destination, which was likely the intention of the original
    patch.
    
    Fixes: #5820
    Fixes: #5257
    PR-URL: #6023
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    fc1f481 View commit details
    Browse the repository at this point in the history
  25. tools: remove simplejson dependency

    As Node.js expects either Python 2.6 or 2.7 installed to work properly,
    simplejson module is no longer necessary. It was included in Python 2.6
    as the json module.
    
    PR-URL: #6101
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    thefourtheye authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    f6c9d15 View commit details
    Browse the repository at this point in the history
  26. test: fix flaky test-child-process-fork-net

    Reduce client connections from 10 to 4 in a test that is causing issues
    on Raspberry Pi 2 devices in CI.
    
    Fixes: #5122
    PR-URL: #6138
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5a26849 View commit details
    Browse the repository at this point in the history
  27. os: add userInfo() method

    os.userInfo() calls libuv's uv_os_get_passwd() function. It returns
    an object containing the current effective user's username, uid,
    gid, shell, and home directory. On Windows, the uid and gid are
    -1, and the shell is null.
    
    Refs: #5582
    PR-URL: #6104
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e052096 View commit details
    Browse the repository at this point in the history
  28. deps: cherry-pick 1383d00 from v8 upstream

    Original commit message:
    
        tools: fix tickprocessor Cpp symbols on mac
    
        Despite man page documentation:
    
            -f Display the symbol table of a dynamic library flat (as one
               file not separate modules).
    
        `nm` on mac treats `-f` as a shorthand for `-format`. The `-f` argument
        does not seem to be required, so just remove it completely.
    
        (For `-format` documentation - see `nm --help` on mac).
    
        BUG=
    
        Review URL: https://codereview.chromium.org/1840633002
    
        Cr-Commit-Position: refs/heads/master@{#35445}
    
    Fix: #5903
    PR-URL: #6179
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    71bdf86 View commit details
    Browse the repository at this point in the history
  29. streams: support unlimited synchronous cork/uncork cycles

    net streams can request multiple chunks to be written in a synchronous
    fashion. If this is combined with cork/uncork, en error is currently
    thrown because of a regression introduced in:
    89aeab9
    (#4354).
    
    Fixes: #6154
    PR-URL: #6164
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Mathias Buus <mathiasbuus@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mcollina authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    49efb20 View commit details
    Browse the repository at this point in the history
  30. repl: don’t complete non-simple expressions

    Change the regular expression that recognizes “simple” JS expressions
    to requiring that the full line needs to match it.
    
    Previously, in terms like `a().b.`, `b.` would be a partial match.
    This meant that completion would evaluate `b` and either fail with
    a `ReferenceError` or, if `b` was some global, return the properties
    of the global `b` object.
    
    PR-URL: #6192
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4f5bb8b View commit details
    Browse the repository at this point in the history
  31. doc: fix incorrect references in buffer docs

    PR-URL: #6194
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Amery2010 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    604625d View commit details
    Browse the repository at this point in the history
  32. deps: upgrade npm to 3.8.6

    PR-URL: #6153
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    zkat authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    a17bddf View commit details
    Browse the repository at this point in the history
  33. deps: floating fix for npm's test-node script

    Upstream PR: npm/npm#12310
    
    PR-URL: #6153
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    zkat authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e4abf8a View commit details
    Browse the repository at this point in the history
  34. deps: upgrade V8 to 5.0.71.32

    * Pick up the branch head for V8 5.0 stable [1]
    * Edit v8 gitignore to allow trace_event copy
    * Update V8 DEP trace_event as per deps/v8/DEPS [2]
    
    [1] https://chromium.googlesource.com/v8/v8.git/+/3c67831
    [2] https://chromium.googlesource.com/chromium/src/base/trace_event/common/+/4b09207e447ae5bd34643b4c6321bee7b76d35f9
    
    Ref: #5945
    PR-URL: #6111
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
    ofrobots authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    a42453b View commit details
    Browse the repository at this point in the history
  35. test: update error message for JSON.parse

    V8 5.0 introduced a small modification for the unexpected end of input
    error.
    
    PR-URL: #5945
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
    targos authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3ebabc9 View commit details
    Browse the repository at this point in the history
  36. debugger: run last command on presssing enter

    PR-URL: #6090
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Fixes: #2895
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3479eee View commit details
    Browse the repository at this point in the history
  37. benchmark: add module loader benchmark parameter

    PR-URL: #5172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4ea792a View commit details
    Browse the repository at this point in the history
  38. lib: improve module loading performance

    This commit improves module loading performance by at least ~25-35%
    in the module-loader benchmarks.
    
    Some optimization strategies include:
    * Try-finally/try-catch isolation
    * Replacing regular expressions with manual parsing
    * Avoiding unnecessary string and array creation
    * Avoiding constant recompilation of anonymous functions and
    function definitions within functions
    
    PR-URL: #5172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c29b3c1 View commit details
    Browse the repository at this point in the history
  39. src: add SIGINFO to supported signals

    Though not a POSIX signal, SIGINFO is supported by BSD systems
    (including Mac OS X) and is amongst the few signals that can be
    triggered in a terminal via a simple key combination (CTRL-T).
    
    On Linux, SIGINFO is an alias for SIGPWR; hence the defensive
    conditionals in src/node.cc.
    
    PR-URL: #6093
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jamesreggio authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6e76419 View commit details
    Browse the repository at this point in the history
  40. test: move debugger tests to sequential

    The debugger tests in parallel fail with `make test` sometimes (all the
    time?). This appears to be related to running in parallel, as it does
    not fail with `make test-ci`, when run via `tools/test.py` or directly
    from the command line with `./node
    test/parallel/test-debugger-util-regression.js`.
    
    A separate issue may be opened to find out why it is failing in
    parallel, but for now, I think it's important to fix `make test`
    promptly.
    
    I suspect the issue is that the tests are relying on a default port
    somewhere and so they are colliding when run in parallel. But that's
    just a guess for the moment.
    
    PR-URL: #6205
    Fixes: #6201
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5cce87d View commit details
    Browse the repository at this point in the history
  41. tools: improve js linter

    This commit switches from the eslint command-line tool to a custom
    tool that uses eslint programmatically in order to perform linting
    in parallel and to display linting results incrementally instead of
    buffering them until the end.
    
    Fixes: #5596
    PR-URL: #5638
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    396fbeb View commit details
    Browse the repository at this point in the history
  42. fs: optimize realpath using uv_fs_realpath()

    Remove realpath() and realpathSync() cache.
    Use the native uv_fs_realpath() which is faster
    then the JS implementation by a few orders of magnitude.
    
    PR-URL: #3594
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    jhamhader authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    a2492f9 View commit details
    Browse the repository at this point in the history
  43. buffer: add Buffer.allocUnsafeSlow(size)

    Aligns the functionality of SlowBuffer with the new Buffer
    constructor API. Next step is to docs-only deprecate
    SlowBuffer.
    
    Replace the internal uses of SlowBuffer with
    `Buffer.allocUnsafeSlow(size)`
    
    PR-URL: #5833
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d0c6e6f View commit details
    Browse the repository at this point in the history
  44. buffer: docs-only deprecate SlowBuffer

    With the addition of `Buffer.allocUnsafeSlow(size)`
    `SlowBuffer` can be deprecated... but docs-only for now.
    
    PR-URL: #5833
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    829d613 View commit details
    Browse the repository at this point in the history
  45. doc: minor copy improvement in buffer.markdown

    PR-URL: #5833
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    34b1a64 View commit details
    Browse the repository at this point in the history
  46. doc: add addaleax to collaborators

    PR-URL: #6224
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8b5acd5 View commit details
    Browse the repository at this point in the history
  47. doc: add santigimeno to collaborators

    PR-URL: #6225
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4d52eae View commit details
    Browse the repository at this point in the history
  48. doc: add iWuzHere to collaborators

    PR-URL: #6226
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    imran-iq authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3c5c3d0 View commit details
    Browse the repository at this point in the history
  49. doc: add stefanmb to collaborators

    PR-URL: #6227
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    stefanmb authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    28003bf View commit details
    Browse the repository at this point in the history
  50. doc: add domain postmortem

    Do to various reasons, outlined in the committed document, domains were
    only in core for 2 years before being deprecated. This outline explains
    why they received criticism from the community and never gained traction
    with module authors.
    
    Also included is an example script that accompanies the postmortem
    analysis.
    
    PR-URL: #6159
    Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: Kelvin Knighton <keltheceo@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    trevnorris authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e8117ec View commit details
    Browse the repository at this point in the history
  51. build: allow test-ci to run tests in parallel

    Run tests in parallel if the environment variable JOBS
    (which should contain a number of parallel jobs) is set.
    
    PR-URL: #6208
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jbergstroem authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    f170aa6 View commit details
    Browse the repository at this point in the history
  52. zlib: Make the finish flush flag configurable

    Up to now, `Z_FINISH` was always the flushing flag that was used
    for the last chunk of input data. This patch makes this choice
    configurable so that advanced users can perform e.g. decompression of
    partial data using `Z_SYNC_FLUSH`, if that suits their needs.
    
    Add tests to make sure that an error is thrown upon encountering
    invalid `flush` or `finishFlush` flags.
    
    Fixes: #5761
    PR-URL: #6069
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5f11b53 View commit details
    Browse the repository at this point in the history
  53. test,vm: enable strict mode for vm tests

    Some vm tests are not in strict mode because they need to create and use
    global variables. By using `global.foo` instead of just `foo`, we can
    still enable strict mode.
    
    PR-URL: #6209
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    ba63e40 View commit details
    Browse the repository at this point in the history
  54. src: don't set non-primitive values on templates

    V8 is going to disallow non-primitive values on v8::FunctionTemplate
    and v8::ObjectTemplate because those can't be shared across contexts.
    
    Fixes: #6216
    PR-URL: #6228
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    2a4998c View commit details
    Browse the repository at this point in the history
  55. test: move the debugger tests back to parallel

    Run the debugger with `--port=common.PORT` to avoid the use of the same
    port.
    
    PR-URL: #6246
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    18d25d5 View commit details
    Browse the repository at this point in the history
  56. doc: clarify fs.watch() and inodes on linux, os x

    On Linux and OS X systems, `fs.watch()` resolves the watched path to an
    inode. This clarifies that `fs.watch()` watches the inode and not the
    path. If the inode of the path subsequently changes, `fs.watch()` will
    continue watching the original inode and events for the path will no
    longer be emitted. This is expected behavior.
    
    Fixes: #5039
    PR-URL: #6099
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jorangreef authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    862e0ae View commit details
    Browse the repository at this point in the history
  57. tools,doc: parse types in braces everywhere

    Also add `EvalError`, `RangeError`, `ReferenceError`, `SyntaxError`,
    `TypeError`, `URIError` to list of global types. Fix errors.markdown
    copy accordingly.
    
    Fixes: #5325.
    PR-URL: #5329
    Reviewed-By: James M Snell <jasnell@gmail.com>
    estliberitas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    df9e6fb View commit details
    Browse the repository at this point in the history
  58. process: fix incorrect usage of assert.fail()

    The message argument for `assert.fail()` is the third argument, not the
    first. Correct minor misuse in internal module.
    
    PR-URL: #6211
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7fd98af View commit details
    Browse the repository at this point in the history
  59. deps: cherry-pick 1ef7487b from v8 upstream

    Original commit message:
    
         Improved diagnostic message for JS heap out of memory
    
         This patch replaces the unused 'take_snapshot' parameter on
         FatalProcessOutOfMemory() with a 'is_heap_oom' parameter.
         The parameter is set to true on error paths where the
         JS heap is out of memory, as distinct from a malloc()
         failure i.e. process out of memory.  The message output to
         stderr or passed to embedding applications via FatalErrorCallback
         is 'Javascript heap out of memory' rather than
         'process out of memory'.
    
         BUG=
    
         R=jochen@chromium.org, verwaest@chromium.org, michael_dawson@ca.ibm.com
    
         Review URL: https://codereview.chromium.org/1873443002
    
         Cr-Commit-Position: refs/heads/master@{#35431}
    
    We'd like this in 6.x to help with diagnosing customer problems.
    It provides a better message on OOM so that it is easier to
    be able to tell whether the OOM was due to heap exhaustion
    or running out of native memory.
    
    PR-URL: #6218
    Reviewed-By: Ben Noordhuis <ben@strongloop.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4504182 View commit details
    Browse the repository at this point in the history
  60. tools: move message listener to worker objects

    Moving the `message` event listener from the cluster object to each
    worker object allows easier backporting of the recent jslint
    changes since v5.x and older do not have v6.x's `worker` parameter
    in the cluster object's `message` event.
    
    PR-URL: #6212
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3234a41 View commit details
    Browse the repository at this point in the history
  61. doc: native module reloading is not supported

    Clarify in docs for require.cache that reloading native modules
    isn't supported.
    
    Related: #6160
    PR-URL: #6168
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bengl authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5d6cf11 View commit details
    Browse the repository at this point in the history
  62. test,repl: use deepStrictEqual for false-y values

    PR-URL: #6196
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Fishrock123 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4c6b3be View commit details
    Browse the repository at this point in the history
  63. node: make builtin libs available for --eval

    Make the builtin libraries available for the `--eval` and
    `--print` CLI options, using the same mechanism that the
    REPL uses.
    
    This renders workarounds like `node -e 'require("fs").doStuff()'`
    unnecessary.
    
    As part of this, the list of builtin modules and the code for
    adding the corresponding properties to the target context is moved
    to `internal/module.js`, and the previously missing `repl` entry
    is added.
    
    PR-URL: #6207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    b7e8717 View commit details
    Browse the repository at this point in the history
  64. repl: keep the built-in modules non-enumerable

    Make sure that the built-in modules in the repl stay non-enumerable.
    Previously, they would pop up as enumerable properties of the global
    object after having been accessed for the first time.
    
    PR-URL: #6207
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    1a1beea View commit details
    Browse the repository at this point in the history
  65. doc: explain differences in console.assert between node and browsers

    Provide an example for implementing browser like behavior for console.assert.
    
    This "fixes" #5340 by providing an
    alternative to changing Node.js' implemented behavior. Instead, we
    document the differences and show how to work around them if
    browser like semantics are desired.
    
    Fixes: #5340
    PR-URL: #6169
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: Jeff Harris <@techjeffharris>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    ebf20ed View commit details
    Browse the repository at this point in the history
  66. doc: fix broken references

    PR-URL: #6100
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gromnitsky authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    59a6cda View commit details
    Browse the repository at this point in the history
  67. gitignore: ignore VS 2015 *.VC.opendb files

    These files are created by VS 2015 and should be ignored by git.
    
    PR-URL: #6070
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Mike Kaufman authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    0f96297 View commit details
    Browse the repository at this point in the history
  68. gitignore: adding .vs/ directory to .gitignore

    This is created by vs 2015 for user & machine-specific files and should
    be ignored by git.
    
    PR-URL: #6070
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Mike Kaufman authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6a49d11 View commit details
    Browse the repository at this point in the history
  69. tools: fix license-builder.sh again for ICU

    * Modify tools/license-builder.sh to support ICU 57.1's plain text
    license. (Separate issue to add ICU 57.1 in #6058)
    * Update/regenerate LICENSE to include ICU 57.1's license
    * Note that because the tool was rerun, the change in #6065 is already
    included here.
    
    PR-URL: #6068
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    srl295 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    67eed63 View commit details
    Browse the repository at this point in the history
  70. crypto: better error message for createHash

    calling digest or update on a hash object after digest has been called
    now gives a topical error message instead of an error message saying that the
    hash failed to initialize.
    
    PR-URL: #6042
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    calvinmetcalf authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    47cca06 View commit details
    Browse the repository at this point in the history
  71. doc: document intention and dangers of fs module Buffer API

    PR-URL: #6020
    Reviewed-By: James M Snell <jasnell@gmail.com>
    seishun authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c263165 View commit details
    Browse the repository at this point in the history
  72. doc: fix http response event, Agent#getName

    Removes the options block from the http 'response' event and attaches
    it to Agent#getName where it belongs. Removes socketPath and documents
    localAddress option.
    
    PR-URL: #5993
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mdouglass authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7500b68 View commit details
    Browse the repository at this point in the history
  73. doc: path.resolve ignores zero-length strings

    https://github.com/nodejs/node/blob/master/lib/path.js#L187
    https://github.com/nodejs/node/blob/master/lib/path.js#L1189
    
    PR-URL: #5928
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    igorklopov authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    09ec1cc View commit details
    Browse the repository at this point in the history
  74. doc: DCO anchor that doesn't change

    PR-URL: #6257
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    williamkapke authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    28baed9 View commit details
    Browse the repository at this point in the history
  75. doc: replace functions with arrow functions

    PR-URL: #6203
    Reviewed-By: James M Snell <jasnell@gmail.com>
    hiroppy authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6178ec2 View commit details
    Browse the repository at this point in the history
  76. assert: respect assert.doesNotThrow message.

    Special handling to detect when user has supplied a custom message.
    Added a test for user message.
    When testing if `actual` value is an error use
    `util.isError` instead of `instanceof`.
    
    Fixes: #2385
    PR-URL: #2407
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ilya Shaisultanov authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8b8746f View commit details
    Browse the repository at this point in the history
  77. lib,test,tools: alignment on variable assignments

    Correct alignment on variable assignments that span multiple lines in
    preparation for lint rule to enforce such alignment.
    
    PR-URL: #6242
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6f073ce View commit details
    Browse the repository at this point in the history
  78. tools: lint for alignment of variable assignments

    Enforce alignment/indentation on variable assignments that span multiple
    lines.
    
    PR-URL: #6242
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d84b00c View commit details
    Browse the repository at this point in the history
  79. querystring: don't inherit from Object.prototype

    This commit safely allows querystring keys that are named the same as
    properties that are ordinarily inherited from Object.prototype such
    as __proto__. Additionally, this commit provides a bit of a speed
    improvement (~25% in the querystring-parse 'manypairs' benchmark)
    when there are many unique keys.
    
    Fixes: #5642
    PR-URL: #6055
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    33c2861 View commit details
    Browse the repository at this point in the history
  80. events: don't inherit from Object.prototype

    This commit safely allows event names that are named the same as
    properties that are ordinarily inherited from Object.prototype such
    as __proto__.
    
    Fixes: #728
    PR-URL: #6092
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c3ad97d View commit details
    Browse the repository at this point in the history
  81. zlib: fix use after null when calling .close

    An internal zlib error may cause _handle to be set to null.
    Close now will check if there is a _handle prior to calling .close on
    it.
    
    PR-URL: #5982
    Fixes: #6034
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    lightsofapollo authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    bd944e3 View commit details
    Browse the repository at this point in the history
  82. test: fix test-net-settimeout flakiness

    Wait for the data to be received by the socket before creating the
    clean-up timer. This way, a possible (though unlikely) `ECONNRESET`
    error can be avoided.
    
    PR-URL: #6166
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8330fa4 View commit details
    Browse the repository at this point in the history
  83. test: fix flaky test-http-set-timeout-server

    Make the servers listen on a free port number picked by the OS to avoid
    rare `EADDRINUSE` errors on `SmartOS`.
    
    Fixes: #6197
    PR-URL: #6248
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    4dcb1a2 View commit details
    Browse the repository at this point in the history
  84. deps: update to http-parser 2.7.0

    Adds `2` as a return value of `on_headers_complete`, this mode will be
    used to fix handling responses to `CONNECT` requests.
    
    See: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    0a019e2 View commit details
    Browse the repository at this point in the history
  85. http: skip body and next message of CONNECT res

    When handling a response to `CONNECT` request - skip message body
    and do not attempt to parse the next message. `CONNECT` requests are
    used in similar sense to HTTP Upgrade.
    
    Fix: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    1ede900 View commit details
    Browse the repository at this point in the history
  86. test: add test for responses to HTTP CONNECT req

    See: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    slushie authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5e6a03a View commit details
    Browse the repository at this point in the history
  87. src: fix -Wunused-result warning in e38bade

    This patch fixes the warning introduced by the changes in e38bade.
    
    Ref: #6092
    PR-URL: #6276
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    thefourtheye authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    f286e1e View commit details
    Browse the repository at this point in the history
  88. build: fix make tar-headers for Linux

    The tar-headers target tries to find and delete links in the
    tar folder, which fails as no links are found. Use rm -f to
    avoid this.
    
    Remove the config.gypi dependency, as the target runs configure
    itself.
    
    PR-URL: #5978
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gibfahn authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    ce14468 View commit details
    Browse the repository at this point in the history
  89. deps: exclude tests on ppc for v8 5.0

    There were 2 issues which either the v8 team was reluctant to
    backport the fix because the fix was for a disabled feature (wasm) or
    that we did not have time to investigate before 5.0 was cut
    which result in v8 test failures for PPC in 5.0.  These are test
    issues and are already resolved in v8 master.  This PR
    excludes these tests so that our v8 tests in the CI will
    be green so that we can detect any real regressions.
    
    PR-URL: #6267
    Fixes: #6236
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    19867ce View commit details
    Browse the repository at this point in the history
  90. deps: upgrade to V8 5.0.71.33

    This picks up the fix for harmony-regexp-properties being enabled
    without a flag.
    
    V8-Commit: v8/v8@27ac008
    Fixes: #6251
    PR-URL: #6290
    Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
    Reviewed-By: ChALkeR - Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    ofrobots authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    809ed52 View commit details
    Browse the repository at this point in the history
  91. url: use "empty" object for empty query strings

    This makes things consistent with the way that the querystring
    module creates parsed results.
    
    PR-URL: #6289
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    59737b2 View commit details
    Browse the repository at this point in the history
  92. tools: enable linting for v8_prof_processor.js

    `lib/internal/v8_prof_processor.js` was being excluded from linting, but
    the only lint issue it has is that it cannot run in strict mode. Disable
    the `strict` rule with a comment and remove the file from
    `.eslintignore`.
    
    PR-URL: #6262
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    90fa077 View commit details
    Browse the repository at this point in the history
  93. tools: lint rule for assert.fail()

    `assert.fail()` is often mistakenly used with a single argument even in
    Node.js core. (See fixes to previous instances in
    b7f4b1b,
    28e9a02. and
    676e618.)
    
    This commit adds a linting rule to identify instances of this issue.
    
    PR-URL: #6261
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5b5a195 View commit details
    Browse the repository at this point in the history
  94. test,tools: enable linting for undefined vars

    The test directory had linting for undefined variables disabled. It is
    enabled everywhere else in the code base. Let's disable the fule for
    individual lines in the handful of tests that use undefined variables.
    
    PR-URL: #6255
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    422faba View commit details
    Browse the repository at this point in the history
  95. test: add zlib close-after-error regression test

    Add a regression test based on the report in
    #6034.
    
    PR-URL: #6270
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6e3301f View commit details
    Browse the repository at this point in the history
  96. test: assert - fixed error messages to match the tests

    PR-URL: #6241
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    suryagh authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3dbd58a View commit details
    Browse the repository at this point in the history
  97. child_process: add nullptr checks after allocs

    Add `CHECK_NE(·, nullptr)` after allocations made when
    spawning child processes.
    
    PR-URL: #6256
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    54f2218 View commit details
    Browse the repository at this point in the history
  98. net: set ADDRCONFIG DNS hint in connections

    b85a50b removed the implicit
    setting of DNS hints when creating a connection. This caused some
    of the pi2 machines to become flaky. This commit restores the
    implicit dns.ADDRCONFIG hint, but not dns.V4MAPPED.
    
    Fixes: #6133
    PR-URL: #6281
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    cjihrig authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    aa395b7 View commit details
    Browse the repository at this point in the history
  99. test: move more tests from sequential to parallel

    Only `test-stdin-from-file.js` has been modified so that the `stdin.txt`
    is written in a temp directory instead of the `fixtures` directory.
    
    PR-URL: #6187
    Reviewed-By: James M Snell <jasnell@gmail.com>
    santigimeno authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    de4dc31 View commit details
    Browse the repository at this point in the history
  100. doc: note that zlib.flush acts after pending writes

    Describe that `zlib.flush()` may wait for pending writes and
    until output is being read from the stream.
    
    Fixes: #3782
    PR-URL: #6172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    eb92eaa View commit details
    Browse the repository at this point in the history
  101. doc: add full example for zlib.flush()

    Add a full example using `zlib.flush()` for the common use
    case of writing partial compressed HTTP output to the client.
    
    PR-URL: #6172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d94283c View commit details
    Browse the repository at this point in the history
  102. test: spawn new processes in vm-cached-data

    V8 may start caching scripts from the first run soon. Preventively
    execute scripts in another process to ensure no test failures due to
    an update in the future.
    
    See: #6258
    PR-URL: #6280
    Reviewed-By: Jochen Eisinger <jochen@chromium.org>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    6e57d2d View commit details
    Browse the repository at this point in the history
  103. stream_base: expose bytesRead getter

    This will provide `bytesRead` data on consumed sockets.
    
    Fix: #3021
    PR-URL: #6284
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    479344f View commit details
    Browse the repository at this point in the history
  104. net: replace __defineGetter__ with defineProperty

    `Object.prototype.__defineGetter__` is deprecated now, use
    `Object.defineProperty` instead.
    
    PR-URL: #6284
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8db8a4b View commit details
    Browse the repository at this point in the history
  105. module: fix resolution of filename with trailing slash

    A recent optimization of module loading performance [1] forgot to check that
    extensions were set in a certain code path.
    
    [1] ae18bbe
    
    Fixes: #6214
    PR-URL: #6215
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    targos authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    f3d9de7 View commit details
    Browse the repository at this point in the history
  106. http: unref socket timer on parser execute

    When underlying `net.Socket` instance is consumed in http server - no
    `data` events are emitted, and thus `socket.setTimeout` fires the
    callback even if the data is constantly flowing into the socket.
    
    Fix this by calling `socket._unrefTimer()` on every `onParserExecute`
    call.
    
    Fix: #5899
    PR-URL: #6286
    Reviewed-By: James M Snell <jasnell@gmail.com>
    indutny authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    816df10 View commit details
    Browse the repository at this point in the history
  107. stream: make null an invalid chunk to write in object mode

    this harmonizes behavior between readable, writable, and transform
    streams so that they all handle nulls in object mode the same way by
    considering them invalid chunks.
    
    PR-URL: #6170
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    calvinmetcalf authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c0abecd View commit details
    Browse the repository at this point in the history
  108. console: refactor to use rest params and template strings

    Overall cleanup in code, eliminate reliance on `arguments`.
    
    Benchmarks show that as of v8 5.0.71.32, using rest params + apply
    has good performance. The spread operator is not yet well optimized
    in v8
    
    ```
    misc/console.js method=restAndSpread concat=1 n=1000000: 374779.38359
    misc/console.js method=restAndSpread concat=0 n=1000000: 375988.30434
    misc/console.js method=argumentsAndApply concat=1 n=1000000: 682618.61125
    misc/console.js method=argumentsAndApply concat=0 n=1000000: 645093.74443
    misc/console.js method=restAndApply concat=1 n=1000000: 682931.41217
    misc/console.js method=restAndApply concat=0 n=1000000: 664473.09700
    ```
    
    PR-URL: #6233
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    77e2efe View commit details
    Browse the repository at this point in the history
  109. benchmarks: add common.v8ForceOptimization

    It's useful to be able to force optimization of a function.
    Rather than duplicating the code everywhere for it, let's
    make a utility available.
    
    PR-URL: #6222
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    962c1e1 View commit details
    Browse the repository at this point in the history
  110. benchmarks: add microbenchmarks for new ES6 features

    Adds new microbenchmarks for destructuring, rest params and
    default params.
    
    PR-URL: #6222
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    451f4fc View commit details
    Browse the repository at this point in the history
  111. net: Validate port in createServer().listen()

    Make sure we validate the port number in all kinds of `listen()` calls.
    
    Fixes: #5727
    PR-URL: #5732
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    dirceu authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c32c889 View commit details
    Browse the repository at this point in the history
  112. benchmarks: fix lint error

    33c242e introduced a linting error with indentation
    
    PR-URL: #6314
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Myles Borins authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7d4f652 View commit details
    Browse the repository at this point in the history
  113. doc: git mv to .md

    * doc: rename .markdown references in content
    * doc: rename to .md in tools
    * doc: rename to .md in CONTRIBUTING.md
    
    PR-URL: #4747
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: techjeffharris
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    eljefedelrodeodeljefe authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    edc6970 View commit details
    Browse the repository at this point in the history
  114. http: disallow sending obviously invalid status codes

    PR-URL: #6291
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    846afbf View commit details
    Browse the repository at this point in the history
  115. test: don't assume IPv6 in test-regress-GH-5727

    test/parallel/test-regress-GH-5727 assumed that one of the
    servers would be listening on IPv6. This breaks when the machine
    running the test doesn't have IPv6. This commit builds the
    connection key that is compared dynamically.
    
    Refs: #5732
    PR-URL: #6319
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    cjihrig authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c83204e View commit details
    Browse the repository at this point in the history
  116. test: v8-flags is sensitive to script caching

    V8 may cache compiled scripts, and it is not safe to assume that the
    V8 flags can be changed after an isolate has been created. In this
    particular case, since we are using the same script multiple times,
    the test would fail if V8 cached the result of the compilation.
    
    Ref: #6280
    Fixes: #6258
    PR-URL: #6316
    Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    ofrobots authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    a9bab5f View commit details
    Browse the repository at this point in the history
  117. deps: upgrade to V8 5.0.71.34

    Pick up the latest bug fix from the V8 5.0 branch.
    
    Original commit message:
    V8-Commit: v8/v8@c36773f
      Version 5.0.71.34 (cherry-pick)
      Merged 9acbca1
    
      [es6] Fix bug in pattern re-writing
    
      BUG=v8:4891
      LOG=N
      R=littledan@chromium.org
    
      Review URL: https://codereview.chromium.org/1906633002 .
    
    PR-URL: #6320
    Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
    Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
    ofrobots authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7337693 View commit details
    Browse the repository at this point in the history
  118. doc: note that process.config can and will be changed

    PR-URL: #6266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    61a214e View commit details
    Browse the repository at this point in the history
  119. src: add process.binding('config')

    It turns out that userland likes to override process.config with
    their own stuff. If we want to be able to depend on it in any way,
    we need our own internal mechanism.
    
    This adds a new private process.binding('config') that is
    intended to serve as a container for internal flags and compile
    time configs that need to be passed on to the JS layer.
    
    PR-URL: #6266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5b7a011 View commit details
    Browse the repository at this point in the history
  120. src: add intl and icu configs to process.binding('config')

    PR-URL: #6266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    86ff844 View commit details
    Browse the repository at this point in the history
  121. events: make eventNames() use Reflect.ownKeys()

    Use `Reflect.ownKeys()` instead of `Object.keys()` and
    `Object.getOwnPropertySymbols()`.
    
    PR-URL: #5822
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    lpinca authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c9628c5 View commit details
    Browse the repository at this point in the history
  122. 2016-04-20, Version 5.11.0 (Stable) Release

    Buffer:
      * Buffer.prototype.compare can now compare sub-ranges of two Buffers
       (James M Snell) #5880
    
    deps:
      * update to http-parser 2.7.0
        (Fedor Indutny) #6279
      * update ESLint to 2.7.0
        (silverwind) #6132
    
    net:
      * adds support for passing DNS lookup hints to createConnection()
        (Colin Ihrig) #6000
    
    node:
      * Make the builtin libraries available for the --eval and --print
        CLI options
        (Anna Henningsen) #6207
    
    npm:
      * upgrade npm to 3.8.6
        (Kat Marchán) #6153
    
    repl:
      * Pressing enter in the repl will repeat the last command by default
        if no input has been received. This behaviour was in node
        previously and was not removed intentionally.
        (Rich Trott) #6090
    
    src:
      * add SIGINFO to supported signals
        (James Reggio) #6093
    
    streams:
      * Fix a regression that caused by net streams requesting multiple
        chunks synchronously when combined with cork/uncork
        (Matteo Collina) #6164
    
    zlib:
      * The flushing flag is now configurable allowing for decompression
        of partial data
        (Anna Henningsen) #6069
    
    PR-URL: #6322
    Myles Borins authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c764c44 View commit details
    Browse the repository at this point in the history
  123. cares: Support malloc(0) scenarios for AIX

    Many places in cares library, when the stream data arrives
    from the network with respect to dns and reverse dns
    resolution, they are populated into data structures created
    dymaically based on the size of the data. Malloc is heavily
    used for such cases.
    
    Often, based on the data length, malloc(0) is invoked. Linux
    behavior on zero byte allocation is to return a valid pointer
    where in AIX, it always return NULL.
    
    This manifestst as test failure of test/internet/test-dns.js
    
    Solution is to build cares with Linux compatible malloc behavior
    
    PR-URL: #6305
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-by: Michael Dawson <michael_dawson@ca.ibm.com>
    gireeshpunathil authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    704b68a View commit details
    Browse the repository at this point in the history
  124. doc: add vm example, be able to require modules

    The intention behind is to present the user a way to
    execute code in a vm context. The current API doesn't
    allow this out-of-the-box, since it is neither passing a require
    function nor creating context with one.
    The missing docs for this behaviour have produced a number of
    Q&A items and have also been discussed in the node-archive repo.
    In both cases there was no real canonical answer.
    
    Refs: nodejs/node-v0.x-archive#9211, #4955
    PR-URL: #5323
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    eljefedelrodeodeljefe authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    557c309 View commit details
    Browse the repository at this point in the history
  125. test: add tests for console.assert

    There were previously no tests where console.assert failed
    
    PR-URL: #6302
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    evanlucas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    591ebe7 View commit details
    Browse the repository at this point in the history
  126. doc: fix a typo in the CONTRIBUTING.md

    Delete a typo dot in the link to stability index.
    
    PR-URL: #6343
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    vsemozhetbyt authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7c03595 View commit details
    Browse the repository at this point in the history
  127. doc: improvements to child_process, process docs

    Sort links in lexical order. Add missing links.
    Add `disconnect` event description in Process doc.
    Fix typos.
    
    R-URL: #5075
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    estliberitas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e6d4f3b View commit details
    Browse the repository at this point in the history
  128. events: add prependListener() and prependOnceListener()

    A handful of modules (including readable-streams) make
    inappropriate use of the internal _events property. One
    such use is to prepend an event listener to the front
    of the array of listeners.
    
    This adds EE.prototype.prependListener() and
    EE.prototype.prependOnceListener() methods to add handlers
    to the *front* of the listener array.
    
    Doc update and test case is included.
    
    Fixes: #1817
    PR-URL: #6032
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    aa53bf2 View commit details
    Browse the repository at this point in the history
  129. src: fix out-of-bounds write in TwoByteValue

    Plan 2 bytes instead of 1 byte for the final zero terminator
    for UTF-16. This is unlikely to cause real-world problems,
    but that ultimately depends on the `malloc` implementation.
    
    The issue can be uncovered by running e.g.
    `valgrind node -e "Buffer(65536).fill('a'.repeat(4096), 'utf16le')"`
    
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    PR-URL: #6330
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    b6a41d6 View commit details
    Browse the repository at this point in the history
  130. doc: add note for platform specific flags fs.open()

    Note describing platform specific differences in fs.open
    
    E.g. fs.open('<directory>', 'a+', console.log)
    
    Fixes: #3643
    PR-URL: #6136
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    eljefedelrodeodeljefe authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    11d71da View commit details
    Browse the repository at this point in the history
  131. build: update android-configure script for npm

    Now, that we can cross-compile node for Android, we also need to take
    care of native node modules installed with npm. Since there is no way to
    install and run npm on an Android device, we could instal node on host
    and setup an environment for installing node modules and cross-compile
    the native sources using Android NDK.
    The changes to this script will allow npm, when installing a module, to
    compile it using NDK.
    
    In order to do this, the developer should do the following steps:
    1. Compile and install node on host, using: configure, make and make
    install
    2. Build node for Android, using: source android-configure <path_to_ndk>
    arch and make
    3. Push node binary to Android device
    4. Using the same session, configure npm arch using: npm config set
    arch=<arch>
    5. Install desired node modules using: npm install
    6. Push installed node modules to Android device
    
    Signed-off-by: Robert Chiras <robert.chiras@intel.com>
    PR-URL: #6349
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    robertchiras authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d725928 View commit details
    Browse the repository at this point in the history
  132. src: squelch -Wunused-variable in non-icu builds

    Silence the following compiler warning when building without ICU:
    
        ../src/node_config.cc:32:16: warning: unused variable 'env'
        [-Wunused-variable]
           Environment* env = Environment::GetCurrent(context);
    
    PR-URL: #6351
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    b0b7f6a View commit details
    Browse the repository at this point in the history
  133. test,benchmark: use deepStrictEqual()

    In preparation for a lint rule that will enforce
    assert.deepStrictEqual() over assert.deepEqual(), change tests and
    benchmarks accordingly. For tests and benchmarks that are testing or
    benchmarking assert.deepEqual() itself, apply a comment to ignore the
    upcoming rule.
    
    PR-URL: #6213
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3a0eef7 View commit details
    Browse the repository at this point in the history
  134. tools: enforce deepStrictEqual over deepEqual

    Introduce a lint rule that enforces use of `assert.deepStrictEqual()`
    over `assert.deepEqual()`.
    
    PR-URL: #6213
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    9697876 View commit details
    Browse the repository at this point in the history
  135. v8: warn in Template::Set() on improper use

    The next major release will make it a fatal error to use non-primitive
    values in function templates and object templates.
    
    Print a warning that includes the C and JS stack trace to tell people to
    upgrade their add-ons.  The C stack trace is only printed on platforms
    that support it (the BSDs, OS X and Linux+glibc.)
    
    The warning can be disabled with the new `--nowarn_template_set` flag.
    
    Refs: #6216
    PR-URL: #6277
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    967a155 View commit details
    Browse the repository at this point in the history
  136. doc: fix broken references

    PR-URL: #6350
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    gromnitsky authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    8def5fa View commit details
    Browse the repository at this point in the history
  137. gyp: inherit parent for *.host

    Gyp defaults to gcc/g++ if CC.host/CXX.host is unset. This is not
    suitable for environments that only uses the clang toolchain.
    
    Since we already assume that the user will provide clang/clang++
    through CC/CXX, lean against it (then drop to gcc/g++).
    
    Also apply the same logic for link/ar for consistency although
    it doesn't affect us.
    
    PR-URL: #6173
    Fixes: #6152
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jbergstroem authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    7cbd9fe View commit details
    Browse the repository at this point in the history
  138. test: increase the platform timeout for AIX

    There have been failures on AIX due to the slower
    default loopback performance. So far I've resisted
    updating the global timeout but seeing another
    new failure in a newly added test I now think the
    right thing is to just extend the platform
    timeout for AIX. This commit does that.
    
    PR-URL: #6342
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    mhdawson authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    0ed85e3 View commit details
    Browse the repository at this point in the history
  139. tools: rewrite check-install.sh in python

    As it is, check-install.sh does not show more helpful error messages,
    and supporting various shells could be a problem. This patch rewrites
    the same in Python.
    
    This patch also enables check-imports.py in the linting process
    
    PR-URL: #6105
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    thefourtheye authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e928eda View commit details
    Browse the repository at this point in the history
  140. src: fix check-imports.py linter errors

    This patch fixes all the linter errors.
    
    PR-URL: #6105
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    thefourtheye authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    633268c View commit details
    Browse the repository at this point in the history
  141. querystring: fix comments

    PR-URL: #6365
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    mscdex authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d18daaa View commit details
    Browse the repository at this point in the history
  142. buffer: add Buffer.prototype.lastIndexOf()

    * Remove unnecessary templating from SearchString
    
      SearchString used to have separate PatternChar and SubjectChar template type
      arguments, apparently to support things like searching for an 8-bit string
      inside a 16-bit string or vice versa. However, SearchString is only used from
      node_buffer.cc, where PatternChar and SubjectChar are always the same. Since
      this is extra complexity that's unused and untested (simplifying to a single
      Char template argument still compiles and didn't break any unit tests), I
      removed it.
    
    * Use Boyer-Hoore[-Horspool] for both indexOf and lastIndexOf
    
      Add test cases for lastIndexOf. Test the fallback from BMH to
      Boyer-Moore, which looks like it was totally untested before.
    
    * Extra bounds checks in node_buffer.cc
    
    * Extra asserts in string_search.h
    
    * Buffer.lastIndexOf: clean up, enforce consistency w/ String.lastIndexOf
    
    * Polyfill memrchr(3) for non-GNU systems
    
    PR-URL: #4846
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    dcposch authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3350b47 View commit details
    Browse the repository at this point in the history
  143. console: timeEnd() with no label emits warning

    When timeEnd() provided with label that doesn't exists
    it emits warning in the console, so developer get know about it.
    
    PR-URL: #5901
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    ghaiklor authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3050795 View commit details
    Browse the repository at this point in the history
  144. doc: doc-only deprecation for util.log()

    There are more powerful loggers in user land like `debug`, soft
    deprecate it.
    
    PR-URL: #6161
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    JacksonTian authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    fa74805 View commit details
    Browse the repository at this point in the history
  145. module: preserve symlinks when requiring

    Currently, required modules use the real location of the
    package/file as their __filename and __dirname, instead
    of the symlinked path if it exists. This behaviour is
    undocumented (it even goes against documentation in
    certain scenarios), creating hard-to-debug problems
    for developers who wish to leverage filesystem abstractions
    to lay out their application.
    
    This patch resolves all required modules to their canonical
    path while still preserving any symlinks within the path,
    instead of resolving to their canonical realpath. The one
    special case observed is when the main module is loaded
    -- in this case, the realpath does need to be used
    in order for the main module to load properly.
    
    PR-URL: #5950
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lamara authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c43b182 View commit details
    Browse the repository at this point in the history
  146. deps: upgrade to V8 5.0.71.35

    Pick up the latest bug fix from the V8 5.0 branch.
    
    Original commit message:
    V8-Commit: v8/v8@c1d51c7c
      Version 5.0.71.35 (cherry-pick)
    
      Merged 2837cb387
    
      disallow left-trim fast path when sampling heap profiler is active
    
      R=hablich@chromium.org, hpayer@chromium.org
      BUG=v8:4937
    
      Review URL: https://codereview.chromium.org/1918453002 .
    
    PR-URL: #6372
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    ofrobots authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    c1729b0 View commit details
    Browse the repository at this point in the history
  147. repl: don’t complete expressions when eval fails

    Instead of changing the way “simple” expressions are detected,
    switch to ignoring errors when completing. This approach is more
    generic than the previous one from 0b66b8f, but also changes
    the way errors are thrown when completing.
    
    This reverts the code changes from commit 0b66b8f.
    The test case is left intact.
    
    Fixes: #6325
    PR-URL: #6328
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    bd2cee1 View commit details
    Browse the repository at this point in the history
  148. url: drop auth in url.resolve() if host changes

    Fixes: #1435
    PR-URL: #1480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    rlidwka authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    1b50b80 View commit details
    Browse the repository at this point in the history
  149. cluster: migrate from worker.suicide

    Replace it with worker.exitedAfterDisconnect. Print deprecation
    message when getting or setting until it is removed.
    
    PR-URL: #3743
    Fixes: #3721
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    evanlucas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    66f048a View commit details
    Browse the repository at this point in the history
  150. readline: allow history to be disabled

    1.  The `historySize` to default to `30` only if `undefined`.
    2.  If `historySize` is set to 0, then disable caching the line.
    3.  Added unit tests.
    4.  Updated documentation.
    
    Fixes: #6336
    PR-URL: #6352
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    suryagh authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    9c6ef5b View commit details
    Browse the repository at this point in the history
  151. doc: add estliberitas to collaborators

    PR-URL: #6386
    Reviewed-By: Johan Bergström <bugs@bergstroemnu>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    estliberitas authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    96f6af7 View commit details
    Browse the repository at this point in the history
  152. doc: add ronkorving to collaborators

    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    PR-URL: #6385
    ronkorving authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    e45dbd3 View commit details
    Browse the repository at this point in the history
  153. doc: add eljefedelrodeodeljefe to collaborators

    PR-URL: #6389
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    eljefedelrodeodeljefe authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    dfc7ffd View commit details
    Browse the repository at this point in the history
  154. doc: add Minqi Pan to collaborators

    Also changed alias P.S.V.R to Minqi Pan.
    
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    PR-URL: #6387
    pmq20 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    09f7b8a View commit details
    Browse the repository at this point in the history
  155. doc: add JacksonTian to collaborators

    Added myself as a collaborator following the onboarding process.
    
    PR-URL: #6388
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    JacksonTian authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    af8dd44 View commit details
    Browse the repository at this point in the history
  156. crypto: Read OpenSSL config before init

    The OpenSSL configuration file allows custom crypto engines but those
    directives will not be respected if the config file is loaded after
    initializing all crypto subsystems. This patch reads the configuration
    file first.
    
    PR-URL: #6374
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    stefanmb authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d6237aa View commit details
    Browse the repository at this point in the history
  157. doc, tls: deprecate createSecurePair

    createSecurePair uses tls_legacy and the legacy Connection from
    node_crypto.cc. Deprecate them in favor of TLSSocket.
    
    PR-URL: #6063
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jhamhader authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    3abf9d5 View commit details
    Browse the repository at this point in the history
  158. doc: update authors

    ~116 new contributors since this was last updated!
    
    PR-URL: #6373
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    547a6fe View commit details
    Browse the repository at this point in the history
  159. doc: change references to Stable to Current

    With v6 we plan to rename the Stable release line to Current.
    This commit updates all references to Stable in the codebase. It will
    have to land along side updates to other repos within the org.
    
    Refs: nodejs/nodejs.org#669
    PR-URL: #6318
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Myles Borins authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    27ce7fe View commit details
    Browse the repository at this point in the history
  160. doc: fix position of fs.readSync()

    PR-URL: #6399
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Fishrock123 authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    61be000 View commit details
    Browse the repository at this point in the history
  161. buffer: safeguard against accidental kNoZeroFill

    This makes sure that `kNoZeroFill` flag is not accidentally set by
    moving the all the flag operations directly inside `createBuffer()`.
    It safeguards against logical errors like
    #6006.
    
    This also ensures that `kNoZeroFill` flag is always restored to 0 using
    a try-finally block, as it could be not restored to 0 in cases of failed
    or zero-size `Uint8Array` allocation.
    It safeguards against errors like
    #2930.
    It also makes the `size > 0` check not needed there.
    
    PR-URL: nodejs-private/node-private#30
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    ChALkeR authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    d866438 View commit details
    Browse the repository at this point in the history
  162. build: Bump MACOSX_DEPLOYMENT_TARGET to 10.7

    Refs: nodejs/build#367
    
    libuv is going to drop 10.6 in v2.
    Ref: libuv/libuv#758
    
    OS X versions below 10.9 are not supported by Apple anymore and do not
    receive security patches.
    
    PR-URL: #6402
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    ChALkeR authored and jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    ce864ef View commit details
    Browse the repository at this point in the history
  163. 2016-04-26, Version 6.0.0 (Current) Release

    The following significant (semver-major) changes have been made since the
    previous Node v5.0.0 release.
    
    * Buffer
      * New Buffer constructors have been added
        [#4682](#4682)
      * Previously deprecated Buffer APIs are removed
        [#5048](#5048),
        [#4594](#4594)
      * Improved error handling [#4514](#4514)
    * Cluster
      * Worker emitted as first argument in 'message' event
        [#5361](#5361).
    * Crypto
      * Improved error handling [#3100](#3100),
        [#5611](#5611)
      * Simplified Certificate class bindings
        [#5382](#5382)
      * Improved control over FIPS mode
        [#5181](#5181)
      * pbkdf2 digest overloading is deprecated
        [#4047](#4047)
    * Dependencies
      * Reintroduce shared c-ares build support
        [#5775](#5775).
      * V8 updated to 5.0.71.31 [#6111](#6111).
    * DNS
      * Add resolvePtr API to query plain DNS PTR records
        [#4921](#4921).
    * Domains
      * Clear stack when no error handler
      [#4659](#4659).
    * File System
      * The `fs.realpath()` and `fs.realpathSync()` methods have been updated
        to use a more efficient libuv implementation. This change includes the
        removal of the `cache` argument and the method can throw new errors
        [#3594](#3594)
      * FS apis can now accept and return paths as Buffers
        [#5616](#5616).
      * Error handling and type checking improvements
        [#5616](#5616),
        [#5590](#5590),
        [#4518](#4518),
        [#3917](#3917).
      * fs.read's string interface is deprecated
        [#4525](#4525)
    * HTTP
      * 'clientError' can now be used to return custom errors from an
        HTTP server [#4557](#4557).
    * Modules
      * Current directory is now prioritized for local lookups
        [#5689](#5689)
      * Symbolic links are preserved when requiring modules
        [#5950](#5950)
    * Net
      * DNS hints no longer implicitly set
        [#6021](#6021).
      * Improved error handling and type checking
        [#5981](#5981),
        [#5733](#5733),
        [#2904](#2904)
    * OS X
      * MACOSX_DEPLOYMENT_TARGET has been bumped up to 10.7
        [#6402](#6402).
    * Path
      * Improved type checking [#5348](#5348).
    * Process
      * Introduce process warnings API
        [#4782](#4782).
      * Throw exception when non-function passed to nextTick
        [#3860](#3860).
    * Readline
      * Emit key info unconditionally
        [#6024](#6024)
    * REPL
      * Assignment to `_` will emit a warning.
        [#5535](#5535)
    * Timers
      * Fail early when callback is not a function
        [#4362](#4362)
    * TLS
      * Rename 'clientError' to 'tlsClientError'
        [#4557](#4557)
      * SHA1 used for sessionIdContext
        [#3866](#3866)
    * TTY
      * Previously deprecated setRawMode wrapper is removed
        [#2528](#2528).
    * Util
      * Changes to Error object formatting
        [#4582](#4582).
    * Windows
      * Windows XP and Vista are no longer supported
        [#5167](#5167),
        [#5167](#5167).
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    ce3e3c5 View commit details
    Browse the repository at this point in the history
  164. Working on v6.0.1

    PR-URL: #6383
    jasnell committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    152bf32 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. meta: split CHANGELOG into two files

    The unfortunate has happened, our CHANGELOG is now over 1 MB and cannot
    be viewed on github. This commit breaks the CHANGELOG into two files
    so that we can continue to show our changes rendered in the github UI.
    
    Closes: #5533
    
    PR-URL: #6337
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Myles Borins committed May 3, 2016
    Configuration menu
    Copy the full SHA
    9ea6b28 View commit details
    Browse the repository at this point in the history
  2. doc: fix v6 changelog

    Not quite sure how, but quite a few of the commits were missing
    from the original changelog generated for v6 relative to v5.11.0.
    This updates the change log.
    
    PR-URL: #6435
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    jasnell authored and Myles Borins committed May 3, 2016
    Configuration menu
    Copy the full SHA
    fb6753c View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. net: introduce Socket#connecting property

    There is no official way to figure out if the socket that you have on
    hand is still connecting to the remote host. Introduce
    `Socket#connecting`, which is essentially an unprefixed `_connecting`
    property that we already had.
    
    PR-URL: #6404
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    indutny authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    cbbe95e View commit details
    Browse the repository at this point in the history
  2. doc: use Buffer.from() instead of new Buffer()

    Use new API of Buffer to developers in most documents.
    
    PR-URL: #6367
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    JacksonTian authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    19fb134 View commit details
    Browse the repository at this point in the history
  3. doc: correctly document the behavior of ee.once().

    Addresses #5566. The `ee.once()` function is currently documented as
    invoking the listener, and then removing it when the event is
    triggered. However, this is not really the case. The listener is removed
    and _then_ invoked. This only matters in a narrow set of use cases, but
    when it matters, it matters that the docs are correct.
    
    See the issue (#5566) for a discussion on why the code has not been
    modified to match the documentation, but instead the documentation has
    been modified to match the code.
    
    Fixes: #5566
    PR-URL: #6371
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    lance authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    36207c6 View commit details
    Browse the repository at this point in the history
  4. build: don't compile with -B

    Turn off the custom toolchain, we don't bundle ld.gold.  It's not that
    useful anyway because it uses a fixed path.  For people that do use a
    custom toolchain, there is the GCC_EXEC_PREFIX environment variable.
    
    PR-URL: #6393
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    11e7cc5 View commit details
    Browse the repository at this point in the history
  5. benchmark: Fix crash in net benchmarks

    Net benchmarks create partial event emitters that do not have all of the
    required event emitter functions. They currently mock out `on`, `once`,
    and `emit` functions. This change mocks out `prependListener` as well to
    avoid crashing in `_stream_readable`.
    
    PR-URL: https://www.github.com/nodejs/node/pull/6407
    Fixes: https://www.github.com/nodejs/node/issues/6405
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Reviewed-By: Matthew Loring <mattloring@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Matt Loring authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7b9ae70 View commit details
    Browse the repository at this point in the history
  6. build: exclude tap files from tarballs

    PR-URL: #6348
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    mscdex authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    8956432 View commit details
    Browse the repository at this point in the history
  7. doc: update build instructions for OS X

    Building Node.js on OS X requires XCode (because node-gyp requires
    XCode). Add that information to BUILDING.md.
    
    Additionally, this changes references to `Macintosh` in BUILDING.md to
    refer to `OS X`. This is consistent with the way other references are to
    operating system families (`Unix`, `Windows`) and not brand names or
    hardware architectures.
    
    PR-URL: #6309
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    f6d7279 View commit details
    Browse the repository at this point in the history
  8. crypto: fix error in deprecation message

    The deprecation message for `crypto.Credentials` says to use
    `tls.createSecureContext` but the correct property to use is
    `tls.SecureContext()`.
    
    Fix the deprecation message and add a test that checks the mappings of
    deprecated properties and their warning messages.
    
    PR-URL: #6344
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    fdde369 View commit details
    Browse the repository at this point in the history
  9. test,tools: adjust function argument alignment

    In preparation for a lint rule enforcing function argument alignment,
    adjust function arguments to be aligned.
    
    PR-URL: #6390
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    6d1606e View commit details
    Browse the repository at this point in the history
  10. tools: lint for function argument alignment

    In function calls that span multiple lines, apply a custom lint rule to
    enforce argument alignment.
    
    With this rule, the following code will be flagged as an error by the
    linter because the arguments on the second line start in a different
    column than on the first line:
    
        myFunction(a, b,
          c, d);
    
    The following code will not be flagged as an error by the linter:
    
        myFunction(a, b,
                   c, d);
    
    PR-URL: #6390
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    3f608b1 View commit details
    Browse the repository at this point in the history
  11. tools: add tests for the doctool

    * Test the toHTML function in html.js. Check that given valid markdown
      it produces the expected html. One test case will prevent regressions
      of #5873.
    * Check that when given valid markdown toJSON produces valid JSON with
      the expected schema.
    * Add doctool to the list of built in tests so it runs in CI.
    
    PR-URL: #6031
    Fixes: #5955
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    iankronquist authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    66903f6 View commit details
    Browse the repository at this point in the history
  12. test,tools: limit lint tolerance of gc global

    Lint rules permitted the `gc` global in any test file. This change
    limits it to just the files that need it.
    
    PR-URL: #6324
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    089362f View commit details
    Browse the repository at this point in the history
  13. build: unbreak -prof, disable PIE on OS X

    Commit 204f3a8 ("build: Bump MACOSX_DEPLOYMENT_TARGET to 10.7")
    unwittingly turned on new ASLR features that make `-prof` unusable for
    profiling C++ code, breaking `test/parallel/test-tick-processor.js` in
    the process.  Build with `-Wl,-no_pie` for now.
    
    Fixes: #5903
    PR-URL: #6453
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7153f96 View commit details
    Browse the repository at this point in the history
  14. tools: remove default parameters from lint rule

    The CI server uses system Node.js for linting, which is currently v5.x.
    So default parameters are not supported there. This change removes the
    default parameters.
    
    PR-URL: #6411
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    e62c42b View commit details
    Browse the repository at this point in the history
  15. src: unify implementations of Utf8Value etc.

    Unify the common code of `Utf8Value`, `TwoByteValue`, `BufferValue`
    and `StringBytes::InlineDecoder` into one class. Always make the
    result zero-terminated for the first three.
    
    This fixes two problems in passing:
    
    * When the conversion of the input value to String fails,
      make the buffer zero-terminated anyway. Previously, this would
      have resulted in possibly reading uninitialized data in multiple
      places in the code. An instance of that problem can be reproduced
      by running e.g.
      `valgrind node -e 'net.isIP({ toString() { throw Error() } })'`.
    * Previously, `BufferValue` copied one byte too much from the source,
      possibly resulting in an out-of-bounds memory access.
      This can be reproduced by running e.g.
      `valgrind node -e \
        'fs.openSync(Buffer.from("node".repeat(8192)), "r")'`.
    
    Further minor changes:
    * This lifts the `out()` method of `StringBytes::InlineDecoder`
      to the common class so that it can be used when using the
      overloaded `operator*` does not seem appropiate.
    * Hopefully clearer variable names.
    * Add checks to make sure the length of the data does not exceed
      the allocated storage size, including the possible null terminator.
    
    PR-URL: #6357
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    addaleax authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    fa9d82d View commit details
    Browse the repository at this point in the history
  16. doc: better example & synopsis

    PR-URL: #6167
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    ab84d69 View commit details
    Browse the repository at this point in the history
  17. doc: no Node.js(1)

    Node.js(1) does not make sense.
    Node(1) would, but this isn’t a `man` page.
    
    PR-URL: #6167
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    150dd36 View commit details
    Browse the repository at this point in the history
  18. doc: subdivide TOC, add auxiliary links

    PR-URL: #6167
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
    Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    fc0fbf1 View commit details
    Browse the repository at this point in the history
  19. tools: fix exit code when linting from CI

    Before this, if there were lint errors reported by `make jslint-ci`,
    the process would still exit with an exit code of zero.
    
    This commit fixes that to align with `make jslint` (exit with
    non-zero on lint errors).
    
    PR-URL: #6412
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Phillip Johnsen <johphi@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mscdex authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    9f23cb2 View commit details
    Browse the repository at this point in the history
  20. events: pass the original listener added by once

    When removing a `once` listener, the listener being passed to
    the `removeListener` callback is the wrapper. This unwraps the
    listener so that `removeListener` is passed the actual listener.
    
    PR-URL: #6394
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    DavidCai1111 authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    2c92a1f View commit details
    Browse the repository at this point in the history
  21. process: add process.cpuUsage() - implementation, doc, tests

    Add process.cpuUsage() method that returns the user and system
    CPU time usage of the current process
    
    PR-URL: #6157
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Patrick Mueller authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    1b9fdba View commit details
    Browse the repository at this point in the history
  22. doc: expand documentation for process.exit()

    The fact that process.exit() interrupts pending async operations
    such as non-blocking i/o is becoming a bit more pronounced with
    the recent libuv update. This commit expands the documentation
    for `process.exit()` to explain clearly how it affects async
    operations.
    
    PR-URL: #6410
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    jasnell authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    b3f75ec View commit details
    Browse the repository at this point in the history
  23. assert: allow circular references

    assert.deepEqual() and assert.deepStrictEqual() will no longer throw a
    RangeError if passed objects with circular references.
    
    PR-URL: #6432
    Fixes: #6416
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    76c9ab5 View commit details
    Browse the repository at this point in the history
  24. doc: added note warning about change to console.endTime()

    Unintended functionality was removed from console.endTime by
    #3562. Prior to that, you could
    call console.endTime multiple times for the same label.
    
    PR-URL: #6454
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org>
    ben-page authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    fd37d54 View commit details
    Browse the repository at this point in the history
  25. doc: Remove extra space in REPL example

    PR-URL: #6447
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Juan authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    8eb87ee View commit details
    Browse the repository at this point in the history
  26. doc: fix incorrect syntax in examples

    The cluster docs had a period instead of a semicolon at the end of two
    lines.
    
    PR-URL: #6463
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Jackson Tian <shvyo1987@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    evanlucas authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    bfcde97 View commit details
    Browse the repository at this point in the history
  27. doc: fix EventEmitter#eventNames() example

    Replace myErr with myEE in one place.
    Fix the expected output to have the actual formatting.
    
    PR-URL: #6417
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    ChALkeR authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    4068d64 View commit details
    Browse the repository at this point in the history
  28. build: use shorthand lint target from test

    Instead of invoking jslint/cpplint from the test target,
    call on the generic lint instead since it checks if eslint
    exists. Since our tarballs lacks eslint we now get a more graceful
    exit from `make test` instead of a traceback from jslint.
    
    PR-URL: #6406
    Fixes: #6408
    Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jbergstroem authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    0d19853 View commit details
    Browse the repository at this point in the history
  29. doc: make writable.setDefaultEncoding() return this

    Let this function return `this` for parity with `readable.setEncoding()`.
    
    PR-URL: #5040
    Fixes: #5013
    
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    estliberitas authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    e6c8da4 View commit details
    Browse the repository at this point in the history
  30. doc: remove all scrollbar styling

    Returns the doc custom scrollbar to native style.
    
    Fixes: #6443
    PR-URL: #6479
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    claudiorodriguez authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    4ae39f9 View commit details
    Browse the repository at this point in the history
  31. doc: use Node.js in synopsis document

    Change an instance of `Node` in the synopsis document to `Node.js.`
    
    PR-URL: #6476
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7034ebe View commit details
    Browse the repository at this point in the history
  32. doc: clarifies http.serverResponse implementation

    Since http.serverResponse does not inherit from Stream.writable
    it does not pass the test `serverResponse instanceof stream.Writable`.
    This commit clarifies that serverResponse does not inherit from
    stream.Writable and therefore should not be expected to pass the above
    test
    
    Fixes: #6046
    PR-URL: #6072
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    AllenSH12 authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    3d5b732 View commit details
    Browse the repository at this point in the history
  33. doc: extra clarification of historySize option

    History caching in the `readline` io is active only for terminal
    interaction. Appropriate variables are initialized and relevant
    `_addHistory()` function is called only if exposed `terminal` option
    of `readline.createInterface()` is set `true` by user or internal
    output check.
    
    This clarification is useful to assure users there will be now wasted
    overhead connected with history caching if `readline` is used not
    for terminal interaction (e.g. for reading files line by line).
    
    Particularly this fix is helpful after #6352 landing.
    
    PR-URL: #6397
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Alexander Makarenko <estliberitas@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    vsemozhetbyt authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    13e6608 View commit details
    Browse the repository at this point in the history
  34. doc: fix fs.realpath man pg links

    There is no realpath(2), only in sections 1 & 3
    causes broken link on nodejs.org/api/ docs
    
    PR-URL: #6451
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    phette23 authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    ab7055b View commit details
    Browse the repository at this point in the history
  35. doc: fix a typo in __dirname section

    PR-URL: #6473
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
    toyota790 authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    969f96a View commit details
    Browse the repository at this point in the history
  36. doc: remove obsolete comment in isError() example

    One of the util.isError() examples states that a harmony flag
    is required. As of v6.0.0, this is no longer true. This commit
    removes the out of date reference.
    
    Refs: #5414
    PR-URL: #6486
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    cjihrig authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    3e028a1 View commit details
    Browse the repository at this point in the history
  37. doc: fix sentence fragment in fs doc

    PR-URL: #6488
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Alexander Makarenko <estliberitas@gmail.com>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    e5ce53a View commit details
    Browse the repository at this point in the history
  38. test: add failing url parse tests as known_issue

    url resolve and parse do not currently adhere to the same url
    spec parsing rules that browsers use, which leads to some
    issues. This addition to test/known_issues creates a set of
    tests based on the w3c/whatwg test suite from:
    
    Refs: https://github.com/w3c/web-platform-tests/tree/master/url
    
    PR-URL: #5885
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    457d12a View commit details
    Browse the repository at this point in the history
  39. test: make addon testing part of make test

    Otherwise it's too easy to miss breaking changes to node.h and other
    public headers until the CI catches them.  `vcbuild test` tests addons
    so there is precedence.
    
    PR-URL: #6232
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    bnoordhuis authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    5fe5fa2 View commit details
    Browse the repository at this point in the history
  40. debugger: display array contents in repl

    This commit allows all array properties to be printed except for
    "length". Previously, this filter was applied by checking the
    type of each property. However, something changed in V8, and
    array elements started coming through as numeric strings, which
    stopped them from being displayed.
    
    Fixes: #6444
    PR-URL: #6448
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    cjihrig authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    2d503b1 View commit details
    Browse the repository at this point in the history
  41. test: refactor large event emitter tests

    This commit splits several large event emitter tests into smaller
    block scoped tests. This keeps the tests more isolated. This
    commit also replaces var with const, assert.equal() with
    assert.stictEqual(), and other small enhancements.
    
    PR-URL: #6446
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7641f9a View commit details
    Browse the repository at this point in the history
  42. doc: ensure consistent grammar in node.1 file

    PR-URL: #6426
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    justshiv authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7c30f15 View commit details
    Browse the repository at this point in the history
  43. tools: add -F flag for fixing lint issues

    Add `-F` flag to `jslint.js` which enables the automatic fixing of
    issues that are fixable.
    
    PR-URL: #6483
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Trott authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    08e0884 View commit details
    Browse the repository at this point in the history
  44. cluster: remove use of bind() in destroy()

    This commit replaces process.exit.bind() with an arrow function
    in Worker.prototype.destroy().
    
    PR-URL: #6502
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yorkie authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    1330496 View commit details
    Browse the repository at this point in the history
  45. doc: add missing underscore for markdown italics

    A closing underscore was missing from the `poll` section of the event
    loop doc. Also emboldened a word for continuity and readability.
    
    PR-URL: #6529
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Kevin Donahue authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    d674493 View commit details
    Browse the repository at this point in the history
  46. util: fix inspecting of proxy objects

    In certain conditions, inspecting a Proxy object can lead to a
    max call stack error. Avoid that by detecting the Proxy object
    and outputting information about the Proxy object itself.
    
    Fixes: #6464
    PR-URL: #6465
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jasnell authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    0bca959 View commit details
    Browse the repository at this point in the history
  47. doc: fix the lint of an example in cluster.md

    PR-URL: #6516
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    yorkie authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    9a29b50 View commit details
    Browse the repository at this point in the history
  48. doc: linkify remaining references to fs.Stats object

    One reference to the `fs.Stats object` is linkified, while two other
    similarly made references to the object are not linkified.
    Linking the remaining references makes sense due to similar context.
    
    PR-URL: #6485
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Kevin Donahue authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    4f728df View commit details
    Browse the repository at this point in the history
  49. doc: adds 'close' events to fs.ReadStream and fs.WriteStream

    Add 'close' event to doc/api/fs.md --> fs.ReadStream
    Add 'close' event to doc/api/fs.md --> fs.WriteStream
    Add 'close event to doc/api/stream.md --> stream.Writable
    
    From squashed history:
    Add 'close' event to stream.Writable per Issue #6484
    Add #### prefix to Event: 'close' and backticks to 'close'
    similar to stream.Readable event: 'close' section
    Add more specifics to 'close' events for fs.ReadStream
    and fs.WriteStream
    Fix/Changed 'close' event from 'fs.ReadStream' to 'fs.WriteStream'
    wrapped long lines at 80 chars, reworded
    per Issue #6484
    including the 'close' event as optional
    add 'close' event as optional in stream.Readable
    per issue #6484
    doc: Add 'close' events to fs.ReadStream, 80char nit
    
    Fixes: #6484
    PR-URL: #6499
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
    Jenna Vuong authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    33f24c8 View commit details
    Browse the repository at this point in the history
  50. util: truncate inspect array and typed array

    As an alternative to #5070,
    set the max length of Arrays/TypedArrays in util.inspect() to
    `100` and provide a `maxArrayLength` option to override.
    
    PR-URL: #6334
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    jasnell authored and Fishrock123 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    91ab769 View commit details
    Browse the repository at this point in the history