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

[v8.x backport] repl: fix old history error handling #14392

Closed
wants to merge 174 commits into from

Commits on Jul 18, 2017

  1. process: use internal/errors in internalNextTick

    PR-URL: nodejs#13982
    Refs: nodejs#12892
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    tniessen authored and addaleax committed Jul 18, 2017
    3 Configuration menu
    Copy the full SHA
    539f4c0 View commit details
    Browse the repository at this point in the history
  2. doc: fix some broken references

    PR-URL: nodejs#13811
    Reviewed-By: Jackson Tian <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    gromnitsky authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    26ed901 View commit details
    Browse the repository at this point in the history
  3. test: replace indexOf with includes and startsWith

    PR-URL: nodejs#13852
    Refs: nodejs#12586
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Nataly Shrits authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    50ee4bd View commit details
    Browse the repository at this point in the history
  4. doc: add default values to functions in fs.md

    PR-URL: nodejs#13767
    Refs: nodejs#11135
    Refs: nodejs#13769
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    matejkrajcovic authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    310040c View commit details
    Browse the repository at this point in the history
  5. test: mark test-npm-install flaky on arm

    PR-URL: nodejs#14035
    Refs: nodejs#14015
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    cfb6f94 View commit details
    Browse the repository at this point in the history
  6. doc: fix example in child_process.md

    PR-URL: nodejs#13716
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    rus0000 authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    199e905 View commit details
    Browse the repository at this point in the history
  7. tools: change var to const in ./doc/addon-verify

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b89c27d View commit details
    Browse the repository at this point in the history
  8. tools: change var to const in ./doc/json

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    148f49f View commit details
    Browse the repository at this point in the history
  9. tools: change var to const in ./doc/preprocess

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f3bff93 View commit details
    Browse the repository at this point in the history
  10. tools: change var to const in ./license2rtf

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7ed7b22 View commit details
    Browse the repository at this point in the history
  11. test: change var to const in ./common

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    8edde98 View commit details
    Browse the repository at this point in the history
  12. tools: change var to const in ./doc/html

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d454add View commit details
    Browse the repository at this point in the history
  13. tools: change var to const in ./eslint-rules

    PR-URL: nodejs#13732
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d69527f View commit details
    Browse the repository at this point in the history
  14. test: refactor test-http-invalidheaderfield

    * use common.mustNotCall() to confirm callback is not invoked
    * whitespace change per test-writing guide
    
    PR-URL: nodejs#13996
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    81c6447 View commit details
    Browse the repository at this point in the history
  15. doc: add CTC members to Collaborators list

    For simplicity and clarity (if not brevity), add CTC and CTC Emeriti to
    Collaborators list in README. This will avoid confusion about who is and
    isn't a Collaborator.
    
    PR-URL: nodejs#13284
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    99f0a6b View commit details
    Browse the repository at this point in the history
  16. http: guard against failed sockets creation

    PR-URL: nodejs#13839
    Fixes: nodejs#13045
    Fixes: nodejs#13831
    Refs: nodejs#13352
    Refs: nodejs#13548 (comment)
    Reviewed-By: Trevor Norris <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c652845 View commit details
    Browse the repository at this point in the history
  17. test: refactor test-http(s)-set-timeout-server

    * Make changes to `test-https-set-timeout-server` to resolve
      inconsistencies with its http counterpart:
    
      - Apply the changes analogous to those in nodejsGH-13802 to the https test.
      - Add a missing `common.mustCall()` wrapper.
      - Make small stylistic changes (e.g., remove unnecessary line breaks
        in comments) to make it visually consistent with the http test.
    
    * Use arrow functions.
    
    PR-URL: nodejs#13935
    Fixes: nodejs#13588
    Refs: nodejs#13802
    Refs: nodejs#13625
    Refs: nodejs#13822
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aqrln authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    534ae44 View commit details
    Browse the repository at this point in the history
  18. test: refactor test-http-hostname-typechecking

    * Use common.mustCall() to confirm callback is invoked.
    * Change spacing of require statements to conform to test-writing guide.
    
    PR-URL: nodejs#13993
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0707a6b View commit details
    Browse the repository at this point in the history
  19. test,fs: delay unlink in test-regress-nodejsGH-4027.js

    The sequential/test-regress-GH-4027 test is flaky with an increased
    system load, failing when the watched file is unlinked before the
    first state of the watched file is retrieved.
    
    After increasing the delay before unlinking and calling setTimeout
    after watchFile, the flakiness stopped reproducing.
    
    PR-URL: nodejs#14010
    Fixes: nodejs#13800
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    jaimecbernardo authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b9e07f9 View commit details
    Browse the repository at this point in the history
  20. test: fix require nits in some test-tls-* tests

    * Do not require if test is skipped.
    * Do not re-require without need.
    * Sort requiring by module names.
    
    PR-URL: nodejs#14008
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0cc12fc View commit details
    Browse the repository at this point in the history
  21. test: simplify test skipping

    * Make common.skip() exit.
    
      Also add common.printSkipMessage() for partial skips.
    
    * Don't make needless things before skip
    
    PR-URL: nodejs#14021
    Fixes: nodejs#14016
    Reviewed-By: Refael Ackermann <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    32a8f36 View commit details
    Browse the repository at this point in the history
  22. test: skip test-fs-readdir-ucs2 if no support

    If the filesystem does not support UCS2, do not run the test.
    
    PR-URL: nodejs#14029
    Fixes: nodejs#14028
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d288cf1 View commit details
    Browse the repository at this point in the history
  23. test: restore no-op function in test

    Remove common.mustCall() in test that might connect to a server already
    running on the local host.
    
    PR-URL: nodejs#14065
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e71b98f View commit details
    Browse the repository at this point in the history
  24. doc, util, console: clarify ambiguous docs

    Add clarification to the documentation on util.format()
    and console.log() regarding how excessive arguments are treated
    when the first argument is a non-format string
    compared to when it is not a string at all.
    
    PR-URL: nodejs#14027
    Fixes: nodejs#13908
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    nattelog authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d4a6ca6 View commit details
    Browse the repository at this point in the history
  25. doc: fix padding mode of crypto.publicDecrypt

    PR-URL: nodejs#14036
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    MoonBall authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    23c67de View commit details
    Browse the repository at this point in the history
  26. tools: use no-use-before-define ESLint rule

    Also fix repl and url libs for the rule.
    
    PR-URL: nodejs#14032
    Refs: http://eslint.org/docs/rules/no-use-before-define
    Reviewed-By: Daijiro Wachi <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e037742 View commit details
    Browse the repository at this point in the history
  27. tools: update: [email protected]

    * Remove pinning of eslint-plugin-markdown
    
      An issue affecting Node.js source has been fixed in
      eslint-plugin-markdown so we don't need to pin it to beta-4 anymore.
    
      Refs: eslint/markdown#69
    
    * Update eslint-plugin-markdown up to 1.0.0-beta.7
    
    * Fix docs for [email protected]
    
    PR-URL: nodejs#14047
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    aa4a700 View commit details
    Browse the repository at this point in the history
  28. url: normalize port on scheme change

    PR-URL: nodejs#13997
    Refs: whatwg/url#328
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    TimothyGu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    cf6afe3 View commit details
    Browse the repository at this point in the history
  29. benchmark: Improve event performance tests.

    Currently most of the event tests only test a single event type,
    which might let those benchmark take fast-paths (in V8) that aren't
    taken in realistic use cases, and thus the benchmarks are not good
    proxies of real world uses.
    
    PR-URL: nodejs#14052
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bmeurer authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    65a2e80 View commit details
    Browse the repository at this point in the history
  30. async_hooks: reduce duplication with factory

    PR-URL: nodejs#13755
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2eabd92 View commit details
    Browse the repository at this point in the history
  31. async-hooks,net: ensure asyncId=null if no handle

    If the .listen() hasn't been called on the server, there is no handle
    object. In this case use null as the triggerAsyncId.
    
    Fixes: nodejs#13548
    PR-URL: nodejs#13938
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    Matt Sergeant authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    86c06c0 View commit details
    Browse the repository at this point in the history
  32. async_hooks: fix default nextTick triggerAsyncId

    In the case where triggerAsyncId is null it should default to the
    current executionAsyncId. This worked but as a side-effect the resource
    object was changed too.
    
    This fix also makes the null check more strict. EmitInitS is not a
    documented API, thus there is no reason to be flexible in its input.
    
    Ref: nodejs#13548 (comment)
    PR-URL: nodejs#14026
    Reviewed-By: Refael Ackermann <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7b369d1 View commit details
    Browse the repository at this point in the history
  33. n-api: use Maybe version of Object::SetPrototype()

    Fixes the following deprecation warning:
    
        ../src/node_api.cc:2020:30: warning: 'bool
        v8::Object::SetPrototype(v8::Local<v8::Value>)' is deprecated: Use
        maybe version [-Wdeprecated-declarations]
           wrapper->SetPrototype(proto);
        ../src/node_api.cc:2021:28: warning: 'bool
        v8::Object::SetPrototype(v8::Local<v8::Value>)' is deprecated: Use
        maybe version [-Wdeprecated-declarations]
           obj->SetPrototype(wrapper);
    
    PR-URL: nodejs#14053
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    de744ba View commit details
    Browse the repository at this point in the history
  34. n-api: fix -Wmaybe-uninitialized compiler warning

    Not an actual bug, as far as I can tell, the compiler is simply not
    smart enough to figure out that the offending code path isn't reached
    with an uninitialized value.
    
    PR-URL: nodejs#14053
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f393304 View commit details
    Browse the repository at this point in the history
  35. tools: eslint - use error and off

    PR-URL: nodejs#14061
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7d7da98 View commit details
    Browse the repository at this point in the history
  36. src: --abort-on-uncaught-exception in NODE_OPTIONS

    Allow --abort-on-uncaught-exception in NODE_OPTIONS, its useful to
    enable for post-mortem debugging.
    
    PR-URL: nodejs#13932
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sam-github authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    21ee4b1 View commit details
    Browse the repository at this point in the history
  37. test: add coverage for napi_typeof

    We had some, but not complete coverage indirectly through
    other tests.  Add test to validate it specifically and
    covers cases that were not being covered.
    
    PR-URL: nodejs#13990
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mhdawson authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2a91d59 View commit details
    Browse the repository at this point in the history
  38. doc: add documentation on ICU

    PR-URL: nodejs#13916
    Refs: nodejs#13644 (comment)
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    TimothyGu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9e6a4d6 View commit details
    Browse the repository at this point in the history
  39. test: check and fail inspector-cluster-port-clash

    Currently this test fail when configured --without-inspector or
    --without-ssl as it is expected to fail but the skipIfInspectorDisabled
    check will exit as if the test was sucessful.
    
    This commit checks if inspector support is available and fails the test
    allowing the test to be skipped.
    
    PR-URL: nodejs#14074
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    danbev authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9cfa52a View commit details
    Browse the repository at this point in the history
  40. N-API: Reuse ObjectTemplate instances

    V8 caches and does not subsequently release `ObjectTemplate` instances.
    Thus, we need to store the `ObjectTemplate` from which we derive object
    instances we use for `napi_wrap()` and function/accessor context in a
    persistent in the `napi_env`.
    
    nodejs/node-addon-api#70 (comment)
    
    PR-URL: nodejs#13999
    Reviewed-By: Ben Noordhuis <[email protected]>
    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]>
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    Gabriel Schulhof authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    53c52ac View commit details
    Browse the repository at this point in the history
  41. n-api: add napi_has_own_property()

    Refs: nodejs#13925
    PR-URL: nodejs#14063
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    cjihrig authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2a86650 View commit details
    Browse the repository at this point in the history
  42. src: document --abort-on-uncaught-exception

    Its important for post-mortem diagnostics and should be more prominently
    documented.
    
    PR-URL: nodejs#13931
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    sam-github authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b799498 View commit details
    Browse the repository at this point in the history
  43. async_hooks: use common emitBefore and emitAfter

    Timers and nextTick have special emitBefore and emitAfter functions for
    historic reasons. These function are not needed any more, thus the
    public emitBefore and emitAfter function can be used.
    
    PR-URL: nodejs#14050
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9f66f19 View commit details
    Browse the repository at this point in the history
  44. async_hooks: require parameter in emitBefore

    Using asyncId as the default triggerAsyncId is wrong. The triggerAsyncId
    can actually never be the asyncId.
    
    PR-URL: nodejs#14050
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    544300e View commit details
    Browse the repository at this point in the history
  45. tools: remove align-multiline-assignment lint rule

    In preparation for stricter indentation linting, remove the
    align-multiline-assignment custom rule, as it may conflict with the
    ESLint stricter indentation linting.
    
    PR-URL: nodejs#14079
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f8d76dc View commit details
    Browse the repository at this point in the history
  46. repl: fix crash with large buffer tab completion

    If the buffer or array is too large to completion, make a dummy smallest
    substitute object for it and emit a warning.
    
    PR-URL: nodejs#13817
    Fixes: nodejs#3136
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    XadillaX authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3683f6b View commit details
    Browse the repository at this point in the history
  47. n-api: fix warning in test_general

    Currently the following warning is issued when buildning:
    
    Building addon
    /work/nodejs/node/test/addons-napi/test_general/
      CC(target) Debug/obj.target/test_general/test_general.o
    ../test_general.c:116:14: warning: variable 'result' is used
    uninitialized whenever 'if' condition is false
    [-Wsometimes-uninitialized]
      } else if (argument_type == napi_null) {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
    ../test_general.c:119:10: note: uninitialized use occurs here
      return result;
             ^~~~~~
    ../test_general.c:116:10: note: remove the 'if' if its condition is
    always true
      } else if (argument_type == napi_null) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../test_general.c:101:20: note: initialize the variable 'result' to
    silence this warning
      napi_value result;
                       ^
                        = NULL
    
    This commit simply initializes result to NULL to avoid this warning.
    
    PR-URL: nodejs#14104
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e25c5ef View commit details
    Browse the repository at this point in the history
  48. lib: use consistent indentation for ternaries

    In anticipation of stricter linting for indentation issues, modify
    ternary operators in lib that do not conform with the expected ESLint
    settings.
    
    PR-URL: nodejs#14078
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0764255 View commit details
    Browse the repository at this point in the history
  49. tools: fix error in eslintrc comment

    46d7cb8 introduced an error in a
    comment in `.eslintrc.yaml`. The second option needs to be an integer
    specifying the number of spaces per level of indentation.
    
    PR-URL: nodejs#14108
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e17fb82 View commit details
    Browse the repository at this point in the history
  50. lib: remove excess indentation

    In anticipation of stricter linting for indentation, remove instances of
    extra indentation that will be flagged by the new rules.
    
    PR-URL: nodejs#14090
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    a0866b6 View commit details
    Browse the repository at this point in the history
  51. tools: generate template literal for addon tests

    Instead of generating string concatenation, generate a template literal.
    This is mostly useful as a pre-emptive measure for avoiding problems
    when (if?) we enable the prefer-template lint rule in the test
    directory.
    
    PR-URL: nodejs#14094
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b97e140 View commit details
    Browse the repository at this point in the history
  52. doc: match debugger output & instructions to master behavior

    PR-URL: nodejs#13885
    Reviewed-By: Colin Ihrig <[email protected]>
    Jan Krems authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    32ddb66 View commit details
    Browse the repository at this point in the history
  53. doc,test: fs - reserved characters under win32

    Explain the behavior of `fs.open()` under win32 that file path contains
    some characters and add some test cases for them.
    
    < (less than)
    > (greater than)
    : (colon)
    " (double quote)
    / (forward slash)
    \ (backslash)
    | (vertical bar or pipe)
    ? (question mark)
    * (asterisk)
    
    PR-URL: nodejs#13875
    Refs: nodejs#13868
    Refs: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
    Refs: https://msdn.microsoft.com/en-us/library/windows/desktop/bb540537.aspx
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    XadillaX authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    4f0eb6f View commit details
    Browse the repository at this point in the history
  54. doc: fix mistake in http.md

    If the first parameter of `request.end` `data` is specified, it should
    be equivalent to calling `request.write(data, encoding)` (not
    `response.write(data, encoding)`) followed by `request.end(callback)`.
    
    This mistake was introduced in commit
    14b3aab:
    
        date: 28 November 2015 at 7:30:32 AM GMT+8
        author: jpersson <[email protected]>
        committer: James M Snell <[email protected]>
        summary: doc: add links and backticks around names
    
    PR-URL: nodejs#14126
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    galeo authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    217e1dc View commit details
    Browse the repository at this point in the history
  55. build,win: skip vcvarsall.bat if env is set

    PR-URL: nodejs#13806
    Fixes: nodejs#13765
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Kunal Pathak <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    897405d View commit details
    Browse the repository at this point in the history
  56. build: split up cpplint to avoid long cmd lines

    Refactors cpplint slightly to allow multiple runs of it. This allows
    downstream projects to run cpplint on their dependencies.
    
    PR-URL: nodejs#14116
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Kunal Pathak <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    kfarnung authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9ee271d View commit details
    Browse the repository at this point in the history
  57. fs: two minor optimizations

    * tryStatSync should not return any value
      If the function threw, it would never reach that code path.
    
    * only use try catch if necessary
      lchmodSync does not need the second try catch in most cases.
    
    PR-URL: nodejs#14055
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2a02868 View commit details
    Browse the repository at this point in the history
  58. test: ignore connection errors for hostname check

    PR-URL: nodejs#14073
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e080fb3 View commit details
    Browse the repository at this point in the history
  59. doc: note 'resize' event conditions on Windows

    PR-URL: nodejs#13576
    Fixes: nodejs#13197
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Dean-Coakley authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    cfa5e0c View commit details
    Browse the repository at this point in the history
  60. test: fix cctest failure on Windows

    Linux converts the ipv6 address "::" to "::1", while windows does not.
    By explicitly using "::1" in the test we allow it to succeed on windows.
    
    PR-URL: nodejs#14111
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Eugene Ostroukhov <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Kunal Pathak <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MSLaguana authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d0e4e2b View commit details
    Browse the repository at this point in the history
  61. lib: normalize indentation in parentheses

    In anticipation of stricter indentation linting, normalize indentation
    of code in parentheses.
    
    PR-URL: nodejs#14125
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b12b8c2 View commit details
    Browse the repository at this point in the history
  62. src: whitelist v8 options with '_' or '-'

    V8 options allow either '_' or '-' to be used in options as a seperator,
    such as "--abort-on_uncaught-exception". Allow these case variations
    when used with NODE_OPTIONS.
    
    PR-URL: nodejs#14093
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sam-github authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    50913b1 View commit details
    Browse the repository at this point in the history
  63. doc: correct stream Duplex allowHalfOpen doc

    If allowHalfOpen is set to false, the stream will automatically end the
    writable side when the readable side ends, but not the other way around.
    
    PR-URL: nodejs#14127
    Fixes: nodejs#4044
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    575dcdc View commit details
    Browse the repository at this point in the history
  64. test: add get/set effective uid/gid tests

    3c92ca2 should have had tests
    to go along with it. This adds tests for the following functions:
    
    * `process.geteuid()`
    * `process.seteuid()`
    * `process.getegid()`
    * `process.setegid()`
    
    PR-URL: nodejs#14091
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    697ea62 View commit details
    Browse the repository at this point in the history
  65. doc: removed redundant mentions to error codes

    PR-URL: nodejs#13627
    Backport-PR-URL: nodejs#14175
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    jklepatch authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    01b98a7 View commit details
    Browse the repository at this point in the history
  66. async_hooks: C++ Embedder API overhaul

    * Fix AsyncHooksGetTriggerAsyncId such it corresponds to
    async_hooks.triggerAsyncId and not async_hooks.initTriggerId.
    * Use an async_context struct instead of two async_uid values.
      This change was necessary since the fixing
      AsyncHooksGetTriggerAsyncId otherwise makes it impossible to
      get the correct default trigger id. It also prevents an invalid
      triggerAsyncId in MakeCallback.
    * Rename async_uid to async_id for consistency
    * Rename get_uid to get_async_id
    * Add get_trigger_async_id to AsyncResource class
    
    PR-URL: nodejs#14040
    Backport-PR-URL: nodejs#14109
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    76ba1b5 View commit details
    Browse the repository at this point in the history
  67. test: remove common.noop

    This change removes `common.noop` from the Node.js internal testing
    common module.
    
    Over the last few weeks, I've grown to dislike the `common.noop`
    abstraction.
    
    First, new (and experienced) contributors are unaware of it and so it
    results in a large number of low-value nits on PRs. It also increases
    the number of things newcomers and infrequent contributors have to be
    aware of to be effective on the project.
    
    Second, it is confusing. Is it a singleton/property or a getter? Which
    should be expected? This can lead to subtle and hard-to-find bugs. (To
    my knowledge, none have landed on master. But I also think it's only a
    matter of time.)
    
    Third, the abstraction is low-value in my opinion. What does it really
    get us? A case could me made that it is without value at all.
    
    Lastly, and this is minor, but the abstraction is wordier than not using
    the abstraction. `common.noop` doesn't save anything over `() => {}`.
    
    So, I propose removing it.
    
    PR-URL: nodejs#12822
    Backport-PR-URL: nodejs#14174
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e879a56 View commit details
    Browse the repository at this point in the history
  68. test: fix flaky test-https-set-timeout-server

    Because of a race condition, connection listener may not be invoked if
    test is run under load. Remove `common.mustCall()` wrapper from the
    listener. Move the test to `parallel` because it now works under load.
    Make similar change to http test to keep them in synch even though it is
    much harder to trigger the race in http.
    
    PR-URL: nodejs#14134
    Fixes: nodejs#14133
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    de84249 View commit details
    Browse the repository at this point in the history
  69. buffer: remove MAX_SAFE_INTEGER check on length

    MAX_SAFE_INTEGER is millions of times larger than the largest buffer
    allowed in Node.js. There is no need to squash the length down to
    MAX_SAFE_INTEGER. Removing that check results in a small but
    statistically significant increase for Buffer.from() operating on
    ArrayBuffers in some situations.
    
    PR-URL: nodejs#14131
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    bed1344 View commit details
    Browse the repository at this point in the history
  70. querystring: fix up lastPos usage

    Use lastPos ONLY for tracking what has been .slice()'d, never as an
    indication of if key/value has been seen, since lastPos is updated on
    seeing + as well.
    
    PR-URL: nodejs#14151
    Fixes: nodejs#13773
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    TimothyGu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c56a890 View commit details
    Browse the repository at this point in the history
  71. doc: add missing space

    PR-URL: nodejs#14181
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    TimothyGu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    eb90ad6 View commit details
    Browse the repository at this point in the history
  72. test: reduce test-benchmark-net run duration

    Set configuration option to reduce combinations of benchmark settings
    tried in test, reducing execution time by about 50%.
    
    PR-URL: nodejs#14183
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    cd9eba9 View commit details
    Browse the repository at this point in the history
  73. test: reduce run time for test-benchmark-http

    Specify more configuration options to reduce run time by about a third.
    
    PR-URL: nodejs#14180
    Fixes: nodejs#14177
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7325704 View commit details
    Browse the repository at this point in the history
  74. test: reduce run time for test-benchmark-crypto

    Specify options to reduce combinations of benchmarks run during testing.
    This reduces the run time by approximately 30% and will hopefully allow
    Raspberry Pi 1 devices in CI to finish the test.
    
    PR-URL: nodejs#14189
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3bc713e View commit details
    Browse the repository at this point in the history
  75. n-api: Implement stricter wrapping

    Use a stronger criterion to identify objects in the prototype chain that store
    pointers to native data that were added by previous calls to `napi_wrap()`.
    
    Whereas the old criterion for identifying `napi_wrap()`-injected prototype
    chain objects was to consider an object with an internal field
    count of 1 to be such an object, the new criterion is to consider an object
    with an internal field count of 2 such that the second field holds a
    `v8::External` which itself contains a pointer to a global static string unique
    to N-API to be a `napi_wrap()`-injected prototype chain object.
    
    This greatly reduces the possibility of returning a pointer that was not
    previously added with `napi_wrap()`, and it allows us to recognize that an
    object has already undergone `napi_wrap()` and we can thus prevent a chain of
    wrappers only the first of which is accessible from appearing in the prototype
    chain, as would be the result of multiple calls to `napi_wrap()` using the same
    object.
    
    PR-URL: nodejs#13872
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Gabriel Schulhof authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f2054f3 View commit details
    Browse the repository at this point in the history
  76. n-api: wrap test macros in do/while

    PR-URL: nodejs#14095
    Reviewed-By: Jason Ginchereau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    kfarnung authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b1eb6d5 View commit details
    Browse the repository at this point in the history
  77. test,async_hooks: skip whether TTY is available

    If TTY isn't available then the test will always fail. Also use the
    already available process.stdin instead of opening another ReadStream.
    
    PR-URL: nodejs#13991
    Fixes: nodejs#13984
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1fc5c29 View commit details
    Browse the repository at this point in the history
  78. test,async_hooks: match test-ttywrap.readstream

    Match changes made to test-ttywrap.readstream for consistency.
    
    PR-URL: nodejs#13991
    Fixes: nodejs#13984
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    trevnorris authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b717609 View commit details
    Browse the repository at this point in the history
  79. doc: prefix of the stacktrace in errors.md

    PR-URL: nodejs#14150
    Fixes: nodejs#5675
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Kunal Pathak <[email protected]>
    romanshoryn authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1b3cf97 View commit details
    Browse the repository at this point in the history
  80. child_process: refactor normalizeSpawnArguments()

    Code is not in hot path. Refactor ternary to be more readable if/else
    block that mirrors analogous code elsewhere in the function. Change
    string concatenation to template literal.
    
    PR-URL: nodejs#14149
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    096080b View commit details
    Browse the repository at this point in the history
  81. tools: update ESLint to 4.2.0

    ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to
    the non-legacy stricter indentation linting. Update to 4.2.0 to remove
    the blocking issue.
    
    PR-URL: nodejs#14155
    Ref: eslint/eslint#8882
    Ref: eslint/eslint#8885
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    ef53149 View commit details
    Browse the repository at this point in the history
  82. tools: increase test timeouts

    At least temporarily until snapshots are restored, increase timeout for
    tests. Tests that spawn many processes are timing out across many
    platforms on CI.
    
    PR-URL: nodejs#14197
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    36c267c View commit details
    Browse the repository at this point in the history
  83. async_hooks: move restoreTmpHooks call to init

    This fixes an error that could occure by nesting async_hooks calls
    
    PR-URL: nodejs#14054
    Ref: nodejs#13755 (comment)
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    BridgeAR authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3211eff View commit details
    Browse the repository at this point in the history
  84. async_hooks: fix nested hooks mutation

    In some cases restoreTmpHooks is called too early, this causes
    active_hooks_array to change during execution of the init hooks.
    
    PR-URL: nodejs#14143
    Ref: nodejs#14054 (comment)
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0c69ec1 View commit details
    Browse the repository at this point in the history
  85. async_hooks: rename internal emit functions

    There are two categories of emit functions in async_hooks, those used by
    c++ (native) and those used by JavaScript (script). Previously these
    were named N for native and S for script. Finally, there was an odd case
    where emitInitN was called just init. This makes it more explicit by
    using the names emitInitNative and emitInitScript. The other emit
    functions are also renamed.
    
    PR-URL: nodejs#14152
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1aac2c0 View commit details
    Browse the repository at this point in the history
  86. async_hooks: make AsyncResource match emitInit

    AsyncResource previously called emitInitNative. Since AsyncResource is
    just an abstraction on top of the emitEventScript functions, it should
    call emitInitScript instead.
    
    PR-URL: nodejs#14152
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    AndreasMadsen authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    71ee15d View commit details
    Browse the repository at this point in the history
  87. deps: upgrade libuv to 1.13.1

    PR-URL: nodejs#14117
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    fe6ca44 View commit details
    Browse the repository at this point in the history
  88. test: handle missing V8 tests in n-api test

    The N-API test testInstanceOf.js relies on several V8 test files
    which may not exist in downloadable archives. If the files are
    missing, this commit causes a warning to be emitted rather than
    failing the test.
    
    Refs: nodejs#14113
    Fixes: nodejs#13344
    PR-URL: nodejs#14123
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3fcc7e6 View commit details
    Browse the repository at this point in the history
  89. test: decrease duration of test-cli-syntax

    Previously, test/parallel/test-cli-syntax.js was spawning a lot of child
    processes, but using spawnSync, which made the test run each child
    process serially. This switches most of the test cases to use exec so
    that they are asynchronous. Locally, the test went from > 5 seconds to
    under 2 seconds.
    
    PR-URL: nodejs#14187
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    evanlucas authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1671fe4 View commit details
    Browse the repository at this point in the history
  90. n-api: add napi_fatal_error API

    PR-URL: nodejs#13971
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jason Ginchereau <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    kfarnung authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3bd18c5 View commit details
    Browse the repository at this point in the history
  91. build: allow enabling the --trace-maps flag in V8

    This can be useful for tracing map creation.
    
    Backport-PR-URL: nodejs#14344
    Backport-Reviewed-By: Ben Noordhuis <[email protected]>
    Backport-Reviewed-By: Refael Ackermann <[email protected]>
    PR-URL: nodejs#14018
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    evanlucas authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b757105 View commit details
    Browse the repository at this point in the history
  92. build: run test-hash-seed at the end of test-v8

    The v8 and test-hash-seed targets cannot be run in parallel because they
    need different copies of the deps/v8 directory.
    
    Ref: nodejs#14004 (comment)
    PR-URL: nodejs#14219
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    922f58f View commit details
    Browse the repository at this point in the history
  93. tools: update package.json engine field

    PR-URL: nodejs#14165
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    strugee authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    5543802 View commit details
    Browse the repository at this point in the history
  94. doc: add notice about useGlobal option in repl docs

    PR-URL: nodejs#13866
    Fixes: nodejs#13827
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    starkwang authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    157ef23 View commit details
    Browse the repository at this point in the history
  95. doc: update umask for clarity

    PR-URL: nodejs#14170
    Fixes: nodejs#14169
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    jsumners authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e91a7a4 View commit details
    Browse the repository at this point in the history
  96. benchmark: fix typo in inspect-proxy

    PR-URL: nodejs#14237
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1c0f20f View commit details
    Browse the repository at this point in the history
  97. util: remove redundant declaration

    This module is already required in the top scope (Line 3).
    
    PR-URL: nodejs#14199
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    a675c3d View commit details
    Browse the repository at this point in the history
  98. test: http outgoing _renderHeaders

    PR-URL: nodejs#13981
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    peteyycz authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f5bea63 View commit details
    Browse the repository at this point in the history
  99. doc: fixes in cluster.md

    * Capitalization and punctuation.
    
    * `setupMaster` contained info about `settings` which where incomplete.
    
    PR-URL: nodejs#14140
    Fixes: nodejs#8495
    Fixes: nodejs#12941
    Refs: nodejs#9659
    Refs: nodejs#13761
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mutantcornholio authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c0703f0 View commit details
    Browse the repository at this point in the history
  100. test: reduce offset in test-inspector-port-cluster

    10 ports for each test-case is too much.
    Not enough ports for new test cases, considering ~100 ports per file.
    
    PR-URL: nodejs#14140
    Fixes: nodejs#8495
    Fixes: nodejs#12941
    Refs: nodejs#9659
    Refs: nodejs#13761
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mutantcornholio authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d651a01 View commit details
    Browse the repository at this point in the history
  101. cluster: overriding inspector port

    Added an option to override inspector port for workers using
    `settings.inspectPort` will override default port incrementing behavior.
    Also, using this option allows to set 0 port for the whole cluster.
    
    PR-URL: nodejs#14140
    Fixes: nodejs#8495
    Fixes: nodejs#12941
    Refs: nodejs#9659
    Refs: nodejs#13761
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    mutantcornholio authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    dfc46e2 View commit details
    Browse the repository at this point in the history
  102. test: make common.PIPE process unique

    * includes a tiny bit of refactoring in adjacent lines.
    * fixes 1 test and 1 benchmark that depended on PIPE being constant.
    
    PR-URL: nodejs#14168
    Fixes: nodejs#14128
    Reviewed-By: James M Snell <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    724e7e1 View commit details
    Browse the repository at this point in the history
  103. test: disable MultipleEnvironmentsPerIsolate

    This is a temporary measure until the issue is fixed.
    
    PR-URL: nodejs#14246
    Refs: nodejs#14206
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    refack authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9efd328 View commit details
    Browse the repository at this point in the history
  104. test: fix flaky test-net-can-reset-timeout

    Use `.once()` rather than `.on()` for timeout listener.
    
    Add comment with URL for issue explaining the purpose of the test. (h/t
    refack)
    
    PR-URL: nodejs#14257
    Fixes: nodejs#14241
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    bf94572 View commit details
    Browse the repository at this point in the history
  105. test: check complete error message

    In test-stream-writable-change-default-encoding, use a regular
    expression to match the complete error message.
    
    PR-URL: nodejs#14264
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    fraserxu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c44d899 View commit details
    Browse the repository at this point in the history
  106. test: replace string concat with template literal

    Replace the string concat at test/addons-napi/test_reference/test.js.
    
    PR-URL: nodejs#14269
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    4garfield authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c8087c0 View commit details
    Browse the repository at this point in the history
  107. test: use regular expression to match error msg

    PR-URL: nodejs#14265
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Amunu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    a338b94 View commit details
    Browse the repository at this point in the history
  108. test: use regluar expression in vm test

    update test/parallel/test-vm-create-context-arg.js
    in line 27 to change `TypeError` to the regular expression
    with the `/^TypeError: sandbox must be an object$/`.
    
    PR-URL: nodejs#14266
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    AkiraXue authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e37510a View commit details
    Browse the repository at this point in the history
  109. test: use regexp to confir error message

    In test/parallel/test-stream-writable-null.js, use a regular expression
    to validate error message in assert.throws() call.
    
    PR-URL: nodejs#14268
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    bangwu authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    76a4671 View commit details
    Browse the repository at this point in the history
  110. util: delete unused argument 'depth'

    In lib/util.js, Line 1056, there is a 'depth' argument that is unused
    for 'process.versions[exports.inspect.custom]', so delete it.
    
    PR-URL: nodejs#14267
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    kadoufall authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    783cf50 View commit details
    Browse the repository at this point in the history
  111. test: simplify string concatenation

    Replace string concatenation with template literals.
    Updated `test/parallel/test-http-multi-line-headers.js`
    
    PR-URL: nodejs#14278
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    jiangplus authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    802783d View commit details
    Browse the repository at this point in the history
  112. test: use template literal for string concat

    In test/parallel/test-repl-persistent-history.js, replace string
    concatenation with a template literal.
    
    PR-URL: nodejs#14288
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    whatwewant authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    65bccd5 View commit details
    Browse the repository at this point in the history
  113. test: use template literals as appropriate

    Replace string concatenation with template string literals in
    test-graph.signal.js.
    
    PR-URL: nodejs#14289
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    blade254353074 authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    85c181a View commit details
    Browse the repository at this point in the history
  114. test: replace string concatenation with template

    Replace string concatenation with template literals in
    test/async-hooks/verify-graph.js.
    
    PR-URL: nodejs#14279
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    miccycn authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    337a865 View commit details
    Browse the repository at this point in the history
  115. test: improve regexps for error checking

    test/parallel/test-catpto-random.js contains an object called
    errorMesssage that contains regular expressions.They are only partially
    matching regular expressions. Make them match the entire error message.
    
    PR-URL: nodejs#14271
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    hacke2 authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f5e8342 View commit details
    Browse the repository at this point in the history
  116. test: use template literals in test-writewrap

    Use template literals instead of string concatenation in
    test/async-hooks/test-writewrap.js.
    
    PR-URL: nodejs#14292
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    vercentdeng authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9257e7e View commit details
    Browse the repository at this point in the history
  117. test: change style in test-cli-bad-options

    Replace string concatenation in test/parallel/test-cli-bad-options.js
    with template literal. Adjust argument layout for readability.
    
    PR-URL: nodejs#14274
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    boydfd authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f9b292c View commit details
    Browse the repository at this point in the history
  118. test: use regex error checks in test-util-format

    Replace constructor with regular expression for second argument
    to assert.throws() in test-util-format.
    
    PR-URL: nodejs#14299
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    superwoods authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    784102f View commit details
    Browse the repository at this point in the history
  119. url: do not use HandleScope in ToObject

    It is not needed / invalidates the returned value unlike EscapableHandleScope
    
    PR-URL: nodejs#14096
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bmeck authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    d23c49f View commit details
    Browse the repository at this point in the history
  120. deps: upgrade npm to 5.3.0

    PR-URL: nodejs#14235
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zkat authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    dc3f6b9 View commit details
    Browse the repository at this point in the history
  121. build: add npx to installers

    PR-URL: nodejs#14235
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zkat authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    6b052e7 View commit details
    Browse the repository at this point in the history
  122. deps: hotfix to bump npx version

    This includes a critical fix to get npx working on Windows
    
    PR-URL: nodejs#14235
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    zkat authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9327910 View commit details
    Browse the repository at this point in the history
  123. doc: move LTS README link to increase prominence

    PR-URL: nodejs#14259
    Fixes: nodejs#10718
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gibfahn authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    6f13d7d View commit details
    Browse the repository at this point in the history
  124. http: OutgoingMessage change writable after end

    When an OutgoingMessage is closed (for example, using the `end`
    method), its 'writable' property should be changed to false - since it
    is not writable anymore. The 'writable' property should have the
    opposite value of the 'finished' property.
    
    PR-URL: nodejs#14024
    Fixes: nodejs#14023
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Kasher authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    63aee3b View commit details
    Browse the repository at this point in the history
  125. gyp: implement LD/LDXX for ninja and FIPS

    The ability to set the link rule is used for FIPS, and needs to set
    both the `ld =` and `ldxx =` variables in the ninja build file to link
    c++ (node) and c (openssl-cli, etc.) executables.
    
    URL: nodejs#14227
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sam-github authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    4587f21 View commit details
    Browse the repository at this point in the history
  126. build: prevent VsDevCmd.bat from changing cwd

    VsDevCmd.bat changes the current working directory to
    "%USERPROFILE%\Source" if it exists. Setting VSCMD_START_DIR overrides
    this behavior.
    
    PR-URL: nodejs#14303
    Fixes: nodejs#14300
    Refs: https://developercommunity.visualstudio.com/content/problem/26780/vsdevcmdbat-changes-the-current-working-directory.html
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    seishun authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1444601 View commit details
    Browse the repository at this point in the history
  127. src: remove extra heap allocations in CipherBase

    Don't allocate + copy + free; allocate and fill in place, then hand off
    the pointer to Buffer::New().
    
    Avoids unnecessary heap allocations in the following methods:
    
    - crypto.Cipher#final()
    - crypto.Cipher#update()
    - crypto.Cipheriv#final()
    - crypto.Cipheriv#update()
    - crypto.Decipher#final()
    - crypto.Decipher#update()
    - crypto.Decipheriv#final()
    - crypto.Decipheriv#update()
    - crypto.privateDecrypt()
    - crypto.privateEncrypt()
    - crypto.publicDecrypt()
    - crypto.publicEncrypt()
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2ee31aa View commit details
    Browse the repository at this point in the history
  128. src: remove unneeded const_cast

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    efb7aef View commit details
    Browse the repository at this point in the history
  129. src: avoid heap allocation in sign.final()

    Put the 8 kB initial buffer on the stack first and don't copy it to the
    heap until its exact size is known (which is normally much smaller.)
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    174f8c8 View commit details
    Browse the repository at this point in the history
  130. src: don't heap allocate GCM cipher auth tag

    Fix a memory leak by removing the heap allocation altogether.
    
    Fixes: nodejs#13917
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1af064b View commit details
    Browse the repository at this point in the history
  131. src: remove superfluous cipher_ data member

    The EVP_CIPHER can be reconstructed from the EVP_CIPHER_CTX instance,
    no need to store it separately.
    
    This brought to light the somewhat dubious practice of accessing the
    EVP_CIPHER after the EVP_CIPHER_CTX instance had been destroyed.
    
    It's mostly harmless due to the static nature of built-in EVP_CIPHER
    instances but it segfaults when the cipher is provided by an ENGINE
    and the ENGINE is unloaded because its reference count drops to zero.
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    db65422 View commit details
    Browse the repository at this point in the history
  132. src: remove unused Local

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0fcb8b1 View commit details
    Browse the repository at this point in the history
  133. src: make CipherBase::kind_ const

    The cipher kind doesn't change over the lifetime of the cipher so make
    it const.
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    8dd6866 View commit details
    Browse the repository at this point in the history
  134. src: remove extra heap allocation in GetSession()

    Don't allocate + copy + free; allocate and fill in place, then hand off
    the pointer to Buffer::New().
    
    Avoids unnecessary heap allocations in the following methods:
    
    - crypto.CryptoStream#getSession()
    - tls.TLSSocket#getSession()
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    8be9bd1 View commit details
    Browse the repository at this point in the history
  135. src: avoid heap allocation in hmac.digest()

    Add a test that ensures the second call to .digest() returns an empty
    HMAC, like it did before.  No comment on whether that is the right
    behavior or not.
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    8e51d31 View commit details
    Browse the repository at this point in the history
  136. src: remove extra heap allocations in DH functions

    Replace allocate + Encode() + free patterns by calls to Malloc +
    the Buffer::New() overload that takes ownership of the pointer.
    Avoids unnecessary heap allocations and copying around of data.
    
    DRY the accessor functions for the prime, generator, public key and
    private key properties; deletes about 40 lines of quadruplicated code.
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    233740c View commit details
    Browse the repository at this point in the history
  137. src: refactor PBKDF2Request

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    41f79fb View commit details
    Browse the repository at this point in the history
  138. src: make array arg length compile-time checkable

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1c3e090 View commit details
    Browse the repository at this point in the history
  139. src: avoid heap allocation in crypto.pbkdf2()

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b5802c7 View commit details
    Browse the repository at this point in the history
  140. src: remove PBKDF2Request::release()

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    8f4b84b View commit details
    Browse the repository at this point in the history
  141. src: simplify PBKDF2Request

    This also renames a misnamed variable `error_` to `success_`.
    
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    ad0669b View commit details
    Browse the repository at this point in the history
  142. src: guard against double free in randomBytes()

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e4b7019 View commit details
    Browse the repository at this point in the history
  143. src: reduce allocations in exportPublicKey()

    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0bbdb78 View commit details
    Browse the repository at this point in the history
  144. src: fix memory leak in DH key setters

    Fix a memory leak in dh.setPublicKey() and dh.setPrivateKey() where the
    old keys weren't freed.
    
    Fixes: nodejs#8377
    PR-URL: nodejs#14122
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    f237ad5 View commit details
    Browse the repository at this point in the history
  145. doc: add guidance on testing new errors

    PR-URL: nodejs#14207
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7a116d4 View commit details
    Browse the repository at this point in the history
  146. lib: update indentation of ternaries

    In preparation for stricter indentation linting and to increase code
    clarity, update indentation for ternaries in lib.
    
    PR-URL: nodejs#14247
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    6361565 View commit details
    Browse the repository at this point in the history
  147. test: check error with regex in test-signal-safety

    Change TypeError to a regular expression in assert.throws() in
    test/parallel/test-signal-safety.js.
    
    PR-URL: nodejs#14285
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    shaman2009 authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    bf663a8 View commit details
    Browse the repository at this point in the history
  148. test: use regex error check in test-crypto-random

    Replace constructor in assert.throws() to a regular expression to check
    the error thrown in a test in test-crypto-random.
    
    PR-URL: nodejs#14273
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    f48vj authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    0f52b41 View commit details
    Browse the repository at this point in the history
  149. test: add test for http outgoing internal headers

    PR-URL: nodejs#13980
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    gergelyke authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    86e55ef View commit details
    Browse the repository at this point in the history
  150. deps: update V8 to 5.9.211.35

    PR-URL: nodejs#13515
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    1dbbea8 View commit details
    Browse the repository at this point in the history
  151. deps: limit regress/regress-crbug-514081 v8 test

    regress/regress-crbug-514081 allocates a 2G block of memory
    and if there  are multiple variants running at the
    same time this can lead to crashes, OOM kills or
    the OS failing to allocate memory.  This patch
    limits us to running a single variant of the test
    
    Fixes: nodejs#6340
    PR-URL: nodejs#6678
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    mhdawson authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    331792a View commit details
    Browse the repository at this point in the history
  152. deps: run memory hungry V8 test in exclusive mode

    es6/typedarray-construct-offset-not-smi allocates a 2G block of memory
    and if there  are multiple variants running at the same time this can
    lead to crashes, OOM kills or the OS failing to allocate memory.
    This patch limits us to running a single variant of the test.
    
    Refs: nodejs#6678
    
    PR-URL: nodejs#13263
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    42cb87a View commit details
    Browse the repository at this point in the history
  153. deps: add missing include to V8 i18n.cc

    This is required for ICU 59.1.
    
    PR-URL: nodejs#13263
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    227f8ea View commit details
    Browse the repository at this point in the history
  154. deps: fix addons compilation with VS2013

    VS2013 does not support defaulting move constructor and assignment
    operator. This adds explicit definitions of those methods for two
    classes.
    This fix is required because we still support building addons with
    VS2013 and the incompatibility is in v8.h.
    
    Fixes: nodejs/node-v8#4
    
    PR-URL: nodejs#13263
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    bzoz authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    5b42758 View commit details
    Browse the repository at this point in the history
  155. v8: fix stack overflow in recursive method

    HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock()
    used to self-recurse before this commit, causing stack overflows on
    systems with small stack sizes.  Make it non-recursive by storing
    intermediate results in a heap-allocated list.
    
    Fixes: nodejs#11991
    PR-URL: nodejs#12460
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yang Guo <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    48a310c View commit details
    Browse the repository at this point in the history
  156. v8: fix gcc 7 build errors

    Porting nodejs#12392 to V8 5.9
    
    Ref: nodejs#12392
    Fixes: nodejs#10388
    PR-URL: nodejs#13515
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    9235125 View commit details
    Browse the repository at this point in the history
  157. deps: cherry-pick bfae9db from upstream v8

    Original commit message:
    
        Update postmortem metadata generator.
    
        Add PropertyDetails::AttributesField +
        PropertyDetails::LocationField.
    
        Review-Url: https://codereview.chromium.org/2842843004
        Cr-Commit-Position: refs/heads/master@{nodejs#44889}
    
    PR-URL: nodejs#12722
    Refs: nodejs/llnode#81
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    bnoordhuis authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    2f17f46 View commit details
    Browse the repository at this point in the history
  158. deps: cherry-pick f5fad6d from upstream v8

    Original commit message:
    
        This commit adds a getter for the private is_verbose_ member.
        The use case for this comes from Node.js where the ability to avoid
        calling FatalException if the TryCatch is verbose would be nice
        to have.
    
        BUG=
    
        Review-Url: https://codereview.chromium.org/2840803002
        Cr-Commit-Position: refs/heads/master@{nodejs#45018}
    
    PR-URL: nodejs#12826
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    danbev authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    dd3bfd9 View commit details
    Browse the repository at this point in the history
  159. deps: cherry-pick 6d38f89 from upstream V8

    Original commit message:
    
        [turbofan] Boost performance of Array.prototype.shift by 4x.
    
        For small arrays, it's way faster to just move the elements instead of
        doing the fairly complex and heavy-weight left-trimming. Crankshaft has
        had this optimization for small arrays already; this CL more or less
        ports this functionality to TurboFan, which yields a 4x speed-up when
        using shift on small arrays (with up to 16 elements).
    
        This should recover some of the regressions reported in the Node.js issues
    
          nodejs#12657
    
        and discovered for the syncthrough module using
    
          https://github.com/mcollina/syncthrough/blob/master/benchmarks/basic.js
    
        as benchmark.
    
        [email protected]
        BUG=v8:6376
    
        Review-Url: https://codereview.chromium.org/2874453002
        Cr-Commit-Position: refs/heads/master@{nodejs#45216}
    
    PR-URL: nodejs#13263
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    120e39e View commit details
    Browse the repository at this point in the history
  160. deps: backport 4fdf9fd4813 from upstream v8

    Original commit message:
    
        Add documentation for FunctionCallbackInfo
    
        [email protected],[email protected],[email protected]
        BUG=
    
        Change-Id: I273f5ce305f80b2aa5e9c8c42a6e8e5afc51a0a7
        Reviewed-on: https://chromium-review.googlesource.com/484422
        Reviewed-by: Kentaro Hara <[email protected]>
        Reviewed-by: Toon Verwaest <[email protected]>
        Commit-Queue: Jochen Eisinger <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#44927}
    
    Ref: v8/v8@4fdf9fd4813
    
    PR-URL: nodejs#12875
    Reviewed-By: James M Snell <[email protected]>
    jeisinger authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    c697c1c View commit details
    Browse the repository at this point in the history
  161. v8: do not test v8 with -Werror

    PR-URL: nodejs#12875
    Reviewed-By: James M Snell <[email protected]>
    addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3d10e3f View commit details
    Browse the repository at this point in the history
  162. v8: backport bd59e7452be from upstream v8

    Original commit message:
        [PATCH] Merged: Make Object::GetOwnPropertyDescriptor() take a Name, not a String.
    
        Revision: b5e610c19208ef854755eec67011ca7aff008bf4
    
        NOTRY=true
        NOPRESUBMIT=true
        NOTREECHECKS=true
        [email protected]
    
        Bug:
        Change-Id: I396b559b28aab6afa138db747711e50cd0da3da7
        Reviewed-on: https://chromium-review.googlesource.com/513927
        Reviewed-by: Michael Achenbach <[email protected]>
        Cr-Commit-Position: refs/branch-heads/6.0@{nodejs#5}
        Cr-Branched-From: 97dbf624a5eeffb3a8df36d24cdb2a883137385f-refs/heads/6.0.286@{#1}
        Cr-Branched-From: 12e6f1cb5cd9616da7b9d4a7655c088778a6d415-refs/heads/master@{nodejs#45439}
    
    PR-URL: nodejs#13217
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mi-ac authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e513c3d View commit details
    Browse the repository at this point in the history
  163. v8: backport a9e56f4f36d from upstream v8

    Because 5.8 still had other uses of the removed flag, there are some extra
    changes in Heap::ConfigureHeap and api.cc:SetResourceConstraints.
    
    Original commit message:
        [heap] Remove max_executable_size resource constraint.
    
        BUG=chromium:716032
    
        Review-Url: https://codereview.chromium.org/2890603007
        Cr-Commit-Position: refs/heads/master@{nodejs#45400}
    
    PR-URL: nodejs#13217
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    psmarshall authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    61b61df View commit details
    Browse the repository at this point in the history
  164. v8: backport 4f82f1d948c from upstream v8

    Original commit message:
        [Api] Add an idle time garbage collection callback flag to GCCallbackFlags.
    
        BUG=chromium:718484
    
        Review-Url: https://codereview.chromium.org/2867073002
        Cr-Commit-Position: refs/heads/master@{nodejs#45167}
    
    PR-URL: nodejs#13217
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    hannespayer authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    95ca691 View commit details
    Browse the repository at this point in the history
  165. v8: backport 4f82f1d948c from upstream v8

    Original commit message:
        [PATCH] Rename idle garbage collection callback flag.
    
        [email protected]
    
        Review-Url: https://codereview.chromium.org/2867863002
        Cr-Commit-Position: refs/heads/master@{nodejs#45173}
    
    PR-URL: nodejs#13217
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    hannespayer authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    4e4c179 View commit details
    Browse the repository at this point in the history
  166. v8: backport pieces from 18a26cfe174 from upstream v8

    Backport new virtual methods from 18a26cfe174
    ("Add memory protection API to ArrayBuffer::Allocator")
    
    PR-URL: nodejs#13217
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    psmarshall authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    02e63ce View commit details
    Browse the repository at this point in the history
  167. deps: cherry-pick a16c3c9 from upstream V8

    Original commit message:
    
        Expose the ValueSerializer data format version as a compile-time constant.
    
        BUG=chromium:704293
    
        Review-Url: https://codereview.chromium.org/2804643006
        Cr-Commit-Position: refs/heads/master@{nodejs#44945}
    
    PR-URL: nodejs#13515
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jeremyroman authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    3482772 View commit details
    Browse the repository at this point in the history
  168. deps: cherry-pick 866ee63 from upstream V8

    Original commit message:
    
        [string] Re-enable result caching for String.p.split
    
        Runtime::kStringSplit's result caching is only enabled when limit equals
        kMaxUInt32.
    
        BUG=v8:6463
    
        Review-Url: https://codereview.chromium.org/2923183002
        Cr-Commit-Position: refs/heads/master@{nodejs#45724}
    
    Fixes: nodejs#13445
    PR-URL: nodejs#13515
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    01bbd0a View commit details
    Browse the repository at this point in the history
  169. v8: fix debug builds on Windows

    Adds missing return which fixes debug builds on Windows
    
    Fixes: nodejs#13392
    Ref: https://codereview.chromium.org/2929993003/
    PR-URL: nodejs#13634
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bzoz authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    54a9b6c View commit details
    Browse the repository at this point in the history
  170. deps: update V8 to 5.9.211.37

    PR-URL: nodejs#13790
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    targos authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    cffe541 View commit details
    Browse the repository at this point in the history
  171. deps: cherry-pick 3f4536894ac from V8 upstream

    Original commit message:
    
        d8: Make in process stack dumping optional
    
        Adds a flag (--disable-in-process-stack-traces) to not install
        signal handlers so that e.g. ASan signal handlers will work.
    
        This flag mirrors chromium's one.
    
        [email protected]
        BUG=chromium:716235
    
        Review-Url: https://codereview.chromium.org/2854173002
        Cr-Commit-Position: refs/heads/master@{nodejs#45142}
    
    PR-URL: nodejs#13985
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    oliverchang authored and addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    7b4b0af View commit details
    Browse the repository at this point in the history
  172. src: fix process.abort() interaction with V8

    Since V8 5.9 V8 installs a default signal handler for some signals
    when creating a default platform instance that prints a stack trace.
    
    However, Node already does the same thing, so it would seem like the
    two different stack traces would be printed; also, the V8 handler
    would lead to a `SIGSEGV` under some circumstances, rather than
    letting the abort continue normally.
    
    Resolve this by disabling V8’s signal handler by default.
    
    PR-URL: nodejs#13985
    Fixes: nodejs#13865
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e421f08 View commit details
    Browse the repository at this point in the history
  173. doc: fix inspectPort documentation in cluster.md

    - Add missing `changes:` entry
    - Use full sentences
    - Use proper indentation
    
    Ref: nodejs#14140
    PR-URL: nodejs#14349
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    e9491f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2017

  1. repl: fix old history error handling

    PR-URL: nodejs#13733
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    BridgeAR committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    9e61151 View commit details
    Browse the repository at this point in the history