Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Propose v6.3.0 #7441

Merged
merged 131 commits into from
Jul 5, 2016
Merged

Propose v6.3.0 #7441

merged 131 commits into from
Jul 5, 2016

Commits on Jul 5, 2016

  1. src: refactor require('constants')

    The require('constants') module is currently undocumented and mashes
    together unrelated constants. This refactors the require('constants')
    in favor of distinct os.constants, fs.constants, and crypto.constants
    that are specific to the modules for which they are relevant. The
    next step is to document those within the specific modules.
    
    PR-URL: #6534
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Robert Lindstaedt <[email protected]>
    
     Conflicts:
    	doc/api/fs.md
    jasnell authored and Fishrock123 committed Jul 5, 2016
    3 Configuration menu
    Copy the full SHA
    929b6c2 View commit details
    Browse the repository at this point in the history
  2. src: add node::FreeEnvironment public API

    Since debugger::Agent's interface is not exported, third party embedders
    will have linking errors if they call Environment's destructor directly.
    
    PR-URL: #3098
    Reviewed-By: Ben Noordhuis <[email protected]>
    zcbenz authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2a8bd35 View commit details
    Browse the repository at this point in the history
  3. deps: import v8_inspector

    Pick up v8 inspector from [1]. This is the standalone version of the
    devtools debug protocol.
    
    [1] pavelfeldman/v8_inspector@e1bb206
    
    PR-URL: #6792
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: addaleax - Anna Henningsen <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6210528 View commit details
    Browse the repository at this point in the history
  4. src,lib: v8-inspector support

    This change introduces experimental v8-inspector support. This brings
    the DevTools debug protocol allowing Node.js to be debugged with
    Chrome DevTools native, or through other debuggers supporting that
    protocol.
    
    Partial WebSocket support, to the extent required by DevTools, is
    included. This is derived from the implementation in Blink.
    
    v8-inspector support can be disabled by the --without-inspector
    configure flag.
    
    PR-URL: #6792
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: addaleax - Anna Henningsen <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    pavelfeldman authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7d4f038 View commit details
    Browse the repository at this point in the history
  5. cluster: work with v8_inspector

    PR-URL: #6792
    Reviewed-By: jasnell - James M Snell <[email protected]>
    Reviewed-By: addaleax - Anna Henningsen <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    cjihrig authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c1bd3fe View commit details
    Browse the repository at this point in the history
  6. src: fix --without-inspector build

    Use `HAVE_INSPECTOR` as the 0/1 boolean macro that it is, as opposed
    to a defined/not-defined boolean.
    
    PR-URL: #7078
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ea2d661 View commit details
    Browse the repository at this point in the history
  7. src: add linebreak to inspector message

    Add linebreak to inspector ready message to wrap properly in
    80 column (default) terminal windows.
    
    Fixes: #7067
    PR-URL: #7070
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    nicolasromer authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    643b33b View commit details
    Browse the repository at this point in the history
  8. deps: update v8_inspector

    Pick the latest v8_inspector [1] with:
    * V8 5.1 compatibility
    * Modify parse builder templates to make coverity happy
    * The whitespace differences in the jinja2 sub-dependency do exist
      upstream. I am not sure how I missed them in the original import
      (ed2eac).
    
    [1] pavelfeldman/v8_inspector@3b56732
    
    PR-URL: #7118
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    ofrobots authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    f4777c7 View commit details
    Browse the repository at this point in the history
  9. src: fix json payload from inspector

    Fix the `webSocketDebuggerUrl` and `devtoolsFrontendUrl` returned by
    v8_inspector in /json HTTP endpoint to work with 3rd party clients.
    
    Fixes: #7227
    PR-URL: #7232
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Myles Borins authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2fd140b View commit details
    Browse the repository at this point in the history
  10. inspector: change default port

    We should use a different default port number for the new debug
    protocol. This makes it easier for debuggers to guess which protocol
    they are expected to use to talk to a node process with a debug
    server.
    
    PR-URL: #7212
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Reviewed-By: cjihrig - Colin Ihrig <[email protected]>
    ofrobots authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ec90a7a View commit details
    Browse the repository at this point in the history
  11. inspector: reduce implementation in header

    This is needed to reduce the coupling between node files that use
    node::Environment and inspector class.
    
    Fixes: #7080
    PR-URL: #7228
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    
     Conflicts:
    	src/node.cc
    Eugene Ostroukhov authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7da8a41 View commit details
    Browse the repository at this point in the history
  12. src: fix --without-inspector build

    `use_inspector` is not available if `HAVE_INSPECTOR` is false.
    Before this commit, one usage of it would show up as an undeclared
    identifier (introduced in a766ebf).
    
    PR-URL: #7258
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    38d36e3 View commit details
    Browse the repository at this point in the history
  13. inspector: process.exit should wait for inspector

    Fixes: #7088
    PR-URL: #7252
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    
     Conflicts:
    	src/node.cc
    Eugene Ostroukhov authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    88b2aa3 View commit details
    Browse the repository at this point in the history
  14. src: make Sec-WebSocket-Key check case-insensitive

    Current case sensitive comparison is breaking netty-based WS clients.
    
    replace strncmp with strncasecmp
    
    Fixes: #7247
    PR-URL: #7248
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    MylesBorins authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    3d69ad1 View commit details
    Browse the repository at this point in the history
  15. stream: improve Readable.read() performance

    read() performance is improved most by switching from an array to
    a linked list for storing buffered data. However, other changes that
    also contribute include: making some hot functions inlinable, faster
    read() argument checking, and misc code rearrangement to avoid
    unnecessary code execution.
    
    PR-URL: #7077
    Reviewed-By: Calvin Metcalf <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    mscdex authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    e1d6bd9 View commit details
    Browse the repository at this point in the history
  16. punycode: update to v2.0.0

    Punycode v2.0.0 drops support for old and non-Node environments.
    
    PR-URL: #7267
    Fixes: #7224
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    mathiasbynens authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    fb39025 View commit details
    Browse the repository at this point in the history
  17. deps: switch to upstream v8_inspector

    This change picks up v8_inspector directly from the upstream chromium
    repository [1]; dropping the intermediate repository. The upstream
    code has been refactored substantially to make it easy to share code
    without adaptation with Node.js.
    
    The deps/v8_inspector directory is now simply a gathering of
    dependencies:
    
    * platform/v8_inspector: vendored from [2].
    * platform/inspector_protocol: vendored from [3].
    * deps/jinja2: vendored from [4].
    * deps/markupsafe: vendored from [5].
    
    [1]: https://chromium.googlesource.com/chromium/src/third_party/WebKit/Source/platform
    [2]: https://chromium.googlesource.com/chromium/src/third_party/WebKit/Source/platform/v8_inspector
    [3]: https://chromium.googlesource.com/chromium/src/third_party/WebKit/Source/platform/inspector_protocol
    [4]: https://github.com/mitsuhiko/jinja2
    [5]: https://github.com/mitsuhiko/markupsafe
    
    PR-URL: #7302
    Reviewed-By: indutny - Fedor Indutny <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    ofrobots authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    cbe5747 View commit details
    Browse the repository at this point in the history
  18. inspector: fix coverity scan errors

    PR-URL: #7324
    Reviewed-By: cjihrig - Colin Ihrig <[email protected]>
    Reviewed-By: ofrobots - Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Eugene Ostroukhov authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    09ecd1f View commit details
    Browse the repository at this point in the history
  19. inspector: fix inspector connection cleanup

    In some cases close callback was called twice, while in some cases the
    memory was still not released at all.
    
    PR-URL: #7268
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Eugene Ostroukhov authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    8dd48c9 View commit details
    Browse the repository at this point in the history
  20. vm: add ability to break on sigint/ctrl+c

    - Adds the `breakEvalOnSigint` option to `vm.runIn(This)Context`.
      This uses a watchdog thread to wait for SIGINT and generally works
      just like the existing `timeout` option.
    
    - Adds a method to the existing timer-based watchdog to check if it
      stopped regularly or by running into the timeout. This is used to
      tell a SIGINT abort from a timer-based one.
    
    - Adds (internal) `process._{start,stop}SigintWatchdog` methods to
      start/stop the watchdog thread used by the above option manually.
      This will be used in the REPL to set up SIGINT handling before
      entering terminal raw mode, so that there is no time window in
      which Ctrl+C fully aborts the process.
    
    PR-URL: #6635
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    d049919 View commit details
    Browse the repository at this point in the history
  21. readline: return old status from _setRawMode

    Return the previous raw mode setting from the internal `_setRawMode`
    so that is easier to reset it to its original state later.
    
    PR-URL: #6635
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    72d659a View commit details
    Browse the repository at this point in the history
  22. repl: break on sigint/ctrl+c

    Adds the ability to stop execution of the current REPL command
    when receiving SIGINT. This applies only to the default eval
    function.
    
    Fixes: #6612
    PR-URL: #6635
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    da8e510 View commit details
    Browse the repository at this point in the history
  23. src: use RAII for mutexes and condition variables

    We will be introducing many more critical sections in the upcoming
    multi-isolate changes, so let's make manual synchronization a thing
    of the past.
    
    PR-URL: #7334
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    0593351 View commit details
    Browse the repository at this point in the history
  24. crypto,tls: perf improvements for crypto and tls getCiphers

    Improve performance of crypto.getCiphers, getHashes, getCurves
    and tls.getCiphers by consolidating filterDuplicates logic, adding
    caching of output, and streamlining filterDuplicates implementation.
    
    Benchmarks:
    
    crypto.getCiphers n=1    v6.2.1 = 2559.3, new = 15890 ...... -83.89%
    crypto.getCiphers n=5000 v6.2.1 = 3516.3, new = 24203000 ... -99.99%
    
    tls.getCiphers    n=1    v6.2.1 = 3405.3, new = 14877 ...... -77.11%
    tls.getCiphers    n=5000 v6.2.1 = 6074.4, new = 24202000 ... -99.97%
    
    PR-URL: #7225
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    
     Conflicts:
    	lib/internal/util.js
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2c7804a View commit details
    Browse the repository at this point in the history
  25. tls: avoid calling Buffer.byteLength multiple times

    There's no reason to be calling Buffer.byteLength() twice.
    Small perf improvement
    
    Run 1:
    tls/convertprotocols.js n=1     v6.2.1 = 11852,  new = 12204 ......  -2.89%
    tls/convertprotocols.js n=50000 v6.2.1 = 515660, new = 570610 .....  -9.63%
    
    Run 2:
    tls/convertprotocols.js n=1     v6.2.1 = 11729,  new = 12045 ......  -2.62%
    tls/convertprotocols.js n=50000 v6.2.1 = 512080, new = 637730 ..... -19.70%
    
    PR-URL: #7236
    Reviewed-By: Fedor Indutny <[email protected]>
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    77331a7 View commit details
    Browse the repository at this point in the history
  26. doc: general improvements to os.md copy

    PR-URL: #7124
    Reviewed-By: Brian White <[email protected]>
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    9e9d7b8 View commit details
    Browse the repository at this point in the history
  27. doc: add argument information for socket.destroy()

    PR-URL: #7238
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7aa2125 View commit details
    Browse the repository at this point in the history
  28. test: refresh the tmpdir before using

    Test fails if tmp dir does not exist when the test is run. Add
    common.refreshTmpDir() so that doesn't happen.
    
    PR-URL: #7327
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    580e110 View commit details
    Browse the repository at this point in the history
  29. test: mark test-vm-timeout flaky on windows

    PR-URL: #7359
    Refs: #6727
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Joao Reis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c236a13 View commit details
    Browse the repository at this point in the history
  30. doc: add RReverser to collaborators

    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    PR-URL: #7370
    RReverser authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    0f434fe View commit details
    Browse the repository at this point in the history
  31. doc: mention http request "aborted" events

    Fixes: #6925
    PR-URL: #7270
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    kemitchell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ec515c5 View commit details
    Browse the repository at this point in the history
  32. doc: add added: information for tls

    Ref: #6578
    PR-URL: #7018
    Reviewed-By: Anna Henningsen <[email protected]>
    italoacasas authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7a0718b View commit details
    Browse the repository at this point in the history
  33. tools: update certdata.txt

    This is the certdata.txt[0] that ships in Firefox 47 and NSS 3.23, last
    updated on 2016-02-26.
    
    [0] https://hg.mozilla.org/mozilla-central/raw-file/1f84dea6508d/security/nss/lib/ckfw/builtins/certdata.txt
    
    PR-URL: #7363
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    32e068a View commit details
    Browse the repository at this point in the history
  34. tools: output include guards in mk-ca-bundle.pl

    Commit eff96d3 ("src: add include guards to internal headers") adds
    include guards.  Update tools/mk-ca-bundle.pl to output them when
    generating src/node_root_certs.h.
    
    PR-URL: #7363
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    3eb02b6 View commit details
    Browse the repository at this point in the history
  35. crypto: update root certificates

    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    Certificates added:
    - Certum Trusted Network CA 2
    - SZAFIR ROOT CA2
    
    Certificates removed:
    - CA Disig
    - NetLock Notary (Class A) Root
    - Staat der Nederlanden Root CA
    
    PR-URL: #7363
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ef41c8b View commit details
    Browse the repository at this point in the history
  36. test: remove internet/test-tls-connnect-cnnic

    Shigeki Ohtsu points out that the test is unreliable because some of
    the www1.cnnnic.cn servers are misconfigured.  Remove it.
    
    PR-URL: #7363
    Refs: #7363 (comment)
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    009858b View commit details
    Browse the repository at this point in the history
  37. doc: update build instructions for Windows

    The Visual C++ Build Tools are supported to build Node on Windows
    and already used in CI, so they should be included in the build
    instructions.
    
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PR-URL: #7285
    joaocgreis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    029af2c View commit details
    Browse the repository at this point in the history
  38. doc: fix repl defineCommand example

    Fixes: #7357
    PR-URL: #7365
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    akki authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    a04cd85 View commit details
    Browse the repository at this point in the history
  39. doc: fix link in the stream doc

    fixing typo
    fixing broken links
    
    PR-URL: #7347
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    italoacasas authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    eed6597 View commit details
    Browse the repository at this point in the history
  40. test: fix flaky test-fs-watch-encoding on OS X

    PR-URL: #7356
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    0bbf2ef View commit details
    Browse the repository at this point in the history
  41. string_decoder: fix bad utf8 character handling

    This commit fixes an issue when extra utf8 continuation bytes appear
    at the end of a chunk of data, causing miscalculations to be made
    when checking how many bytes are needed to decode a complete
    character.
    
    Fixes: #7308
    PR-URL: #7310
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mscdex authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    962ac37 View commit details
    Browse the repository at this point in the history
  42. test: add more UTF-8 StringDecoder tests

    PR-URL: #7310
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    gagern authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    8f1733c View commit details
    Browse the repository at this point in the history
  43. doc: update "who to cc in issues" chart

    Refs: #6655
    
    PR-URL: #6694
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ingvar Stepanyan <[email protected]>
    Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    09a7c91 View commit details
    Browse the repository at this point in the history
  44. doc: add lance to collaborators

    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PR-URL: #7407
    lance authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    4486ba9 View commit details
    Browse the repository at this point in the history
  45. test: add test for exec() known issue

    PR-URL: #7375
    Refs: #7342
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    16aff79 View commit details
    Browse the repository at this point in the history
  46. test: fix flaky test-vm-timeout

    Likely fix the flaky parallel/test-vm-timeout. Increase the outer
    timeout in the test checking for nested timeouts with `vm` scripts
    so that its firing won’t interfere with the inner timeout.
    
    Fixes: #6727
    PR-URL: #7373
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    457d244 View commit details
    Browse the repository at this point in the history
  47. vm: test for abort condition of current invocation

    When a vm script aborted after a timeout/signal interruption, test
    whether the local timeout/signal watchdog was responsible for
    terminating the execution.
    
    Without this, when a shorter timer from an outer `vm.run*` invocation
    fires before an inner timeout, the inner timeout would throw an error
    instead of the outer one, but because it did not witness the timeout
    itself, it would assume the termination was the result of a signal
    interruption.
    
    PR-URL: #7373
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    55b87c0 View commit details
    Browse the repository at this point in the history
  48. Revert "test: mark test-vm-timeout flaky on windows"

    This reverts commit f34caa9.
    
    PR-URL: #7373
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    e30f32f View commit details
    Browse the repository at this point in the history
  49. readline: allow passing prompt to constructor

    Previously, one would have to call setPrompt after calling
    rl.createInterface. Now, the prompt string can be set by passing the
    prompt property.
    
    PR-URL: #7125
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    
     Conflicts:
    	test/parallel/test-readline-interface.js
    evanlucas authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6b1fc63 View commit details
    Browse the repository at this point in the history
  50. doc: minor rewording to the GitHub issue/pr templates

    - Templates are now a bit more consistent with phrasing.
    - Simplified a bit.
    
    PR-URL: #7403
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b725437 View commit details
    Browse the repository at this point in the history
  51. doc: add CTC meeting minutes 2016-06-15

    PR-URL: #7320
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    joshgav authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    efce335 View commit details
    Browse the repository at this point in the history
  52. repl: fix tab completion for defined commands

    PR-URL: #7364
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    princejwesley authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ca95a84 View commit details
    Browse the repository at this point in the history
  53. doc: clarify child_process stdout/stderr types

    Clarify how the encoding option interacts with the data
    type of child process stdout and stderr.
    
    Fixes: #6666
    PR-URL: #7361
    Reviewed-By: Colin Ihrig <[email protected]>
    sartrey authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    44bc638 View commit details
    Browse the repository at this point in the history
  54. http: replace finish() callback with arrow function

    Take advantage of arrow function lexical `this` to avoid defining a
    `self = this` var which was only used once.
    
    Code relating to the `finish` event was split in to two areas of the
    parent function. Gathered it together to clarify association within the
    script.
    
    Fixes: #7295
    PR-URL: #7378
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    originalfoo authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    e7b8400 View commit details
    Browse the repository at this point in the history
  55. benchmark: util._extend vs object.assign

    To copy the values of all enumerable own properties from-
    a source object to a target object, node still use-
    `util._extend`, though newer standard `Object.assign`
    is available. This is because `util._extend` is found to
    be faster than `Object.assign`. This benchmark test is
    to keep track of how performance compare.
    
    PR-URL: #7255
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    suryagh authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    35c70b5 View commit details
    Browse the repository at this point in the history
  56. doc: fix "sign.verify" typo in crypto doc.

    Fix typo in example
    
    PR-URL: #7411
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rus0000 authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    3475591 View commit details
    Browse the repository at this point in the history
  57. doc: fix typographic error in process doc

    An apostrophe was being used where a backtick was called for, resulting
    in improper rendering.
    
    PR-URL: #7431
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ingvar Stepanyan <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    5f766ad View commit details
    Browse the repository at this point in the history
  58. deps: MASM.UseSafeExceptionHandlers for OpenSSL

    Use `msvs_settings.MASM.UseSafeExceptionHandlers` when building OpenSSL
    assembly code on Windows. This option appends `/safeseh` to the list of
    assembler flags when building `.asm` files on Windows.
    
    Having this option in place, separate rules in `masm_compile.gypi` are
    no longer needed.
    
    Fix: #7426
    PR-URL: #7427
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Bert Belder <[email protected]>
    indutny authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    a4880b5 View commit details
    Browse the repository at this point in the history
  59. crypto: Allow GCM ciphers to have a longer IV length

    GCM cipher IV length can be >=1 bytes.
    When not the default 12 bytes (96 bits) sets the IV length using
    `EVP_CIPHER_CTX_ctrl` with type `EVP_CTRL_GCM_SET_IVLEN`
    
    PR-URL: #6376
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    mwain authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    fa9e6f7 View commit details
    Browse the repository at this point in the history
  60. src: renaming ares_task struct to node_ares_task

    This commit attempts to fix one of the items in
    #4641, which was to remove a TODO
    comment from env.h regarding the naming of the ares_task_t struct.
    
    Also, the struct ares_task_list was renamed to node_ares_task_list
    following the same reasoning that is does not belong to the c-ares API.
    
    PR-URL: #7345
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    
     Conflicts:
    	src/env.h
    danbev authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    84dd526 View commit details
    Browse the repository at this point in the history
  61. repl: Enable tab completion for global properties

    When `useGlobal` is false, tab completion in the repl does not enumerate
    global properties. Instead of just setting these properties blindly on
    the global context, e.g.
    
        context[prop] = global[prop]
    
    Use `Object.defineProperty` and the property descriptor found on
    `global` for the new property in `context`.
    
    Also addresses a previously unnoticed issue where `console` is writable
    when `useGlobal` is false.
    
    If the binary has been built with `./configure --without-intl` then the
    `Intl` builtin type will not be available in a repl runtime. Check for
    this in the test.
    
    Fixes: #7353
    PR-URL: #7369
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    lance authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c39f6c0 View commit details
    Browse the repository at this point in the history
  62. assert: remove unneeded arguments special handling

    Remove special handling when asserting on a pair of arguments objects.
    The code being removed will only run if both `expected` and `actual` are
    arguments objects. Given that situation, the subsequent code for
    handling everything else works just fine.
    
    Tests added to confirm expected behavior.
    
    This came about while trying to improve test coverage. The segment of
    code removed had no test coverage. I was unable to write a test that
    would both exercise the code and fail if the code was removed. Further
    examination indicated that this was because the special handling was not
    needed.
    
    PR-URL: #7413
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    40211e8 View commit details
    Browse the repository at this point in the history
  63. deps: update v8_inspector

    Pick up latest commit of v8_inspector and inspector_protocol.
    This brings back compatibility with V8 5.1.
    
    PR-URL: #7385
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    targos authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    225f3b9 View commit details
    Browse the repository at this point in the history
  64. inspector: print warning when used

    This is done to note that this is an experimental feature.
    
    PR-URL: #7383
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    fe580eb View commit details
    Browse the repository at this point in the history
  65. doc: general improvements to timers.md

    Overall improvements to timers.md documentation,
    
    Includes squashed commit from @bengl:
    
      doc: add timer classes
    
      The timers returned by `setTimeout` and friends are
      actually instances of `Timeout` and `Immediate`.
      Documenting them as such, so that the `ref` and
      `unref` methods can be identified as methods on
      `Timeout` objects.
    
      Sparked by discussion in #5792
    
    PR-URL: #6937
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    bc37e6a View commit details
    Browse the repository at this point in the history
  66. build: configure --shared

    Add configure flag for building a shared library that can be
    embedded in other applications (like Electron). Add flags
    --without-bundled-v8 and --without-v8-platform to control V8
    dependencies used.
    
    PR-URL: #6994
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    
     Conflicts:
    	src/node.cc
    stefanmb authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    91744aa View commit details
    Browse the repository at this point in the history
  67. doc: add added: information for http

    Ref: #6578
    PR-URL: #7392
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    1c7b622 View commit details
    Browse the repository at this point in the history
  68. doc: add added: information for https

    Ref: #6578
    PR-URL: #7392
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    f269c00 View commit details
    Browse the repository at this point in the history
  69. doc: fix broken refs to url.parse() in http docs

    PR-URL: #7392
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    58ae35c View commit details
    Browse the repository at this point in the history
  70. test: test isFullWidthCodePoint with invalid input

    Code coverage information shows that we are only testing the happy path
    for the internal readline `isFullWidthCodePoint()` function. Test it
    with invalid input.
    
    PR-URL: #7422
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    365f520 View commit details
    Browse the repository at this point in the history
  71. tools: update cpplint to r456

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    5830ec5 View commit details
    Browse the repository at this point in the history
  72. tools: disable unwanted cpplint rules again

    This commit disables the build/include, build/include_alpha,
    build/include_order and legal/copyright warnings again.
    
    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    e3662a4 View commit details
    Browse the repository at this point in the history
  73. tools: add back --mode=tap to cpplint

    This commit reimplements commit 7b45163 ("tools: add tap output to
    cpplint") on top of the upgraded copy of cpplint.
    
    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    01b7b9a View commit details
    Browse the repository at this point in the history
  74. tools: allow cpplint to run outside git repo

    This reapplies commit a493dab ("cpplint: make it possible to run
    outside git repo") from September 2015, this time with a proper
    status line.
    
    PR-URL: #7462
    Refs: #2693
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    9d0641e View commit details
    Browse the repository at this point in the history
  75. src: fix build/c++tr1 cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    5dfa234 View commit details
    Browse the repository at this point in the history
  76. src: fix build/header_guard cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6280ccd View commit details
    Browse the repository at this point in the history
  77. src: fix readability/braces cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7fe758d View commit details
    Browse the repository at this point in the history
  78. src: fix readability/constructors cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b7e006b View commit details
    Browse the repository at this point in the history
  79. src: fix readability/inheritance cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    5fd1585 View commit details
    Browse the repository at this point in the history
  80. src: fix readability/namespace cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    43e8357 View commit details
    Browse the repository at this point in the history
  81. src: fix readability/nolint cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    1fa6dba View commit details
    Browse the repository at this point in the history
  82. src: fix runtime/indentation_namespace warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    88c5183 View commit details
    Browse the repository at this point in the history
  83. src: fix runtime/int cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    be0c575 View commit details
    Browse the repository at this point in the history
  84. src: fix runtime/references cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    1b3c1b0 View commit details
    Browse the repository at this point in the history
  85. src: fix whitespace/blank_line cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    f72259a View commit details
    Browse the repository at this point in the history
  86. src: fix whitespace/indent cpplint warnings

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    3fa643b View commit details
    Browse the repository at this point in the history
  87. build: remove unused files from CPPLINT_FILES

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    8a31b23 View commit details
    Browse the repository at this point in the history
  88. src: lint node_win32_perfctr_provider.cc

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    da0ebf6 View commit details
    Browse the repository at this point in the history
  89. src: lint node_lttng_tp.h

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ca4fb08 View commit details
    Browse the repository at this point in the history
  90. src: lint v8abbr.h

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    001aa06 View commit details
    Browse the repository at this point in the history
  91. tools: fix -Wunused-variable warning

    PR-URL: #7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    e727cb5 View commit details
    Browse the repository at this point in the history
  92. timers: optimize linkedlist

    Now uses a new L.create() factory to create access-optimized linkedlist
    objects.
    
    PR-URL: #6436
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Andras authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    a5d8945 View commit details
    Browse the repository at this point in the history
  93. timers: optimize setImmediate()

    Save the setImmediate() callback arguments into an array instead of a
    closure, and invoke the callback on the arguments from an optimizable
    function.
    
      60% faster setImmediate with 0 args (15% if self-recursive)
      4x faster setImmediate with 1-3 args, 2x with > 3
      seems to be faster with less memory pressure when memory is tight
    
    Changes:
    - use L.create() to build faster lists
    - use runCallback() from within tryOnImmediate()
    - save the arguments and do not build closures for the callbacks
    
    PR-URL: #6436
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Andras authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    efb7a90 View commit details
    Browse the repository at this point in the history
  94. benchmark: add setImmediate() benchmarks

    Timings for sequential and concurren setImmediate() with and without
    arguments, and set + clearImmediate().
    
    PR-URL: #6436
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Andras authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    44f0f94 View commit details
    Browse the repository at this point in the history
  95. src: check uv_async_init() return value

    Pointed out by Coverity.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c795d1e View commit details
    Browse the repository at this point in the history
  96. src: initialize encoding_ data member

    Pointed out by Coverity.  Not really a bug because it's assigned before
    use but explicit assignment in the constructor is more obviously
    correct.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    3b1c19f View commit details
    Browse the repository at this point in the history
  97. src: guard against starting fs watcher twice

    This commit adds a CHECK that verifies that the file event watcher is
    not started twice, which would be indicative of a bug in lib/fs.js.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    9945b4e View commit details
    Browse the repository at this point in the history
  98. src: remove unused data member write_queue_size_

    Remove TLSWrap::write_queue_size_, it's not used anywhere.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2228a65 View commit details
    Browse the repository at this point in the history
  99. src: remove unused md_ data members

    The code assigned the result of EVP_get_digestbyname() to data members
    called md_ that were not used outside the initialization functions.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    25bc7fe View commit details
    Browse the repository at this point in the history
  100. src: remove duplicate HMAC_Init calls

    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b7e661b View commit details
    Browse the repository at this point in the history
  101. src: remove deprecated HMAC_Init, use HMAC_Init_ex

    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2816418 View commit details
    Browse the repository at this point in the history
  102. src: fix use-after-return in zlib bindings

    Pointed out by Coverity.  Introduced in commit 5b8e1da from September
    2011 ("Initial pass at zlib bindings".)
    
    The asynchronous version of Write() used a pointer to a stack-allocated
    buffer on flush.  A mitigating factor is that zlib does not dereference
    the pointer for zero-sized writes but it's still technically UB.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    ce039c3 View commit details
    Browse the repository at this point in the history
  103. src: fix memory leak in WriteBuffers() error path

    Pointed out by Coverity.  Introduced in commit 05d30d5 from July 2015
    ("fs: implemented WriteStream#writev").
    
    WriteBuffers() leaked memory in the synchronous uv_fs_write() error path
    when trying to write > 1024 buffers.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6fa560d View commit details
    Browse the repository at this point in the history
  104. src: fix bad logic in uid/gid checks

    Pointed out by Coverity.  Introduced in commits 3546383 ("process_wrap:
    avoid leaking memory when throwing due to invalid arguments") and
    fa4eb47 ("bindings: add spawn_sync bindings").
    
    The return statements inside the if blocks were dead code because their
    guard conditions always evaluated to false.  Remove them.
    
    PR-URL: #7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    8f7baff View commit details
    Browse the repository at this point in the history
  105. test: add testcfg.py to test/abort/

    `python tools/test.py abort` won't work without one.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    4b0ab5b View commit details
    Browse the repository at this point in the history
  106. test: fix abort/test-abort-uncaught-exception

    The --abort-on-uncaught-exception can terminate the process with either
    a SIGABRT or a SIGILL signal but the test only expected SIGABRT.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c7ab7a3 View commit details
    Browse the repository at this point in the history
  107. test: don't use internal headers in add-on tests

    There is no real need and it causes endless grief on Windows with some
    of the upcoming changes.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6de80fc View commit details
    Browse the repository at this point in the history
  108. src: print backtrace on fatal error

    Print a C backtrace on fatal errors to make it easier to debug issues
    like #6727.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6cec90a View commit details
    Browse the repository at this point in the history
  109. src: print backtrace on abort/unreachable code

    Print a C backtrace on fatal errors to make it easier to debug issues.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c96d701 View commit details
    Browse the repository at this point in the history
  110. test: add abort test for backtrace validation

    This commit adds a test that validates backtraces which are
    printed on fatal errors.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    517e715 View commit details
    Browse the repository at this point in the history
  111. src: move ABORT() logic into node::Abort()

    Don't inline calls to node::DumpBacktrace() and fflush(), it makes the
    generated code bigger.  A secondary benefit of moving it to a function
    is that it gives you something to put a breakpoint on.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b8919b1 View commit details
    Browse the repository at this point in the history
  112. src: print backtrace on failed CHECK/ASSERT

    Print a C backtrace on fatal errors to make it easier to debug issues.
    
    PR-URL: #6734
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    57cc4e3 View commit details
    Browse the repository at this point in the history
  113. test: check types for http request and response

    Add a basic regression test that checks if the map for IncomingMessage
    and OutgoingMessage objects is stable over time.
    
    The test is not exhaustive in that it doesn't try to establish whether
    the transition path is the same on every request, it just checks that
    objects in their final states have the same map.
    
    To be investigated why the first (and only the first) ServerRequest
    object ends up with a deprecated map, regardless of the number of
    iterations.
    
    PR-URL: #7003
    Refs: #6294
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    658ab3d View commit details
    Browse the repository at this point in the history
  114. tools: explicit path for V8 test tap output

    Currently we do not specific an absolute path for the tap output of the
    V8 test suite. This is proving to be unreliable across release lines.
    
    By prepending `$(PWD)` to each path we can guarantee it will always be
    in the root folder.
    
    PR-URL: #7460
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Myles Borins authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    d857e9a View commit details
    Browse the repository at this point in the history
  115. inspector: Do cleanups before notifying callback

    Inspector socket implementation was notifying handshake callback before
    performing the cleanups, which meant that callback could not reclaim
    resources allocated by the client. New implementation will free all
    resource not allocated by the client before calling the callback,
    allowing the client to complete the cleanup.
    
    Fixes: #7418
    PR-URL: #7450
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Eugene Ostroukhov authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c4aaf47 View commit details
    Browse the repository at this point in the history
  116. deps: update icu-small to include punycode datafiles

    PR-URL: #7355
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    12b1993 View commit details
    Browse the repository at this point in the history
  117. net: use icu's punycode implementation

    ICU has a punycode implementation built in. Use it instead of the
    javascript implementation because it's much faster.
    
    PR-URL: #7355
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    jasnell authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    d0e2492 View commit details
    Browse the repository at this point in the history
  118. doc: fixing minor typo in AtExit hooks section

    PR-URL: #7485
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    danbev authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    8d18aed View commit details
    Browse the repository at this point in the history
  119. vm: don't print out arrow message for custom error

    In `AppendExceptionLine()`, which is used both by the `vm`
    module and the uncaught exception handler, don’t print anything
    to stderr when called from the `vm` module, even if the
    thrown object is not a native error instance.
    
    Fixes: #7397
    PR-URL: #7398
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6151544 View commit details
    Browse the repository at this point in the history
  120. build: drop unconditional openssl dep from cctest

    Don't link in openssl when building `./configure --without-inspector`,
    it's only used by the inspector cctests.  Ditto libuv and http_parser.
    
    Fixes unnecessarily building openssl when `--shared-openssl` is also
    passed to configure.
    
    Fixes: #7478
    PR-URL: #7486
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    1bd6a62 View commit details
    Browse the repository at this point in the history
  121. debugger: make listen address configurable

    `--debug=1.2.3.4:5678` and `--debug=example.com:5678` are now accepted,
    likewise the `--debug-brk` and `--debug-port` switch.  The latter is
    now something of a misnomer but it's undocumented and for internal use
    only so it shouldn't matter too much.
    
    `--inspect=1.2.3.4:5678` and `--inspect=example.com:5678` are also
    accepted but don't use the host name yet; they still bind to the
    default address.
    
    Fixes: #3306
    PR-URL: #3316
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    4891001 View commit details
    Browse the repository at this point in the history
  122. repl: Default useGlobal to false in CLI REPL.

    Documentation for REPL states that the default value of `useGlobal` is
    `false`. It makes no distinction between a REPL that is created
    programmatically, and the one a user is dropped into on the command line
    by executing `node` with no arguments. This change ensures that the CLI
    REPL uses a default value of `false`.
    
    Fixes: #5659
    Ref: #6802
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    PR-URL: #5703
    lance authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7a7b8f7 View commit details
    Browse the repository at this point in the history
  123. Revert "child_process: measure buffer length in bytes"

    This reverts commit c9a5990.
    
    PR-URL: #7391
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    4a0fb6f View commit details
    Browse the repository at this point in the history
  124. child_process: preserve argument type

    A previous fix for a `maxBuffer` bug resulted in a change to the
    argument type for the `data` event on `child.stdin` and `child.stdout`
    when using `child_process.exec()`.
    
    This fixes the `maxBuffer` bug in a way that does not have that side
    effect.
    
    PR-URL: #7391
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Fixes: #7342
    Refs: #1901
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    2aa06b9 View commit details
    Browse the repository at this point in the history
  125. doc: improve usage of zero/0

    PR-URL: #7466
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    7d07a0b View commit details
    Browse the repository at this point in the history
  126. test: remove common.PORT from http tests

    PR-URL: #7467
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    b383fdd View commit details
    Browse the repository at this point in the history
  127. doc: add guide for Node.js Timers

    Refs: nodejs/docs#76
    PR-URL: #6825
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    ryanmurakami authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    45f83e5 View commit details
    Browse the repository at this point in the history
  128. build: split CI rules in Makefile

    Some CI jobs compile Node and run the tests on different machines.
    This change enables collaborators to have finer control over what runs
    on these jobs, such as the exact suites to run. The test-ci rule was
    split into js and native, to allow for addons to be compiled only on
    the machines that are going to run them.
    
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    PR-URL: #7317
    joaocgreis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    9b5be44 View commit details
    Browse the repository at this point in the history
  129. test: handle SmartOS bug in test-tls-session-cache

    Sometimes, a SmartOS bug results in ECONNREFUSED when trying to connect
    to the TLS server that the test starts. Retry in that situation.
    
    Fixes: #5111
    Refs: https://smartos.org/bugview/OS-2767
    PR-URL: #7505
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    6da49ac View commit details
    Browse the repository at this point in the history
  130. test: listen on and connect to 127.0.0.1

    Avoid transient DNS issues in test sequential/test-net-GH-5504 by using
    the IP address instead of the 'localhost' host name.
    
    Fixes: #6611
    PR-URL: #7524
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    bnoordhuis authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    c132e9c View commit details
    Browse the repository at this point in the history
  131. doc: fix documentation of process.argv

    The current documentation states that if run something like
    `node app.js` then in our process.argv array first elements is `node`,
    but actually it's `process.execPath` not `node`
    as documentation currently suggests.
    
    Fixes: #7434
    PR-URL: #7449
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    tarungarg546 authored and Fishrock123 committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    63d361b View commit details
    Browse the repository at this point in the history