Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

V5.10.1 proposal #6059

Closed
wants to merge 1,120 commits into from
Closed

V5.10.1 proposal #6059

wants to merge 1,120 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 28, 2016

  1. path: fix verbose relative() output

    Fixes: #5383
    PR-URL: #5389
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    mscdex authored and rvagg committed Feb 28, 2016
    Configuration menu
    Copy the full SHA
    30cec18 View commit details
    Browse the repository at this point in the history
  2. url: fix off-by-one error with parse()

    Fixes: #5393
    PR-URL: #5394
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    mscdex authored and rvagg committed Feb 28, 2016
    Configuration menu
    Copy the full SHA
    dfe45f1 View commit details
    Browse the repository at this point in the history
  3. path: fix win32 relative() when "to" is a prefix

    when the basename of "to" was a prefix of the basename of "from" win32
    relative() would miss including it in the result
    
    Fixes: #5447
    PR-URL: #5456
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    omsmith authored and rvagg committed Feb 28, 2016
    Configuration menu
    Copy the full SHA
    91782f1 View commit details
    Browse the repository at this point in the history
  4. path: fix win32 relative() for UNC paths

    win32 normalize() will output a trailing '\' for some UNC paths. trim
    them before processing
    
    Change by @mscdex
    
    Add basic UNC path tests to win32 relative()
    
    PR-URL: #5456
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    omsmith authored and rvagg committed Feb 28, 2016
    Configuration menu
    Copy the full SHA
    871396c View commit details
    Browse the repository at this point in the history
  5. test: add test-cases for posix path.relative()

    adds posix test cases for paths similar to those that caused #5447
    
    PR-URL: #5456
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    omsmith authored and rvagg committed Feb 28, 2016
    Configuration menu
    Copy the full SHA
    c83725c View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2016

  1. tools,benchmark: increase lint compliance

    In the hopes of soon having the benchmark code linted, this change
    groups all the likely non-controversial lint-compliance changes such as
    indentation, semi-colon usage, and single-vs.-double quotation marks.
    
    Other lint rules may have subtle performance implications in the V8
    currently shipped with Node.js. Those changes will require more careful
    review and will be in a separate change.
    
    PR-URL: #5429
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b44b701 View commit details
    Browse the repository at this point in the history
  2. benchmark: add benchmark for buf.compare()

    There is a benchmark for the class method `Buffer.compare()` but not for
    the instance method `buf.compare()`. This adds that benchmark.
    
    I used this to confirm a performance regression in an implementation I
    was considering. While the implementation was a bust, it does seem like
    the benchmark is worthwhile.
    
    The benchmark is nearly identical to the existing `Buffer.compare()`
    benchmark except, of course, that it calls `buf.compare()` instead.
    
    PR-URL: #5441
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    6aebe16 View commit details
    Browse the repository at this point in the history
  3. dgram: handle default address case when offset and length are specified

    Fixes a regression introduced by: #4374.
    Adds a new test to avoid similar issue in the future.
    The test is disabled on windows, because this feature never worked
    there.
    
    Fixes: #5398
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    mcollina authored and Fishrock123 committed Mar 2, 2016
    1 Configuration menu
    Copy the full SHA
    d3f9b84 View commit details
    Browse the repository at this point in the history
  4. doc: improvements to crypto.markdown copy

    Fix several typos. Add missing links.
    
    PR-URL: #5230
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Kelvin Knighton <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    estliberitas authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ea8331e View commit details
    Browse the repository at this point in the history
  5. repl: fix stack trace column number in strict mode

    On strict mode, "'use strict'; void 0; " is added as prefix
    in order to prevent "use strict" as the result value
    for let/const statements. It causes wrong column number in
    stack trace.
    
    PR-URL: #5416
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    princejwesley authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2b88523 View commit details
    Browse the repository at this point in the history
  6. doc: add note for binary safe string reading

    `readable.setEncoding(null)` - may be the most preferable way to proxy
    a binary data without any encoding/decoding overhead
    
    PR-URL: #5155
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Anton Andesen authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0a56e96 View commit details
    Browse the repository at this point in the history
  7. doc: fix typo in child_process documentation

    TSCP should be TCP
    
    PR-URL: #5474
    Reviewed-By: Colin Ihrig <[email protected]>
    evanlucas authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    795c85b View commit details
    Browse the repository at this point in the history
  8. path: fix win32 parse()

    Fix path.win32.parse("/foo/bar") retuns `{root: '' ...}`(v5.7.0),
    but not `{root: '/' ...}`(v5.6.0).
    
    PR-URL: #5484
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    
    Conflicts:
    	test/parallel/test-path-parse-format.js
    zbinlin authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ef7a088 View commit details
    Browse the repository at this point in the history
  9. test: remove flaky designation from fixed tests

    `test-tls-ticket-cluster` and `test-vm-syntax-error-stderr` are no
    longer flaky.
    
    Refs: #2510
    Refs: #2660
    PR-URL: #5459
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0ebbf6c View commit details
    Browse the repository at this point in the history
  10. path: fix path.relative() for prefixes at root

    Fixes #5485
    
    PR-URL: #5490
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    omsmith authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    91d218d View commit details
    Browse the repository at this point in the history
  11. test: fix flaky child-process-fork-regr-gh-2847

    The test is still failing sometimes because when trying to establish the
    second connection, the server is already closed. Bring back the code
    that handled this case and was removed in the last refactoring of the
    test. Also ignore the errors that might happen when sending the second
    handle to the worker because it may already have exited.
    
    PR-URL: #5422
    Reviewed-By: Rich Trott <[email protected]>
    santigimeno authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    cc4cbb1 View commit details
    Browse the repository at this point in the history
  12. test: remove unneeded bind() and related comments

    As mentioned in the comment of the changed file, "a libuv limitation
    makes it necessary to bind()". But, that is not the case in this test.
    The subsequent call to send() results in an implicit bind().
    
    PR-URL: #5023
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    aayn authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c7f8a13 View commit details
    Browse the repository at this point in the history
  13. url: group slashed protocols by protocol name

    Reorder slashed protocols so they are grouped by protocol name. This is
    done so it doesn't look like we're duplicating protocol names at the
    bottom of the list.
    
    PR-URL: #5380
    Reviewed-By: Evan Lucas <[email protected]>
    nettofarah authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9424fa5 View commit details
    Browse the repository at this point in the history
  14. crypto: PBKDF2 works with int not ssize_t

    Change types of all PBKDF2 params to `int` as they are `int` in `evp.h`.
    
    Check that `raw_keylen` fits into `int` before passing it to OpenSSL.
    
    Fix: #5396
    PR-URL: #5397
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Ben Noorhduis <[email protected]>
    
    Conflicts:
    	test/parallel/test-crypto-pbkdf2.js
    indutny authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    88f3935 View commit details
    Browse the repository at this point in the history
  15. http_parser: use MakeCallback

    Make `HTTPParser` an instance of `AsyncWrap` and make it use
    `MakeCallback`. This means that async wrap hooks will be called on
    consumed TCP sockets as well as on non-consumed ones.
    
    Additional uses of `AsyncCallbackScope` are necessary to prevent
    improper state from progressing that triggers failure in the
    test-http-pipeline-flood.js test. Optimally this wouldn't be necessary,
    but for the time being it's the most sure way to allow operations to
    proceed as they have.
    
    Fix: #4416
    PR-URL: #5419
    Reviewed-By: Fedor Indutny <[email protected]>
    trevnorris authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d77c3bf View commit details
    Browse the repository at this point in the history
  16. deps: upgrade openssl to 1.0.2g

    PR-URL: #5507
    Reviewed-By: Fedor Indutny <[email protected]>
    bnoordhuis authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1e86804 View commit details
    Browse the repository at this point in the history
  17. test: retry on known SmartOS bug

    There is a known issue with SmartOS that is generally worked around
    in `tools/test.py`. However, a more robust workaround is required for
    some tests that open many network connections.
    
    `test-http-regr-gh-2928` is one such test.
    
    Fixes: #5445
    Refs: #3941
    PR-URL: #5454
    Reviewed-By: Fedor Indutny <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d1a82c6 View commit details
    Browse the repository at this point in the history
  18. benchmark: refactor to eliminate redeclared vars

    In order to comply with linting rules used in the rest of the code base,
    eliminate redeclared variables. A conservative approach is used so as to
    avoid unintentional performance issues (for example, as might be seen in
    some situations when using `let` instead of `var`).
    
    PR-URL: #5468
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7cae774 View commit details
    Browse the repository at this point in the history
  19. build: run lint before tests

    Have `make test` run linting tools before tests rather than after. Lint
    is likely to find issues quickly. Tests may take a while to run. So do
    the linting first.
    
    Refs: #4546 (comment)
    PR-URL: #5470
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2c619f2 View commit details
    Browse the repository at this point in the history
  20. test: allow options for v8 testing

    Allow extra options when testing v8 in Node tree
    
    PR-URL: #5502
    Reviewed-By: Ben Noordhuis <[email protected]>
    mhdawson authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c4d9cdb View commit details
    Browse the repository at this point in the history
  21. test: apply Linux workaround to Linux only

    Do not try Ubuntu/SUSE/Debian-specific hostnames for IPv6 localhost
    unless we are on Linux.
    
    Fixes: #4546
    PR-URL: #5471
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Ben Noorhduis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    81348e8 View commit details
    Browse the repository at this point in the history
  22. test: increase timeout for test-tls-fast-writing

    Increase timeout for test from 500ms to 1000ms so busy slow machines
    don't produce false positives.
    
    Fixes: #4964
    PR-URL: #5466
    Reviewed-By: Alexis Campailla <[email protected]>
    Trott authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    12ae6ab View commit details
    Browse the repository at this point in the history
  23. tls: fix assert in context._external accessor

    * Restrict the receiver to instances of the FunctionTemplate.
    * Use `args.This()` instead of `args.Holder()`.
    
    Fixes: #3682
    PR-URL: #5521
    Reviewed-By: Fedor Indutny <[email protected]>
    bnoordhuis authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    25c01cd View commit details
    Browse the repository at this point in the history
  24. doc: add CTC meeting minutes 2016-02-17

    PR-URL: #5410
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rvagg authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    51bc062 View commit details
    Browse the repository at this point in the history
  25. lib: freelist: use .pop() for allocation

    Array#pop() is known to be faster than Array#shift().
    To be exact, it's O(1) vs. O(n). In this case there's no difference
    from which side of the "pool" array the object is retrieved,
    so .pop() should be preferred.
    
    PR-URL: #2174
    Reviewed-By: mscdex - Brian White <[email protected]>
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: ofrobots - Ali Ijaz Sheikh <[email protected]>
    subzey authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e3421ac View commit details
    Browse the repository at this point in the history
  26. build: remove --quiet from eslint invocation

    All eslint rules are configured to report as errors. Remove useless
    --quiet flag from eslint invocation in Makefile and vcbuild.bat.
    
    PR-URL: #5519
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    firedfox authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    4c09e7f View commit details
    Browse the repository at this point in the history
  27. doc: update NAN urls in ROADMAP.md and doc/releases.md

    PR-URL: #5472
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ronkorving authored and Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    f1f3832 View commit details
    Browse the repository at this point in the history
  28. 2016-03-02, Version 5.7.1 (Stable)

    Notable changes:
    
    * governance: The Core Technical Committee (CTC) added four new members
    to help guide Node.js core development: Evan Lucas, Rich Trott, Ali
    Ijaz Sheikh and Сковорода Никита Андреевич (Nikita Skovoroda).
    
    * openssl: Upgrade from 1.0.2f to 1.0.2g (Ben Noordhuis)
    #5507
      - Fix a double-free defect in parsing malformed DSA keys that may
    potentially be used for DoS or memory corruption attacks. It is likely
    to be very difficult to use this defect for a practical attack and is
    therefore considered low severity for Node.js users. More info is
    available at https://www.openssl.org/news/vulnerabilities.html#2016-0705
      - Fix a defect that can cause memory corruption in certain very rare
    cases relating to the internal `BN_hex2bn()` and `BN_dec2bn()`
    functions. It is believed that Node.js is not invoking the code paths
    that use these functions so practical attacks via Node.js using this
    defect are _unlikely_ to be possible. More info is available at
    https://www.openssl.org/news/vulnerabilities.html#2016-0797
      - Fix a defect that makes the CacheBleed Attack
    (https://ssrg.nicta.com.au/projects/TS/cachebleed/) possible. This
    defect enables attackers to execute side-channel attacks leading to the
    potential recovery of entire RSA private keys. It only affects the
    Intel Sandy Bridge (and possibly older) microarchitecture when using
    hyper-threading. Newer microarchitectures, including Haswell, are
    unaffected. More info is available at
    https://www.openssl.org/news/vulnerabilities.html#2016-0702
    
    * Fixed several regressions that appeared in v5.7.0:
      - path.relative():
        - Output is no longer unnecessarily verbose (Brian White)
    #5389
        - Resolving UNC paths on Windows now works correctly (Owen Smith)
    #5456
        - Resolving paths with prefixes now works correctly from the root
    directory (Owen Smith) #5490
      - url: Fixed an off-by-one error with `parse()` (Brian White)
    #5394
      - dgram: Now correctly handles a default address case when offset and
    length are specified (Matteo Collina)
    #5407
    
    PR-URL: #5464
    Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    805f054 View commit details
    Browse the repository at this point in the history
  29. Working on v5.7.2

    PR-URL: #5464
    Fishrock123 committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    01c331e View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2016

  1. child_process: support options in send()

    This commit adds an options object to process.send(). The same
    object is propagated to process._send(), the _handleQueue, and the
    send() and postSend() functions of the handle converter.
    
    Fixes: #4271
    PR-URL: #5283
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    6d4887c View commit details
    Browse the repository at this point in the history
  2. child_process: add keepOpen option to send()

    This option allows an instance of net.Socket to be kept open in
    the sending process.
    
    Fixes: #4271
    PR-URL: #5283
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    a301799 View commit details
    Browse the repository at this point in the history
  3. repl: accept no arguments to start()

    Currently, there is a check to ensure that the user either
    provides an object or a string to repl.start(). The string case
    is used to set a REPL prompt. However, a default of '> ' already
    exists, so forcing the user to specify a prompt is a bit
    redundant. This commit removes this restriction.
    
    Fixes: #5385
    PR-URL: #5388
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Julian Duque <[email protected]>
    cjihrig authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    e572e42 View commit details
    Browse the repository at this point in the history
  4. constants: define ENGINE_METHOD_RSA

    constants.ENGINE_METHOD_RSA was documented, but not implemented.
    
    PR-URL: #5463
    Reviewed-By: Fedor Indutny <[email protected]>
    sam-github authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    9db827c View commit details
    Browse the repository at this point in the history
  5. doc: correct name of engine methods

    ENGINE_METHOD_PKEY_METH and ENGINE_METHOD_PKEY_ASN1_METH are misspelled
    in the documentation, both should be ..._METHS.
    
    PR-URL: #5463
    Reviewed-By: Fedor Indutny <[email protected]>
    sam-github authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    b54a26f View commit details
    Browse the repository at this point in the history
  6. doc: update V8 URL

    https://code.google.com/p/v8/ redirects to the V8 issue tracker
    
    PR-URL: #5530
    Reviewed-By: Ben Noordhuis <[email protected]>
    strawbrary authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    cb7e4fb View commit details
    Browse the repository at this point in the history
  7. tools: enable no-extra-parens in ESLint

    Enable `no-extra-parens`. This rule restricts the use of parentheses to
    only where they are necessary. It is set to be restricted to report only
    function expressions.
    
    PR-URL: #5512
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    c4fa2a6 View commit details
    Browse the repository at this point in the history
  8. benchmark: fix lint errors

    PR-URL: #5517
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    b955d02 View commit details
    Browse the repository at this point in the history
  9. tools: enable linting for benchmarks

    PR-URL: #5517
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    9a3e87e View commit details
    Browse the repository at this point in the history
  10. doc: update link green to match homepage

    Also fixed a minor color issue with :focus on the title.
    
    PR-URL: #5548
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    silverwind authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    3bd96fd View commit details
    Browse the repository at this point in the history
  11. test: check memoryUsage properties

    The properties on memoryUsage were not checked before,
    this commit checks them.
    
    PR-URL: #5546
    Reviewed-By: Colin Ihrig <[email protected]>
    geek authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    40b36ba View commit details
    Browse the repository at this point in the history
  12. test: prevent flakey test on pi2

    Looping rapidly and making new connections causes problems on pi2.
    Instead create a new connection when an old connection has already been
    made. Running a stress test of 600 times and they all passed.
    
    Fixes: #5302
    PR-URL: #5537
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    trevnorris authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    e6210d5 View commit details
    Browse the repository at this point in the history
  13. doc: improve unhandledException doc copy

    Rework the doc a bit to tighten it up, including removing the
    use of `you`
    
    Fix some line wrapping issues.
    
    PR-URL: #5287
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    
    ...
    jasnell authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    9ad901e View commit details
    Browse the repository at this point in the history
  14. tools: support testing known issues

    This commit adds a known_issues directory to the test directory
    for scripts that reproduce known bugs. Since these scripts are
    expected to fail, it also adds a --expect-fail flag to test.py
    which reports tests as successful when they fail.
    
    Refs: nodejs/testing#18
    PR-URL: #5528
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Wyatt Preul <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    5aa17dc View commit details
    Browse the repository at this point in the history
  15. test: bug repro for vm function redefinition

    This commit adds a failing test case for the vm module.
    Currently, if runInContext() defines a function, and a later call
    to runInContext() redefines the same function, the original
    function is not overwritten.
    
    Refs: #548
    PR-URL: #5528
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Wyatt Preul <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    29e26b3 View commit details
    Browse the repository at this point in the history
  16. build: correctly detect clang version

    Use the "Apple LLVM" version number since the banner has changed in
    newer versions of Mac OS X, resulting in the obsolete assembler path
    being used to compile OpenSSL.
    
    PR-URL: #5553
    Reviewed-By: Ben Noordhuis <[email protected]>
    Stefan Budeanu authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    86900f8 View commit details
    Browse the repository at this point in the history
  17. benchmark: add util.format benchmark

    PR-URL: #5360
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    12ca84f View commit details
    Browse the repository at this point in the history
  18. util: improve util.format performance

    By manually copying arguments and breaking the try/catch out, we are
    able to improve the performance of util.format by 20-100% (depending on
    the types).
    
    PR-URL: #5360
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    c32d460 View commit details
    Browse the repository at this point in the history
  19. util: improve format() performance further

    Replacing the regexp and replace function with a loop improves
    performance by ~60-200%.
    
    PR-URL: #5360
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    971edde View commit details
    Browse the repository at this point in the history
  20. dgram: default send address to 127.0.0.1 or ::1

    In net we default to 'localhost' as the default address for connect.
    Not doing the same on dgram is confusing, because sending to 0.0.0.0
    works on Linux/OS X but not on Windows. Defaulting that to 127.0.0.1 /
    ::1 addresses that.
    
    Related: #5407
    Related: #5398
    Fixes: #5487
    PR-URL: #5493
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    mcollina authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    67e9f65 View commit details
    Browse the repository at this point in the history
  21. build: update Node.js logo on Win installer

    also change stripe color to RGB 68 136 62
    
    PR-URL: #5531
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    eljefedelrodeodeljefe authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    2abf866 View commit details
    Browse the repository at this point in the history
  22. doc: fix typo in fs.symlink

    PR-URL: #5560
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    targos authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    eb5a95e View commit details
    Browse the repository at this point in the history
  23. tools: enable no-self-assign ESLint rule

    Enabled no-self-assign rule in ESLint.
    
    This required one change in a benchmark file. Changed a loop (that is
    outside of the benchmark itself, so performance is not critical) from a
    for loop that repeats a string to use String.prototype.repeat() instead.
    
    While at it, took the opportunity to const-ify the benchmark file.
    
    Also moved the "Strict" section in the .eslintrc to match where it is in
    the ESLint documentation. Updated the link for Strict rules to point to
    the ESLint website rather than the GitHub-hosted code.
    
    PR-URL: #5552
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    7965c89 View commit details
    Browse the repository at this point in the history
  24. tools: reduce verbosity of cpplint

    Every time `make test` is run, the cpplint prints the file it
    successfully linted. None of the other linters in the project does
    that. This patch simply removes the "Done processing" message from the
    cpplint.
    
    PR-URL: #5578
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    thefourtheye authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    048c0f4 View commit details
    Browse the repository at this point in the history
  25. test: remove broken debugger scenarios

    `test-debug-break-on-uncaught` was hanging on the domain and parse error
    scenarios. These tests are not run in CI and may have been broken
    for a very long time.
    
    Refs: #3156
    Refs: c16963b9
    PR-URL: #5532
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Trott authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    4f20f31 View commit details
    Browse the repository at this point in the history
  26. doc: add info to docs on how to submit docs patch

    The docs mentioned that the docs source live in
    the node source, but did not link to same.
    
    PR-URL: #4591
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Sequoia authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    7be726f View commit details
    Browse the repository at this point in the history
  27. path: fix normalize for absolutes

    Fixes a regression introduced by
    b212be0.
    
    path.normalize(''/a/b/c/../../../x/y/z'') should return '/x/y/z'.
    
    Fixes: #5585
    PR-URL: #5589
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    evanlucas authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    f3971f5 View commit details
    Browse the repository at this point in the history
  28. doc: document directories in test directory

    PR-URL: #5557
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    mike182uk authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    3c92352 View commit details
    Browse the repository at this point in the history
  29. test: add test-npm-install to parallel tests suite

    Currently we are not testing that `npm install` works.
    
    This is a very naive / basic test that shells out to `npm install`
    in an empty `tempDir`. While this test will not be able to check
    that `npm install` is 100% working, it should catch certain edge
    cases that break it.
    
    PR-URL: #5166
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    Myles Borins authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    9dc94d7 View commit details
    Browse the repository at this point in the history
  30. deps: upgrade to npm 3.7.3

    PR-URL: #5369
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    
    Conflicts:
    	deps/npm/node_modules/request/node_modules/aws4/LICENSE
    zkat authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    8501345 View commit details
    Browse the repository at this point in the history
  31. src,http: fix uncaughtException miss in http

    In AsyncWrap::MakeCallback always return empty handle if there is an
    error. In the future this should change to return a v8::MaybeLocal, but
    that major change will have to wait for v6.x, and these changes are
    meant to be backported to v4.x.
    
    The HTTParser call to AsyncWrap::MakeCallback failed because it expected
    a thrown call to return an empty handle.
    
    In node::MakeCallback return an empty handle if the call is
    in_makecallback(), otherwise return v8::Undefined() as usual to preserve
    backwards compatibility.
    
    Fixes: #5555
    PR-URL: #5591
    Reviewed-By: Julien Gilli <[email protected]>
    trevnorris authored and Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    5e6d706 View commit details
    Browse the repository at this point in the history
  32. 2016-03-08, Version 5.8.0 (Stable)

    Notable changes:
    
    * child_process: “send()” now accepts an options parameter (cjihrig)
    #5283
      - Currently the only option is “keepOpen”, which keeps the underlying
    socket open after the message is sent.
    * constants: “ENGINE_METHOD_RSA” is now correctly exposed (Sam Roberts)
    #5463
    * Fixed two regressions which originated in v5.7.0:
      - http: Errors inside of http client callbacks now propagate
    correctly (Trevor Norris) #5591
      - path: Fixed normalization of absolute paths (Evan Lucas)
    #5589
    * repl: “start()” no longer requires an options parameter (cjihrig)
    #5388
    * util: Improved “format()” performance 50-300% (Evan Lucas)
    #5360
    
    PR-URL: #5559
    Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    fc13773 View commit details
    Browse the repository at this point in the history
  33. Working on v5.8.1

    PR-URL: #5559
    Fishrock123 committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    8165570 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2016

  1. doc: fix v5.8.0 changelog heading

    PR-URL: #5559
    Fishrock123 committed Mar 9, 2016
    Configuration menu
    Copy the full SHA
    4d6fe30 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2016

  1. Revert "build: run lint before tests"

    This reverts commit d9f7a59.
    
    Changes here probably need wider discussion so revert the change until
    that can happen.
    
    PR-URL: #5602
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    a7819da View commit details
    Browse the repository at this point in the history
  2. deps: sync deps/http_parser with nodejs/http_parser

    The upstream and dep were slightly out of sync due to the way the
    recent security update had to be done. This brings the two back
    into sync. This update includes a couple of fixed tests and a
    performance related semver-patch update to the http method parsing.
    
    PR-URL: #5600
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    jasnell authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    532d1bf View commit details
    Browse the repository at this point in the history
  3. doc: update release tweet template

    PR-URL: #5628
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    9f8e2e2 View commit details
    Browse the repository at this point in the history
  4. build: don't install github templates

    Avoid putting github templates in the source tarballs.
    
    PR-URL: #5612
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    jbergstroem authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    03b99bf View commit details
    Browse the repository at this point in the history
  5. doc: fix dns.resolveCname description typo

    PR-URL: #5622
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    axvm authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    62d267e View commit details
    Browse the repository at this point in the history
  6. doc: fix markdown links

    Fixes: #5322
    PR-URL: #5641
    Reviewed-By: Robert Lindstädt <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    stevemao authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    9ebd559 View commit details
    Browse the repository at this point in the history
  7. lib: copy arguments object instead of leaking it

    Instead of leaking the arguments object by passing it as an
    argument to a function, copy it's contents to a new array,
    then pass the array. This allows V8 to optimize the function
    that contains this code, improving performance.
    
    PR-URL: #4361
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    nwoltman authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    205bed0 View commit details
    Browse the repository at this point in the history
  8. docs: update link to iojs+release ci job

    We recently sandboxed the release CI jobs to their own Jenkins instance
    This commit updates the links found in `doc/releases.md` to point
    people in the right direction.
    
    PR-URL: #5632
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Myles Borins authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    4c1fdae View commit details
    Browse the repository at this point in the history
  9. win,build: support Visual C++ Build Tools 2015

    Invoke MSBuild specifying the target platform as generated by Gyp.
    
    Reviewed-By: James M Snell <[email protected]>
    PR-URL: #5627
    joaocgreis authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    0b545fb View commit details
    Browse the repository at this point in the history
  10. doc: add mattloring to collaborators

    PR-URL: #5662
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Matt Loring authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    dd6f4ec View commit details
    Browse the repository at this point in the history
  11. doc: add whitlockjc to collaborators

    PR-URL: #5665
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    whitlockjc authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    f7842cb View commit details
    Browse the repository at this point in the history
  12. doc: add benjamingr to collaborator list

    Add benjamingr to collaborator list.
    Related #5064
    
    PR-URL: #5664
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    benjamingr authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    8e1f670 View commit details
    Browse the repository at this point in the history
  13. doc: add AndreasMadsen to collaborators

    PR-URL: #5666
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Glen Keane <[email protected]>
    AndreasMadsen authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    285d5e7 View commit details
    Browse the repository at this point in the history
  14. doc: add fansworld-claudio to collaborators

    PR-URL: #5668
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    claudiorodriguez authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    a33f248 View commit details
    Browse the repository at this point in the history
  15. doc: add phillipj to collaborators

    PR-URL: #5663
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremy Whitlock <[email protected]>
    phillipj authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    b81711a View commit details
    Browse the repository at this point in the history
  16. doc: add thekemkid to collaborators

    PR-URL: #5667
    
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    GlenTiki authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    f7aecd6 View commit details
    Browse the repository at this point in the history
  17. test: add batch of known issue tests

    This commit adds tests for several known issues.
    
    Refs: #1901
    Refs: #728
    Refs: #4778
    Refs: #947
    Refs: #2734
    PR-URL: #5653
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    9a44c8c View commit details
    Browse the repository at this point in the history
  18. doc: include typo in 'unhandledRejection' example

    Reintroduces an intentional typo in a process doc example.
    
    Fixes: #5644
    PR-URL: #5654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    r1b authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    dd12661 View commit details
    Browse the repository at this point in the history
  19. doc: fix typo in child_process docs

    Fixes a typo in the child process docs.
    Fixes: nodejs/nodejs.org#573
    
    PR-URL: #5681
    
    Reviewed-By: thefourtheye <[email protected]>
    benjamingr authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    f6ee099 View commit details
    Browse the repository at this point in the history
  20. doc: update removeListener behaviour

    This commit updates events doc to describe removeListener behaviour
    when it is called within a listener. An example is added to make
    it more evident.
    
    A test is also incuded to make this behaviour consistent in future
    releases.
    
    Fixes: #4759
    
    PR-URL: #5201
    
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    vaibhav93 authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    2a442b3 View commit details
    Browse the repository at this point in the history
  21. collaborator_guide: clarify commit message rules

    Italicize the full URL being required in metadata.
    
    PR-URL: #5661
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James Snell <[email protected]>
    geek authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    d5d64c3 View commit details
    Browse the repository at this point in the history
  22. doc: move build instructions to a new document

    This makes README.md easier to consume and likely less
    confusing for people that get it as part of a binary download.
    
    PR-URL: #5634
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jbergstroem authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    c379ec6 View commit details
    Browse the repository at this point in the history
  23. doc: add clarification on birthtime in fs stat

    Clarifies the possibility of birthtime in the fs stat
    object being greater than atime or mtime when not available
    in the filesystem (see issue for further info).
    
    Fixes: #2222
    PR-URL: #5479
    Reviewed-By: James M Snell <[email protected]>
    kthelgason authored and rvagg committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    f3e9daa View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2016

  1. contextify: cleanup weak ref for global proxy

    Cleanup how node_contextify keeps weak references in order to prepare
    for new style phantom weakness API. We didn't need to keep a weak
    reference to the context's global proxy, as the context holds it.
    
    PR-URL: #5392
    Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    93f60cd View commit details
    Browse the repository at this point in the history
  2. contextify: cleanup weak ref for sandbox

    Simplify how node_contextify was keeping a weak reference to the
    sandbox object in order to prepare for new style phantom weakness V8
    API. It is simpler (and more robust) for the context to hold a
    reference to the sandbox in an embedder data field. Doing otherwise
    meant that the sandbox could become weak while the context was still
    alive. This wasn't a problem because we would make the reference
    strong at that point.
    
    Since the sandbox must live at least as long as the context, it
    would be better for the context to hold onto the sandbox.
    
    PR-URL: #5392
    Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    bfff07b View commit details
    Browse the repository at this point in the history
  3. contextify: replace deprecated SetWeak usage

    PR-URL: #5392
    Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    4f2c839 View commit details
    Browse the repository at this point in the history
  4. contextify: cache sandbox and context in locals

    PR-URL: #5392
    Reviewed-By: Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    0662fcf View commit details
    Browse the repository at this point in the history
  5. timers: refactor timers

    Consolidates the implementation of regular and internal (_unrefActive)
    timers.
    
    Also includes a couple optimizations:
    - Isolates the try/catch from listOnTimeout() in a new tryOnTimeout().
    - Uses a TimersList constructor as the base for linkedlists.
    
    Additionally includes other cleanup and clarification, such as a rename
    of "Timer" to "TimerWrap".
    
    PR-URL: #4007
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Fishrock123 authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    769254b View commit details
    Browse the repository at this point in the history
  6. timers: greatly improve code comments

    Describes the How and Why of the timers implementation, as well as
    adding comments in spots that should allow for an easier understanding
    about what is going on.
    
    The timers implementation is very efficient, at a cost.
    That cost is readable understandability, and this aims to improve that.
    
    PR-URL: #4007
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Fishrock123 authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    1b7b1ed View commit details
    Browse the repository at this point in the history
  7. test: eval a strict function

    PR-URL: #5250
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    kthelgason authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    cceae5a View commit details
    Browse the repository at this point in the history
  8. test: improve test-npm-install

    Make npm install a dependency that is defined as a relative path, so it
    avoids any network interaction.
    
    PR-URL: #5613
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    santigimeno authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    f225459 View commit details
    Browse the repository at this point in the history
  9. doc: remove non-standard use of hyphens

    Identifies the non-idiomatic usages of the '-' character
    and either removes them or replaces them with colons.
    
    Fixes: #5672
    R-URL: #5677
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    svozza authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    31e39fb View commit details
    Browse the repository at this point in the history
  10. doc: add onboarding resources

    PR-URL: #3726
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Fishrock123 authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    9794abb View commit details
    Browse the repository at this point in the history
  11. doc: update fansworld-claudio username on README

    Updating collaborator username: fansworld-claudio
    changed to claudiorodriguez
    
    PR-URL: #5680
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    claudiorodriguez authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    b667573 View commit details
    Browse the repository at this point in the history
  12. doc: fix typo in api/fs

    PR-URL: #5678
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    watilde authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    44a9b10 View commit details
    Browse the repository at this point in the history
  13. doc: fix typo in api/dgram

    PR-URL: #5678
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    watilde authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    8e45c9d View commit details
    Browse the repository at this point in the history
  14. doc: fix typo in api/addons

    PR-URL: #5678
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    watilde authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    c579507 View commit details
    Browse the repository at this point in the history
  15. doc: clarify when writable.write callback is called

    The current documentation for writable.write only specifies that the
    callback is called "once the data has been fully handled".  It is
    ambiguous whether this means "successfully handled" and, if so,
    whether the callback is called if the data can not be successfully
    handled (i.e. an error occurs).
    
    The ambiguity is not only in the documentation.  The stream class
    implementations differ on this point.  stream.Writable invokes the
    callback with any errors that occur during parameter checking or
    during calls to _write.  However, not all classes return all errors
    to _write. zlib.Zlib does pass argument and state errors to the
    _write (_transform) callback, but does not pass data errors.
    http.OutgoingMessage passes argument type errors and some other types
    of errors, but not all.
    
    This inconsistency is behind issue #1746 and, I suspect, other issues
    in client code which passes a callback to write.
    
    This commit takes no position on whether the callback error behavior
    should changed, but simply attempts to document the current behavior
    in a way that is open to changes so that users are not caught by
    surprise.
    
    PR-URL: #4810
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremy Whitlock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    kevinoid authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    eb73574 View commit details
    Browse the repository at this point in the history
  16. deps: update openssl config

    OPENSSL_NO_SSL2 and OPENSSL_NO_WEAK_SSL_CIPHERS are defined in
    opensslconf.h
    
    Fixes: nodejs/Release#85
    PR-URL: #5630
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Shigeki Ohtsu authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    29510aa View commit details
    Browse the repository at this point in the history
  17. doc: clarify type of first argument in zlib

    The current documentation for Convenience Methods specifies that
    the first argument can be either
    `string or buffer`, `string` or `raw Buffer`.
    This commit replaces all these instances with `Buffer or string`.
    
    PR-URL: #5685
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    fanatid authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    62926d8 View commit details
    Browse the repository at this point in the history
  18. net: make isIPv4 and isIPv6 more efficient

    `isIPv4` and `isIPv6` are implemented on top of `isIP`, which in turn
    checks the sting for being both IPv4 and IPv6, which can be inefficient
    in some scenarios. This commit makes them use `uv_inet_pton` directly
    instead.
    
    PR-URL: #5478
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    vkurchatkin authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    b16f67a View commit details
    Browse the repository at this point in the history
  19. zlib: add support for concatenated members

    According to the spec gzipped archives can contain more than one
    compressed member. Previously Node's gzip implementation would only
    unzip the first member and throw away the rest of the compressed data.
    Issue #4306 is an example of this occurring in daily use.
    
    Fixes: #4306
    PR-URL: #5120
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kthelgason authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    ef774ff View commit details
    Browse the repository at this point in the history
  20. doc: Add note about use of JSON.stringify()

    process.send and child.send use JSON.stringify to serialize
    the message.
    
    Fixes: #5453
    PR-URL: #5723
    Reviewed-By: Jeremy Whitlock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mithun-daa authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    434af03 View commit details
    Browse the repository at this point in the history
  21. doc: add Testing WG

    Add the proposed Testing WG. WORKING_GROUPS.md indicates that opening
    a pull request to that file is the way to request that a charter be
    ratified by the TC. So, that's what this is.
    
    The charter document is currently:
    https://github.com/nodejs/testing/blob/master/Charter.md
    
    PR-URL: #5461
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and rvagg committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    8c4c84f View commit details
    Browse the repository at this point in the history
  22. src: allow combination of -i and -e cli flags

    If both -i and -e flags are specified, do not ignore the -i. Instead,
    launch the interactive REPL and start by evaluating the passed string.
    
    Fixes: #1197
    PR-URL: #5655
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and evanlucas committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    4ecd996 View commit details
    Browse the repository at this point in the history
  23. console: check that stderr is writable

    `Console` constructor checks that `stdout.write()` is a function but
    does not do an equivalent check for `stderr.write()`. If `stderr` is not
    specified in the constructor, then `stderr` is set to be `stdout`.
    However, if `stderr` is specified, but `stderr.write()` is not a
    function, then an exception is not thrown until `console.error()` is
    called.
    
    This change adds the same check for 'stderr' in the constructor that is
    there for `stdout`. If `stderr` fails the check, then a `TypeError` is
    thrown.
    
    Took the opportunity to copyedit the `console` doc a little too.
    
    PR-URL: #5635
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Trott authored and evanlucas committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    5e9cac4 View commit details
    Browse the repository at this point in the history
  24. deps: backport fb4ccae from v8 upstream

    Original commit message:
    
          Export BreakEvent and CompileEvent
    
          [email protected]
    
          Review URL: https://codereview.chromium.org/1477233002
    
          Cr-Commit-Position: refs/heads/master@{#32861}
    
    PR-URL: #4231
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    develar authored and Myles Borins committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    b6c355d View commit details
    Browse the repository at this point in the history
  25. 2016-03-16, Version 5.9.0 (Stable)

    Notable changes:
    
    * **contextify**: Fixed a memory consumption issue related to heavy use
    of `vm.createContext` and `vm.runInNewContext`. (Ali Ijaz Sheikh)
    #5392
    * **governance**: The following members have been added as
    collaborators:
      - Andreas Madsen (@AndreasMadsen)
      - Benjamin Gruenbaum (@benjamingr)
      - Claudio Rodriguez (@claudiorodriguez)
      - Glen Keane (@thekemkid)
      - Jeremy Whitlock (@whitlockjc)
      - Matt Loring (@matthewloring)
      - Phillip Johnsen (@phillipj)
    * **lib**: copy arguments object instead of leaking it (Nathan Woltman)
    #4361
    * **src**: allow combination of -i and -e cli flags (Rich Trott)
    #5655
    * **v8**: backport fb4ccae from v8 upstream (Vladimir Krivosheev) #4231
      -  breakout events from v8 to offer better support for external
         debuggers
    * **zlib**: add support for concatenated members (Kári Tristan
    Helgason) #5120
    
    PR-URL: #5702
    evanlucas committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    79cb1a9 View commit details
    Browse the repository at this point in the history
  26. Working on v5.9.1

    PR-URL: #5702
    evanlucas committed Mar 16, 2016
    Configuration menu
    Copy the full SHA
    0cac777 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2016

  1. contextify: tie lifetimes of context & sandbox

    When the previous set of changes (bfff07b) it was possible to have the
    context get garbage collected while sandbox was still live. We need to
    tie the lifetime of the context to the lifetime of the sandbox.
    
    This is a backport of #5786 to v5.x.
    
    Ref: #5786
    PR-URL: #5800
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ofrobots authored and Myles Borins committed Mar 21, 2016
    Configuration menu
    Copy the full SHA
    c5d8369 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2016

  1. path: refactor path.format() repeated code

    PR-URL: #5673
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    
    Conflicts:
    	lib/path.js
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    6e5835b View commit details
    Browse the repository at this point in the history
  2. doc: reformat & improve node.1 manual page

    Uses better troff formatting.
    Removes v8 options from the man page.
    
    Also edits `node -h` in node.cc slightly.
    
    PR-URL: #5497
    Reviewed-By: James Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    
    Conflicts:
    	doc/node.1
    Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    5ab51ee View commit details
    Browse the repository at this point in the history
  3. doc: fix return value of write methods

    Fixes: https:github.com//issues/5682
    PR-URL: #5736
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    fb55 authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    89df17e View commit details
    Browse the repository at this point in the history
  4. docs: fix man pages link if tok type is code

    Do not call the linkManPages if the tok type is code
    
    Fixes: #5686
    PR-URL: #5721
    Reviewed-By: James M Snell <[email protected]>
    mithun-daa authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f34a00c View commit details
    Browse the repository at this point in the history
  5. doc: explain path.format() algorithm

    PR-URL: #5688
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fixes: #2305
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    724b87d View commit details
    Browse the repository at this point in the history
  6. doc: fix invalid path doc comments

    The format of certain code comments in the `path` documentation results
    in the code blocks being invalid. I also find it confusing at least as
    formatted on the website. This change is intended to improve those
    comments.
    
    PR-URL: #5670
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    
    Conflicts:
    	doc/api/path.markdown
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    75f723c View commit details
    Browse the repository at this point in the history
  7. https: fix ssl socket leak when keepalive is used

    SSL sockets leak whenever keep alive is enabled, ca option is set in
    the global agent, and requests are sent without the ca property.
    In the following case at Agent.prototype.createSocket a socket will
    be created with a hashtag name that includes data from the global
    agents’ ca property.
    
    On subsequent requests at Agent.prototype.addRequest we do not find
    the free socket, because the hashtag name generated there does not
    take into account the global agents’ ca property, thus creating a new
    socket and leaving the first socket to timeout. closes: #5699
    
    PR-URL: #5713
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    alexpenev-s authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3bff311 View commit details
    Browse the repository at this point in the history
  8. doc: fix multiline return comments in querystring

    Changes the multiline return example commments in querystring
    which have the example out-of-comment, into single comment
    lines to remain consistent with other docs.
    
    PR-URL: #5705
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    claudiorodriguez authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    15c5662 View commit details
    Browse the repository at this point in the history
  9. doc: fix crypto update() signatures

    PR-URL: #5500
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    mscdex authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    d8318c2 View commit details
    Browse the repository at this point in the history
  10. doc: fix typo in synchronous randomBytes example

    The string template was closed after `${buf.length}`
    causing a syntax error within the example.
    
    PR-URL: #5781
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    WebReflection authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    d9b4e15 View commit details
    Browse the repository at this point in the history
  11. tools: remove unused imports

    PR-URL: #5765
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    thefourtheye authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    b1a4870 View commit details
    Browse the repository at this point in the history
  12. timers: improve setImmediate() performance

    This commit improves setImmediate() performance by moving the
    try-finally block that wraps callback execution into a separate
    function because currently v8 never tries to optimize functions
    that contain try-finally blocks.
    
    With this change, there is a ~20-40% improvement in the included
    setImmediate() depth benchmarks. The breadth benchmarks show a slight
    improvement.
    
    PR-URL: #4169
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    mscdex authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    d3654d8 View commit details
    Browse the repository at this point in the history
  13. test: reduce brittleness of tab complete test

    test-repl-tab-complete includes tests that ensure that certain keys do
    not appear in tab completions or that completion does not crash the
    repl. It performed these tests by comparing completion output to a
    hardcoded list of expected keys. This list is made incorrect by any api
    changes that occur when new versions of V8 are introduced.
    
    With this change, we assert that the specific keys to be avoided are
    not present in the output instead.
    
    PR-URL: #5772
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    
    Conflicts:
    	test/parallel/test-repl-tab-complete.js
    Matt Loring authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    21770c3 View commit details
    Browse the repository at this point in the history
  14. doc: topic blocking vs non-blocking

    The need for an overview of blocking vs non-blocking was
    identified in the docs WG Q1 roadmap. As there are several
    topics also pending creation, this one tries to hit the correct
    level of detail based on completion of the others.  One
    which is referenced is
    https://github.com/nodejs/node/pull/4936/files and URLs
    within this PR need to change based on where that will land
    on the node website.
    
    PR-URL: #5326
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    jrit authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    5d28ce3 View commit details
    Browse the repository at this point in the history
  15. doc: align doc/api/tls.markdown with style guide

    Brings tls.markdown into alignment with the node.js
    styleguide, specifically regarding the use of
    personal pronouns. Also, fixes various typos,
    punctuation errors, missing definite/indefinite
    articles and other minor grammatical issues.
    
    PR-URL: #5706
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    
    Conflicts:
    	doc/api/tls.markdown
    svozza authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3ada8cc View commit details
    Browse the repository at this point in the history
  16. net: remove unused var self = this from old code

    Removed an unused `var self = this` that is no longer required.
    
    PR-URL: #5224
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    benjamingr authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    1ccf9b4 View commit details
    Browse the repository at this point in the history
  17. src,tools: use template literals

    Convert string concatenation to template literals. Enforce with lint
    rule.
    
    PR-URL: #5778
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    
    Conflicts:
    	src/.eslintrc
    	src/node.js
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    15c7b3a View commit details
    Browse the repository at this point in the history
  18. doc: grammar, clarity and links in timers doc

    Added appropriate in-document links. Clarified a bit of
    `setImmediate`, including a quick grammar fix (plural possessive
    apostrophe).
    
    PR-URL: #5792
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    bengl authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f53cc37 View commit details
    Browse the repository at this point in the history
  19. deps: remove unused openssl files

    Refs: #5615
    PR-URL: #5619
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    bnoordhuis authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    ae24d05 View commit details
    Browse the repository at this point in the history
  20. timers: give Timeouts a constructor name

    Refs: #5792
    PR-URL: #5793
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    
    Conflicts:
    	test/message/timeout_throw.out
    Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    20a68e9 View commit details
    Browse the repository at this point in the history
  21. test: minimize test-http-get-pipeline-problem

    Reduce resoures required by test.
    
    Clarify comment explaining source of test and what the test is looking
    for.
    
    Fixes: #5725
    PR-URL: #5728
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    b352cc7 View commit details
    Browse the repository at this point in the history
  22. dns: use isIp consistently

    Currently the DNS module imports isIP from both cares and `net` and
    uses both of them both throughout the code base. This PR removes the
    direct dependency `dns` has on `net` and uses `isIp` from c-ares all
    the time. Note that both functions do the same thing.
    
    PR-URL: #5804
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    
    Conflicts:
    	lib/dns.js
    benjamingr authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3fef69b View commit details
    Browse the repository at this point in the history
  23. test: fix flaky test-cluster-shared-leak

    Test was flaky on centos7-64 due to an uncaught ECONNRESET
    on the worker code. This catches the error so the process
    will exit with code 0.
    
    Fixes: #5604
    PR-URL: #5802
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    claudiorodriguez authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f0d885a View commit details
    Browse the repository at this point in the history
  24. test: fix test-cluster-worker-kill

    Don't check that the `disconnect` event is emitted before the `exit`
    event as the order is not guaranteed.
    
    PR-URL: #5814
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    d2fa644 View commit details
    Browse the repository at this point in the history
  25. doc: Add windows example for Path.format

    PR-URL: #5700
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    
    Conflicts:
    	doc/api/path.markdown
    mithun-daa authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    0ffd794 View commit details
    Browse the repository at this point in the history
  26. timers: fix lint from 4fe02e2

    Fixes: #5823
    Refs: #5793
    PR-URL: #5825
    Reviewed-By: Myles Borins <[email protected]>
    Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    46f0e02 View commit details
    Browse the repository at this point in the history
  27. test: make test-net-connect-options-ipv6.js better

    Improve the robustness of test-net-connect-options-ipv6.js
    
    PPC Suse build team encountered intermittent failures related
    to dns.  Improve test to make it more robust in the face
    of intermittent dns issues.
    
    PR-URL: #5791
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    89f091d View commit details
    Browse the repository at this point in the history
  28. doc: add a cli options doc page

    This page is mostly a mirror of the updated manual page.
    
    PR-URL: #5787
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell [email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Robert Lindstädt <[email protected]>
    Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    e99082e View commit details
    Browse the repository at this point in the history
  29. doc: explain error message on missing main file

    Added a hint saying that node uses the default "Cannot find module"
    error when requiring a module for which the "main" file specified in
    the package.json is missing.
    
    PR-URL: #5812
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    drywolf authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    e20d0b8 View commit details
    Browse the repository at this point in the history
  30. lib: reduce usage of self = this

    Remove unnecessary `self = this`.
    
    PR-URL: #5231
    Reviewed-By: James M Snell <[email protected]>
    
    Conflicts:
    	lib/domain.js
    JacksonTian authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    c75f97f View commit details
    Browse the repository at this point in the history
  31. doc: add CTC meeting minutes 2016-02-03

    PR-URL: #5272
    Reviewed-By: James M Snell <[email protected]>
    rvagg authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    7ab597d View commit details
    Browse the repository at this point in the history
  32. doc: add CTC meeting minutes 2016-02-10

    PR-URL: #5273
    Reviewed-By: James M Snell <[email protected]>
    rvagg authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    1631f06 View commit details
    Browse the repository at this point in the history
  33. lib: simplify code with String.prototype.repeat()

    use String.prototype.repeat() to simplify code, less code,
    more semantically.
    
    PR-URL: #5359
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    JacksonTian authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    7b21c09 View commit details
    Browse the repository at this point in the history
  34. doc: update crypto docs to use good defaults

    [Diffie-Hellman](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange#Cryptographic_explanation)
    keys are composed of a `generator` a `prime` a `secret_key`
    and the `public_key` resulting from the math operation:
    
    ```
    (generator ^ secret_key) mod prime = public_key
    ```
    
    Diffie-Hellman keypairs will compute a matching shared secret
    if and only if the generator and prime match for both
    recipients.  The generator is usually **2** and the prime is
    what is called a [Safe Prime](https://en.wikipedia.org/wiki/Safe_prime).
    
    Usually this matching is accomplished by using
    [standard published groups](http://tools.ietf.org/html/rfc3526).
    We expose access those groups with the `crypto.getDiffieHellman`
    function.
    
    `createDiffieHellman` is trickier to use.  The original example
    had the user creating 11 bit keys, and creating random groups of
    generators and primes. 11 bit keys are very very small, can be
    cracked by a single person on a single sheet of paper.  A
    byproduct of using such small keys were that it was a high
    likelihood that two calls of `createDiffieHellman(11)` would
    result in using the same 11 bit safe prime.
    
    The original example code would fail when the safe primes generated
    at 11 bit lengths did not match for alice and bob.
    
    If you want to use your own generated safe `prime` then the proper
    use of `createDiffieHellman` is to pass the `prime` and `generator`
    to the recipient's constructor, so that when they compute the shared
    secret their `prime` and `generator` match, which is fundamental to
    the algorithm.
    
    PR-URL: #5505
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    billautomata authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    d2d0fe9 View commit details
    Browse the repository at this point in the history
  35. test: repl tab completion test

    It checks that `eval` is called with `.scope` as an input string.
    
    PR-URL: #5534
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    70512e5 View commit details
    Browse the repository at this point in the history
  36. test: remove timer from test-http-1.0

    It's possible that the `end` event is emitted after the timeout fires
    causing the test to fail. Just remove the timer. If for some reason the
    `end` would never fire, the test will fail with a timeout.
    
    PR-URL: #5129
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    santigimeno authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    7c2c7b0 View commit details
    Browse the repository at this point in the history
  37. benchmark: fix linting errors

    4d78121 had lint errors that went
    undetected. This fixes them.
    
    PR-URL: #5840
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    341b3d0 View commit details
    Browse the repository at this point in the history
  38. buffer: throw range error before truncating write

    The check to determine whether `noAssert` was set to true and thus
    whether RangeErrors should be thrown was happening after the write was
    truncated to the available size of the buffer. These checks now occur in
    the correct order.
    
    Fixes: #5587
    PR-URL: #5605
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Matt Loring authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    72fb796 View commit details
    Browse the repository at this point in the history
  39. test: strip non-free icc profile from person.jpg

    Fixes: #5749
    PR-URL: #5813
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    kapouer authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f95fc17 View commit details
    Browse the repository at this point in the history
  40. test: smaller chunk size for smaller person.jpg

    PR-URL: #5813
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    
    Conflicts:
    	test/parallel/test-zlib-params.js
    kapouer authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    ca971b0 View commit details
    Browse the repository at this point in the history
  41. dns: use template literals

    Prefer the use of template string literals over string concatenation
    in the dns module, makes dns consistent with other modules basically
    doing #5778 for it.
    
    PR-URL: #5809
    Reviewed-By: James M Snell <[email protected]>
    benjamingr authored and Fishrock123 committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    54abbe7 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2016

  1. 2016-03-23, Version 5.9.1 (Stable)

    Notable changes:
    
    * buffer: Now properly throws RangeErrors on out-of-bounds writes (Matt
    Loring) #5605
      - This effects write{Float|Double} when the noAssert option is not
    used.
    * timers:
      - Returned timeout objects now have a Timeout constructor name
    (Jeremiah Senkpiel) #5793
      - Performance of Immediate processing is now ~20-40% faster (Brian
    White) #4169
    * vm: Fixed a contextify regression introduced in v5.9.0 (Ali Ijaz
    Sheikh) #5800
    
    PR-URL: #5831
    Fishrock123 committed Mar 23, 2016
    Configuration menu
    Copy the full SHA
    195e058 View commit details
    Browse the repository at this point in the history
  2. Working on v5.9.2

    PR-URL: #5831
    Fishrock123 committed Mar 23, 2016
    Configuration menu
    Copy the full SHA
    90c2063 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2016

  1. buffer: backport --zero-fill-buffers command line option

    This backports the --zero-fill-buffers command line flag introduced
    in master. When used, all Buffer and SlowBuffer instances will zero
    fill by default.
    
    This does *not* backport any of the other Buffer API or behavior
    changes.
    
    PR-URL: #5744
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell committed Mar 24, 2016
    Configuration menu
    Copy the full SHA
    3c02727 View commit details
    Browse the repository at this point in the history
  2. buffer: backport new buffer constructor APIs

    This backports the new `Buffer.alloc()`, `Buffer.allocUnsafe()`,
    and `Buffer.from()` APIs for v5.
    
    Also included in this backport is the change that allows fill('')
    to zero-fill (as opposed to doing nothing) and the additional
    `byteOffset` and `length` arguments for `Buffer(arrayBuffer)` and
    `Buffer.from(arrayBuffer)`.
    
    This backport includes the new test cases.
    
    This backport *does not* update all of the internal uses of the
    existing `Buffer()` constructor.
    
    This backport also *does not* include the soft deprecation of the
    existing `Buffer()` constructor.
    
    PR-URL: #5763
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell committed Mar 24, 2016
    2 Configuration menu
    Copy the full SHA
    c1534e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2016

  1. Add @mhdawson back to the CTC

    Now that the CTC has expanded, this PR calls for a vote of the CTC
    to reinstate Michael Dawson (@mhdawson) as a full voting member.
    
    Voted on and approved by the CTC on 2016-03-23
    
    PR-URL: #5633
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    8fa0b5c View commit details
    Browse the repository at this point in the history
  2. src,http_parser: remove KickNextTick call

    Now that HTTPParser uses MakeCallback it is unnecessary to manually
    process the nextTickQueue.
    
    The KickNextTick function is now no longer needed so code has moved back
    to node::MakeCallback to simplify implementation.
    
    Include minor cleanup moving Environment::tick_info() call below the
    early return to save an operation.
    
    PR-URL: #5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    f1488bb View commit details
    Browse the repository at this point in the history
  3. src: reword command and add ternary

    Make comment clear that Undefined() is returned for legacy
    compatibility. This will change in the future as a semver-major change,
    but to be able to port this to previous releases it needs to stay as is.
    
    PR-URL: #5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    f9d0166 View commit details
    Browse the repository at this point in the history
  4. async_wrap: setupHooks now accepts object

    The number of callbacks accepted to setupHooks was getting unwieldy.
    Instead change the implementation to accept an object with all callbacks
    
    PR-URL: #5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    a485612 View commit details
    Browse the repository at this point in the history
  5. async_wrap: notify post if intercepted exception

    The second argument of the post callback is a boolean indicating whether
    the callback threw and was intercepted by uncaughtException or a domain.
    
    Currently node::MakeCallback has no way of retrieving a uid for the
    object. This is coming in a future patch.
    
    PR-URL: #5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    6f16882 View commit details
    Browse the repository at this point in the history
  6. async_wrap: don't abort on callback exception

    Rather than abort if the init/pre/post/final/destroy callbacks throw,
    force the exception to propagate and not be made catchable. This way
    the application is still not allowed to proceed but also allowed the
    location of the failure to print before exiting. Though the stack itself
    may not be of much use since all callbacks except init are called from
    the bottom of the call stack.
    
        /tmp/async-test.js:14
          throw new Error('pre');
          ^
        Error: pre
            at InternalFieldObject.pre (/tmp/async-test.js:14:9)
    
    PR-URL: #5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    2cbbaaf View commit details
    Browse the repository at this point in the history
  7. buffer: changing let in for loops back to var

    Using let in for loops showed a regression in 4.4.0. @ofrobots
    suggested that we avoid using let in for loops until TurboFan becomes
    the default optimiser.
    
    The regression that was detected was when looking at how long it took
    to create a new buffer from an array of data.
    
    When using `for (let i=0; i<length; i++) ` we saw the operation take
    almost 40% longer compared to `var i=0`.
    
    PR-URL: #5819
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Ref: http://github.com/nodejs/benchmarking/issues/38
    gareth-ellis authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    bdf933b View commit details
    Browse the repository at this point in the history
  8. buffer: add swap16() and swap32() methods

    Adds Buffer.prototype.swap16() and Buffer.prototype.swap32()
    methods that mutate the Buffer instance in-place by swapping the
    16-bit and 32-bit byte-order.
    
    Example:
    
    ```js
    const buf = Buffer([0x1, 0x2, 0x3, 0x4]);
    buf.swap16();
    console.log(buf);
      // prints Buffer(0x2, 0x1, 0x4, 0x3);
    
    buf.swap32();
    console.log(buf);
      // prints Buffer(0x3, 0x4, 0x1, 0x2);
    ```
    
    PR-URL: #5724
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    1f8e4b5 View commit details
    Browse the repository at this point in the history
  9. buffer: make byteLength work with ArrayBuffer & DataView

    Convert anything to string, but Buffer, TypedArray and ArrayBuffer
    
    ```
    var uint8 = new Uint8Array([0xf0, 0x9f, 0x90]);
    Buffer.byteLength(uint8); // should be 3, but returns 11
    Buffer.byteLength(uint8.buffer); // should be 3, but return 20
    ```
    
    PR-URL: #5255
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    JacksonTian authored and evanlucas committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    ee83c95 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2016

  1. build: enable compilation for linuxOne

    Changes to Node core in order to allow compilation for linuxOne.
    
    The ../archs/linux32-s390x/opensslconf.h and
    ../archs/linux64-s390x/opensslconf.h were automatically
    generated by running make linux-ppc linux-ppc64 in the
    deps/openssl/config directory as per our standard
    practice
    
    After these changes we still need a version of v8
    which supports linuxOne but that will be coming soon
    in the 5.1 version of v8.  Until then with these changes
    we'll be able to create a hybrid build which pulls in
    v8 from the http://github/andrewlow repo.
    
    PR-URL: #5941
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    mhdawson authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    5681ffe View commit details
    Browse the repository at this point in the history
  2. build: add missing openssl_fips% to common.gypi

    See: atom/node@cba512d
    
    PR-URL: #5919
    Reviewed-By: Johan Bergström <[email protected]>
    indutny authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    5ee5fa2 View commit details
    Browse the repository at this point in the history
  3. build: add script to create Android .mk files

    The create_android_makefiles script will create .mk files for node and
    all of its dependencies ready to be build using Android build system.
    
    Signed-off-by: Robert Chiras <[email protected]>
    PR-URL: #5544
    Reviewed-By: Ben Noordhuis <[email protected]>
    robertchiras authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    389f5a8 View commit details
    Browse the repository at this point in the history
  4. build: add suport for x86 architecture

    Modified android-configure script to support also x86 arch.
    Currently added support only for ia32 target arch.
    Also, compile openssl without asm, since using the asm sources will make
    node fail to run on Android, because it adds text relocations.
    
    Signed-off-by: Robert Chiras <[email protected]>
    PR-URL: #5544
    Reviewed-By: Ben Noordhuis <[email protected]>
    robertchiras authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    58b5c1e View commit details
    Browse the repository at this point in the history
  5. child_process: refactor self=this in socket_list

    The socket list module (used by child_process) currently uses the
    `var self = this;` pattern for context in several places, this PR
    replaces this with arrow functions or passing a parameter in where
    appropriate.
    
    Note that the `var self = this` in the _request is intentioanlly
    left in place since it is not trivial to refactor it and the current
    pattern isn't bad given the use case.
    
    PR-URL: #5860
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    benjamingr authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    660ec9f View commit details
    Browse the repository at this point in the history
  6. deps: backport 8d00c2c from v8 upstream

    Original commit message:
    
        Unbreak --gdbjit for embedders.
    
        Embedders don't use d8.cc.  Move gdbjit initialization to api.cc.
    
        Review URL: https://codereview.chromium.org/1710253002
    
    Fixes: #2076
    PR-URL: #5577
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    bnoordhuis authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    ec18131 View commit details
    Browse the repository at this point in the history
  7. dns: Use object without protoype for map

    Currently we use `{}` for the `lookup` function to find the relevant
    resolver to the dns.resolve function. It is preferable to use an
    object without a Object.prototype, currently for example you can do
    something like:
    
    ```js
    dns.resolve("google.com", "toString", console.log);
    ```
    
    And get `[Object undefined]` logged and the callback would never be
    called. This is unexpected and strange behavior in my opinion.
    In addition, if someone adds a property to `Object.prototype` might
    also create unexpected results.
    
    This pull request fixes it, with it an appropriate error is thrown.
    
    PR-URL: #5843
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    benjamingr authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    6a6112a View commit details
    Browse the repository at this point in the history
  8. dns: Refactor forEach to map

    Refactor a forEach to a `map` in the `setServers` function of the
    dns module - simplifying the code. In addition, use more descriptive
    variable names and `const` over `var` where possible.
    
    PR-URL: #5803
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    benjamingr authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    2a5c6d7 View commit details
    Browse the repository at this point in the history
  9. doc: fix doc for Buffer.readInt32LE()

    Update example of readInt32LE method. buf.readInt32LE(1) is supposed to
    throw an error as it has only four elements and it tries to read 32
    bits from three bytes.
    
    Fixes: #5889
    PR-URL: #5890
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    ghaiklor authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    f1f9aff View commit details
    Browse the repository at this point in the history
  10. doc: add instructions to only sign a release

    PR-URL: #5876
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    8e790b7 View commit details
    Browse the repository at this point in the history
  11. doc: fix order of end tags of list after heading

    Current html result of a list after heading is <div
    class="signature"><ul>...</div></ul>. Correct it to <div
    class="signature"><ul>...</ul></div>.
    
    PR-URL: #5874
    Fixes: #5873
    Reviewed-By: Roman Reiss <[email protected]>
    firedfox authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    949b17f View commit details
    Browse the repository at this point in the history
  12. doc: use consistent event name parameter

    Implementing the suggestion in
    #4554 this pull request renames
    the parameter name in all the places that accept an event name as a parameter.
    
    Previously, the parameter has been called `event` or `type`. Now as suggested
    it is consistently called `eventName`.
    
    PR-URL: #5850
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    benjamingr authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    2977839 View commit details
    Browse the repository at this point in the history
  13. doc: explain path.format expected properties

    Explain the expected properties in path.format
    
    Fixes: #5746
    PR-URL: #5801
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    eversojk authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    5676a35 View commit details
    Browse the repository at this point in the history
  14. doc: typo: interal->internal.

    Fixes a copy typo in the events.md docs.
    
    PR-URL: #5849
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kosak authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    858a524 View commit details
    Browse the repository at this point in the history
  15. etw: fix descriptors of events 9 and 23

    Event 9 must include the string terminator in the last descriptor.
    Event 23 must be published with no descriptors, in accordance with
    the manifest.
    
    PR-URL: #5742
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joaocgreis authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    731f7b8 View commit details
    Browse the repository at this point in the history
  16. fs: add the fs.mkdtemp() function.

    This uses libuv's mkdtemp function to provide a way to create a
    temporary folder, using a prefix as the path. The prefix is appended
    six random characters. The callback function will receive the name
    of the folder that was created.
    
    Usage example:
    
    fs.mkdtemp('/tmp/foo-', function(err, folder) {
        console.log(folder);
            // Prints: /tmp/foo-Tedi42
    });
    
    The fs.mkdtempSync version is also provided. Usage example:
    
    console.log(fs.mkdtemp('/tmp/foo-'));
        // Prints: tmp/foo-Tedi42
    
    This pull request also includes the relevant documentation changes
    and tests.
    
    PR-URL: #5333
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ralt authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    80155d3 View commit details
    Browse the repository at this point in the history
  17. http: speed up checkIsHttpToken

    The Regex implementation is not faster than ascii code compare.
    
    the field name is shorter, the speed is faster.
    
    benchmark result here:
    
    https://bitbucket.org/snippets/JacksonTian/Rnbad/benchmark-result
    
    PR-URL: #4790
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    JacksonTian authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    63c601b View commit details
    Browse the repository at this point in the history
  18. zlib: Fix handling of gzip magic bytes mid-file

    Only treat the gzip magic bytes, when encountered within the file
    after reading a single block, as the start of a new member when
    the previous member has ended.
    
    Add test files that reliably reproduce #5852. The gzipped file
    in test/fixtures/pseudo-multimember-gzip.gz contains the gzip
    magic bytes exactly at the position that node encounters after having
    read a single block, leading it to believe that a new data
    member is starting.
    
    Fixes: #5852
    PR-URL: #5863
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    addaleax authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    afcd276 View commit details
    Browse the repository at this point in the history
  19. win,build: build and test add-ons on test-ci

    Added build-addons task, it allows to build and test native addons
    during test-ci task. Basically it should work in same way like
    Makefile "build-addons" task.
    
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    PR-URL: #5886
    Fixes: #2537
    Bogdan Lobor authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    77bed26 View commit details
    Browse the repository at this point in the history
  20. tools: fix json doc generation

    Current processList function in tools/doc/json.js does not recognise
    {"type":"loose_item_start"}. Fix it.
    
    PR-URL: #5943
    Fixes: #5942
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Robert Lindstädt <[email protected]>
    firedfox authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    cb676cf View commit details
    Browse the repository at this point in the history
  21. timers: fixing API refs to use safe internal refs

    Added safe internal references for 'clearTimeout(..)', 'active(..)', and
    'unenroll(..)'. Changed various API refs from 'export.*' to use these
    safe internal references.
    
    Now, overwriting the global API identifiers does not create potential
    breakage and/or race conditions. See Issue #2493.
    
    PR-URL: #5882
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Fixes: #2493
    getify authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    7ec5397 View commit details
    Browse the repository at this point in the history
  22. test: fix test-debugger-client.js

    Fix long-broken test-debugger-client by adding missing `\r\n\r\n`
    separator.
    
    PR-URL: #5851
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    8344a52 View commit details
    Browse the repository at this point in the history
  23. test: fix flaky test-http-set-timeout

    Increase timeout on Raspberry Pi to alleviate flakiness.
    
    Fixes: #5854
    PR-URL: #5856
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    fb0c5bc View commit details
    Browse the repository at this point in the history
  24. test: move dns test to test/internet

    parallel/test-dns-cares-domains needs a working internet connection
    to function (or a local DNS resolver that returns an answer quickly),
    otherwise it times out.  Move it to test/internet.
    
    PR-URL: #5905
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    82a50d3 View commit details
    Browse the repository at this point in the history
  25. test: fix flaky test-net-socket-timeout

    Fixes: #5892
    PR-URL: #5902
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    a41fd93 View commit details
    Browse the repository at this point in the history
  26. test: confirm globals not used internally

    PR-URL: #5882
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    3238bff View commit details
    Browse the repository at this point in the history
  27. test: exclude new fs watch test for AIX

    As per #5085
    exclude new test from AIX until we have fixes for
    libuv for fs watching on AIX.  Excluding test
    so AIX tests are green and we don't miss
    other regressions
    
    PR-URL: #5937
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    mhdawson authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    6928a17 View commit details
    Browse the repository at this point in the history
  28. test: remove the use of curl in the test suite

    There were 2 tests using curl:
    
    `test-http-304.js` is removed because it was initially included to test
    that the 304 response does not contain a body, and this is already
    covered by `test-http-chunked-304.js`.
    
    `test-http-curl-chunk-problem` has been renamed and refactored so
    instead of using curl, it uses 2 child node processes: one for sending
    the HTTP request and the other to calculate the sha1sum. Originally,
    this test was introduced to fix a bug in `[email protected]`, and it was not
    fixed until `[email protected]`. A modified version of this test has been run
    with `[email protected]` and reproduces the problem. This same test has been
    run with `[email protected]` and runs correctly.
    
    Fixes: #5174
    PR-URL: #5750
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    santigimeno authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    a19de97 View commit details
    Browse the repository at this point in the history
  29. test: add test for piping large input from stdin

    Check that piping a large chunk of data from `process.stdin`
    into `process.stdout` does not lose any data by verifying that
    the output has the same size as the input.
    
    This is a regression test for #5927 and fails for the commits
    in the range [ace1009..89abe86).
    
    PR-URL: #5949
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    addaleax authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    aebe624 View commit details
    Browse the repository at this point in the history
  30. src: override v8 thread defaults using cli options

    Based on the conversation in #4243 this implements a way to increase
    and decrease the size of the thread pool used in v8.
    
    Currently v8 restricts the thread pool size to `kMaxThreadPoolSize`
    which at this commit is (4). So it is only possible to
    decrease the thread pool size at the time of this commit. However with
    changes upstream this could change at a later date.
    If set to 0 then v8 would choose an appropriate size of the thread pool
    based on the number of online processors.
    
    PR-URL: #4344
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    tomgco authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    0d0c57f View commit details
    Browse the repository at this point in the history
  31. repl: support standalone blocks

    Enable support for standalone block statements.
    
    ```js
    node 🙈 ₹ git:(upstream ⚡ bare-block) ./node
    > { var x = 3; console.log(x); }
    3
    undefined
    > {}
    {}
    > { x:1, y:"why not", z: function() {} }
    { x: 1, y: 'why not', z: [Function] }
    >
    ```
    For the ambiguous inputs like `{ x }`, the existing REPL
    behaviour (ES6 literal shorthand) is preserved (prefers
    expression over statement).
    
    Fixes: #5576
    PR-URL: #5581
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    princejwesley authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    4271732 View commit details
    Browse the repository at this point in the history
  32. querystring: don't stringify bad surrogate pair

    Fixes: #3702
    PR-URL: #5858
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    a2ad216 View commit details
    Browse the repository at this point in the history
  33. net: emit host in lookup event

    Previously, we emitted ip and addressType. This change includes the host
    as the last argument to the lookup event.
    
    PR-URL: #5598
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    entertainyou authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    b07bc5d View commit details
    Browse the repository at this point in the history
  34. deps: upgrade npm to 3.8.3

    PR-URL: npm#6
    Reviewed-By: Evan Lucas <[email protected]>
    othiym23 authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    e6fabfc View commit details
    Browse the repository at this point in the history
  35. lib: refactor code with startsWith/endsWith

    reduce using RegExp for string test. This pull reuqest replaces
    various usages of regular expressions in favor of the ES2015
    startsWith and endsWith methods.
    
    PR-URL: #5753
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    JacksonTian authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    16a53e3 View commit details
    Browse the repository at this point in the history
  36. src: Add missing using v8::MaybeLocal

    As of 2cbbaaf (#5756) there’s a missing
    `using v8::MaybeLocal;` in `src/node.cc` that breaks the build.
    This patch adds the necessary line.
    
    PR-URL: #5974
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    addaleax authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    bfd723f View commit details
    Browse the repository at this point in the history
  37. lib,src: refactor src/node.js into internal files

    PR-URL: #5103
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    32bd75a View commit details
    Browse the repository at this point in the history
  38. lib,src: move src/node.js to lib/internal/node.js

    PR-URL: #5103
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    e571b14 View commit details
    Browse the repository at this point in the history
  39. lib: rename /node.js to /bootstrap_node.js

    PR-URL: #5103
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Fishrock123 authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    4ecb88f View commit details
    Browse the repository at this point in the history
  40. test: fix flaky test-repl

    PR-URL: #5914
    Reviewed-By: Colin Ihrig <[email protected]>
    mscdex authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    0acca76 View commit details
    Browse the repository at this point in the history
  41. test: mitigate flaky test-https-agent

    Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to
    exhibit flakiness around 22 or so clients.
    
    PR-URL: #5939
    Fixes: #5938
    Refs: #5184
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    6113f6a View commit details
    Browse the repository at this point in the history
  42. test: add known_issues test for GH-2148

    PR-URL: #5920
    Refs: #2148
    Reviewed-By: Brian White <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    c5c7ae8 View commit details
    Browse the repository at this point in the history
  43. node: --no-browser-globals configure flag

    Introduce `--no-browser-globals` configure flag. With this flag set, following
    globals won't be exported:
    
    - `setTimeout`, `clearTimeout`, `setInterval`, `clearInterval`,
      `setImmediate`, `clearImmediate`
    - `console`
    
    These are provided by the DOM implementation in browser, so the
    `--no-browser-globals` flag may be helpful when embedding node.js within
    chromium/webkit.
    
    Inspired-By: atom/node@82e10ce
    PR-URL: #5853
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    indutny authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    e8cdf9a View commit details
    Browse the repository at this point in the history
  44. etw,build: always generate .rc and .h files

    We can assume the Windows SDK is installed, hence the intermediate
    files generated from manifest should not be part of the source tree.
    This also fixes incorrect detection of ctrpp.exe, that should be in
    the path.
    
    PR-URL: #5657
    Reviewed-By: Alexis Campailla <[email protected]>
    joaocgreis authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    40f0175 View commit details
    Browse the repository at this point in the history
  45. governance: remove target size for CTC

    PR-URL: #5879
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and evanlucas committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    c7dcffb View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2016

  1. 2016-03-31 Version 5.10.0 (Stable) Release

    Notable changes:
    
    * buffer:
      * make byteLength work with ArrayBuffer & DataView (Jackson Tian)
    [#5255](#5255)
      * backport --zero-fill-buffers command line option (James M Snell)
    [#5744](#5744)
      * backport new buffer constructor APIs (James M Snell)
    [#5763](#5763)
      * add swap16() and swap32() methods (James M Snell)
    [#5724](#5724)
    * fs: add the fs.mkdtemp() function. (Florian MARGAINE)
    [#5333](#5333)
    * net: emit host in lookup event (HUANG Wei)
    [#5598](#5598)
    * node: --no-browser-globals configure flag (Fedor Indutny)
    [#5853](#5853)
    * npm: Upgrade to v3.8.3. Fixes a security flaw in the use of
    authentication tokens in HTTP requests that would allow an attacker to
    set up a server that could collect tokens from users of the command-line
    interface. Authentication tokens have previously been sent with every
    request made by the CLI for logged-in users, regardless of the destination
    of the request. This update fixes this by only including those tokens
    for requests made against the registry or registries used for the
    current install. (Forrest L Norvell)
    [npm#6](npm#6)
    * repl: support standalone blocks (Prince J Wesley)
    [#5581](#5581)
    * src: override v8 thread defaults using cli options (Tom Gallacher)
    [#4344](#4344)
    evanlucas committed Apr 1, 2016
    Configuration menu
    Copy the full SHA
    79ea8c3 View commit details
    Browse the repository at this point in the history
  2. Working on v5.10.1

    PR-URL: #5970
    evanlucas committed Apr 1, 2016
    Configuration menu
    Copy the full SHA
    0605555 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2016

  1. buffer: don't set kNoZeroFill flag in allocUnsafe

    If `kNoZeroFill` is set here, it won't be reset in case of
    pooled allocation. In case of "slow" allocation it will be
    set later anyway.
    
    Fixes: #6006
    PR-URL: #6007
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    vkurchatkin authored and jasnell committed Apr 2, 2016
    Configuration menu
    Copy the full SHA
    e966d1f View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2016

  1. net: refactor self=this to arrow functions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Notable changes:
    
    http:
      * Enclose IPv6 Host header in square brackets. This will enable
      proper seperation of the host adress from any port reference
      (Mihai Potra) #5314
    path:
      * Make win32.isAbsolute more consistent (Brian White)
      #6028
    Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    6888706 View commit details
    Browse the repository at this point in the history