Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

V5.11.0 proposal #6321

Closed
wants to merge 1,219 commits into from
Closed

V5.11.0 proposal #6321

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

Commits on Mar 16, 2016

  1. doc: remove non-standard use of hyphens

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commits on Mar 21, 2016

  1. contextify: tie lifetimes of context & sandbox

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

Commits on Mar 22, 2016

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commits on Mar 23, 2016

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

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

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

Commits on Mar 24, 2016

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

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

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

Commits on Mar 30, 2016

  1. Add @mhdawson back to the CTC

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

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

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

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

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

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

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

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

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

Commits on Mar 31, 2016

  1. build: enable compilation for linuxOne

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Commits on Apr 1, 2016

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

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

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

Commits on Apr 2, 2016

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

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

Commits on Apr 5, 2016

  1. net: refactor self=this to arrow functions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    PR-URL: #6060
    Myles Borins committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    fc19a8b View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2016

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

    PR-URL: #6076
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Vladimir Varankin authored and Myles Borins committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    60a73a2 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. src: replace ARRAY_SIZE with typesafe arraysize

    To prevent `ARRAY_SIZE(&arg)` (i.e., taking the array size of a pointer)
    from happening again.
    
    PR-URL: #5969
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    2fd8be2 View commit details
    Browse the repository at this point in the history
  2. src: use size_t for http parser array size fields

    Make the `num_values_` and `num_fields_` unsigned and remove an
    erroneous comment.
    
    PR-URL: #5969
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    20bb92f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2016

  1. zlib: fix gzip member head/buffer boundary issue

    Make sure that, even if an `inflate()` call only sees the first
    few bytes of a following gzip member, all members are decompressed
    and part of the full output.
    
    Adds tests for the special case that the first `inflate()` call
    receives only the first few bytes of a second gzip member but
    not the whole header (or even just the magic bytes).
    
    This is a backport of #5883 and contains additional changes to
    make sure that the behaviour on encountering trailing garbage
    remains the same (namely to silently discard it if one full member
    has already been decompressed).
    
    PR-URL: #5973
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and jasnell committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    61167c3 View commit details
    Browse the repository at this point in the history
  2. lib: remove bootstrap global context indirection

    PR-URL: #5881
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    
    Conflicts:
    	lib/internal/bootstrap_node.js
    	src/node.cc
    Fishrock123 authored and Myles Borins committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    d4abca5 View commit details
    Browse the repository at this point in the history
  3. net: support DNS hints in createConnection()

    This commit adds support for passing DNS lookup hints to
    createConnection().
    
    PR-URL: #6000
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    
    Conflicts:
    	test/parallel/test-net-create-connection.js
    cjihrig authored and Myles Borins committed Apr 15, 2016
    Configuration menu
    Copy the full SHA
    6d9c0c9 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2016

  1. test: fix pummel test failures

    A handful of tests in `test/pummel` were failing due to undefined
    variables.
    
    The tests in pummel are not run in CI or otherwise exercised regularly
    so these failures can go unnoticed for a long time.
    
    PR-URL: #6012
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    8da4bad View commit details
    Browse the repository at this point in the history
  2. src: add missing 'inline' keywords

    The BaseObject constructor and destructor should not have external
    linkage because BaseObject is a header-only construct.  Add the
    necessary 'inline' keywords.
    
    PR-URL: #6056
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    fbc99ba View commit details
    Browse the repository at this point in the history
  3. doc: note about Android support

    PR-URL: #6040
    Refs: #6035
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    bc0ee06 View commit details
    Browse the repository at this point in the history
  4. test: enforce strict mode for test-domain-crypto

    The last change to this test landed before a nit about strict mode was
    addressed, so this change addresses that.
    
    PR-URL: #6047
    Refs: #6017
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a27e952 View commit details
    Browse the repository at this point in the history
  5. build: remove -f{data,function}-sections flags

    We don't link with `--gc-sections` because it's unreliable with some
    toolchains, so all these flags do is make the compiler generate slightly
    worse code.  Drop them.
    
    Refs: #6056
    PR-URL: #6077
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a5f8d0c View commit details
    Browse the repository at this point in the history
  6. doc: simple doc typo fix

    decipher.setAuthPadding canged to decipher.setAutoPadding
    
    PR-URL: #6041
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    BrendonPierson authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    07829b0 View commit details
    Browse the repository at this point in the history
  7. doc: update openssl LICENSE using license-builder.sh

    * due to: openssl bump in 1f43478
    
    PR-URL: #6065
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    srl295 authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    96ad5c5 View commit details
    Browse the repository at this point in the history
  8. deps: backport 125ac66 from v8 upstream

    As requested in #5221
    
    Original commit message:
    
      fix debug command processor wrt restart frame.
    
      [email protected]
      BUG=v8:4757
      LOG=N
    
      Review URL: https://codereview.chromium.org/1700693002
    
      Cr-Commit-Position: refs/heads/master@{#33983}
    
    PR-URL: #6086
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    632e6b9 View commit details
    Browse the repository at this point in the history
  9. test: refactor test-file-write-stream3

    * use common.mustCall() to verify all tests have run
    * eliminate unneeded removeTestFile()
    * eliminate unneeded var leaking into global scope
    * var -> const
    * remove instance of let
    
    PR-URL: #6050
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    6bb7999 View commit details
    Browse the repository at this point in the history
  10. doc: add example using algorithms not directly exposed

    PR-URL: #6108
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    hillbrad authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    440d117 View commit details
    Browse the repository at this point in the history
  11. buffer: standardize array index check

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

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

    There is some unnecessary logic in repl.js. Remove it.
    
    PR-URL: #6071
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    2254f1a View commit details
    Browse the repository at this point in the history
  14. path: fixing a test that breaks on some machines.

    A win32-only test was verifying that path.win32._makeLong('C:')
    would return the current working directory.  This would only work if
    current working directory was also on the C: device.  Fix is to grab
    the device letter for current working directory, and pass that to
    _makeLong().
    
    PR-URL: #6067
    Reviewed-By: Trott - Rich Trott <[email protected]>
    Reviewed-By: Joao Reis <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Mike Kaufman authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    fc89d17 View commit details
    Browse the repository at this point in the history
  15. test: fix flaky test-http-client-abort

    Fixes: #6080
    PR-URL: #6124
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    476535c View commit details
    Browse the repository at this point in the history
  16. doc: fix scrolling on iOS devices

    Fixes an issue that prevented scrolling from going past large code
    blocks on iOS devices. Also fixes a few minor styling issues that
    came up in the discussion.
    
    Fixes: #5861
    PR-URL: #5878
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Lindstädt <[email protected]>
    lpinca authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a40d0e8 View commit details
    Browse the repository at this point in the history
  17. tools,doc: fix incomplete json produced by doctool

    Doc tool produces incomplete json when it meets unordered lists that
    directly following a heading. Add a default case to processList function
    to handle the lists.
    
    PR-URL: #5966
    Fixes: #1545
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Lindstädt <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    firedfox authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a2dd848 View commit details
    Browse the repository at this point in the history
  18. tools,doc: fix json for grouped optional params

    Current tools/doc/json.js only supports one bracket style for optional
    params methodName(param0[,param1],param2). Add support to other styles
    such as methodName(param0,[param1,]param2) or
    methodName(param0[,param1,param2]) or
    methodName(param0[,param1[,param2]]).
    
    PR-URL: #5977
    Fixes: #5976
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Lindstädt <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    firedfox authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    69eb4a6 View commit details
    Browse the repository at this point in the history
  19. doc: describe child.kill() pitfalls on linux

    This commit refines the documentation around child.kill(), where kill
    attempts against shells will lead to unexpected results. Namely, on
    linux the child process of a child process will not terminate, when
    its parent gets terminated. This is different across the the
    platforms.
    
    PR-URL: #2098
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Closes: #2098
    eljefedelrodeodeljefe authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    5e6915f View commit details
    Browse the repository at this point in the history
  20. doc: clarification for maxBuffer and Unicode output

    Clarify caveats on `maxBuffer` with regards to Unicode output.
    
    Refs: #1901
    PR-URL: #6030
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    jasnell authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    daaad47 View commit details
    Browse the repository at this point in the history
  21. doc: add copy about how to curl SHA256.txt

    Currently we include instructions on how to check the sha of a
    downloaded tar-ball, but do not include instruction on how to
    get the `SHA256.txt` file. This has led to confusion with people
    thinking that the SHA256.txt is included in that tarball.
    
    This commit includes instructions on how to use curl to download the
    `SHA256.txt` prior to the instructions on how to verify the sha.
    
    Refs: nodejs/help#113
    Refs: nodejs/help#137
    PR-URL: #6120
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    b26fea1 View commit details
    Browse the repository at this point in the history
  22. stream: Fix readableState.awaitDrain mechanism

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

    As Node.js expects either Python 2.6 or 2.7 installed to work properly,
    simplejson module is no longer necessary. It was included in Python 2.6
    as the json module.
    
    PR-URL: #6101
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    thefourtheye authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    fabc33a View commit details
    Browse the repository at this point in the history
  24. test: fix flaky test-child-process-fork-net

    Reduce client connections from 10 to 4 in a test that is causing issues
    on Raspberry Pi 2 devices in CI.
    
    Fixes: #5122
    PR-URL: #6138
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a38b614 View commit details
    Browse the repository at this point in the history
  25. deps: cherry-pick 1383d00 from v8 upstream

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

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

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

    PR-URL: #6194
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Amery2010 authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    4fa949e View commit details
    Browse the repository at this point in the history
  29. deps: upgrade npm to 3.8.6

    PR-URL: #6153
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    zkat authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    e3e544e View commit details
    Browse the repository at this point in the history
  30. deps: floating fix for npm's test-node script

    Upstream PR: npm/npm#12310
    
    PR-URL: #6153
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    zkat authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    8ae200c View commit details
    Browse the repository at this point in the history
  31. benchmark: add module loader benchmark parameter

    PR-URL: #5172
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    332f738 View commit details
    Browse the repository at this point in the history
  32. doc: add addaleax to collaborators

    PR-URL: #6224
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    976e4bb View commit details
    Browse the repository at this point in the history
  33. doc: add santigimeno to collaborators

    PR-URL: #6225
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    santigimeno authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a1c46b6 View commit details
    Browse the repository at this point in the history
  34. doc: add iWuzHere to collaborators

    PR-URL: #6226
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    imran-iq authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    117348d View commit details
    Browse the repository at this point in the history
  35. doc: add stefanmb to collaborators

    PR-URL: #6227
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    stefanmb authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a91834e View commit details
    Browse the repository at this point in the history
  36. doc: add domain postmortem

    Do to various reasons, outlined in the committed document, domains were
    only in core for 2 years before being deprecated. This outline explains
    why they received criticism from the community and never gained traction
    with module authors.
    
    Also included is an example script that accompanies the postmortem
    analysis.
    
    PR-URL: #6159
    Reviewed-By: Robert Lindstädt <[email protected]>
    Reviewed-By: Kelvin Knighton <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    trevnorris authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    f3c0b78 View commit details
    Browse the repository at this point in the history
  37. test,vm: enable strict mode for vm tests

    Some vm tests are not in strict mode because they need to create and use
    global variables. By using `global.foo` instead of just `foo`, we can
    still enable strict mode.
    
    PR-URL: #6209
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    d809c84 View commit details
    Browse the repository at this point in the history
  38. doc: clarify fs.watch() and inodes on linux, os x

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

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

    The message argument for `assert.fail()` is the third argument, not the
    first. Correct minor misuse in internal module.
    
    PR-URL: #6211
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    1d40809 View commit details
    Browse the repository at this point in the history
  41. doc: native module reloading is not supported

    Clarify in docs for require.cache that reloading native modules
    isn't supported.
    
    Related: #6160
    PR-URL: #6168
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bengl authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    3f73502 View commit details
    Browse the repository at this point in the history
  42. test,repl: use deepStrictEqual for false-y values

    PR-URL: #6196
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Fishrock123 authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    edd8a15 View commit details
    Browse the repository at this point in the history
  43. doc: explain differences in console.assert between node and browsers

    Provide an example for implementing browser like behavior for console.assert.
    
    This "fixes" #5340 by providing an
    alternative to changing Node.js' implemented behavior. Instead, we
    document the differences and show how to work around them if
    browser like semantics are desired.
    
    Fixes: #5340
    PR-URL: #6169
    Reviewed-By: Robert Jefe Lindstädt <[email protected]>
    Reviewed-By: Jeff Harris <@techjeffharris>
    jasnell authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    3bc3152 View commit details
    Browse the repository at this point in the history
  44. gitignore: ignore VS 2015 *.VC.opendb files

    These files are created by VS 2015 and should be ignored by git.
    
    PR-URL: #6070
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Mike Kaufman authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    6e891c7 View commit details
    Browse the repository at this point in the history
  45. gitignore: adding .vs/ directory to .gitignore

    This is created by vs 2015 for user & machine-specific files and should
    be ignored by git.
    
    PR-URL: #6070
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Mike Kaufman authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    b57be92 View commit details
    Browse the repository at this point in the history
  46. tools: fix license-builder.sh again for ICU

    * Modify tools/license-builder.sh to support ICU 57.1's plain text
    license. (Separate issue to add ICU 57.1 in #6058)
    * Update/regenerate LICENSE to include ICU 57.1's license
    * Note that because the tool was rerun, the change in #6065 is already
    included here.
    
    PR-URL: #6068
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    srl295 authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a6056c4 View commit details
    Browse the repository at this point in the history
  47. doc: document intention and dangers of fs module Buffer API

    PR-URL: #6020
    Reviewed-By: James M Snell <[email protected]>
    seishun authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    3b00d7a View commit details
    Browse the repository at this point in the history
  48. doc: fix http response event, Agent#getName

    Removes the options block from the http 'response' event and attaches
    it to Agent#getName where it belongs. Removes socketPath and documents
    localAddress option.
    
    PR-URL: #5993
    Reviewed-By: James M Snell <[email protected]>
    mdouglass authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    b49a5b3 View commit details
    Browse the repository at this point in the history
  49. doc: DCO anchor that doesn't change

    PR-URL: #6257
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    williamkapke authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    fa04dfc View commit details
    Browse the repository at this point in the history
  50. doc: replace functions with arrow functions

    PR-URL: #6203
    Reviewed-By: James M Snell <[email protected]>
    hiroppy authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    dc1552e View commit details
    Browse the repository at this point in the history
  51. assert: respect assert.doesNotThrow message.

    Special handling to detect when user has supplied a custom message.
    Added a test for user message.
    When testing if `actual` value is an error use
    `util.isError` instead of `instanceof`.
    
    Fixes: #2385
    PR-URL: #2407
    Reviewed-By: James M Snell <[email protected]>
    Ilya Shaisultanov authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    14fcb1d View commit details
    Browse the repository at this point in the history
  52. test: fix test-net-settimeout flakiness

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

    Make the servers listen on a free port number picked by the OS to avoid
    rare `EADDRINUSE` errors on `SmartOS`.
    
    Fixes: #6197
    PR-URL: #6248
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    056a258 View commit details
    Browse the repository at this point in the history
  54. tools: update ESLint to 2.7.0

    PR-URL: #6132
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: thefourtheye <[email protected]>
    silverwind authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    d9b8758 View commit details
    Browse the repository at this point in the history
  55. test: fix issues for ESLint 2.7.0

    PR-URL: #6132
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: thefourtheye <[email protected]>
    silverwind authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    c0e9c94 View commit details
    Browse the repository at this point in the history
  56. lib,test,tools: alignment on variable assignments

    Correct alignment on variable assignments that span multiple lines in
    preparation for lint rule to enforce such alignment.
    
    PR-URL: #6242
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    c8783af View commit details
    Browse the repository at this point in the history
  57. tools: lint for alignment of variable assignments

    Enforce alignment/indentation on variable assignments that span multiple
    lines.
    
    PR-URL: #6242
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    be070d7 View commit details
    Browse the repository at this point in the history
  58. tools: improve js linter

    This commit switches from the eslint command-line tool to a custom
    tool that uses eslint programmatically in order to perform linting
    in parallel and to display linting results incrementally instead of
    buffering them until the end.
    
    Fixes: #5596
    PR-URL: #5638
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    mscdex authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    f201b01 View commit details
    Browse the repository at this point in the history
  59. build: allow test-ci to run tests in parallel

    Run tests in parallel if the environment variable JOBS
    (which should contain a number of parallel jobs) is set.
    
    PR-URL: #6208
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    jbergstroem authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    3c8d404 View commit details
    Browse the repository at this point in the history
  60. test: move the debugger tests back to parallel

    Run the debugger with `--port=common.PORT` to avoid the use of the same
    port.
    
    PR-URL: #6246
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    santigimeno authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    1d130d0 View commit details
    Browse the repository at this point in the history
  61. test: move some test from sequential to parallel

    The only test with modifications is `test-stdin-child-proc` that was
    passing when it should not because the exit code of the child process
    was not being checked.
    
    PR-URL: #6087
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    santigimeno authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    9856b80 View commit details
    Browse the repository at this point in the history
  62. doc: path.format provide more examples

    This change was to add upon the algorithm description of path.format
    by adding examples for unix systems that clarified behavior in
    various scenarios.
    
    PR-URL: #5838
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    eversojk authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    d66d883 View commit details
    Browse the repository at this point in the history
  63. tools: move message listener to worker objects

    Moving the `message` event listener from the cluster object to each
    worker object allows easier backporting of the recent jslint
    changes since v5.x and older do not have v6.x's `worker` parameter
    in the cluster object's `message` event.
    
    PR-URL: #6212
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    mscdex authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a2ca347 View commit details
    Browse the repository at this point in the history
  64. doc: fix broken references

    PR-URL: #6100
    Reviewed-By: James M Snell <[email protected]>
    gromnitsky authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    985685d View commit details
    Browse the repository at this point in the history
  65. test: move debugger tests to sequential

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

    When underlying `net.Socket` instance is consumed in http server - no
    `data` events are emitted, and thus `socket.setTimeout` fires the
    callback even if the data is constantly flowing into the socket.
    
    Fix this by calling `socket._unrefTimer()` on every `onParserExecute`
    call.
    
    Fix: #5899
    PR-URL: #6286
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    a259ee4 View commit details
    Browse the repository at this point in the history
  67. stream_base: expose bytesRead getter

    This will provide `bytesRead` data on consumed sockets.
    
    Fix: #3021
    PR-URL: #6284
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    20dcdd3 View commit details
    Browse the repository at this point in the history
  68. net: replace __defineGetter__ with defineProperty

    `Object.prototype.__defineGetter__` is deprecated now, use
    `Object.defineProperty` instead.
    
    PR-URL: #6284
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    d5d4f19 View commit details
    Browse the repository at this point in the history
  69. buffer: add Buffer.prototype.compare by offset

    Adds additional `targetStart`, `targetEnd`, `sourceStart,
    and `sourceEnd` arguments to `Buffer.prototype.compare`
    to allow comparison of sub-ranges of two Buffers without
    requiring Buffer.prototype.slice()
    
    Fixes: #521
    PR-URL: #5880
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    473f086 View commit details
    Browse the repository at this point in the history
  70. src: add SIGINFO to supported signals

    Though not a POSIX signal, SIGINFO is supported by BSD systems
    (including Mac OS X) and is amongst the few signals that can be
    triggered in a terminal via a simple key combination (CTRL-T).
    
    On Linux, SIGINFO is an alias for SIGPWR; hence the defensive
    conditionals in src/node.cc.
    
    PR-URL: #6093
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jamesreggio authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    7d54d85 View commit details
    Browse the repository at this point in the history
  71. deps: update to http-parser 2.7.0

    Adds `2` as a return value of `on_headers_complete`, this mode will be
    used to fix handling responses to `CONNECT` requests.
    
    See: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    5305831 View commit details
    Browse the repository at this point in the history
  72. http: skip body and next message of CONNECT res

    When handling a response to `CONNECT` request - skip message body
    and do not attempt to parse the next message. `CONNECT` requests are
    used in similar sense to HTTP Upgrade.
    
    Fix: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    16b23b2 View commit details
    Browse the repository at this point in the history
  73. test: add test for responses to HTTP CONNECT req

    See: #6198
    PR-URL: #6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    slushie authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    4e4efb7 View commit details
    Browse the repository at this point in the history
  74. build: fix make tar-headers for Linux

    The tar-headers target tries to find and delete links in the
    tar folder, which fails as no links are found. Use rm -f to
    avoid this.
    
    Remove the config.gypi dependency, as the target runs configure
    itself.
    
    PR-URL: #5978
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gibfahn authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    bd12d72 View commit details
    Browse the repository at this point in the history
  75. tools: enable linting for v8_prof_processor.js

    `lib/internal/v8_prof_processor.js` was being excluded from linting, but
    the only lint issue it has is that it cannot run in strict mode. Disable
    the `strict` rule with a comment and remove the file from
    `.eslintignore`.
    
    PR-URL: #6262
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    fff6a84 View commit details
    Browse the repository at this point in the history
  76. tools: lint rule for assert.fail()

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

    The test directory had linting for undefined variables disabled. It is
    enabled everywhere else in the code base. Let's disable the fule for
    individual lines in the handful of tests that use undefined variables.
    
    PR-URL: #6255
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    48ecc0b View commit details
    Browse the repository at this point in the history
  78. test: assert - fixed error messages to match the tests

    PR-URL: #6241
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    suryagh authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    96be986 View commit details
    Browse the repository at this point in the history
  79. child_process: add nullptr checks after allocs

    Add `CHECK_NE(·, nullptr)` after allocations made when
    spawning child processes.
    
    PR-URL: #6256
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    adfb1a4 View commit details
    Browse the repository at this point in the history
  80. test: move more tests from sequential to parallel

    Only `test-stdin-from-file.js` has been modified so that the `stdin.txt`
    is written in a temp directory instead of the `fixtures` directory.
    
    PR-URL: #6187
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    99d0a61 View commit details
    Browse the repository at this point in the history
  81. debugger: run last command on presssing enter

    PR-URL: #6090
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Fixes: #2895
    Trott authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    1fb4052 View commit details
    Browse the repository at this point in the history
  82. zlib: detect gzip files when using unzip*

    Detect whether a gzip file is being passed to `unzip*` by
    testing the first bytes for the gzip magic bytes, and setting
    the decompression mode to `GUNZIP` or `INFLATE` according to
    the result.
    
    This enables gzip-only features like multi-member support
    to be used together with the `unzip*` autodetection support
    and thereby makes `gunzip*` and `unzip*` return identical
    results for gzip input again.
    
    Add a simple test for checking that features specific to
    `zlib.gunzip`, notably support for multiple members, also work
    when using `zlib.unzip`.
    
    PR-URL: #5884
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    2c23e14 View commit details
    Browse the repository at this point in the history
  83. zlib: Make the finish flush flag configurable

    Up to now, `Z_FINISH` was always the flushing flag that was used
    for the last chunk of input data. This patch makes this choice
    configurable so that advanced users can perform e.g. decompression of
    partial data using `Z_SYNC_FLUSH`, if that suits their needs.
    
    Add tests to make sure that an error is thrown upon encountering
    invalid `flush` or `finishFlush` flags.
    
    Fixes: #5761
    PR-URL: #6069
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    83bc0a2 View commit details
    Browse the repository at this point in the history
  84. node: make builtin libs available for --eval

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

    Make sure that the built-in modules in the repl stay non-enumerable.
    Previously, they would pop up as enumerable properties of the global
    object after having been accessed for the first time.
    
    PR-URL: #6207
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    07c9f98 View commit details
    Browse the repository at this point in the history
  86. doc: note that zlib.flush acts after pending writes

    Describe that `zlib.flush()` may wait for pending writes and
    until output is being read from the stream.
    
    Fixes: #3782
    PR-URL: #6172
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Jefe Lindstädt <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    50f3f10 View commit details
    Browse the repository at this point in the history
  87. doc: add full example for zlib.flush()

    Add a full example using `zlib.flush()` for the common use
    case of writing partial compressed HTTP output to the client.
    
    PR-URL: #6172
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Jefe Lindstädt <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    e6f4a17 View commit details
    Browse the repository at this point in the history
  88. doc: git mv to .md

    * doc: rename .markdown references in content
    * doc: rename to .md in tools
    * doc: rename to .md in CONTRIBUTING.md
    
    PR-URL: #4747
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: techjeffharris
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    4b83769 View commit details
    Browse the repository at this point in the history
  89. http: disallow sending obviously invalid status codes

    PR-URL: #6291
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mscdex authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    abd101b View commit details
    Browse the repository at this point in the history
  90. zlib: fix use after null when calling .close

    An internal zlib error may cause _handle to be set to null.
    Close now will check if there is a _handle prior to calling .close on
    it.
    
    PR-URL: #5982
    Fixes: #6034
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    lightsofapollo authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    bad006f View commit details
    Browse the repository at this point in the history
  91. test: add zlib close-after-error regression test

    Add a regression test based on the report in
    #6034.
    
    PR-URL: #6270
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    4bfed26 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2016

  1. 2016-04-20, Version 5.11.0 (Stable) Release

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