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

[v6.x] v8: handle proxy objects in MakeMirror() #14343

Closed
wants to merge 17 commits into from

Commits on Jul 21, 2017

  1. net: support passing undefined to listen()

    For consistency with 4.x and 8.x.
    
    This commit also contains a forward port of
    nodejs#14232 to confirm that 4.x and 6.x
    behave identically with respect to the port argument.
    
    PR-URL: nodejs#14234
    Refs: nodejs#14205
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    sam-github authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    ccc0ab7 View commit details
    Browse the repository at this point in the history
  2. doc: prepare js code for eslint-plugin-markdown

    This is an initial step to eliminate most of parsing errors.
    
    Backport-PR-URL: nodejs#14067
    PR-URL: nodejs#12563
    Refs: nodejs#12557 (comment)
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    vsemozhetbyt authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    34c93e3 View commit details
    Browse the repository at this point in the history
  3. doc: conform to rules for eslint-plugin-markdown

    Backport-PR-URL: nodejs#14067
    PR-URL: nodejs#12563
    Refs: nodejs#12557 (comment)
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    vsemozhetbyt authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    95e0879 View commit details
    Browse the repository at this point in the history
  4. build, doc, tools: add eslint-plugin-markdown

    * Install eslint-plugin-markdown@1.0.0-beta.7
    * Add doc/.eslintrc.yaml
    * Add `plugins: [markdown]` to the main .eslintrc.yaml
    * .js files in doc folder added to .eslintignore
    * Update Makefile, vcbuild.bat, and tools/jslint.js
    
    Refs: nodejs#12563
    Refs: nodejs#12640
    Refs: nodejs#14047
    
    PR-URL: nodejs#14067
    Reviewed-By: James Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    8fef985 View commit details
    Browse the repository at this point in the history
  5. tools: remove no-useless-regex-char-class-escape

    The `no-useless-regex-char-class-escape` custom lint rule was introduced
    as a less aggressive alternative to some enhancements that were
    introduced into ESLint. Those enhancements were blocking us from
    updating ESLint. However, they have since been relaxed and the custom
    rule is no longer needed. Remove it.
    
    Backport-PR-URL: nodejs#14360
    PR-URL: nodejs#10561
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Trott authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    0d60a34 View commit details
    Browse the repository at this point in the history
  6. tools: fix indentation in required-modules.js

    In preparation for applying the more strict indentation linting
    available in ESLint 4.0.0, correct minor indentation issues in
    tools/eslint-rules/required-modules.js.
    
    This is the only file with indentation that does not conform to the
    stricter checks.
    
    Backport-PR-URL: nodejs#14360
    PR-URL: nodejs#13758
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    81c2763 View commit details
    Browse the repository at this point in the history
  7. tools: apply stricter indentation rules to tools

    ESLint 4.0.0 provides stricter (and more granular) indentation checking
    than previous versions. Apply the stricter indentation rules to the
    tools directory.
    
    Backport-PR-URL: nodejs#14360
    PR-URL: nodejs#13758
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    446b04a View commit details
    Browse the repository at this point in the history
  8. tools: fix error in custom ESLint rule

    Fix previously-unnoticed typo in `required-modules.js`.
    
    Backport-PR-URL: nodejs#14360
    Refs: nodejs#13758 (comment)
    PR-URL: nodejs#13758
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Trott authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    8648032 View commit details
    Browse the repository at this point in the history
  9. test: fix RegExp nits

    * Remove needless RegExp flag
    
      In fixed case, `/g` flag is needless in the boolean context.
    
    * Remove needless RegExp capturing
    
      Use non-capturing grouping or remove capturing completely when:
    
      * capturing is useless per se, e.g. in test() check;
      * captured groups are not used afterward at all;
      * some of the later captured groups are not used afterward.
    
    * Use test, not match/exec in boolean context
    
      match() and exec() return a complicated object,
      unneeded in a boolean context.
    
    * Do not needlessly repeat RegExp creation
    
      This commit takes RegExp creation out of cycles and other repetitions.
    
      As long as the RegExp does not use /g flag and match indices,
      we are safe here.
    
      In tests, this fix hardly gives a significant performance gain,
      but it increases clarity and maintainability,
      reassuring some RegExps to be identical.
    
      RegExp in functions are not taken out of their functions:
      while these functions are called many times
      and their RegExps are recreated with each call,
      the performance gain in test cases
      does not seem to be worth decreasing function self-dependency.
    
    Backport-PR-URL: nodejs#14370
    PR-URL: nodejs#13770
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    97f5806 View commit details
    Browse the repository at this point in the history
  10. vm: fix displayErrors in runIn.. functions

    This option has been broken for almost a year when used with any of the
    vm.runIn.. family of functions, except for syntax errors.
    
    Backport-PR-URL: nodejs#14373
    PR-URL: nodejs#13074
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    laverdet authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    565c556 View commit details
    Browse the repository at this point in the history
  11. vm: fix race condition with timeout param

    This fixes a race condition in the watchdog timer used for vm timeouts.
    The condition would terminate the main stack's execution instead of the
    code running under the sandbox.
    
    Backport-PR-URL: nodejs#14373
    PR-URL: nodejs#13074
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    laverdet authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    8188a52 View commit details
    Browse the repository at this point in the history
  12. http: describe parse err in debug output

    Backport-PR-URL: nodejs#14416
    PR-URL: nodejs#13206
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    sam-github authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    71e542c View commit details
    Browse the repository at this point in the history
  13. https: support rejectUnauthorized for unix sockets

    This commit allows self signed certificates to work with
    unix sockets by forwarding the rejectUnauthorized option.
    
    Backport-PR-URL: nodejs#14415
    Fixes: nodejs#13470
    PR-URL: nodejs#13505
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    cjihrig authored and MylesBorins committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    65f8bfb View commit details
    Browse the repository at this point in the history
  14. src: make root_cert_vector function scoped

    root_cert_vector currently has file scope and external linkage, but is
    only used in the NewRootCertsStore function. If this is not required to
    be externally linked perhaps it can be changed to be static and function
    scoped instead.
    
    PR-URL: nodejs#12788
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    danbev authored and sam-github committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    696f439 View commit details
    Browse the repository at this point in the history
  15. crypto: remove root_cert_store from node_crypto.h

    root_cert_store is defined as extern in node_crypto.h but only used in
    node_crypto.cc. It is then set using SSL_CTX_set_cert_store. The only
    usages of SSL_CTX_get_cert_store are in node_crypto.cc which would all
    be accessing the same X509_STORE through the root_cert_store pointer as
    far as I can tell. Am I missing something here?
    
    This commit suggests removing it from the header and making it static
    in node_crypto.cc.
    
    PR-URL: nodejs#13194
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    danbev authored and sam-github committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    7b8fcf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2017

  1. Configuration menu
    Copy the full SHA
    243c207 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1bc3a3 View commit details
    Browse the repository at this point in the history