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

Spawn detached window hide option #2908

Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 15, 2016

  1. dgram: prevent disabled optimization of bind()

    Reassigning a named parameter while also using the arguments
    object causes the entire function to never be optimized.
    
    PR-URL: nodejs#4613
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    6e829b4 View commit details
    Browse the repository at this point in the history
  2. test: move resource intensive tests to sequential

    To enable greater parallelization of tests on CI, move resource
    intensive tests out of parallel and into sequential.
    
    Ref: nodejs#4476
    PR-URL: nodejs#4615
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    8ea7660 View commit details
    Browse the repository at this point in the history
  3. test: remove 1 second delay from test

    In test-cluster-worker-wait-server-close, remove unneeded 1-second delay
    and refactor to eliminate flakiness on FreeBSD.
    
    PR-URL: nodejs#4616
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    909b516 View commit details
    Browse the repository at this point in the history
  4. stream: remove useless if test in transform

    PR-URL: nodejs#4617
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    zoubin authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    d71f999 View commit details
    Browse the repository at this point in the history
  5. tls_legacy: do not read on OpenSSL's stack

    Do not attempt to read data from the socket whilst on OpenSSL's stack,
    weird things may happen, and this is most likely going to result in some
    kind of error.
    
    PR-URL: nodejs#4624
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    7821b3e View commit details
    Browse the repository at this point in the history
  6. debugger: remove variable redeclarations

    Some variables are declared with var more than once in the same scope.
    This change reduces the declarations to one per scope.
    
    PR-URL: nodejs#4633
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    583f334 View commit details
    Browse the repository at this point in the history
  7. test: fix race in test-net-server-pause-on-connect

    A 50ms timeout results in a race condition. Instead, enforce expected
    order through callbacks. This has the side effect of speeding up the
    test in most situations.
    
    Ref: nodejs#4476
    PR-URL: nodejs#4637
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    baa0a3d View commit details
    Browse the repository at this point in the history
  8. doc: add docs for more stream options

    PR-URL: nodejs#4639
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    zoubin authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    9ca24de View commit details
    Browse the repository at this point in the history
  9. net: remove hot path comment from connect

    This comment was added with an assumption that we could determine the
    IP address that localhost should resolve to without performing a
    lookup. This was a false assumption and should be removed.
    
    PR-URL: nodejs#4648
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    evanlucas authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    40c8e6d View commit details
    Browse the repository at this point in the history
  10. test: fix flaky test-net-socket-local-address

    Prior to this commit, the test was flaky because it was
    executing the majority of its logic in a function called from
    the client and multiple events on the server. This commit
    simplifies the test by separating the server's connection and
    listening events, and isolating the client logic.
    
    Refs: nodejs#4476
    Refs: nodejs#4644
    PR-URL: nodejs#4650
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    d615757 View commit details
    Browse the repository at this point in the history
  11. crypto: clear error stack in ECDH::Initialize

    Clean up OpenSSL error stack in `ECDH::Initialize`, some curves have
    faulty implementations that are leaving dangling errors after
    initializing the curve.
    
    Fix: nodejs#4686
    PR-URL: nodejs#4689
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    9d4a226 View commit details
    Browse the repository at this point in the history
  12. readline: Remove XXX and output debuglog

    Remove a comment that has a word 'XXX'.
    And add a line to output debuglog of error.
    
    PR-URL: nodejs#4690
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kohei-takata authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    4fbcb47 View commit details
    Browse the repository at this point in the history
  13. doc: update branch-diff arguments in release doc

    PR-URL: nodejs#4691
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    rvagg authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    91066b5 View commit details
    Browse the repository at this point in the history
  14. buffer: remove unnecessary TODO comments

    Refs: nodejs#4642
    PR-URL: nodejs#4719
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    pgeiss authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    fb615bd View commit details
    Browse the repository at this point in the history
  15. doc: add servername parameter docs

    Add `servername` parameter docs for `https.request()` method.
    
    Follows nodejs#4389
    
    PR-URL: nodejs#4729
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    estliberitas authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    cb5986d View commit details
    Browse the repository at this point in the history
  16. test: make test-cluster-disconnect-leak reliable

    Previously, test-cluster-disconnect-leak had two issues:
    
    * Magic numbers: How many times to spawn a worker was determined through
    empirical experimentation. This means that as new platforms and new
    CPU/RAM configurations are tested, the magic numbers require more
    and more refinement. This brings us to...
    
    * Non-determinism: The test *seems* to fail all the time when the bug
    it tests for is present, but it's really a judgment based on sampling.
    "Oh, with 8 workers per CPU, it fails about 80% of the time. Let's try
    16..."
    
    This revised version of the test takes a different approach. The fix
    for the bug that the test was written for means that the `disconnect`
    event will fire reliably for a single worker. So we check for that and
    the test still fails when the fix is not in the code base and succeeds
    when it is.
    
    Advantages of this approach include:
    
    * The test runs much faster.
    * The test now works on Windows. The previous version skipped Windows.
    * The test should be reliable on any new platform regardless of CPU and
    RAM.
    
    Ref: nodejs#4674
    
    PR-URL: nodejs#4736
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    0178001 View commit details
    Browse the repository at this point in the history
  17. buffer: make byteLength work with Buffer correctly

    Make the byteLength work correctly when input is Buffer.
    
    e.g:
    
    ```js
    // The incomplete unicode string
    Buffer.byteLength(new Buffer([0xe4, 0xb8, 0xad, 0xe6, 0x96]))
    ```
    The old output: 9
    The new output: 5
    
    PR-URL: nodejs#4738
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    JacksonTian authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    748d2b4 View commit details
    Browse the repository at this point in the history
  18. test: improve test-cluster-disconnect-suicide-race

    Previously, test-cluster-disconnect-suicide-race had two issues:
    
    * Magic numbers: How many times to spawn a worker was determined through
    empirical experimentation. This means that as new platforms and new
    CPU/RAM configurations are tested, the magic numbers require more
    and more refinement. This brings us to...
    
    * Non-determinism: The test seems to fail all the time when the bug
    it tests for is present, but it's really a judgment based on sampling.
    "Oh, with 8 workers per CPU, it fails about 80% of the time. Let's try
    16..."
    
    This revised version of the test takes a different approach. The fix
    for the bug that the test was written for means that the disconnect
    event will fire on a subsequent tick. So we check for that and the test
    still fails when the fix is not in the code base and succeeds when it
    is.
    
    Advantages of this approach include:
    
    * The test runs much faster.
    * The test should be reliable on any new platform regardless of CPU and
    RAM.
    
    PR-URL: nodejs#4739
    Ref: nodejs#4674
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    be82745 View commit details
    Browse the repository at this point in the history
  19. doc: style fixes for the TOC

    - Hide the scrollbar on the TOC on all browsers. It was never the
      intention for it to be visible with the scroll indication in place.
      A wrapper element with 20px padding was added to accommodate for
      hopefully all scrollbar widths as well as to avoid overflowing
      content.
    - Fixed the scroll indication gradient on Safari, which was caused by
      the wrong from-color, which now matches the to-color.
    - Fixed a issue in old IE where the TOC didn't render on the correct
      position through setting `left: 0` and `top: 0` on it.
    
    PR-URL: nodejs#4748
    Reviewed-By: James M Snell <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    39cb69c View commit details
    Browse the repository at this point in the history
  20. test: fix issues for space-in-parens ESLint rule

    PR-URL: nodejs#4753
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    447347c View commit details
    Browse the repository at this point in the history
  21. tools: enable space-in-parens ESLint rule

    Ref: http://eslint.org/docs/rules/space-in-parens.html
    PR-URL: nodejs#4753
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    silverwind authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    837ebd1 View commit details
    Browse the repository at this point in the history
  22. doc: update list of personal traits in CoC

    rust-lang/prev.rust-lang.org#288 landed in the Rust repo
    so it seems like a good idea to just bring the updated list in.
    
    We also received a request to do this in nodejs/inclusivity#82
    so this should resolve that.
    
    Thanks to [@Charlotteis](https://github.com/Charlotteis) for bringing
    up the original issue.
    
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    PR-URL: nodejs#4801
    Fixes: nodejs/inclusivity#82
    zkat authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    c3956d0 View commit details
    Browse the repository at this point in the history
  23. tools: add support for subkeys in release tools

    Replace grep with awk to add support for subkeys
    
    PR-URL: nodejs#4807
    Reviewed-By: Rod Vagg <[email protected]>
    MylesBorins authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    b66db49 View commit details
    Browse the repository at this point in the history
  24. test: fix tls-no-rsa-key flakiness

    In some conditions it can happen that the client-side socket is destroyed
    before the server-side socket has gracefully closed, thus causing a
    'ECONNRESET' error in this socket. To solve this, wait in the client-side
    socket for the 'end' event before closing it.
    
    PR-URL: nodejs#4043
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    santigimeno authored and Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    f205e99 View commit details
    Browse the repository at this point in the history
  25. node_contextify: do not incept debug context

    Currently a debug context is created for various calls to util.
    
    If the node debugger is being run the main context is the debug
    context. In this case node_contextify was freeing the debug context
    and causing everything to explode.
    
    This change moves around the logic and no longer frees the context.
    
    There is a concern about the dangling pointer
    
    The regression test was adapted from code submitted by @3y3 in nodejs#4815
    
    Fixes: nodejs#4440
    Fixes: nodejs#4815
    Fixes: nodejs#4597
    Fixes: nodejs#4952
    
    PR-URL: nodejs#4815
    
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Myles Borins committed Feb 15, 2016
    Configuration menu
    Copy the full SHA
    1b070e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2016

  1. 2016-02-16, Version 4.3.1 'Argon' (LTS)

    Notable changes:
    
    * buffer: make byteLength work with Buffer correctly (Jackson Tian)
      - nodejs#4738
    * debugger: guard against call from non-node context (Ben Noordhuis)
      - nodejs#4328
    * node_contextify: do not incept debug context (Myles Borins)
      - nodejs#4819
    * deps: update to http-parser 2.5.2 (James Snell)
      - nodejs#5238
    Myles Borins committed Feb 16, 2016
    Configuration menu
    Copy the full SHA
    ef37a46 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2016

  1. Working on v4.3.2

    Myles Borins committed Feb 17, 2016
    Configuration menu
    Copy the full SHA
    d442286 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2016

  1. deps: upgrade openssl to 1.0.2g

    PR-URL: nodejs#5507
    Reviewed-By: Fedor Indutny <[email protected]>
    bnoordhuis authored and MylesBorins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c133797 View commit details
    Browse the repository at this point in the history
  2. 2016-03-02, Version 4.3.2 'Argon' (LTS)

    This is a security release with only a single commit, an update to openssl due to a recent security advisory. You can read more about the security advisory on the Node.js website (https://nodejs.org/en/blog/vulnerability/openssl-march-2016/)
    
    Notable changes
    
    * openssl
      - this upgrade to openssl 1.0.2g. This fixes the security vulnerabilities that are references in this openssl announce (https://mta.openssl.org/pipermail/openssl-announce/2016-February/000063.html)
    
    PR-URL: nodejs#5526
    Myles Borins committed Mar 2, 2016
    3 Configuration menu
    Copy the full SHA
    c23f608 View commit details
    Browse the repository at this point in the history
  3. Working on v4.3.3

    PR-URL: nodejs#5526
    Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    692eada View commit details
    Browse the repository at this point in the history
  4. querystring: improve parse() performance

    These changes improve parse() performance from ~11-30% on all of
    the existing querystring benchmarks.
    
    PR-URL: nodejs#4675
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    76b6a61 View commit details
    Browse the repository at this point in the history
  5. deps: upgrade to npm 2.14.15

    PR-URL: nodejs#4872
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rebecca Turner <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d868536 View commit details
    Browse the repository at this point in the history
  6. test: make npm tests work on prerelease node versions

    PR-URL: nodejs#4872
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rebecca Turner <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    49c4718 View commit details
    Browse the repository at this point in the history
  7. doc: Update small error in LICENSE for npm

    This corresponds to npm/npm@6051a69
    
    PR-URL: nodejs#4872
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rebecca Turner <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    cf1ad17 View commit details
    Browse the repository at this point in the history
  8. deps: upgrade to npm 2.14.16

    PR-URL: nodejs#4960
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    632b6ca View commit details
    Browse the repository at this point in the history
  9. test: make npm tests work on prerelease node versions

    PR-URL: nodejs#4960
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a56724f View commit details
    Browse the repository at this point in the history
  10. deps: upgrade to npm 2.14.17

    PR-URL: nodejs#5110
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3c05838 View commit details
    Browse the repository at this point in the history
  11. tools: enable no-extra-semi rule in eslint

    PR-URL: nodejs#2205
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2b52b15 View commit details
    Browse the repository at this point in the history
  12. lib,test: remove extra semicolons

    PR-URL: nodejs#2205
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    targos authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    61570cc View commit details
    Browse the repository at this point in the history
  13. tls: add options argument to createSecurePair

    Helps in implementation of nodejs#6204, where some options passed to
    `createSecurePair()` are ignored before this patch.
    
    These options are very helpful if someone wants to pass
    `options.servername` or `options.SNICallback` to securepair.
    
    PR-URL: nodejs#2441
    Reviewed-By: Fedor Indutny <[email protected]>
    socketpair authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c5bf35a View commit details
    Browse the repository at this point in the history
  14. src: add BE support to StringBytes::Encode()

    Versions of Node.js after v0.12 have relocated byte-swapping away from
    the StringBytes::Encode function, thereby causing a nan test (which
    accesses this function directly) to fail on big-endian machines.
    
    This change re-introduces byte swapping in StringBytes::Encode,
    done via a call to a function in util-inl. Another change in
    NodeBuffer::StringSlice was necessary to avoid double byte swapping
    in big-endian function calls to StringSlice.
    
    PR-URL: nodejs#3410
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    exinfinitum authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    aa8a10c View commit details
    Browse the repository at this point in the history
  15. lib: use arrow functions instead of bind

    use `arrow functions` instead of `bind(this)` in order to improve
    performance through optimizations.
    
    PR-URL: nodejs#3622
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    JungMinu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    cf3a403 View commit details
    Browse the repository at this point in the history
  16. benchmark: add a constant declaration for net

    Constant declaration for `net` is omitted in `idle_server.js`
    Add a constant declaration for constant `net`
    
    PR-URL: nodejs#3950
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    JungMinu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2bae6d8 View commit details
    Browse the repository at this point in the history
  17. src: remove unused BITS_PER_LONG macro

    Remove the unused and broken BITS_PER_LONG macro.  Broken because x64
    is the only 64 bits architecture where it produces the right result.
    
    PR-URL: nodejs#4290
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    37ff7c5 View commit details
    Browse the repository at this point in the history
  18. src: remove __builtin_bswap16 call

    Not supported by apple-gcc and I'm not convinced it's worth adding more
    preprocessor hacks when it should be easy as pie for the compiler to
    to optimize the byteswap.  If it doesn't, fix the compiler.
    
    Fixes: nodejs#4284
    PR-URL: nodejs#4290
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    39b2503 View commit details
    Browse the repository at this point in the history
  19. http: handle errors on idle sockets

    This change adds a new event handler to the `error` event of the socket
    after it has been used by the http_client.
    
    The purpose of this change is to catch errors on *keep alived*
    connections from idle sockets that otherwise will cause an uncaugh error
    event on the application.
    
    Fix: nodejs#3595
    PR-URL: nodejs#4482
    Reviewed-By: Fedor Indutny <[email protected]>
    jfromaniello authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ebb9f0d View commit details
    Browse the repository at this point in the history
  20. internal/child_process: call postSend on error

    Call `obj.postSend` in error case of `process.send()`. The
    `net.Socket`'s handle should not be leaked.
    
    Note that there are two callbacks invoked on handles
    when they are sent to the child process over IPC pipes.
    These callbacks are specified by `handleConversion` object, and
    during send two of them are invoked:
    
      * `send`
      * `postSend`
    
    Now for `net.Socket` in particular, `postSend` performs clean up by
    closing the actual uv handle. However this clean up will not happen in
    one of the branches. This pull request aims to fix this.
    
    PR-URL: nodejs#4752
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d6894f8 View commit details
    Browse the repository at this point in the history
  21. test: remove Object.observe from tests

    Testing this wasn't really useful, besides Object.observe is going to be
    deprecated.
    
    Also this test fails with Chakra (nodejs#4765) for obvious reason.
    
    PR-URL: nodejs#4769
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    vkurchatkin authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c490464 View commit details
    Browse the repository at this point in the history
  22. test: fix net-socket-timeout-unref flakiness

    From time to time this test is failing in OS X because at least one of
    the connections takes quite a long time (around 5 seconds) causing some
    of the timers may fire before the test exited. To solve this, wait for
    all the connections to be established before setting the timeouts and
    unrefing the sockets.
    
    PR-URL: nodejs#4772
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    962c0e4 View commit details
    Browse the repository at this point in the history
  23. test: refactor test-fs-watch

    * Exchange 20 millisecond timers for setImmediate().
    
    * Do not attempt to unlink path that will have been guaranteed to be
    removed by `common.refreshTmpDir()`
    
    * Do not swallow errors thrown by failed creation of needed test
    subdirectory. If that happens, we want to know about it.
    
    * Use `common.isSunOS` in one place where it is applicable
    
    PR-URL: nodejs#4776
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c0280e1 View commit details
    Browse the repository at this point in the history
  24. test: remove test-http-exit-delay

    test-http-exit-delay has a flaky history. Examination of the bug it was
    written to find suggests that the test should be removed.
    
    * The test is trying to find a delay of up to 1 second, but the delay
    may also be much smaller than that. So the test will not catch the bug
    all the time. It is therefore flaky when the bug exists.
    
    * Experience has shown that the test is flaky as well when the bug is
    absent in the code because it can sometimes take slower devices (such as
    the Raspberry Pi devices that we have in continuous integration) more
    than the allowed one second to run. Increasing the timeout for those
    devices will make the test pass but will also mean that the test isn't
    really testing anything because the delay it is trying to catch was a
    delay of up to one second.
    
    I don't think this is an appropriate test to run once on CI. If there is
    to be a test for the issue in question, it should be a benchmark test
    that is run a large number of times. We don't really have such tests in
    CI yet
    
    I would argue that this test is actively a problem. It does not reliably
    catch the issue it is supposed to catch, nor can it likely be made to do
    so. (To do so would likely require converting it to a benchmarking test
    as previously described. We don't run those in CI, at least not at this
    time.)
    
    Because this test will have both false positives and false negatives,
    especially on the slower devices, it contributes to a culture of
    dismissing failed tests. It does not reliably identify an issue nor does
    it reliably pass on a working code base. This test should be removed.
    
    Ref: nodejs#4277
    PR-URL: nodejs#4786
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    64287ef View commit details
    Browse the repository at this point in the history
  25. test: remove race condition in http flood test

    Timer race results in some flakiness on slower devices in CI. Remove
    unneeded setTimeout() and replace booleans with common.mustCall().
    
    PR-URL: nodejs#4793
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ce7101d View commit details
    Browse the repository at this point in the history
  26. doc: remove unnecessary bind(this)

    PR-URL: nodejs#4797
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    wKich authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    cb09203 View commit details
    Browse the repository at this point in the history
  27. process: support symbol events

    Event emitters support symbols as event names. The process object
    assumes that the event name is a string, and examines the first
    three characters to check for signals. This causes an exception
    if the event name is a symbol. This commit ensures that the
    event name is a string before trying to slice() it.
    
    PR-URL: nodejs#4798
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Wyatt Preul <[email protected]>
    cjihrig authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d7e9bb7 View commit details
    Browse the repository at this point in the history
  28. test: refactor test-net-settimeout

    test-net-settimeout is unnecessarily complex. This change simplifies it.
    
    PR-URL: nodejs#4799
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    38f15a2 View commit details
    Browse the repository at this point in the history
  29. tools: fix setting path containing an ampersand

    This commit fixes an issue with the Node.js command prompt
    on Windows where the PATH environment variable would not be
    set correctly if the existing PATH contained an '&'.
    
    Fixes: nodejs#4802
    PR-URL: nodejs#4804
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    09bbe51 View commit details
    Browse the repository at this point in the history
  30. doc: proper markdown escaping -> \_\_, \*, \_

    PR-URL: nodejs#4805
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    68d836c View commit details
    Browse the repository at this point in the history
  31. test: mark test-tick-processor flaky

    PR-URL: nodejs#4809
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Ref: nodejs#4427
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    183bdef View commit details
    Browse the repository at this point in the history
  32. tools: add arrow function rules to eslint

    This commit enables the following rules:
    * arrow-parens - requires parens around arrow function arguments
    * arrow-spacing - ensures a space on each side of the =>
    * no-arrow-condition - prevents accidental use of => in cases
    where the user really intends to use <=
    
    PR-URL: nodejs#4813
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    cjihrig authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5889065 View commit details
    Browse the repository at this point in the history
  33. test: update arrow function style

    This commit applies new arrow function linting rules across the
    codebase. As it turns out, the only offenders were in the test
    directory.
    
    PR-URL: nodejs#4813
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    cjihrig authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3814ad4 View commit details
    Browse the repository at this point in the history
  34. stream: refactor redeclared variables

    `lib/_stream_readable.js` contained three instances of `var`
    declarations occurring twice in the same scope. Refactored to `const` or
    `let` as appropriate.
    
    PR-URL: nodejs#4816
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1c70ecb View commit details
    Browse the repository at this point in the history
  35. doc: undo move http.IncomingMessage.statusMessage

    The description for `statusMessage` was accidentally moved under the
    heading for `http.IncomingMessage.socket`.  This commit puts it back
    in the correct place.
    
    PR-URL: nodejs#4822
    Fixes: nodejs#4558
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    techjeffharris authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    242d3bc View commit details
    Browse the repository at this point in the history
  36. dns: throw a TypeError in lookupService with invalid port

    Previously, port was assumed to be a number and would cause an abort in
    cares_wrap. This change throws a TypeError if port is not a number
    before we actually hit C++.
    
    Fixes: nodejs#4837
    PR-URL: nodejs#4839
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    evanlucas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d4f0f3f View commit details
    Browse the repository at this point in the history
  37. src: remove no longer relevant comments

    PR-URL: nodejs#4843
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Chris911 authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1878cd5 View commit details
    Browse the repository at this point in the history
  38. tls: scope loop vars with let

    `lib/_tls_common.js` had instances of `for` loops that defined variables
    with `var` such that they were re-declared in the same scope. This
    change scopes those variables with `let` so that they are not
    re-declared.
    
    PR-URL: nodejs#4853
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    67be41a View commit details
    Browse the repository at this point in the history
  39. test: scope redeclared variable

    `test-assert.js` redeclares a variable with `var`. This change converts
    it to a `const` declaration and wraps it in a standalone block to scope
    it to just the test that uses it.
    
    PR-URL: nodejs#4854
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5dd05be View commit details
    Browse the repository at this point in the history
  40. test: fs.link() test runs on same device

    When running the tests if `NODE_TEST_DIR` is set to a device different
    than the location of the test files (where this repo is checked out),
    then the parallel/test-fs-link.js test will fail with
    `EXDEV: cross-device link not permitted`. The code works fine (and is in
    fact throwing an error as desired) but the test fails.
    
    This commit first creates the "source" file in the same directory as the
    "destination" (where the hardlink will be created).
    
    PR-URL: nodejs#4861
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    drewfish authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    eb05e44 View commit details
    Browse the repository at this point in the history
  41. tools: enable assorted ESLint error rules

    Enables assorted rules from the category of possible errors. These
    should not get in the way in any form.
    
    - http://eslint.org/docs/rules/no-control-regex
    - http://eslint.org/docs/rules/no-extra-boolean-cast
    - http://eslint.org/docs/rules/no-invalid-regexp
    - http://eslint.org/docs/rules/no-irregular-whitespace
    - http://eslint.org/docs/rules/no-unexpected-multiline
    
    PR-URL: nodejs#4864
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    silverwind authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d3485fb View commit details
    Browse the repository at this point in the history
  42. test: fix irregular whitespace issue

    PR-URL: nodejs#4864
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    silverwind authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2323ae7 View commit details
    Browse the repository at this point in the history
  43. url: change scoping of variables with let

    Also changes some `var`s to `const` as they never change.
    
    PR-URL: nodejs#4867
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kthelgason authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b4e7833 View commit details
    Browse the repository at this point in the history
  44. net: move isLegalPort to internal/net

    isLegalPort can be used in more places than just net.js. This change
    moves it to a new internal net module in preparation for using it in
    the dns module.
    
    PR-URL: nodejs#4882
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    evanlucas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    6062b1c View commit details
    Browse the repository at this point in the history
  45. tools: add property types in JSON documentation

    PR-URL: nodejs#4884
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    TimothyGu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    55cc86b View commit details
    Browse the repository at this point in the history
  46. tls_wrap: reach error reporting for UV_EPROTO

    Do not swallow error details when reporting UV_EPROTO asynchronously,
    and when creating artificial errors.
    
    Fix: nodejs#3692
    PR-URL: nodejs#4885
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    03944fe View commit details
    Browse the repository at this point in the history
  47. buffer: refactor redeclared variables

    A handful of variable declarations in `lib/buffer.js` redeclare the same
    variable in the same scope. This change removes each redeclaration by
    switching to `const`, switching to `let`, or explicitly hoisting the
    `var` declaration.
    
    PR-URL: nodejs#4886
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    12a8427 View commit details
    Browse the repository at this point in the history
  48. test: fix test-tls-zero-clear-in flakiness

    It can happen that the server-side socket is destroyed before the
    client-side socket has gracefully closed, thus causing a 'ECONNRESET'
    error in this socket. To solve this, also close gracefully in the server
    side too.
    
    PR-URL: nodejs#4888
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    84ead62 View commit details
    Browse the repository at this point in the history
  49. test,buffer: refactor redeclarations

    Many variables in the buffer tests are redeclared. Change them so that
    they are scoped appropriately.
    
    PR-URL: nodejs#4893
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    66ffc71 View commit details
    Browse the repository at this point in the history
  50. crypto: use a const SSL_CIPHER

    SSL_CIPHER objects are conceptually const in any case and this allows
    STACK_OF(SSL_CIPHER) to return a const pointer, as is done in BoringSSL
    and, perhaps, OpenSSL in the future.
    
    PR-URL: nodejs#4913
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    agl authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9c3302b View commit details
    Browse the repository at this point in the history
  51. crypto: fix build when OCSP-stapling not provided

    node_crypto.cc attempts to handle the case where OCSP stapling APIs
    aren't provided by using NODE__HAVE_TLSEXT_STATUS_CB. But the build
    would actually fail in this case because of a couple of places that were
    missing #ifdefs.
    
    With this change the build works although, as expected,
    test-tls-ocsp-callback.js will fail.
    
    PR-URL: nodejs#4914
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    agl authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e896c6b View commit details
    Browse the repository at this point in the history
  52. crypto: use SSL_CTX_clear_extra_chain_certs.

    The SSL_CTX_clear_extra_chain_certs function clears the extra
    certificates associated with an SSL_CTX without reaching into the
    SSL_CTX structure itself (which will become impossible in OpenSSL
    1.1.0). The underlying implementation in OpenSSL[1] is the same what the
    code was doing and OpenSSL has provided this function since 0.9.8 so
    this change should be fully compatible.
    
    [1] https://github.com/nodejs/node/blob/master/deps/openssl/openssl/ssl/s3_lib.c#L3899
    
    PR-URL: nodejs#4919
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    agl authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    488821e View commit details
    Browse the repository at this point in the history
  53. test: Add assertion for TLS peer certificate fingerprint

    PR-URL: nodejs#4923
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Alan Cohen authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    674415b View commit details
    Browse the repository at this point in the history
  54. doc: add more details to process.env

    process.env has a few quirks that deserve documenting.
    
    The commit documents:
    
    - How assigning to process.env will implicitly call `toString()`
    - How to remove an environment variable from process.env
    
    PR-URL: nodejs#4924
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    evanlucas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1afa350 View commit details
    Browse the repository at this point in the history
  55. doc: update eol handling in readline

    This commit explicitly calls out the end of line sequences
    used to generate line events in the readline module.
    
    Fixes: nodejs#4916
    PR-URL: nodejs#4927
    Reviewed-By: Colin Ihrig <[email protected]>
    kthelgason authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    643b581 View commit details
    Browse the repository at this point in the history
  56. test: fix flaky cluster test on Windows 10

    test-cluster-shared-leak was flaky on Windows 10. Remove unnecessary
    .send() calls and replace with .disconnect() to avoid spurious EPIPE.
    
    Fixes: nodejs#4887
    PR-URL: nodejs#4934
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    efbb654 View commit details
    Browse the repository at this point in the history
  57. test: add common.platformTimeout() to dgram test

    Use common.platformTimeout() to mitigate potential for CI to timeout
    on slower devices.
    
    Ref: nodejs#4937
    PR-URL: nodejs#4938
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    edc2df9 View commit details
    Browse the repository at this point in the history
  58. test: refactor switch

    `test-child-process-fork-net2.js` has a switch statement with 6 cases.
    Each case uses `child.send()`, passing an object for the callback.
    `child.send()` ignores the callback because it is not a function.
    Removing the unused argument.
    
    PR-URL: nodejs#4870
    Reviewed-By: Alexis Campailla <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a53cbf5 View commit details
    Browse the repository at this point in the history
  59. test: scope redeclared vars in test-child-process*

    A handful of child process tests had variables declared multiple times
    in the same scope using `var`. This change scopes those declarations.
    
    PR-URL: nodejs#4944
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5f25eab View commit details
    Browse the repository at this point in the history
  60. doc: spell writable consistently

    Docs have 108 instances of "writable" and only 1 "writeable" so
    fix this one.
    
    PR-URL: nodejs#4954
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    focusaurus authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    4ed33b4 View commit details
    Browse the repository at this point in the history
  61. fs: refactor redeclared variables

    Two variables are declared twice with `var` in the same scope in
    `lib/fs.js`. This change refactors the code so the variable is declared
    just once.
    
    PR-URL: nodejs#4959
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1f81442 View commit details
    Browse the repository at this point in the history
  62. module: refactor redeclared variable

    `homedir` was declared with `var` twice in the same scope in
    `lib/module.js`. This change makes it a single declaration.
    
    PR-URL: nodejs#4962
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2985417 View commit details
    Browse the repository at this point in the history
  63. net: refactor redeclared variables

    `lib/net.js` contained four variables that were redeclared with `var` in
    the same scope. This change refactors those redeclarations so they are
    scoped properly.
    
    PR-URL: nodejs#4963
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    46b6191 View commit details
    Browse the repository at this point in the history
  64. lib: scope loop variables

    Refactor instances in `lib` where a loop variable is redeclared in the
    same scope with `var`. In these cases, `let` can be used to scope the
    variable declarations more precisely.
    
    PR-URL: nodejs#4965
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    4079b5e View commit details
    Browse the repository at this point in the history
  65. tools: fix detecting constructor for JSON doc

    Regex previous was not detecting cases like AssertionError as
    a class name.
    
    PR-URL: nodejs#4966
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    TimothyGu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8fd9e64 View commit details
    Browse the repository at this point in the history
  66. tools: apply linting to doc tools

    Apply eslint rules to `tools/doc`.
    
    PR-URL: nodejs#4973
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7fb5a03 View commit details
    Browse the repository at this point in the history
  67. repl: remove variable redeclaration

    `match` and `filter` are declared twice with `var` in `repl.js`.
    Declare the variables only once.
    
    PR-URL: nodejs#4977
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ff75772 View commit details
    Browse the repository at this point in the history
  68. lib: remove string_decoder.js var redeclarations

    PR-URL: nodejs#4978
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d3e8e21 View commit details
    Browse the repository at this point in the history
  69. test: fix test-http-extra-response flakiness

    It can happen that the extra response is to be sent in a different chunk
    from the rest of the data. At this moment, the client might have already
    closed the socket causing an `ECONNRESET` error.
    
    PR-URL: nodejs#4979
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a358cdc View commit details
    Browse the repository at this point in the history
  70. test: remove test-cluster-* var redeclarations

    PR-URL: nodejs#4980
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    51204b8 View commit details
    Browse the repository at this point in the history
  71. test: remove var redeclarations in test-crypto-*

    PR-URL: nodejs#4981
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5b7246e View commit details
    Browse the repository at this point in the history
  72. https: evict cached sessions on error

    Instead of using the same session over and over, evict it when the
    socket emits error. This could be used as a mitigation of nodejs#3692, until
    OpenSSL fix will be merged/released.
    
    See: nodejs#3692
    PR-URL: nodejs#4982
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    51941a1 View commit details
    Browse the repository at this point in the history
  73. test: remove redeclared var in test-domain

    PR-URL: nodejs#4984
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    11828c7 View commit details
    Browse the repository at this point in the history
  74. test: fix redeclared test-event-emitter-* vars

    PR-URL: nodejs#4985
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    befe310 View commit details
    Browse the repository at this point in the history
  75. test: fix redeclared test-http-* vars

    PR-URL: nodejs#4987
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ecce231 View commit details
    Browse the repository at this point in the history
  76. test: fix redeclared test-intl var

    PR-URL: nodejs#4988
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a0f3ccf View commit details
    Browse the repository at this point in the history
  77. test: fix test-net-* variable redeclarations

    PR-URL: nodejs#4989
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    52335f0 View commit details
    Browse the repository at this point in the history
  78. test: fix var redeclarations in test-os

    PR-URL: nodejs#4990
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    54a4014 View commit details
    Browse the repository at this point in the history
  79. test: fix redeclared test-path vars

    PR-URL: nodejs#4991
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    6c2d902 View commit details
    Browse the repository at this point in the history
  80. test: fix variable redeclarations

    I'm a fan of small changesets, but even I'm getting a little annoyed at
    me for opening all these PRs weeding out variable redeclarations. So I'm
    bundling a bunch of small changes here.
    
    PR-URL: nodejs#4992
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3733c03 View commit details
    Browse the repository at this point in the history
  81. test: fix redeclared test-util-* vars

    PR-URL: nodejs#4994
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a0f72bd View commit details
    Browse the repository at this point in the history
  82. dgram: scope redeclared variables

    A few variables in `lib/dgram.js` are redeclared with `var` in a scope
    where they have already been declared. These instances can be scoped
    more narrowly with `const`, so that's what this change does.
    
    PR-URL: nodejs#4940
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    42346c1 View commit details
    Browse the repository at this point in the history
  83. test: fix redeclared vars in test-url

    PR-URL: nodejs#4993
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5545daf View commit details
    Browse the repository at this point in the history
  84. test: fix redeclared vars in test-vm-*

    PR-URL: nodejs#4997
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    6a0fad2 View commit details
    Browse the repository at this point in the history
  85. test: pummel test fixes

    This fixes some variable redeclarations in pummel tests and, in the
    process, gets `test-stream-pipe-multi.js` to run again. It had been
    failing to run.
    
    PR-URL: nodejs#4998
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    888be77 View commit details
    Browse the repository at this point in the history
  86. test: fix redeclared vars in sequential tests

    PR-URL: nodejs#4999
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    bdcafd0 View commit details
    Browse the repository at this point in the history
  87. doc: minor improvement to HTTPS doc

    Add link to Buffer page.
    
    PR-URL: nodejs#5002
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    368afcb View commit details
    Browse the repository at this point in the history
  88. doc: improve styling consistency in VM docs

    Improve functions styling. Connect sections with links.
    
    PR-URL: nodejs#5005
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    f2b930d View commit details
    Browse the repository at this point in the history
  89. doc: minor improvement in OS docs

    Add links to `process.arch` and `process.platform`.
    
    PR-URL: nodejs#5006
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    bd7d9e0 View commit details
    Browse the repository at this point in the history
  90. test: fix inconsistent styling in test-url

    PR-URL: nodejs#5014
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c985acb View commit details
    Browse the repository at this point in the history
  91. doc: fix typo in Readme.md

    Spelling mistake - `begining` > `beginning`
    
    PR-URL: nodejs#5017
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    prayagverma authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    51f6929 View commit details
    Browse the repository at this point in the history
  92. doc: fix minor typo in process doc

    Remove extra `be`
    
    PR-URL: nodejs#5018
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    prayagverma authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0217cb5 View commit details
    Browse the repository at this point in the history
  93. deps: backport 8d00c2c from v8 upstream

    Original commit message:
    
    ```
    Stop profiler on isolate teardown if still running
    
    If the profiler is started via the API and not stopped, V8 will
     intermittently crash during isolate teardown.
    
    The fix is to run the DeleteAllProfiles function in Isolate::Deinit()
     if cpu_profiler_ still exists.
    
    https://groups.google.com/forum/#!topic/v8-dev/WsIlpbaD4mo
    
    TEST= Run in debug mode, if you start a profile and don't stop it,
     this assert should fail:
    
       Fatal error in ../src/profiler/cpu-profiler.cc, line 414
       Check failed: !is_profiling_.
    
    Review URL: https://codereview.chromium.org/1526253005
    
    Cr-Commit-Position: refs/heads/master@{nodejs#32953}
    ```
    
    PR-URL: nodejs#5024
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    gibfahn authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5590c36 View commit details
    Browse the repository at this point in the history
  94. tools: fix redeclared vars in doc/json.js

    PR-URL: nodejs#5047
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9cd623f View commit details
    Browse the repository at this point in the history
  95. tools: enable no-redeclare rule for linter

    PR-URL: nodejs#5047
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    4b09dc5 View commit details
    Browse the repository at this point in the history
  96. tools: lint for spacing around unary operators

    Enable `space-unary-ops` in `.eslintrc`. This prohibits things like:
    
        i ++        // use `i++` instead
        typeof(foo) // use `typeof foo` or `typeof (foo)` instead
    
    Ref: nodejs#4772 (comment)
    PR-URL: nodejs#5063
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2f7b606 View commit details
    Browse the repository at this point in the history
  97. doc: fix link in cluster documentation

    PR-URL: nodejs#5068
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    TimothyGu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    029b8e8 View commit details
    Browse the repository at this point in the history
  98. src: clean up usage of __proto__

    Prefer using Object.setPrototypeOf() instead.
    
    PR-URL: nodejs#5069
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    JacksonTian authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a1e0710 View commit details
    Browse the repository at this point in the history
  99. test: mark flaky tests on Raspberry Pi

    A few tests have started failing on Raspberry Pi devices in CI.
    https://ci.nodejs.org/job/node-test-binary-arm/943/
    
    PR-URL: nodejs#5082
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Ref: nodejs#4830
    Ref: nodejs#3635
    Ref: nodejs#4526
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9eac7fa View commit details
    Browse the repository at this point in the history
  100. test: don't run test-tick-processor.js on Aix

    Currently the test-tick-processor functionality in V8
    depends on addresses being smaller than a full 64 bits.  Aix supports
    the full 64 bits and the result is that it does not process the
    addresses correctly and runs of out memory.
    Disabling until we get a fix upstreamed into V8.
    
    PR-URL: nodejs#5093
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: thefourtheye - Sakthipriyan Vairamani <[email protected]>
    mhdawson authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    875a6d0 View commit details
    Browse the repository at this point in the history
  101. crypto: add pfx certs as CA certs too

    According to documentation all certificates specified in `pfx` option
    should be treated as a CA certificates too. While it doesn't seem to be
    logically correct to me, we can't afford to break API stability at this
    point.
    
    Fix: nodejs#5100
    PR-URL: nodejs#5109
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    689e1fa View commit details
    Browse the repository at this point in the history
  102. crypto: fix memory leak in LoadPKCS12

    `sk_X509_pop_free` should be used instead of `sk_X509_free` to free all
    items in queue too, not just the queue itself.
    
    PR-URL: nodejs#5109
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b3050a5 View commit details
    Browse the repository at this point in the history
  103. doc: fix typo in dgram doc

    Remove stray square brackets from dgram documentation.
    
    PR-URL: nodejs#5114
    Reviewed-By: Brian White <[email protected]>
    Reviewed By: Sakthipriyan Vairamani <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    bfb4527 View commit details
    Browse the repository at this point in the history
  104. tools: lint for empty character classes in regex

    Enable linting rule to forbid empty character classes in regular
    expressions. See http://eslint.org/docs/rules/no-empty-character-class
    
    Organize "Possible Error" rules in .eslintrc in alphabetical order to
    match eslint documentation.
    
    PR-URL: nodejs#5115
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8d12e56 View commit details
    Browse the repository at this point in the history
  105. doc: fix dgram doc indentation

    PR-URL: nodejs#5118
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    47269c2 View commit details
    Browse the repository at this point in the history
  106. test: fix child-process-fork-regr-nodejsgh-2847

    The test would sometimes time out on some platforms. Take the initial
    version of the test and instead of sending 100 handles, just send 2.
    It still fails when run with the code before the change was introduced
    and passes afterwards.
    
    Remove test from parallel.status.
    
    PR-URL: nodejs#5121
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Fixes: nodejs#3635
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c3c9dbe View commit details
    Browse the repository at this point in the history
  107. test: fix flaky test-dgram-pingpong

    There is no guarantee UDP messages will be received. Accommodate the
    occasional dropped message.
    
    This is a functionality test, not a performance benchmark. Speed up the
    test by not sending 1500 messages across three ports.
    
    Fixes: nodejs#4526
    PR-URL: nodejs#5125
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e3aa9b6 View commit details
    Browse the repository at this point in the history
  108. tools: alphabetize eslint stylistic issues section

    Rearrange the style rules in .eslintrc to be in alphabetical order.
    
    This has two benefits:
    
    It means the rules appear in the same order as they do in the ESLint
    documentation, easing cross-referencing.
    
    It also means that it is much easier to determine with visual inspection
    if a rule is set or not.
    
    nodejs#5135
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    89bea6a View commit details
    Browse the repository at this point in the history
  109. tools: disallow mixed spaces and tabs for indents

    Enable eslint rule disallowing mixing tabs and spaces for indentation.
    Modify the one file that had been mixing tabs and spaces.
    
    PR-URL: nodejs#5135
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8727d7a View commit details
    Browse the repository at this point in the history
  110. tools: enable no-proto rule for linter

    Enable `no-proto` in `.eslintrc`.
    
    Use `Object.setPrototypeOf()` and `Object.getPrototypeOf()`
    instead of.
    
    PR-URL: nodejs#5140
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    JacksonTian authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    fc50bbf View commit details
    Browse the repository at this point in the history
  111. test: disable nodejsgh-5100 test when in FIPS mode

    This is a follow-up fix for half-broken test in 23196fe, and an attempt
    to recover some dignity after breaking CI.
    
    PR-URL: nodejs#5144
    Reviewed-By: Rich Trott <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0383d66 View commit details
    Browse the repository at this point in the history
  112. test: remove unneeded common.indirectInstanceOf()

    PR-URL: nodejs#5149
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    731767c View commit details
    Browse the repository at this point in the history
  113. test: enable to work pkcs12 test in FIPS mode

    The pfx file created by pkcs12 command of openssl causes an error in
    FIPS mode because its certificate is encrypted with RC2 by default.
    Adding `-descert` option resolves the error.
    
    Fix: nodejs#5144
    Fix: nodejs#5109
    PR-URL: nodejs#5150
    Reviewed-By: Rich Trott <[email protected]>
    Shigeki Ohtsu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ed6d47b View commit details
    Browse the repository at this point in the history
  114. tools: remove excessive comments from .eslintrc

    The comments make the config hard to scan. They do not provide any
    information that isn't in the documentation links referred to in
    comments (that are not being removed here).
    
    Additionally, all rule config sections are alphabetically ordered for
    easier scanning etc.
    
    PR-URL: nodejs#5151
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    19517c1 View commit details
    Browse the repository at this point in the history
  115. test: fix flaky test-http-regr-nodejsgh-2928

    Fix flaky test-http-regr-nodejsgh-2928 that has been failing on Raspberry Pi
    devices in CI.
    
    Fixes: nodejs#4830
    PR-URL: nodejs#5154
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8b99e2d View commit details
    Browse the repository at this point in the history
  116. doc: update DCO to v1.1

    PR-URL: nodejs#5170
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    mikeal authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c4d1e3d View commit details
    Browse the repository at this point in the history
  117. test: fix child-process-fork-regr-nodejsgh-2847 again

    Windows is still sometimes failing with ECONNRESET. Bring back the
    handling of this error as was initially introduced in PR nodejs#4442.
    
    PR-URL: nodejs#5179
    Reviewed-By: Rich Trott <[email protected]>
    Fixes: nodejs#3635
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    972c063 View commit details
    Browse the repository at this point in the history
  118. doc: clarify exceptions during uncaughtException

    PR-URL: nodejs#5180
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Noah Rose authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ec4d6b9 View commit details
    Browse the repository at this point in the history
  119. test: disable fs watch tests for AIX

    fs watch currently needs special configuration on AIX and we
    want to improve under nodejs#5085.
    Tests are disabled so CI can be green and we can spot other
    regressions until this work is complete.
    
    test-async-wrap-check-providers does not aim to test fs watch
    but part of the test uses it so that part has been skipped for
    AIX
    
    PR-URL: nodejs#5187
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    mhdawson authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e24f49a View commit details
    Browse the repository at this point in the history
  120. tools: add recommended linting rules

    This change adds ESLint rules that meet two criteria:
    
    * recommended by ESLint
    * require no code changes
    
    These rules are:
    
    * `no-func-assign`: Disallow overwriting a function that was written
    as a function declaration.
    * `no-negated-in-lhs`: Disallow negated left operand of `in` operator.
    It prevents `if(!a in b)` when `if(!(a in b))` is intended.
    * `no-obj-calls`: Disallow global object function calls. It prevents
    errors like `JSON()` and `Math()`.
    to exercise the code in tests or whatever, it can sneak in.
    * `use-isnan`: Prevents errors like `if (foo == NaN)`
    * `no-octal`: Disallows confusing constructs like `var num = 071;`
    * `no-delete-var`: Delete works on properties, not variables. Disallows
    `delete foo`.
    
    PR-URL: nodejs#5188
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    179b811 View commit details
    Browse the repository at this point in the history
  121. test: minimal repl eval option test

    Fixes: nodejs#3544
    PR-URL: nodejs#5192
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    03dbef2 View commit details
    Browse the repository at this point in the history
  122. doc: fix minor inconsistencies in repl doc

    PR-URL: nodejs#5193
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1bd91a6 View commit details
    Browse the repository at this point in the history
  123. test: mark test-http-agent flaky

    Ref: nodejs#5184
    PR-URL: nodejs#5209
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    07d6e67 View commit details
    Browse the repository at this point in the history
  124. tools: add recommended ES6 lint rules

    Add the following (seemingly non-controversial) ESLint rules:
    
    * `constructor-super`: Verify calls of `super()` in constructors. Flags
    situations that will result in runtime errors. Since we do not have 100%
    code coverage in tests, linting for runtime errors is useful.
    * `no-class-assign`: Flags cases where a class declaration is
    overwritten via variable assignment later. It is difficult to think of a
    situation where this is not an error, and easy to think of situations
    (particularly in lengthy test files) where it could come up.
    * `no-const-assign`: Assigning to a const after declaration is a runtime
    error.
    * `no-dupe-class-members`: Declare a class member twice, then only the
    second one counts. This is analogous to redeclaring a variable.
    * `no-this-before-super`: Using `this` or `super` in a derived class
    before a call to `super()` is a `ReferenceError`
    
    PR-URL: nodejs#5210
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d3037d4 View commit details
    Browse the repository at this point in the history
  125. doc: replace node-forward link in CONTRIBUTING.md

    Direct high-level discussion and questions about IP and trademark policy
    to the TSC repository.
    
    PR-URL: nodejs#5227
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    bnoordhuis authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    60ae28e View commit details
    Browse the repository at this point in the history
  126. test: mark test-http-regr-nodejsgh-2928 flaky

    `test-http-regr-nodejsgh-2928` is flay on SmartOS in CI.
    
    Refs: nodejs#5264
    PR-URL: nodejs#5280
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    04b1b0a View commit details
    Browse the repository at this point in the history
  127. doc: update process.send() signature

    This commit brings the process.send() signature into sync with
    the child_process.send() documentation. Specifically, this commit
    adds the callback argument and return type to the docs.
    
    PR-URL: nodejs#5284
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e193273 View commit details
    Browse the repository at this point in the history
  128. deps: backport 9da3ab6 from V8 upstream

    This patch exposes a new flag perf_basic_prof_only_functions (disabled by
    default) that can be useful for the use-case of running always-on profiling on
    long running production jobs.
    
    Original commit
    v8/v8@9da3ab6
      New flag --perf_basic_prof_only_functions
      Restricts linux perf-event code range reporting to functions only (i.e. on
      stubs.) While this makes the gathered ticks less accurate, it reduces the
      growth of the /tmp/perf-${pid}.map file.
    
      BUG=v8:3453
      [email protected],[email protected]
      LOG=N
    
      Review URL: https://codereview.chromium.org/1292743002
    
      Cr-Commit-Position: refs/heads/master@{nodejs#30179}
    
    PR-URL: nodejs#3609
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    ofrobots authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c0db8df View commit details
    Browse the repository at this point in the history
  129. deps: upgrade to npm 2.14.18

    PR-URL: nodejs#5245
    Reviewed-By: Myles Borins <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    68e32dd View commit details
    Browse the repository at this point in the history
  130. deps: upgrade to npm 2.14.19

    PR-URL: nodejs#5335
    Reviewed-By: Myles Borins <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d0c8689 View commit details
    Browse the repository at this point in the history
  131. doc: improve addons.markdown copy

    General improvements to the documentation in addons.markdown.
    
    PR-URL: nodejs#4320
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    jasnell authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b18fd41 View commit details
    Browse the repository at this point in the history
  132. doc: improvements to buffer.markdown copy

    General improvements to buffer.markdown including new examples,
    a few fixes to existing examples, consistent formatting and
    others
    
    PR-URL: nodejs#4370
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    819a83b View commit details
    Browse the repository at this point in the history
  133. doc: improve child_process.markdown copy

    General improvements to child_process.markdown
    
    PR-URL: nodejs#4383
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c701d75 View commit details
    Browse the repository at this point in the history
  134. doc: improvements to crypto.markdown copy

    General improvements to crypto.markdown including new and
    revised examples.
    
    PR-URL: nodejs#4435
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    jasnell authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c6cfd31 View commit details
    Browse the repository at this point in the history
  135. tools: fix warning in doc parsing

    The description of "[start[, end]]" in the doc shows warning of
    "invalid param" when parsing an optional parameter in the section.
    This fixes insufficient trimming of right square brackets.
    
    PR-URL: nodejs#4537
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Shigeki Ohtsu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    88293f2 View commit details
    Browse the repository at this point in the history
  136. doc: fix heading level error in Buffer doc

    tools/doc/html.js in make doc throws an error in checking a heading
    level in the markdown file.
    
    PR-URL: nodejs#4537
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Shigeki Ohtsu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8c4748f View commit details
    Browse the repository at this point in the history
  137. doc: remove "above" and "below" references

    The docs were recently refactored, and some "above" and "below"
    references were no longer accurate. This commit removes many
    such references, and replaces others with links.
    
    PR-URL: nodejs#4499
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardsun29 authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    4cc6180 View commit details
    Browse the repository at this point in the history
  138. doc: improve child_process.execFile() code example

    PR-URL: nodejs#4504
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    ryansobol authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    454bf52 View commit details
    Browse the repository at this point in the history
  139. doc: make references clickable

    The child_process docs contained some links, but some links were
    somehow "broken". `make doc` couldn't translate them and left `[]`
    in the compiled HTML.
    
    PR-URL: nodejs#4654
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    r-52 authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    450e3b8 View commit details
    Browse the repository at this point in the history
  140. src: force line buffering for stderr

    SmartOS does not line buffer stderr by default, or at least that is the
    behavior on the Node project Jenkins server. Force line buffering. This
    resolves the flakiness observed on SmartOS for
    test-debug-signal-cluster.
    
    PR-URL: nodejs#3701
    Fixes: nodejs#2476
    Refs: nodejs#3615
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3ca6d75 View commit details
    Browse the repository at this point in the history
  141. doc: fenced all code blocks, typo fixes

    This changes the code blocks from 4-space indentation to ``` fences for
    better syntax highlighting and future linting support. Minor On-the-fly
    changes for typos and highlight breaking markdown have been made.
    
    JSON-Style objects have been changed so their closing bracket is
    on the same line as the opening one.
    
    Known issues:
    * Not every JSON / object notation has been improved. Should
      make another run for this.
    * Some example functions break hightlighting due to various
      combinations of brackets. However changing them means leaving
      the code style.
    
    Fixes: nodejs#4726
    PR-URL: nodejs#4733
    Reviewed-By: Roman Reiss <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3624eaf View commit details
    Browse the repository at this point in the history
  142. doc: add buf.indexOf encoding param with example

    PR-URL: nodejs#3373
    Reviewed-By: Trevor Norris <[email protected]>
    skomski authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ad2c9d3 View commit details
    Browse the repository at this point in the history
  143. doc: fix named anchors in addons.markdown and http.markdown

    PR-URL: nodejs#4708
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MichaelTheriot authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e68cb26 View commit details
    Browse the repository at this point in the history
  144. doc: fix nonsensical grammar in Buffer::write

    PR-URL: nodejs#4863
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Jimbly authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9c05a57 View commit details
    Browse the repository at this point in the history
  145. doc: make buffer methods styles consistent

    - Maintain alphabetical order
    - Add documentation for `offset` and `value` where absent
    - Add return value documentation where absent
    - Remove redundant "Optional"
    - Move defaults to parameter enumerations
    
    PR-URL: nodejs#4873
    Reviewed-By: James M Snell <[email protected]>
    TimothyGu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    aeac623 View commit details
    Browse the repository at this point in the history
  146. doc: improve styling consistency in Buffer docs

    Add links style consistency.
    
    PR-URL: nodejs#5001
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    08d7ac4 View commit details
    Browse the repository at this point in the history
  147. doc: clarify optional arguments of Buffer methods

    PR-URL: nodejs#5008
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    targos authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2e4dbf2 View commit details
    Browse the repository at this point in the history
  148. doc: fix links order in Buffer doc

    Sort links in lexical order
    
    PR-URL: nodejs#5076
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    cc849f5 View commit details
    Browse the repository at this point in the history
  149. doc: replace function expressions with arrows

    This commit replaces multiple usages of `function(){}` with ES2015
    arrow functions in places it was forgotten earlier. The goal is to
    make the docs more consistent since other functions were already
    replaced with ES2015 arrows.
    
    In addition, it fixes invalid syntax in modules.markdown to valid
    syntax as well as remove `var self = this` pattern usages in the code
    where they are now possible to avoid through arrow functions.
    
    PR-URL: nodejs#4832
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    benjamingr authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    92dbcb4 View commit details
    Browse the repository at this point in the history
  150. doc: fix anchor links from stream to http and events

    PR-URL: nodejs#5007
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    piepmatz authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0acb8e2 View commit details
    Browse the repository at this point in the history
  151. doc: multiple improvements in Stream docs

    Add missing links, remove duplicate ones, fix constants and functions styling.
    Minor lexical corrections.
    
    PR-URL: nodejs#5009
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7ebef46 View commit details
    Browse the repository at this point in the history
  152. tools: parse types into links in doc html gen

    Changes the parsing of parameter types in the doc html gen
    Links to either MDN or nodejs docs depending on type
    See nodejs#4350
    
    PR-URL: nodejs#4741
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    claudiorodriguez authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    acffcf7 View commit details
    Browse the repository at this point in the history
  153. doc: fix type references for link gen, link css

    Fixes several type references in the docs so that the
    doc html gen tool that parses them can put the correct
    links in.
    
    Changes css styling for the generated type links.
    
    PR-URL: nodejs#4741
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    claudiorodriguez authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7acbe87 View commit details
    Browse the repository at this point in the history
  154. tools,doc: fix linting errors

    Refs: nodejs#4741 (comment)
    PR-URL: nodejs#5161
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7c1cd9a View commit details
    Browse the repository at this point in the history
  155. test: shorten path for bogus socket

    This fixes CI failures for test-net-pipe-connect-errors on Raspberry Pi
    devices.
    
    PR-URL: nodejs#4478
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    18ed441 View commit details
    Browse the repository at this point in the history
  156. doc: harmonize $ node command line notation

    PR-URL: nodejs#4806
    Reviewed-By: Stephan Belanger <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e6c3c57 View commit details
    Browse the repository at this point in the history
  157. doc: Examples work when data exceeds buffer size

    PR-URL: nodejs#4811
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    garrows authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    90e0197 View commit details
    Browse the repository at this point in the history
  158. doc: check for errors in 'listen' event

    In the docs we typically check for errors and surface them. This
    is IMO a good idea and good practice. This PR adds a check for
    errors in three places in the `net` docs where it was missing.
    
    PR-URL: nodejs#4834
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>>
    benjamingr authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    70e5d89 View commit details
    Browse the repository at this point in the history
  159. doc: fix code type of markdowns

    1. correct code type in addons.markdown
    2. add missed code type in crypto.markdown
    
    PR-URL: nodejs#4858
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    JacksonTian authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    51324a7 View commit details
    Browse the repository at this point in the history
  160. doc: fix JSON generation for aliased methods

    Currently assert/assert.ok currently has the following signature:
    
        "signatures": [
          {
            "params": [
              {
                "name": "value"
              },
              {
                "name": "message])"
              },
              {
                "name": "assert.ok(value"
              },
              {
                "name": "message",
                "optional": true
              }
            ]
          }
        ]
    
    The heading reads
    
        assert(value[, message]), assert.ok(value[, message])
    
    Split them into two sections to make it working.
    
    PR-URL: nodejs#4871
    Reviewed-By: Chris Dickinson <[email protected]>
    TimothyGu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e8580db View commit details
    Browse the repository at this point in the history
  161. doc: keep the names in sorted order

    1. The release team's names were not in the sorted order and
    
    2. the old list of releasers' names were not in bold
    
    This patch fixes both of these issues
    
    PR-URL: nodejs#4876
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    thefourtheye authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3555963 View commit details
    Browse the repository at this point in the history
  162. doc: don't use "interface" as a variable name

    In readline.markdown, don't use strict mode reserved keyword "interface"
    as a variable name.
    
    This commit changes the name of one `readline.Interface` instance from
    "interface" to "rl", as it is named in other places of the doc.
    
    PR-URL: nodejs#4900
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    ChALkeR authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    71aa302 View commit details
    Browse the repository at this point in the history
  163. doc: show links consistently in deprecations

    PR-URL: nodejs#4907
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    thefourtheye authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    40fdd12 View commit details
    Browse the repository at this point in the history
  164. test: refactor test-http-destroyed-socket-write2

    Remove the limit of requests to be sent (128) as in some conditions it
    was reached without the `error` event being fired, causing the test to
    fail.
    
    Remove the initial timeout.
    
    Remove some variables used to check the validity of the test and replace
    them with `common.mustCall` and `common.fail` calls.
    
    PR-URL: nodejs#4970
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    f44c7ac View commit details
    Browse the repository at this point in the history
  165. doc: fix notDeepEqual API

    API calls in `assert` are `deepEqual()`, not `notDeepEqual()`.
    use `notDeepEqual` to make it clear.
    
    PR-URL: nodejs#4971
    Reviewed-By: Rich Trott <[email protected]>
    JungMinu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d6282c2 View commit details
    Browse the repository at this point in the history
  166. doc: apply consistent styling for functions

    Always refer to (for example) `assert.deepEqual()` as
    `assert.deepEqual()` and never as `assert.deepEqual`.
    
    PR-URL: nodejs#4974
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9d95291 View commit details
    Browse the repository at this point in the history
  167. doc: consistent styling for functions in TLS docs

    Provide links for functions where needed and fix function links style.
    
    PR-URL: nodejs#5000
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a90cc26 View commit details
    Browse the repository at this point in the history
  168. doc: uppercase 'RSA-SHA256' in crypto.markdown

    Fixes: nodejs#5031
    PR-URL: nodejs#5044
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    raineroviir authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e6663c5 View commit details
    Browse the repository at this point in the history
  169. doc: fix reference to API hash.final

    fix a reference to a non-existent API, `hash.final()`.
    It should be `hash.digest()`.
    
    PR-URL: nodejs#5050
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    JungMinu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    f163cb1 View commit details
    Browse the repository at this point in the history
  170. doc: merging behavior of writeHead vs setHeader

    PR-URL: nodejs#5081
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    a0viedo authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    31478fb View commit details
    Browse the repository at this point in the history
  171. doc: console is asynchronous unless it's a file

    Mea culpa, looks like I forgot to update console.markdown in commit
    dac1d38 ("doc: stdout/stderr can block when directed to file").
    This commit rectifies that.
    
    Refs: nodejs#5131
    PR-URL: nodejs#5133
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    bnoordhuis authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    366625c View commit details
    Browse the repository at this point in the history
  172. doc: improve scrolling, various CSS tweaks

    - Made scrolling of the sidebar not affect the main page by using a combination
      of overflow:hidden and overflow:scroll.
    - Changed the scrollbar of the sidebar to be visible again for accessibilty
      reasons and removed the indication gradient because it was causing too much
      issues.
    - In WebKit-based browsers, the scrollbar received custom styling making it
      appear to be outside of the sidebar.
    - The main content is no longer limited to 702px width, but now uses all
      available space.
    - Changed the background of the code blocks to a very similar, but neutral
      color and made inline blocks the same color.
    - Made inline code blocks inside italic sections not italic.
    - Simplified styling of api_stability classes by introducing a common class
      name for the stability levels.
    - Fixed various issues related to the green hover background on links.
    - Fixed code box overflow outside the main content area.
    - Various minor tweaks to paddings and margins.
    - Cleaned up numbers in the stylesheet, removing unnecessary units, decimals
      and empty selectors.
    
    PR-URL: nodejs#5198
    Reviewed-By: James M Snell <[email protected]>
    silverwind authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5ed26f3 View commit details
    Browse the repository at this point in the history
  173. doc: fix net.createConnection() example

    PR-URL: nodejs#5219
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b99baaf View commit details
    Browse the repository at this point in the history
  174. doc: improvements to console.markdown copy

    Fix missing links. Fix styling of printf() - once nodejs#5073 lands,
    link to man page will be auto-generated. Fix several typos.
    
    PR-URL: nodejs#5225
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    388f1bb View commit details
    Browse the repository at this point in the history
  175. doc: fix template string

    Template string was syntactically incorrect. Copied Documentation code
    would throw an error.
    
    PR-URL: nodejs#5240
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    MrOutput authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    9d1f102 View commit details
    Browse the repository at this point in the history
  176. doc: fix buffer[index] example

    PR-URL: nodejs#5253
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    chinedufn authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    59e55ae View commit details
    Browse the repository at this point in the history
  177. doc: fix buf.length slice example

    Previously tried to reassign a const.
    
    PR-URL: nodejs#5259
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    chinedufn authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    8817b8b View commit details
    Browse the repository at this point in the history
  178. doc: clarify child_process.execFile{,Sync} file arg

    The changes to the file argument of execFile in nodejs#4504 make it appear
    that execFile requires an absolute or relative path to the executable
    file, when it also supports a filename which will be resolved using
    $PATH.  Although the example makes this clear, assuming there isn't a
    node binary in $CWD, it's easy to overlook.  This commit clarifies that
    point.
    
    It also updates the argument description for execFileSync to match,
    since it was overlooked in nodejs#4504 and behaves identically.
    
    PR-URL: nodejs#5310
    Reviewed-By: James M Snell <[email protected]>
    kevinoid authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1ea49bb View commit details
    Browse the repository at this point in the history
  179. doc,tools,test: lint doc-based addon tests

    PR-URL: nodejs#5427
    Fixes: nodejs#5424
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e42be1e View commit details
    Browse the repository at this point in the history
  180. src,test,tools: modify for more stringent linting

    ESLint 2.1.0 is coming. Some lint rules have been tightened.
    
    PR-URL: nodejs#5214
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: jbergstroem - Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    28b9ca8 View commit details
    Browse the repository at this point in the history
  181. tools: remove obsolete lint rules

    We are about to upgrade from ESlint 1 to ESLint 2. Remove lint rules
    that will not exist in ESLint 2.
    
    PR-URL: nodejs#5214
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: jbergstroem - Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    82eac0f View commit details
    Browse the repository at this point in the history
  182. tools: update ESLint to version 2.1.0

    Update ESLint to 2.1.0. ESLint has a number of potentially-useful new
    features but this change attempts to be minimal in its changes.
    However, some things could not be avoided reasonably.
    
    ESLint 2.1.0 found a few lint issues that ESLing 1.x missed with
    template strings that did not take advantage of any features of
    template strings, and `let` declarations where `const` sufficed.
    
    Additionally, ESLint 2.1.0 removes some granularity around enabling ES6
    features. Some features (e.g., spread operator) that had been turned off
    in our configuration for ESLint 1.x are now permitted.
    
    PR-URL: nodejs#5214
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: jbergstroem - Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7268bb1 View commit details
    Browse the repository at this point in the history
  183. tools: replace obsolete ESLint rules

    Now that we are using ESLint 2, replace ESLint 1 rules with their ESLint
    2 equivalents.
    
    PR-URL: nodejs#5214
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: jbergstroem - Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    87fdd87 View commit details
    Browse the repository at this point in the history
  184. installer: install the tick processor

    The tick processor is used to provide readable profiling information
    from isolate tick logs (produced by a call to node -prof).
    
    This patch installs the file at $PREFIX/share/doc/node/tick-processor.
    
    PR-URL: nodejs#3032
    Reviewed-By: Ben Noordhuis <[email protected]>
    Matt Loring authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    86907c3 View commit details
    Browse the repository at this point in the history
  185. tools: add --prof-process flag to node binary

    This change cleans up outstanding comments on nodejs#3032. It improves error
    handling when no isolate file is provided and adds the --prof-process
    flag to the node binary which executes the tick processor on the
    provided isolate file.
    
    PR-URL: nodejs#4021
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Matt Loring authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0164e12 View commit details
    Browse the repository at this point in the history
  186. tools: run tick processor without forking

    Using the tick processor no longer creates temporary files or spawns a
    child process.
    
    PR-URL: nodejs#4224
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Matt Loring authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    df1fb15 View commit details
    Browse the repository at this point in the history
  187. http: do not emit upgrade on advertisement

    Do not emit `upgrade` if the server is just advertising its protocols
    support as per RFC 7230 Section 6.7.
    
        A server MAY send an Upgrade header field in any other response
        to advertise that it implements support for upgrading to the
        listed protocols, in order of descending preference, when
        appropriate for a future request.
    
    Fix: nodejs#4334
    PR-URL: nodejs#4337
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    def3bb2 View commit details
    Browse the repository at this point in the history
  188. streams: 5% throughput gain when sending small chunks

    Improves the performance when moving small buffers by 5%,
    and it adds a benchmark to avoid regression in that area.
    In all other cases it is equally performant to current master.
    
    Full performance results available at:
    https://gist.github.com/mcollina/717c35ad07d15710b6b9.
    
    PR-URL: nodejs#4354
    Reviewed-By: James M Snell <[email protected]>
    mcollina authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    89aeab9 View commit details
    Browse the repository at this point in the history
  189. http: remove reference to onParserExecute

    Parsers hold a reference to the socket associated with the request
    through onParserExecute. This must be removed when the parser is
    freed so that the socket can be garbage collected when destroyed.
    
    Regression introduced in commit 59b91f1 ("http_parser: consume
    StreamBase instance").
    
    PR-URL: nodejs#4773
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Tom Atkinson authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    bee86bb View commit details
    Browse the repository at this point in the history
  190. buffer: properly retrieve binary length of needle

    If the needle contains an extended latin-1 character then using
    String::Utf8Length() will be too large and the search will return early.
    Instead use String::Length() when encoding is BINARY.
    
    PR-URL: nodejs#4803
    Reviewed-By: James M Snell <[email protected]>
    trevnorris authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    288f4c2 View commit details
    Browse the repository at this point in the history
  191. buffer: allow encoding param to collapse

    Currently the signature is indexOf(val[, byteOffset[, encoding]])
    Instead allow indexOf(val[, byteOffset][, encoding])
    so that byteOffset does not need to be passed.
    
    PR-URL: nodejs#4803
    Reviewed-By: James M Snell <[email protected]>
    trevnorris authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    faf606f View commit details
    Browse the repository at this point in the history
  192. build: fix build when python path contains spaces

    PR-URL: nodejs#4841
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    felixfbecker authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c0facfb View commit details
    Browse the repository at this point in the history
  193. child_process: fix data loss with readable event

    This commit prevents child process stdio streams from being
    automatically flushed on child process exit/close if a 'readable'
    event handler has been attached at the time of exit.
    
    Without this, child process stdio data can be lost if the process
    exits quickly and a `read()` (e.g. from a 'readable' handler)
    hasn't had the chance to get called yet.
    
    Fixes: nodejs#5034
    PR-URL: nodejs#5036
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ab787ad View commit details
    Browse the repository at this point in the history
  194. doc: link to man pages

    This changes the doc generator to automatically link references such as
    `open(2)` to a man page on man7.org or freebsd.org
    
    PR-URL: nodejs#5073
    Reviewed-By: Ben Noorhduis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    dcposch authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a44aa39 View commit details
    Browse the repository at this point in the history
  195. test: refactor test-dgram-send-callback-recursive

    Just send 10 messages recursively and check that the send calls are
    asynchronous by asserting that a `setImmediate` callback has been called
    in-between. It avoids a race condition in the test when the recursive
    limit is reached without having received at least 10 messages.
    
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PR-URL: nodejs#5079
    santigimeno authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    274e781 View commit details
    Browse the repository at this point in the history
  196. build: remove Makefile.build

    Remove Makefile.build, as it is not really used by anyone.
    
    Refs: nodejs#4607
    PR-URL: nodejs#5080
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ojss authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    7c34eb6 View commit details
    Browse the repository at this point in the history
  197. build: remove redundant TODO in configure

    Remove a redundant TODO in configure:
    "# TODO(srl295): EBCDIC should be 'e'"
    as there is no plan to support EBCDIC systems any time soon.
    
    Refs: nodejs#4607
    PR-URL: nodejs#5080
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ojss authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    78962b3 View commit details
    Browse the repository at this point in the history
  198. build: add a help message and removed a TODO.

    Add a help message for --systemtap-includes
    optparse.SUPPRESS_HELP was replaced by help message
    and the TODO comment was removed
    
    Refs: nodejs#4607
    PR-URL: nodejs#5080
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    ojss authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    fcb8d3e View commit details
    Browse the repository at this point in the history
  199. crypto: have fixed NodeBIOs return EOF

    Prior to this change, the NodeBIO objects used to wrap fixed data had
    `num` equal to -1. This caused them to return -1 and set the retry flags
    when they ran out of data. Since the data is fixed, that's incorrect.
    Instead they should return zero to signal EOF.
    
    This change adds a new, static function, NodeBIO::NewFixed to create a
    BIO that wraps fixed data and which returns zero when exhausted.
    
    The practical impact of this is limited since most (all?) the parsing
    functions that these BIOs get passed to consider any return value less
    than one to be EOF and ignore the retry flags anyway.
    
    PR-URL: nodejs#5105
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    agl authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b7c2b23 View commit details
    Browse the repository at this point in the history
  200. debugger: assert test before accessing this.binding

    PR-URL: nodejs#5145
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    princejwesley authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    dca1038 View commit details
    Browse the repository at this point in the history
  201. tls: nullify .ssl on handle close

    This is an intermediate fix for an issue of accessing `TLSWrap` fields
    after the parent handle was destroyed. While `close` listener cleans up
    this field automatically, it can be done even earlier at the
    `TLSWrap.close` call.
    
    Proper fix is going to be submitted and landed after this one.
    
    Fix: nodejs#5108
    PR-URL: nodejs#5168
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    f71be24 View commit details
    Browse the repository at this point in the history
  202. build: treat aarch64 as arm64

    `Makefile` is now consistent with `configure` regarding
    how we treat aarch64.
    
    PR-URL: nodejs#5191
    Fixes: nodejs#5175
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    jbergstroem authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a8e776f View commit details
    Browse the repository at this point in the history
  203. node: set process._eventsCount to 0 on startup

    process is an EventEmitter. There are operations that increment and
    decrement the _eventsCount property of an EventEmitter.
    process._eventsCount would previously get set to NaN. This change makes
    process._eventsCount be calculated as expected.
    
    PR-URL: nodejs#5208
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    evanlucas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ab5c01b View commit details
    Browse the repository at this point in the history
  204. cluster: dont rely on this in fork

    PR-URL: nodejs#5216
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    igorklopov authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3a4d6ad View commit details
    Browse the repository at this point in the history
  205. console: apply null as this for util.format

    Util.format is just a stateless function. Apply current console
    as `this` is unnecessary.
    
    PR-URL: nodejs#5222
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    JacksonTian authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    78ddd9b View commit details
    Browse the repository at this point in the history
  206. doc: improvements to crypto.markdown copy

    Fix several typos. Add missing links.
    
    PR-URL: nodejs#5230
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Kelvin Knighton <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    estliberitas authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    2f6cf0a View commit details
    Browse the repository at this point in the history
  207. net: use _server for internal book-keeping

    The role of `this.server` is now split between `this._server` and
    `this.server`. Where the first one is used for counting active
    connections of `net.Server`, and the latter one is just a public API for
    users' consumption.
    
    The reasoning for this is simple, `TLSSocket` instances wrap
    `net.Socket` instances, thus both refer to the `net.Server` through the
    `this.server` property. However, only one of them should be used for
    `net.Server` connection count book-keeping, otherwise double-decrement
    will happen on socket destruction.
    
    Fix: nodejs#5083
    PR-URL: nodejs#5262
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    d9bf6e0 View commit details
    Browse the repository at this point in the history
  208. test: mitigate flaky test-debug-no-context

    Change test so that it passes on the occasional win10 access violation.
    
    The workaround here can be undone when issue 5268 is resolved.
    
    The test still detects the defect it was written to detect. There are
    two assertions that detect the defect and only one was disabled.
    
    Ref: nodejs#5268
    Fixes: nodejs#4343
    PR-URL: nodejs#5269
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    1ed55b8 View commit details
    Browse the repository at this point in the history
  209. doc: update repo docs to use 'CTC'

    PR-URL: nodejs#5304
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    orangemocha authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    3d10afa View commit details
    Browse the repository at this point in the history
  210. test: use String.prototype.repeat() for clarity

    There are a few places where tests repeatedly concatenate strings to
    themselves in order to make them very long. Using `.repeat()` makes the
    code clearer.
    
    For example, before:
    
        for (var i = 0; i < 8; ++i) lots_of_headers += lots_of_headers;
    
    After:
    
        lots_of_headers = lots_of_headers.repeat(256);
    
    Using `.repeat()` makes it clear that the string will be repeated 256
    times rather than 8 times. ("What?! That first one doesn't repeat 256
    times! It only repeats 8... Oh, wait. Yes, I see your point now.")
    
    PR-URL: nodejs#5311
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    6d5f4c4 View commit details
    Browse the repository at this point in the history
  211. test: add test for https server close event

    PR-URL: nodejs#5106
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Braydon Fuller authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    b935aa2 View commit details
    Browse the repository at this point in the history
  212. test: remove flaky mark for test-debug-no-context

    test-debug-no-context flakiness was worked around in issue 5269 but the
    flaky designation was left for the test. This change removes it.
    
    Refs: nodejs#5269
    PR-URL: nodejs#5317
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    35b687f View commit details
    Browse the repository at this point in the history
  213. doc: require behavior on case-insensitive systems

    This adds a paragraph in the Module Caching Caveats section about the
    behavior of require when Node is running on top of a file system (e.g.
    HFS) or operating system (e.g. Windows) that will not consider the case
    of file paths to find files.
    
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    hgwood authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    e4bb7e4 View commit details
    Browse the repository at this point in the history
  214. doc: clarify error handling in net.createServer

    Remove indications that an error argument is sent to the `listen()` callback.
    
    Fixes: nodejs#5345
    PR-URL: nodejs#5353
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    dirceu authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    5b9bcea View commit details
    Browse the repository at this point in the history
  215. doc: s/http/https in Myles Borins' GitHub link

    PR-URL: nodejs#5356
    Reviewed-By: Myles Borins <[email protected]>
    rvagg authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    bbbad88 View commit details
    Browse the repository at this point in the history
  216. doc: mention prototype check in deepStrictEqual()

    The docs for assert.deepStrictEqual() do not currently mention
    that prototypes are compared for objects. This commit adds that
    information to the documentation.
    
    Fixes: nodejs#5365
    PR-URL: nodejs#5367
    Reviewed-By: Robert Lindstädt <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    cjihrig authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    dc3f5fa View commit details
    Browse the repository at this point in the history
  217. doc: copyedit util doc

    Add verbs to make sentence fragments less fragmentary.
    
    PR-URL: nodejs#5399
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0563304 View commit details
    Browse the repository at this point in the history
  218. doc: explicit about VS 2015 support in readme

    `vcbuild.bat` already supports both Visual Studio 2013 and 2015.
    
    PR-URL: nodejs#5406
    Reviewed-By: Alexis Campailla <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    phillipj authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    ae347b5 View commit details
    Browse the repository at this point in the history
  219. doc: remove out-of-date matter from internal docs

    Remove out-of-date stability index material from `tools/doc/README.md`.
    The stability index is documented in `doc/api/documentation.markdown`.
    
    PR-URL: nodejs#5421
    Reviewed-By: Evan Lucas <[email protected]>
    Trott authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a5d57f4 View commit details
    Browse the repository at this point in the history
  220. deps: upgrade to npm 2.14.20

    PR-URL: nodejs#5510
    Review-by: Myles Borins <[email protected]>
    zkat authored and Myles Borins committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    a208af1 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2016

  1. 2016-03-08, Version 4.4.0 'Argon' (LTS)

    In December we announced that we would be doing a minor release in order to
    get a number of voted on SEMVER-MINOR changes into LTS. Our ability to release this
    was delayed due to the unforeseen security release v4.3. We are quickly bumping to
    v4.4 in order to bring you the features that we had committed to releasing.
    
    This release also includes over 70 fixes to our docs and over 50 fixes to tests.
    
    The SEMVER-MINOR changes include:
      * deps:
        - An update to v8 that introduces a new flag --perf_basic_prof_only_functions (Ali Ijaz Sheikh) nodejs#3609
      * http:
        - A new feature in http(s) agent that catches errors on *keep alived* connections (José F. Romaniello) nodejs#4482
      * src:
        - Better support for Big-Endian systems (Bryon Leung) nodejs#3410
      * tls:
        - A new feature that allows you to pass common SSL options to `tls.createSecurePair` (Коренберг Марк) nodejs#2441
      * tools
        - a new flag `--prof-process` which will execute the tick processor on the provided isolate files (Matt Loring) nodejs#4021
    
    Notable semver patch changes include:
    
      * buld:
        - Support python path that includes spaces. This should be of particular interest to our Windows users who may have python living in `c:/Program Files` (Felix Becker) nodejs#4841
      * https:
        - A potential fix for nodejs#3692 HTTP/HTTPS client requests throwing EPROTO (Fedor Indutny) nodejs#4982
      * installer:
        - More readable profiling information from isolate tick logs (Matt Loring) nodejs#3032
      * *npm:
        - upgrade to npm 2.14.20 (Kat Marchán) nodejs#5510
      * process:
        - Add support for symbols in event emitters. Symbols didn't exist when it was written ¯\_(ツ)_/¯ (cjihrig) nodejs#4798
      * querystring:
        - querystring.parse() is now 13-22% faster! (Brian White) nodejs#4675
      * streams:
        - performance improvements for moving small buffers that shows a 5% throughput gain. IoT projects have been seen to be as much as 10% faster with this change! (Matteo Collina) nodejs#4354
      * tools:
        - eslint has been updated to version 2.1.0 (Rich Trott) nodejs#5214
    
    PR-URL: nodejs#5301
    Myles Borins committed Mar 8, 2016
    Configuration menu
    Copy the full SHA
    83ca8fa View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2016

  1. child_process: optionally hide child window

    Detached children are run in a new console window by default. For
    children that are intended to run in the background with no console I/O,
    this window is an annoying pop-up, so uv allows it to be hidden.
    sam-github committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    c7d7fd9 View commit details
    Browse the repository at this point in the history
  2. trying to reproduce the windows popup :-(

    nodebot authored and sam-github committed Mar 14, 2016
    Configuration menu
    Copy the full SHA
    0e70b0b View commit details
    Browse the repository at this point in the history