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

v7.x-staging update proposal #10886

Closed
wants to merge 155 commits into from

Commits on Jan 19, 2017

  1. lib,src: support values > 4GB in heap statistics

    We were transporting the heap statistics as uint32 values to JS land but
    those wrap around for values > 4 GB.  Use 64 bits floats instead, those
    should last us a while.
    
    Fixes: nodejs#10185
    PR-URL: nodejs#10186
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    bnoordhuis authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    f127e0c View commit details
    Browse the repository at this point in the history
  2. doc: modernize child_process example code

    1. equal => strictEqual.
    2. let => const for the variable that is not reassigned.
    3. fix spaces.
    4. stringify erroneous raw buffer outputs.
    5. fix a typo.
    
    PR-URL: nodejs#10102
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    vsemozhetbyt authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    d05ddc3 View commit details
    Browse the repository at this point in the history
  3. test: refactor test-https-truncate

    * use common.mustCall() where appropriate
    * Buffer.allocUnsafe() -> Buffer.alloc()
    * do crypto check before loading any additional modules
    * specify 1ms duration for `setTimeout()`
    
    PR-URL: nodejs#10225
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    455c442 View commit details
    Browse the repository at this point in the history
  4. test: reduce unmanaged parallelism in domain test

    The original test lauches 10 child processes at once
    and bypass `test.py`'s process regulation.
    This PR reduces the unmanaged parallelism and is a
    temporary workaround for nodejs#9979 (not a real fix).
    
    PR-URL: nodejs#10329
    Reviewed-By: Anna Henningsen <[email protected]>
    joyeecheung authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    20443d9 View commit details
    Browse the repository at this point in the history
  5. test: refactor the code in test-fs-watch.js

    * used let and const instead of var
    * used assert.strictEqual instead assert.equal
    
    PR-URL: nodejs#10357
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Julian Duque <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sivaprs authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    b8720a0 View commit details
    Browse the repository at this point in the history
  6. async_wrap: close the destroy_ids_idle_handle_

    The destroy_ids_idle_handle_ needs to be closed on
    environment destruction. Not closing the handle leaves
    a dangling pointer in the used uv loop. This leads to
    undefined behavior when the uv loop is used after the
    environment has been destroyed.
    
    PR-URL: nodejs#10385
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    reshnm authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    1262f70 View commit details
    Browse the repository at this point in the history
  7. inspector: remove unused uv_async_t

    PR-URL: nodejs#10392
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Eugene Ostroukhov authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    6e3daf4 View commit details
    Browse the repository at this point in the history
  8. doc: clarify information about ABI version

    PR-URL: nodejs#10419
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Refs: nodejs#9901 (comment)
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    b7cf821 View commit details
    Browse the repository at this point in the history
  9. test, win: fix up symlink tests

    On Windows, creating a symlink requires admin privileges.
    There were two tests which created symlinks which were failing when run
    as non-admin.
    
    test-fs-symlink.js already had a check for privileges on Windows
    but it had a couple issues:
    1. It assumed that whoami was the one that came with windows.
       However, whoami also ships with Win32 Unix utility ports
       like the distribution with git, which can cause this to get check
       tripped up.
    2. On failure, the check would just return from the callback instead of
       exiting
    3. whoami was executed asynchronously so the test would run regardless
       of privilege state.
    
    test-fs-options-immutable had no check.
    
    As part of this change, I refactored the privilege checking to
    a function in common, and changed both above tests to use the
    refactored function.
    
    Also documented this function in test\README.md
    
    PR-URL: nodejs#10477
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    digitalinfinity authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    8c914ca View commit details
    Browse the repository at this point in the history
  10. test: increase usage of assert.ifError()

    PR-URL: nodejs#10543
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cjihrig authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    f3a466a View commit details
    Browse the repository at this point in the history
  11. test: use const for all require() calls

    PR-URL: nodejs#10550
    Reviewed-By: Rich Trott <[email protected]>
    cjihrig authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    10abc52 View commit details
    Browse the repository at this point in the history
  12. test: refactor test-stream2-readable-wrap.js

    Use common.mustCall() where appropriate, var to const/let,
    assert.equal() -> assert.strictEqual(), explicit time provided to
    setTimeout()
    
    PR-URL: nodejs#10551
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    DavidGoussev authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    59b66ea View commit details
    Browse the repository at this point in the history
  13. test: refactor test-timer-close

    Refactor and simplify parallel/test-timer-close.js. Add comment to
    describe the test case.
    
    PR-URL: nodejs#10517
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    BethGriggs authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    264c935 View commit details
    Browse the repository at this point in the history
  14. test: improve the code in test-fs-read-stream

    * use const and let instead of var
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    
    PR-URL: nodejs#10556
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    e0dce5d View commit details
    Browse the repository at this point in the history
  15. test: refactor several parallel/test-timer tests

    Change var to const/let. Simplify test-timers-uncaught-exception.
    
    PR-URL: nodejs#10524
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    BethGriggs authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    240555c View commit details
    Browse the repository at this point in the history
  16. test: fix Coverity warning in inspector test

    PR-URL: nodejs#10510
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Eugene Ostroukhov authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    f7777b7 View commit details
    Browse the repository at this point in the history
  17. url: TupleOrigin#toString use unicode by default

    See: https://url.spec.whatwg.org/#dom-url-origin
    
    Also moves the tests for origins to the parsing tests
    since now URL#origin matches the test cases by default.
    
    PR-URL: nodejs#10552
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    a5d1e30 View commit details
    Browse the repository at this point in the history
  18. doc: update TheAlphaNerd to MylesBorins

    new year new alias
    
    PR-URL: nodejs#10586
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    MylesBorins authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    86ca2e5 View commit details
    Browse the repository at this point in the history
  19. assert: update comments

    Remove the numbers from the comments to make it clear that
    assert does not follow the
    [CJS spec](http://wiki.commonjs.org/wiki/Unit_Testing/1.0).
    Additionally, clean up the existing comments for consistent
    formatting/language and ease of reading.
    
    PR-URL: nodejs#10579
    Fixes: nodejs#9063
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    kaicataldo authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    4edd3c2 View commit details
    Browse the repository at this point in the history
  20. util: avoid out-of-bounds arguments index access

    This updates util.inspect() to avoid accessing out-of-range indices of
    the `arguments` object, which is known to cause optimization bailout.
    
    Based on an average of 10 runs of the benchmark in
    `benchmark/util/inspect.js`, this change improves the performance of
    `util.inspect` by about 10%.
    
    Relates to nodejs#10323
    
    PR-URL: nodejs#10569
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    not-an-aardvark authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    74740b2 View commit details
    Browse the repository at this point in the history
  21. benchmark: move punycode benchmark out of net

    punycode/ICU is not specific to any particular module, so move it to
    a more generic location.
    
    PR-URL: nodejs#10446
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    76e9fe3 View commit details
    Browse the repository at this point in the history
  22. benchmark: improve readability of net benchmarks

    PR-URL: nodejs#10446
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    91c59a6 View commit details
    Browse the repository at this point in the history
  23. benchmark: keep decimals in results

    Some benchmarks' results are small values, so keeping decimals when
    running them manually (not comparing) can be helpful.
    
    PR-URL: nodejs#10559
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    0466b59 View commit details
    Browse the repository at this point in the history
  24. events: improve removeListener() performance

    array.shift() seems to be faster than arrayClone() when the item
    to remove is at the front (at least with V8 5.4).
    
    PR-URL: nodejs#10572
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    mscdex authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    053fbb2 View commit details
    Browse the repository at this point in the history
  25. stream: avoid additional validation for Buffers

    These changes result in ~50% improvement in the included benchmark.
    
    PR-URL: nodejs#10580
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    a13b1bc View commit details
    Browse the repository at this point in the history
  26. test: refactor test-beforeexit-event-exit.js

    PR-URL: nodejs#10577
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    9f3a43a View commit details
    Browse the repository at this point in the history
  27. test: improve test-fs-null-bytes

    * use const instead of var
    * use common.mustCall to control functions execution
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    * remove console.error
    
    PR-URL: nodejs#10521
    Reviewed-By: Prince John Wesley <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    ec702b8 View commit details
    Browse the repository at this point in the history
  28. test: fix process.title expectation

    `process.title` would work properly only in FreeBSD, OSX, and Linux as
    per test/parallel/test-setproctitle.js.
    
    This patch makes sure that the test expects an empty string in other
    platforms.
    
    This patch helps fix the SmartOS failures in
    https://ci.nodejs.org/job/node-test-commit/6962/ for
    nodejs#10456
    
    PR-URL: nodejs#10597
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    thefourtheye authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    7e28c9f View commit details
    Browse the repository at this point in the history
  29. test: mark test-tty-wrap as flaky for AIX

    We have had nodejs#9728
    open for a while but the frequency of the failures
    seems to be such that we should mark it as flaky
    while we continue to investigate.
    
    PR-URL: nodejs#10618
    Reviewed-by: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    8923b2f View commit details
    Browse the repository at this point in the history
  30. events: avoid emit() eager deopt

    This commit makes sure EventEmitter.emit() doesn't get deoptimized by
    V8. The deopt happens when accessing out of bound indexes of the
    `arguments` object.
    
    This issue has been raised here: nodejs#10323 and this specific case might
    become a more serious performance issue in upcoming V8 releases.
    
    PR-URL: nodejs#10568
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    vhf authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    91e96ab View commit details
    Browse the repository at this point in the history
  31. benchmark: fix typo "categoty" -> "category"

    PR-URL: nodejs#10568
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    vhf authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    712d305 View commit details
    Browse the repository at this point in the history
  32. test: refactor beforeExit tests

    Combine and rename tests for the `beforeExit` event on `process`.
    
    The naming now more closely follows the de facto conventions of the
    project.
    
    The two tests were very similar and do not seem to benefit from being
    separate.
    
    PR-URL: nodejs#10581
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    aa48bbf View commit details
    Browse the repository at this point in the history
  33. doc: mention cc-ing nodejs/python team for reviews

    Add the nodejs/python github team to the table of people to /cc for
    reviews on python code.
    
    PR-URL: nodejs#10637
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    38396b3 View commit details
    Browse the repository at this point in the history
  34. url: change null password handling

    Pulls in new URL parsing tests from w3c web-platform-tests and updates
    null password handling.
    
    Refs: web-platform-tests/wpt@e001240
    Refs: whatwg/url#186
    PR-URL: nodejs#10601
    Fixes: nodejs#10595
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    7c77852 View commit details
    Browse the repository at this point in the history
  35. url: do not decode arbitrary %2e sequences in paths

    Per a recent change to the URL spec, arbitrary %2e sequences
    in URL paths that are not single or double dot segments are
    not to be decoded.
    
    Refs: whatwg/url#87
    Refs: whatwg/url#156
    Refs: web-platform-tests/wpt@d93247d
    Fixes: nodejs#10598
    PR-URL: nodejs#10602
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    0646366 View commit details
    Browse the repository at this point in the history
  36. meta: decharter the http working group

    Fixes: nodejs/CTC#41
    
    PR-URL: nodejs#10604
    Fixes: https://github.com/nodejs/CTC#41
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    jasnell authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    3bd16b0 View commit details
    Browse the repository at this point in the history
  37. test: refactor test-stream-transform-object

    * use common.mustCall() as appropriate
    * eliminate exit handler
    * var -> const/let
    * provide duration for setInterval()
    
    PR-URL: nodejs#10588
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    ef4c9ce View commit details
    Browse the repository at this point in the history
  38. test: improve test-fs-access

    * use const and let instead of var
    * use common.mustCall to control functions execution
    * use assert.ifError instead of assert.strictEqual for errors
    * use arrow functions
    
    PR-URL: nodejs#10542
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    649af4c View commit details
    Browse the repository at this point in the history
  39. test: check error and cleanups in test-fs-read-buffer

    Use arrow functions and prefer `strictEqual` over `deepStrictEqual`
    where it works.
    
    PR-URL: nodejs#10611
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    addaleax authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    2b5e531 View commit details
    Browse the repository at this point in the history
  40. doc: new TLSSocket has no secure context options

    Unlike all the other tls APIs, if any secure context configuration is
    required, the caller is responsible for creating the context.
    
    Corrects a doc regression introduced in caa7fa9.
    
    PR-URL: nodejs#10545
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    9721ddf View commit details
    Browse the repository at this point in the history
  41. test: refactor the code in test-util-debug.js

    * use const and let instead of var
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    * removed unwanted console log
    
    PR-URL: nodejs#10531
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    sivaprs authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    be1385b View commit details
    Browse the repository at this point in the history
  42. doc: killSignal option accepts integer values

    `killSignal` option accepts the signal name or signal number as well.
    
    PR-URL: nodejs#10424
    Reviewed-By: Julian Duque <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    thefourtheye authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    1aa359e View commit details
    Browse the repository at this point in the history
  43. http: eliminate capture of ClientRequest in Agent

    Keepalive sockets that are returned to the agent's freesocket pool were
    previously capturing a reference to the ClientRequest that initiated the
    request.
    
    This commit eliminates that by moving the installation of the socket
    listeners to a different function.
    
    PR-URL: nodejs#10134
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    evantorrie authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    ac82dbc View commit details
    Browse the repository at this point in the history
  44. test: improve test-event-emitter-modify-in-emit

    * use let instead of var
    * use assert.strictEqual instead of assert.equal
    * swap assertions arguments to match the standard
    
    PR-URL: nodejs#10600
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    7032f81 View commit details
    Browse the repository at this point in the history
  45. test: s/assert.notEqual()/assert.notStrictEqual()/

    PR-URL: nodejs#10541
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    cjihrig authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    9e4d439 View commit details
    Browse the repository at this point in the history
  46. src: reduce test_inspector_socket_server output

    Currently, when test/cctest/test_inspector_socket_server.cc is run there
    is output written to stderr by src/inspector_socket_server.cc which is
    interleaved with the gtest report:
    
    Debugger listening on port 9229.
    Warning: This is an experimental feature and could change at any time.
    To start debugging, open the following URLs in Chrome:
      ...
    
    The goal of this commit is to remove the above logged information
    by introducing an out_ member in the InspectorSocketServer class
    which defaults to stderr (keeping the current behavior).
    
    Setting out_ to NULL is supported in which case nothing will be written
    and is what the test has been configured with. When working on specific
    test case the appropriate output stream can be specified for the
    ServerHolder constructor to limit logging to that test case.
    
    PR-URL: nodejs#10537
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Eugene Ostroukhov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    danbev authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    e9fd084 View commit details
    Browse the repository at this point in the history
  47. deps: add test for v8 bug in toUpper('ç')

    * add test for ç/Ç in various locales
    
    PR-URL: nodejs#9828
    Fixes: nodejs#9785
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    srl295 authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    07b0359 View commit details
    Browse the repository at this point in the history
  48. benchmark,lib,test: adjust for linting

    Formatting changes for upcoming linter update.
    
    PR-URL: nodejs#10561
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    a6c4a2e View commit details
    Browse the repository at this point in the history
  49. tools: update ESLint to current version

    We have been stalled on ESLint 3.8.0 for some time. Current ESLint is
    3.13.0. We have been unable to upgrade because of more aggressive
    reporting on some rules, including indentation.
    
    ESLint configuration options and bugfixes are now such that we can
    reasonably upgrade.
    
    PR-URL: nodejs#10561
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    fa0fdaa View commit details
    Browse the repository at this point in the history
  50. tools: remove custom align-function-arguments rule

    ESLint `indent` rule now has options that duplicate functionality in our
    custom `align-function-arguments` rule. Remove
    `align-function-arguments` custom rule.
    
    PR-URL: nodejs#10561
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    ac61513 View commit details
    Browse the repository at this point in the history
  51. tools: remove no-useless-regex-char-class-escape

    The `no-useless-regex-char-class-escape` custom lint rule was introduced
    as a less aggressive alternative to some enhancements that were
    introduced into ESLint. Those enhancements were blocking us from
    updating ESLint. However, they have since been relaxed and the custom
    rule is no longer needed. Remove it.
    
    PR-URL: nodejs#10561
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    4ea3308 View commit details
    Browse the repository at this point in the history
  52. test: provide duration/interval to timers

    There are places in the code base where setTimeout() or
    setInterval() are called with just a callback and no duration/interval.
    The timers module will use a value of `1` in that situation.
    
    An unspecified duration or interval can be confusing. Did the original
    author forget to provide a value? Did they intend to use setImmediate()
    or process.nextTick() instead of setTimeout()? And so on.
    
    This change provides a duration or interval of `1` to all calls in the
    codebase where it is missing. `parallel/test-timers.js` still tests the
    situation where `setTimeout()` and `setInterval()` are called with
    `undefined` and other non-numeric values for the duration/interval.
    
    PR-URL: nodejs#9472
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    21a929e View commit details
    Browse the repository at this point in the history
  53. tools: add lint rule to enforce timer arguments

    Add a custom ESLint rule to require that setTimeout() and setInterval()
    get called with at least two arguments. This prevents omitting the
    duration or interval.
    
    PR-URL: nodejs#9472
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    8501a75 View commit details
    Browse the repository at this point in the history
  54. test: refactor test-fs-utimes

    * favor `===` over `==`
    * `var` -> `const`/`let`
    * use `common.mustCall()`
    
    PR-URL: nodejs#9290
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jun-oka authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    4990feb View commit details
    Browse the repository at this point in the history
  55. test: improve test-fs-readfile-zero-byte-liar

    * use const instead of var
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    
    PR-URL: nodejs#10570
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    26e6233 View commit details
    Browse the repository at this point in the history
  56. test: improve test-http-chunked-304

    * change the nested functions call to run tests in parallel
    * use const and let instead of var
    * use common.mustCall to control functions execution
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    
    PR-URL: nodejs#10462
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Prince John Wesley <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    8665afc View commit details
    Browse the repository at this point in the history
  57. test: improve test-fs-write-file-sync

    * use let and const instead of var
    * use assert.strictEqual instead of assert.equal
    * swap assertions arguments to match the standard
    
    PR-URL: nodejs#10624
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    edsadr authored and italoacasas committed Jan 19, 2017
    Configuration menu
    Copy the full SHA
    a7e57d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2017

  1. test: improve code in test-https-strict

    * use let and const instead of var
    * use assert.strictEqual instead of assert.equal
    * remove unused var
    
    PR-URL: nodejs#10648
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    752db2a View commit details
    Browse the repository at this point in the history
  2. url: allow use of URL with http.request and https.request

    PR-URL: nodejs#10638
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    jasnell authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    958319e View commit details
    Browse the repository at this point in the history
  3. test: allow testing uid and gid separately

    This commit lets the uid and gid options of spawn() to be
    tested independently of one another based on the user's uid
    and gid.
    
    Fixes: nodejs#10646
    PR-URL: nodejs#10647
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    cjihrig authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5162337 View commit details
    Browse the repository at this point in the history
  4. test: refactor the code in test-child-process-spawn-loop.js

    * use const and let instead of var
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    
    PR-URL: nodejs#10605
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sivaprs authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    e83d626 View commit details
    Browse the repository at this point in the history
  5. test: improve zlib-from-gzip-with-trailing-garbage

    * use assert.strictEqual instead of assert.equal
    * add RegExp in second argument of assert.throws
    * validate error message and code
    
    PR-URL: nodejs#10674
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    lfkwtz authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    37bdf59 View commit details
    Browse the repository at this point in the history
  6. test,cluster: add test-cluster-worker-deprecated

    Add test to cover setter for deprecated cluster Worker property.
    Previously, the setter was not being exercised in tests.
    
    PR-URL: nodejs#10675
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    9a228d8 View commit details
    Browse the repository at this point in the history
  7. http: define all used properties in constructors

    Adding all used properties in the constructor makes the hidden class
    stable and heap snapshots more verbose.
    
    Refs: nodejs#8912
    PR-URL: nodejs#9116
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    vitkarpov authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    b7ad52c View commit details
    Browse the repository at this point in the history
  8. test: refactor test-watch-file.js

    * use const and let instead of var
    * use arrow function
    * removed console.log statements
    
    PR-URL: nodejs#10679
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    sivaprs authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    d930716 View commit details
    Browse the repository at this point in the history
  9. doc: document use of Refs: for references

    Standardise on Refs:
    
    PR-URL: nodejs#10670
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yorkie Liu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    gibfahn authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    eff0ef2 View commit details
    Browse the repository at this point in the history
  10. doc: update BUILDING.md

    Added a note about Visual Studio 2015 feature which should
    be installed for building Node.js source code.
    
    PR-URL: nodejs#10669
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    lukaszgasior authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    172c19f View commit details
    Browse the repository at this point in the history
  11. test: improve the code in test-process-hrtime

    * use const instead of var
    * use assert.strictEqual instead of assert.equal and plain assert
    * use arrow functions
    * swap assertions arguments to match the standard
    * validate the error for assert.throws
    
    PR-URL: nodejs#10667
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    34fe56a View commit details
    Browse the repository at this point in the history
  12. doc: specify sorted requires in tests

    And allow anchor links to the various sections, to more easily reference
    them when reviewing PRs.
    
    PR-URL: nodejs#10716
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    19e1220 View commit details
    Browse the repository at this point in the history
  13. test: improve test-crypto-rsa-dsa

    * use const and let instead of var
    * use assert.strictEqual or assert.strictDeepEqual instead of assert.equal
    * use arrow functions
    * swap assertions arguments to match the standard
    * validate the error for assert.throws
    
    PR-URL: nodejs#10681
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    4019398 View commit details
    Browse the repository at this point in the history
  14. test: refactor test-doctool-html.js

    PR-URL: nodejs#10696
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    71ac1c9 View commit details
    Browse the repository at this point in the history
  15. test: fix misplaced ) in http response statuscode test

    This fixes a misplaced parenthesis in each of the tests in
    test/parallel/test-http-response-statuscodes.js, causing the tests to
    pass as long as any error was thrown, without validating the error
    message.
    
    PR-URL: nodejs#10692
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    nfriedly authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    6a6e9f1 View commit details
    Browse the repository at this point in the history
  16. test: validate 'expected' argument to mustCall()

    instead of silently overwriting invalid values with the default
    
    PR-URL: nodejs#10692
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    nfriedly authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    6eb78e4 View commit details
    Browse the repository at this point in the history
  17. doc: correct vcbuild options for windows testing

    Corrected parameter for running tests on Windows. Without the corrected
    parameters, Windows users encounter an error about failing to sign the
    build, "Failed to sign exe", which can be discouraging to new Windows
    community members.
    
    PR-URL: nodejs#10686
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    jboarman authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    2e64542 View commit details
    Browse the repository at this point in the history
  18. doc: update LTS info for current releases

    The COLLABORATOR_GUIDE was still listing v0.10 and v0.12 as LTS when
    they are EOL now.
    
    PR-URL: nodejs#10720
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    99326a9 View commit details
    Browse the repository at this point in the history
  19. lib: refactor crypto cipher/hash/curve getters

    * refactor internal util.filterDuplicateStrings() to eliminate unused
      code paths
    * `.indexOf()` -> `.includes()` in test
    * more concise arrow functions
    
    PR-URL: nodejs#10682
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    10a978f View commit details
    Browse the repository at this point in the history
  20. test: refactor the code of test-keep-alive.js

    * use const and let instead of var
    * use assert.strictEqual instead of assert.equal
    * use arrow functions
    * removed console.log statements
    
    PR-URL: nodejs#10684
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    sivaprs authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    8b50ba4 View commit details
    Browse the repository at this point in the history
  21. doc: "s/git apply/git am -3" in V8 guide

    git apply does not preserve the original commit message. These updated
    instructions offer a simpler flow for backporting.
    
    PR-URL: nodejs#10665
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michal Zasso <[email protected]>
    MylesBorins authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    19806da View commit details
    Browse the repository at this point in the history
  22. test: refactor test-crypto-padding-aes256

    * replace var with const/let
    * replace assert.equal() with assert.strictEqual()
    
    PR-URL: nodejs#10622
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    radelmann authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    f9d797a View commit details
    Browse the repository at this point in the history
  23. doc: fix missing negation in stream.md

    Changing `..can result in expected` to `..can result in unexpected`
    
    Fixes: nodejs#10710
    PR-URL: nodejs#10712
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    jrieken authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    a09cb27 View commit details
    Browse the repository at this point in the history
  24. doc: add test naming information to guide

    The guide for writing tests is missing information on how tests are
    named. This adds that information.
    
    There is also some copy-editing done on the first paragraph of the
    guide.
    
    PR-URL: nodejs#10584
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    a578ecf View commit details
    Browse the repository at this point in the history
  25. test: refactor cluster-preload.js

    PR-URL: nodejs#10701
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    f4e4a43 View commit details
    Browse the repository at this point in the history
  26. https: Use secureProtocol in Agent#getName

    Refs: nodejs#9324
    PR-URL: nodejs#9452
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    papandreou authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    6add91d View commit details
    Browse the repository at this point in the history
  27. test: use eslint to fix var->const/let

    Manually fix issues that eslint --fix couldn't do automatically.
    
    PR-URL: nodejs#10685
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    gibfahn authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    14dd85a View commit details
    Browse the repository at this point in the history
  28. assert, tools: enforce strict (not)equal in eslint

    Extend no-restricted-properties to catch use of assert.equal() and
    assert.notEqual() and require assert.strictEqual() or
    assert.notStrictEqual() instead.
    
    Also update the eslint-ignore in lib/assert.js to avoid
    assert.equal/notEqual linter errors in their definitions.
    
    PR-URL: nodejs#10698
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    gibfahn authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5159f6c View commit details
    Browse the repository at this point in the history
  29. doc: handle backpressure when write() return false

    The doc specified that writable.write() was advisory only. However,
    ignoring that value might lead to memory leaks. This PR specifies that
    behavior. Moreover, it adds an example on how to listen for the 'drain'
    event correctly.
    
    See: nodejs@f347dad
    PR-URL: nodejs#10631
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    mcollina authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    0700468 View commit details
    Browse the repository at this point in the history
  30. doc: sort require statements in tests

    PR-URL: nodejs#10616
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Prince John Wesley <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5576f8a View commit details
    Browse the repository at this point in the history
  31. doc: mention cc-ing nodejs/url team for reviews

    Add the nodejs/url github team to the table of people to /cc for
    reviews on the WHATWG URL code.
    
    PR-URL: nodejs#10652
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    23f85ab View commit details
    Browse the repository at this point in the history
  32. test: add test for noAssert option in buf.read*()

    PR-URL: nodejs#10713
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    larissayvette authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5e019ca View commit details
    Browse the repository at this point in the history
  33. doc: fix misleading language in vm docs

    The note following the http.Server example in the vm documentation
    contains misleading language. This commit removes the incorrect
    reference to threads.
    
    Fixes: nodejs#10697
    PR-URL: nodejs#10708
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aqrln authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    0a548dc View commit details
    Browse the repository at this point in the history
  34. doc: edit writing-tests.md

    * Remove passive voice
    * Remove unneeded modifiers
    * Minor comma change
    
    PR-URL: nodejs#10585
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    beedd45 View commit details
    Browse the repository at this point in the history
  35. src: enable writev for pipe handles on Unix

    This commit enables writev for Unix Domain Sockets on supported
    platforms thus enabling cork/uncork functionality for them and
    improving IPC performance.
    
    Fixes: nodejs#5095
    PR-URL: nodejs#10677
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aqrln authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    dd71bf8 View commit details
    Browse the repository at this point in the history
  36. test: move resource intensive test to sequential

    test-fs-readfile-tostring-fail is resource-intensive and is flaky in
    CI. Move to sequential tests so it is not competing for resources with
    other tests.
    
    PR-URL: nodejs#10744
    Fixes: nodejs#10742
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    2199033 View commit details
    Browse the repository at this point in the history
  37. deps: upgrade libuv to 1.10.2

    Refs: nodejs#9439
    Fixes: nodejs#9464
    Fixes: nodejs#9690
    PR-URL: nodejs#10717
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
    cjihrig authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    3ad4a7b View commit details
    Browse the repository at this point in the history
  38. benchmark: don't lint autogenerated modules

    PR-URL: nodejs#10756
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c5ee4ba View commit details
    Browse the repository at this point in the history
  39. doc: update writable.write return value

    Fix the explanation which stated that write() would return false if
    highWaterMark is exceeded to correctly state that false is returned
    once highWaterMark is reached. See nodejs#9247.
    
    PR-URL: nodejs#10582
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    binki authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    3d7d422 View commit details
    Browse the repository at this point in the history
  40. test: move common tls connect setup into fixtures

    TLS connection setup boilerplate is common to many TLS tests, factor it
    into a test fixture so tests are clearer to read and faster to write.
    
    PR-URL: nodejs#10389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    2be1fdc View commit details
    Browse the repository at this point in the history
  41. test: check tls server verification with addCACert

    SecureContext.addCACert() adds to the existing root store,
    preserving root cert entries. option.ca is applied without
    calling SecureContext.addRootCerts() so should add to
    the default, empty, root store.
    
    This test confirms that the built-in root CAs are not included
    when options.ca is used.
    
    Based on:
    
    shigeki@acd5837
    
    PR-URL: nodejs#10389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    b77b1bb View commit details
    Browse the repository at this point in the history
  42. doc: use correct tls certificate property name

    Docs referred to an `issuer` property being optionally present, when it
    should have referred to the `issuerCertificate` property.
    
    PR-URL: nodejs#10389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    243944e View commit details
    Browse the repository at this point in the history
  43. test: tls cert chain completion scenarios

    PR-URL: nodejs#10389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5fc722b View commit details
    Browse the repository at this point in the history
  44. doc,test: tls .ca option supports multi-PEM files

    PR-URL: nodejs#10389
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    f119220 View commit details
    Browse the repository at this point in the history
  45. eslint: remove dangling eslint symlink

    Reapplication of nodejs#9299 since the
    symlink was re-added in f44969a.
    
    PR-URL: nodejs#10771
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    9eb6d6b View commit details
    Browse the repository at this point in the history
  46. test: fix linting for test-tls-add-ca-cert.js

    Fix lint error introduced in ea72331
    
    PR-URL: nodejs#10771
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    sam-github authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    f7f2bfc View commit details
    Browse the repository at this point in the history
  47. test: use realpath for NODE_TEST_DIR in common.js

    If you don't specify NODE_TEST_DIR, common.tmpDir will resolve to the
    realpath of `node/test`.
    
    If you do specify NODE_TEST_DIR (with the environment variable or by
    running or by running tools/test.py --test-dir=x), common.tmpDir (which
    is resolved from testRoot) uses the symbolic path (doesn't resolve
    symlinks). This uses fs.realpathSync() to fix that.
    
    PR-URL: nodejs#10723
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gibfahn authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    76cd2b9 View commit details
    Browse the repository at this point in the history
  48. test: fix temp-dir option in tools/test.py

    If a temp-dir is specified and already exists, the NODE_TEST_DIR
    environment variable will never be set. This fixes that.
    
    PR-URL: nodejs#10723
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gibfahn authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c4d3625 View commit details
    Browse the repository at this point in the history
  49. readline: refactor construct Interface

    Remove the dependency on the arguments.length.
    
    PR-URL: nodejs#4740
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    JacksonTian authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    b987cae View commit details
    Browse the repository at this point in the history
  50. test: improve tests in pummel/test-exec

    * add asset.strictEqual to stdout and stderr. Fixes no-unused-vars.
    * replace double quotes with single
    
    PR-URL: nodejs#10757
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    chasestarr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5ef5147 View commit details
    Browse the repository at this point in the history
  51. test: no unused args test-fs-watch-file.js

    PR-URL: nodejs#10758
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    istinson authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    a38db9c View commit details
    Browse the repository at this point in the history
  52. doc: remove duplicate properties bullet in readme

    PR-URL: nodejs#10741
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    trendsetter37 authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    3797401 View commit details
    Browse the repository at this point in the history
  53. lib: refactor bootstrap_node.js regular expression

    * use `+` instead of `*` where one-or-more is required
    * switch from String.prototype.match() to RegExp.prototype.test()
    
    PR-URL: nodejs#10749
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    853fd7a View commit details
    Browse the repository at this point in the history
  54. test: check error msg test-writeint.js

    PR-URL: nodejs#10755
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    liirene1 authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    02fa0b3 View commit details
    Browse the repository at this point in the history
  55. http: optimize short path validation

    PR-URL: nodejs#10654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    7d45581 View commit details
    Browse the repository at this point in the history
  56. http: avoid duplicate isArray()

    PR-URL: nodejs#10654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    072e53b View commit details
    Browse the repository at this point in the history
  57. http: misc ClientRequest cleanup

    PR-URL: nodejs#10654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    1d9c89a View commit details
    Browse the repository at this point in the history
  58. benchmark: add ClientRequest creation benchmark

    PR-URL: nodejs#10654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    43ffc9a View commit details
    Browse the repository at this point in the history
  59. test: add http.ClientRequest defaults test

    PR-URL: nodejs#10654
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    5713e74 View commit details
    Browse the repository at this point in the history
  60. benchmark: use "confidence" in output of compare.R

    Use the word "confidence" to indicate the confidence level of
    the p value so it's easier to understand.
    With this change more stars in the output of compare.R means
    higher confidence level (lower significance level).
    
    PR-URL: nodejs#10737
    Refs: nodejs#10439
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    joyeecheung authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    a8dbdae View commit details
    Browse the repository at this point in the history
  61. fs: ensure readFile[Sync] reads from the beginning

    It would previously read from the current file position, which can be
    non-zero if the `fd` has been read from or written to. This contradicts
    the documentation which states that it "reads the entire contents of a
    file".
    
    PR-URL: nodejs#9699
    Fixes: nodejs#9671
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    seishun authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    d1edb2a View commit details
    Browse the repository at this point in the history
  62. benchmark: improve WHATWG URL benchmarks

    * add benchmark to compare the performance of getting url
      properties between the WHATWG URL and the legacy implementation
    * add benchmark to compare the performance of serializing urls
      between the WHATWG URL and the legacy implementation
    * refactor the benchmark for comparing parsing performance
      between the two implementations
    
    PR-URL: nodejs#10678
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    joyeecheung authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    f3330d2 View commit details
    Browse the repository at this point in the history
  63. util: improve readability of normalizeEncoding

    * Improve readability of util.normalizeEncoding
      and add some comments
    * Add a benchmark for util.normalizeEncoding
    
    PR-URL: nodejs#10439
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    joyeecheung authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    53683e0 View commit details
    Browse the repository at this point in the history
  64. test,repl: add coverage for repl .clear+useGlobal

    Add a test to cover situation where REPL is initialized with `useGlobal`
    set to `true` and `.clear` is called. This adds coverage for code in
    repl.js that is not currently covered.
    
    Includes minor refactor of rocket functions in repl.js for concision.
    
    PR-URL: nodejs#10777
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    ef27753 View commit details
    Browse the repository at this point in the history
  65. benchmark: cleanup child_process IPC benchmark

    Squashed from:
    - child_process: fix IPC bench to obey send() ret val
    - child_process: fix IPC benchmark message has two more bytes
    - child_process: use setImmediate for IPC bench
    
    PR-URL: nodejs#10557
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    ypresto authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    fea95d7 View commit details
    Browse the repository at this point in the history
  66. child_process: optimize IPC for large data

    Squashed from:
    - child_process: stop indexOf() on whole IPC buffer
    - child_process: get rid of forEach() and slice() in IPC
    - child_process: get rid of another forEach() in IPC
    
    Fixes: nodejs#3145
    PR-URL: nodejs#10557
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    ypresto authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    b831d9a View commit details
    Browse the repository at this point in the history
  67. doc: fix broken internal link in process.md

    PR-URL: nodejs#10828
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    ddb1358 View commit details
    Browse the repository at this point in the history
  68. test: skip test-icu-transcode if Intl is not present

    use common.hasIntl to make sure Intl object is present or not.
    
    PR-URL: nodejs#10707
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    watilde authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c9f99e2 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    4986ab0 View commit details
    Browse the repository at this point in the history
  70. test: add test case to test-http-response-statuscode.js

    Change regular expression of error message.
    Add test case(`res.writeHead()`).
    
    PR-URL: nodejs#10808
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    e4b58a5 View commit details
    Browse the repository at this point in the history
  71. test: delete duplicate test of noAssert in readUInt*

    PR-URL: nodejs#10791
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    larissayvette authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    05652b0 View commit details
    Browse the repository at this point in the history
  72. test,util: remove lint workarounds

    Remove assignments to `SIMD` that are only to pacify ESLint. Instead,
    use either `global.SIMD` or provide an comment letting ESLint know in
    cases where `SIMD` is guaranteed to be a defined global identifier.
    
    PR-URL: nodejs#10785
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    94450d3 View commit details
    Browse the repository at this point in the history
  73. test: improve test-fs-write-stream-throw-type

    * validate the errors for all assert.throws
    * use arrow functions
    
    PR-URL: nodejs#10779
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    393dd5f View commit details
    Browse the repository at this point in the history
  74. test: refactor test-cli-eval.js

    * assert unused vars in test-cli-eval.js
    * assert in more idiomatic way test-cli-eval
    * rename status to err in test-cli-eval.js
    
    PR-URL: nodejs#10759
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    StarryShark authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    390eb84 View commit details
    Browse the repository at this point in the history
  75. doc: clarify memory sharing behavior of buffer ctor

    * Clarify that memory is always shared and never copied.
    * Fix wording that sounded like ArrayBuffer has a buffer property.
    
    PR-URL: nodejs#10778
    Ref: nodejs#10770
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zbjornson authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    3735682 View commit details
    Browse the repository at this point in the history
  76. test: increase test-crypto.js strictness

    Confirm that `getCiphers()` contains no duplicates.
    
    PR-URL: nodejs#10784
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    797e1d9 View commit details
    Browse the repository at this point in the history
  77. test: improve the code in test-process-cpuUsage

    * validate the errors for assert.throws
    * use arrow functions
    
    PR-URL: nodejs#10714
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    0df3b4b View commit details
    Browse the repository at this point in the history
  78. crypto,tls: fix mutability of return values

    If you alter the array returned by `tls.getCiphers()`,
    `crypto.getCiphers()`, `crypto.getHashes()`, or `crypto.getCurves()`, it
    will alter subsequent return values from those functions.
    
    ```js
    'use strict';
    
    const crypto = require('crypto');
    
    var hashes = crypto.getHashes();
    
    hashes.splice(0, hashes.length);
    
    hashes.push('some-arbitrary-value');
    
    console.log(crypto.getHashes()); // "['some-arbitrary-value']"
    ```
    
    This is surprising. Change functions to return copy of array instead.
    
    PR-URL: nodejs#10795
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c98789a View commit details
    Browse the repository at this point in the history
  79. test: improve code in test-domain-multi

    * use common.mustCall to validate functions executions
    * use common.fail to control error
    * remove unnecessary variables
    * remove unnecessary assertions
    * remove console.log and console.error
    * use arrow functions
    
    PR-URL: nodejs#10798
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    4f400a0 View commit details
    Browse the repository at this point in the history
  80. build: don't squash signal handlers with --shared

    An application using node built as a shared library may legitimately
    implement its own signal handling routines. Current behaviour is
    to squash all signal handlers on node startup. This change will
    stop that behaviour when node is built as a shared library.
    
    PR-URL: nodejs#10539
    Fixes: nodejs#10520
    Refs: nodejs#615
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Stewart X Addison authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    e8ee2af View commit details
    Browse the repository at this point in the history
  81. test: improve code in test-console-instance

    * use common.mustCall to validate functions executions
    * use common.fail to check test fail
    * improve error validations
    * remove unnecessary assertions
    * use arrow functions
    
    PR-URL: nodejs#10813
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    675a292 View commit details
    Browse the repository at this point in the history
  82. test: improving coverage for dgram

    PR-URL: nodejs#10783
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    d24dc56 View commit details
    Browse the repository at this point in the history
  83. lib: remove unnecessary parameter for assertCrypto()

    The `exports` parameter is unnecessary.
    
    PR-URL: nodejs#10834
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    JacksonTian authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    33e7efb View commit details
    Browse the repository at this point in the history
  84. doc: add missing added: tag for zlib.constants

    PR-URL: nodejs#10826
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    a1601cc View commit details
    Browse the repository at this point in the history
  85. doc: fixup added tags in cli.md

    PR-URL: nodejs#10826
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    c6e8129 View commit details
    Browse the repository at this point in the history
  86. build: move source files from headers section

    Currently, the sources list contains sources and headers which are
    separated by a comment. I noticed two .cc files after the headers
    comment and this commit moves those files the start of the list
    where the rest of source files are.
    
    PR-URL: nodejs#10850
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    danbev authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    ff70a55 View commit details
    Browse the repository at this point in the history
  87. doc: remove duplicate PR link from changelog

    This contained a duplicate link to the PR for a notable change,
    presumably because that PR was composed of 2 separate commits.
    
    PR-URL: nodejs#10827
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    6bc3ce4 View commit details
    Browse the repository at this point in the history
  88. doc: fix markdown escaping in CHANGELOG_V7.md

    PR-URL: nodejs#10827
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    86cb2f5 View commit details
    Browse the repository at this point in the history
  89. doc: add links for zlib convenience methods

    Add links to the engine classes for the zlib single-call
    convenience methods.
    
    PR-URL: nodejs#10829
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    4aa07cb View commit details
    Browse the repository at this point in the history
  90. test: tests for _readableStream.awaitDrain

    Fixes: nodejs#8684
    PR-URL: nodejs#8914
    Reviewed-By: Matteo Collina <[email protected]>
    shmuga authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    ce443a6 View commit details
    Browse the repository at this point in the history
  91. fs: remove unused parameter for encodeRealpathResult

    The third parameter `err` is not used anywhere.
    
    PR-URL: nodejs#10862
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    JacksonTian authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    66df57c View commit details
    Browse the repository at this point in the history
  92. test: improving coverage of dns-lookup

    PR-URL: nodejs#10844
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    54d52aa View commit details
    Browse the repository at this point in the history
  93. test: add http-common's test

    PR-URL: nodejs#10832
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    hiroppy authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    ed2f461 View commit details
    Browse the repository at this point in the history
  94. doc: HTTP response getHeader doc fix

    According to nodejs#10803
    getHeader need not be called only before it is flushed implicitly.
    
    PR-URL: nodejs#10817
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    fhalde authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    714e04b View commit details
    Browse the repository at this point in the history
  95. benchmark: add benchmark for vm.runIn*()

    Introduce benchmarks for vm.runInContext() and vm.runInThisContext().
    
    PR-URL: nodejs#10816
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    b1e2dc7 View commit details
    Browse the repository at this point in the history
  96. vm: improve performance of vm.runIn*()

    Optimize for common cases in vm.runInContext() and
    vm.runInThisContext().
    
    PR-URL: nodejs#10816
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    cdae2f6 View commit details
    Browse the repository at this point in the history
  97. doc: clarifying variables in fs.write()

    This commit clarifies variables in the Filesystem docs.
    Prior, the documentation for fs.write() had an ambiguous
    remark on the parameters of offset and length.
    
    Therefore, this commit makes explicit that the length parameter
    in fs.write() is used to denote the number of bytes, which is
    a clearer reference for its usage.
    
    PR-URL: nodejs#9792
    Ref: nodejs#7868
    Reviewed-By: Sam Roberts <[email protected]>
    jalafel authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    788ae24 View commit details
    Browse the repository at this point in the history
  98. doc: add edsadr to collaborators

    PR-URL: nodejs#10883
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Italo A. Casas <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    edsadr authored and italoacasas committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    d6af213 View commit details
    Browse the repository at this point in the history