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.1.3 proposal #13861

Merged
merged 62 commits into from
Jun 29, 2017
Merged

v8.1.3 proposal #13861

merged 62 commits into from
Jun 29, 2017

Commits on Jun 21, 2017

  1. fs: don't conflate data and callback in appendFile

    PR-URL: #11607
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    seishun authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    8cb7d96 View commit details
    Browse the repository at this point in the history
  2. test: increase bufsize in child process write test

    test-child-process-stdio-big-write-end was failing on ubuntu1604-arm64
    because the while loop that was supposed to fill up the buffer ended up
    being an infinite loop.
    
    This increases the size of the writes in the loop by 1K until the buffer
    fills up.
    
    PR-URL: #13626
    Fixes: #13603
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    4afa748 View commit details
    Browse the repository at this point in the history
  3. test: use mustNotCall in test-http-eof-on-connect

    Confirm that callback is not being invoked in
    test-http-eof-on-connect.js.
    
    PR-URL: #13587
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    5cb3fac View commit details
    Browse the repository at this point in the history
  4. doc: fix out of date napi_callback doc

    The earlier version `napi_callback` returns `void` but now is
    `napi_value`. The document of this section hasn't been modified.
    
    PR-URL: #13570
    Fixes: #12248
    Fixes: #13562
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    XadillaX authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    cc92231 View commit details
    Browse the repository at this point in the history
  5. configure: add mips64el to valid_arch

    PR-URL: #13620
    Fixes: #13616
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Refael Ackermann <refack@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>
    thelostone-mc authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    465bd48 View commit details
    Browse the repository at this point in the history
  6. lib: correct typo in createSecureContext

    Minor correction in the comment regarding ssl_set_pkey.
    
    PR-URL: #13653
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    cbe7c5c View commit details
    Browse the repository at this point in the history
  7. test: add mustCall() to child-process test

    Add common.mustCall() check to test-child-process-stdio-big-write-end.
    
    PR-URL: #13605
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    7874360 View commit details
    Browse the repository at this point in the history
  8. test: use mustNotCall() in test-fs-watch

    Use common.mustNotCall() in test/sequential/test-fs-watch.js in
    situations where the call to watch() is expected to throw.
    
    PR-URL: #13595
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    80fa13b View commit details
    Browse the repository at this point in the history
  9. doc: update async_hooks providers list

    PR-URL: #13561
    Ref: #13452
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    9b74dde View commit details
    Browse the repository at this point in the history
  10. doc: note that EoL platforms are not supported

    Add a note to clarify that any platform that is EoL will not be
    supported by Node.js.
    
    PR-URL: #12672
    Fixes: nodejs/build#688
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    gibfahn authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    dc06a0a View commit details
    Browse the repository at this point in the history
  11. doc: sort and update /cc list for inspector issues

    Updated onboarding-extras.md to /cc @nodejs/v8-inspector for inspector
    issues and reorganized /cc list in alphabetical order.
    
    PR-URL: #13632
    Fixes: #13621
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    thelostone-mc authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    f5f2a0e View commit details
    Browse the repository at this point in the history
  12. doc: document and test that methods return this

    Also, add tests to ensure they will always return this, and to confirm
    they return this when these doc changes are back-ported to earlier
    release lines.
    
    PR-URL: #13531
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    58e177c View commit details
    Browse the repository at this point in the history
  13. test: refactor test-fs-read-stream-inherit

    * block scope `paused`
    * change name of block-scoped `file3` etc. to `file`
    * alphabetize modules
    * confirm contents provided in `data` callback
    * confirm `data` callbacks will not fire on tests for errors
    
    PR-URL: #13618
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    0d87b31 View commit details
    Browse the repository at this point in the history
  14. doc: fixes a typo in the async_hooks documentation

    > Generally it will correspond the name of the resource's constructor.
    should read "Generally, it will correspond to the name..."
    
    PR-URL: #13666
    Fixes: #13663
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Chris Young authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    f28dd8e View commit details
    Browse the repository at this point in the history
  15. test: change deprecated method to recommended

    In non-buffer tests, change usage of the Buffer constructor to one of
    the recommended alternatives.
    
    PR-URL: #13649
    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: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    6920d5c View commit details
    Browse the repository at this point in the history
  16. test: refactor test-fs-watch-stop-async

    * use common.mustNotCall() to confirm callback is not invoked
    * blank line after common module per test writing guide
    
    PR-URL: #13661
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    af46cf6 View commit details
    Browse the repository at this point in the history
  17. inspector,cluster: fix inspect port assignment

    * Adding --inspect-port with debug port, instead of parsing `execArgv`
    
    * Export CLI debug options to `process.binding('config').debugOptions`
      (currently used only in tests)
    
    PR-URL: #13619
    Refs: #9659
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mutantcornholio authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    233545a View commit details
    Browse the repository at this point in the history
  18. doc: fix minor issues reported in #9538

    oath.md: make order of properties consistent
    tls.md: remove spaces in getPeerCertificate signature
    tls.md: add deprecation notice to server.connections
    http.md: fix signature of request.end
    crypto.md: change crypto parameters to camelCase
    vm.md: add missing apostrophe
    vm.md: fix signature of vm.runInNewContext
    zlib.md: improve description of zlib.createXYZ
    
    PR-URL: #13491
    Ref: #9538
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c142f1d View commit details
    Browse the repository at this point in the history
  19. doc: fix a few n-api doc issues

    - Add doc for napi_create_string_latin1().
    - Fix signatures where c string was specified instead of napi_value.
    - Fix return type of napi_callback.
    - Update to specify that napi_escape_handle() can only be called once
      for a given scope.
    
    PR-URL: #13650
    Fixes: #13555
    Fixes: #13556
    Fixes: #13562
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Ingvar Stepanyan <me@rreverser.com>
    mhdawson authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c27ffad View commit details
    Browse the repository at this point in the history
  20. src: remove void casts for clear_error_on_return

    There are a number of void casts of clear_error_on_return which is a
    usage of the RAII idiom. The ClearErrorOnReturn struct only has a
    destructor and no constructor which I believe was an issue in GCC
    prior to version 4.8.0, which lead to a unused variable warning.
    
    I'm wondering if these cast could be removed since GCC 4.8.5 or newer
    is required now. An alternative solution would be to add an empty
    constructor which should work allowing the compiler to detect that a
    variable is used only for its side-effects.
    
    Not sure if this was the sole reason for having these casts but wanted
    to bring it up just in case.
    
    Refs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10416
    PR-URL: #13669
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    5b3e5fa View commit details
    Browse the repository at this point in the history
  21. test: fix test-inspector-port-zero-cluster

    * re-implemented test to parse args instead of post binding (exit 12)
    * saved failing case as known issue
    
    PR-URL: #13373
    Fixes: #13343
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    406c09a View commit details
    Browse the repository at this point in the history
  22. test: fix nits in test-fs-mkdir-rmdir.js

    * Add common.mustCall().
    * Add check for error existence, not only for error details.
    * Use test(), not match() in a boolean context.
    * Properly reverse meanings of assert messages.
    
    PR-URL: #13680
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    80e6524 View commit details
    Browse the repository at this point in the history
  23. test: refactor test-cluster-worker-isconnected.js

    PR-URL: #13685
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    e203e39 View commit details
    Browse the repository at this point in the history
  24. util: ignore invalid format specifiers

    In util.format, if a percent sign without a known type is encountered,
    just print it instead of silently ignoring it and the next character.
    
    PR-URL: #13674
    Fixes: #13665
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    targos authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c046a21 View commit details
    Browse the repository at this point in the history
  25. src: fix decoding base64 with whitespace

    `max_i` should also include the characters that were just read by
    `base64_decode_group_slow()`.
    
    PR-URL: #13660
    Fixes: #13636
    Fixes: #13657
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    seishun authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    a27a35b View commit details
    Browse the repository at this point in the history
  26. test: refactor test-fs-read-stream

    * alphabetize modules
    * replace callback invocation counts with common.mustCall()
    * add block-scoping
    * remove commented-out code that uses an identifier not in the test
    * move exit handlers to relevant blocks to keep tests cohesive
    * common.noop -> common.mustNotCall()
    * check results from `data` event
    
    PR-URL: #13643
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    ba20627 View commit details
    Browse the repository at this point in the history
  27. test: increase coverage for internal/module.js

    PR-URL: #13673
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TamasHodi authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    5e59c2d View commit details
    Browse the repository at this point in the history
  28. build: fail linter if linting not available

    PR-URL: #13658
    Ref: #13645 (comment)
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    gibfahn authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    18f073f View commit details
    Browse the repository at this point in the history
  29. doc: small makeover for onboarding.md

    PR-URL: #13413
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    31ae193 View commit details
    Browse the repository at this point in the history
  30. doc: fix typo in changelog

    PR-URL: #13713
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    not-an-aardvark authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    2a95cfb View commit details
    Browse the repository at this point in the history
  31. test: improve http test reliability

    Fake the socket handle to ensure an immediate error is returned
    uniformly across all platforms.
    
    PR-URL: #13693
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    70fb1bd View commit details
    Browse the repository at this point in the history
  32. build: check for linter in bin rather than lib

    Make the "can we lint?" check in Makefile and vcbuild.bat depend on
    bin/eslint.js rather than lib/eslint.js. In ESLint 4.0.0, lib/eslint.js
    is not present. The lint rules call bin/eslint.js so check for that
    instead.
    
    PR-URL: #13645
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    2ce236e View commit details
    Browse the repository at this point in the history
  33. tools: update ESLint to v4.0.0

    Update ESLint and configuration to version 4.0.0.
    
    PR-URL: #13645
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    ff568d4 View commit details
    Browse the repository at this point in the history
  34. doc: add hasIntl to test/common/README.md

    Commit d7e4ae1
    ("test: add common.hasIntl") added common.hasIntl but I was not able to
    find it in the README.md so this commit adds it.
    
    PR-URL: #13699
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    61714ac View commit details
    Browse the repository at this point in the history
  35. test: add hasIntl to failing test

    Currently when node is configured --without-intl the tests in this
    commit fail. This commit adds checks for internationalization for these
    tests
    
    PR-URL: #13699
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    0d3b52e View commit details
    Browse the repository at this point in the history
  36. test: check zlib version for createDeflateRaw

    We are currenly builing Node with --shared-zlib which happens to be
    version 1.2.8. The test for zlib.createDeflateRaw is expected to fail
    but does not when using version 1.2.8.
    
    As far as I can tell the fix referred to in the comments was
    introduced in version 1.2.9:
    - Reject a window size of 256 bytes if not using the zlib wrapper
    
    This commit suggests adding a check for the version and skipping this
    assert if the version is less than 1.2.9.
    
    Refs: http://zlib.net/ChangeLog.txt
    PR-URL: #13697
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    danbev authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    10aee10 View commit details
    Browse the repository at this point in the history
  37. test: refactor test-fs-watch-stop-sync

    * format test per project guide
    * use listener that emits clear message
    * use common.mustNotCall() to confirm different listener is not invoked
    * add comment describing the test
    
    PR-URL: #13689
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    b2a5399 View commit details
    Browse the repository at this point in the history
  38. v8: fix RegExp nits in v8_prof_polyfill.js

    * Do not repeat RegExp creation in cycle.
    * Use sufficient string instead of RegExp in split().
    
    PR-URL: #13709
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c68e472 View commit details
    Browse the repository at this point in the history
  39. test: delete outdated fixtures/stdio-filter.js

    PR-URL: #13712
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    d0f39cc View commit details
    Browse the repository at this point in the history
  40. doc: path.relative uses cwd

    PR-URL: #13714
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    DuanPengfei authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    cb93283 View commit details
    Browse the repository at this point in the history
  41. test: make test-http(s)-set-timeout-server alike

    Make test-http(s)-set-timeout-server tests more similar and resolve the
    following issues:
    
    * `test-http-set-timeout-server.js` had a `secReceived` check in
      `serverResponseTimeoutWithPipeline()` that was added to prevent
      flakiness, but this did not exist in the https counterpart.
    
    * `test-https-set-timeout-server.js` utilized `common.mustCall()`,
      `common.mustNotCall()`, etc., while the http counterpart utilized the
      old method of checking flags on exit of the process.
    
    Refs: #13588
    PR-URL: #13625
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    jklepatch authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    d4a05b2 View commit details
    Browse the repository at this point in the history
  42. benchmark: 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 afterwards at all;
    * some of the later captured groups are not used afterwards.
    
    PR-URL: #13718
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    11f4562 View commit details
    Browse the repository at this point in the history
  43. readline,repl,url,util: remove needless 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 afterwards at all;
    * some of the later captured groups are not used afterwards.
    
    PR-URL: #13718
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    e786926 View commit details
    Browse the repository at this point in the history
  44. test: remove node-tap lookalike

    This commit removes the small node-tap lookalike from several
    of the streams2 tests. It's only used by six tests, and is
    inconsistent with all other tests.
    
    PR-URL: #13707
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    c8b134b View commit details
    Browse the repository at this point in the history
  45. net: fix abort on bad address input

    PR-URL: #13726
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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>
    BridgeAR authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    2816677 View commit details
    Browse the repository at this point in the history
  46. test: accommodate AIX by watching file

    Watching directories has limited support on AIX. This is documented.
    Watch a file in test/async-hooks/test-fseventwrap.js to accommodate AIX.
    
    PR-URL: #13766
    Ref: #13577 (comment)
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    3306fd1 View commit details
    Browse the repository at this point in the history
  47. dgram: change parameter name in set(Multicast)TTL

    Changed the parameter name in set(Multicast)TTL from "arg" to "ttl"
    both within code and error messages and added the actual type of the
    argument to the error message.
    
    PR-URL: #13747
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    1fe455f View commit details
    Browse the repository at this point in the history
  48. 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.
    
    PR-URL: #13770
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    1f32d9e View commit details
    Browse the repository at this point in the history
  49. src: don't set --icu_case_mapping flag on startup

    It's on by default now and the flag will be removed in the near future.
    
    Fixes: #13688
    PR-URL: #13698
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    bnoordhuis authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    3322191 View commit details
    Browse the repository at this point in the history
  50. doc: mention rebasing of v?.x-staging post release

    Mention that the staging branch should be rebased on top of the release
    branch after merging a release proposal.
    
    PR-URL: #13742
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    57b7285 View commit details
    Browse the repository at this point in the history
  51. stream: fix undefined in Readable object mode

    Fixes `this.push(undefined)`.
    
    Fixes: #13753
    PR-URL: #13760
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    5840138 View commit details
    Browse the repository at this point in the history
  52. n-api: avoid crash in napi_escape_scope()

    V8 will crash if escape is called twice on the same
    scope.
    
    Add checks to avoid crashing if napi_escape_scope() is
    called to try and do this.
    
    Add test that tries to call napi_create_scope() twice.
    
    PR-URL: #13651
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    mhdawson authored and addaleax committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    f49dd21 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2017

  1. doc: make socket IPC examples more robust

    This commit aims to improve the documentation examples that send
    sockets over IPC channels. Specifically, pauseOnConnect is added
    to a server that inspects the socket before sending and a
    'message' handler adds a check that the socket still exists.
    
    PR-URL: #13196
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    cjihrig authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    0bb53a7 View commit details
    Browse the repository at this point in the history
  2. stream: finish must always follow error

    When _write completes with an Error, 'finish' was emitted before
    'error' if the callback was asynchronous. This commit restore the
    previous behavior.
    The logic is still less then ideal, because we call the write()
    callback before emitting error if asynchronous, but after if
    synchronous. This commit do not try to change the behavior.
    This commit fixes a regression introduced by:
    #13195.
    
    Fixes: #13812
    PR-URL: #13850
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mcollina authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    0a9e96e View commit details
    Browse the repository at this point in the history
  3. test: remove common module from test it thwarts

    test-global-console-exists cannot use the common module as explained in
    a comment but it was included later anyway. This change removes it.
    
    PR-URL: #13748
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    9ff9782 View commit details
    Browse the repository at this point in the history
  4. 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.
    
    PR-URL: #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 addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    9c2abc3 View commit details
    Browse the repository at this point in the history
  5. 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.
    
    PR-URL: #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 addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    b171e72 View commit details
    Browse the repository at this point in the history
  6. tools: fix error in custom ESLint rule

    Fix previously-unnoticed typo in `required-modules.js`.
    
    Refs: #13758 (comment)
    PR-URL: #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 addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    0ef687e View commit details
    Browse the repository at this point in the history
  7. test: refactor test-stream2-writable

    * Use common.mustCall() to confirm that _write() is called only once.
    * Check that _write() is called with the correct argument
    
    PR-URL: #13823
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    b23f246 View commit details
    Browse the repository at this point in the history
  8. test: refactor test-http-set-timeout-server

    * Use `common.mustCall()` to track callback invocations
    * Remove console.log() statements unrelated to the test
    * Add blank line to conform with test-writing guide
    
    PR-URL: #13802
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Trott authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    f1d96f0 View commit details
    Browse the repository at this point in the history
  9. doc: update backporting guide

    * also update STYLE_GUIDE comment about Em dashes
    
    PR-URL: #13749
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    refack authored and addaleax committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    a63e54a View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2017

  1. 2017-06-29, Version 8.1.3 (Current)

    Notable changes
    
    * **Stream**
      Two regressions with the `stream` module have been fixed:
      * The `finish` event will now always be emitted after the `error` event
        if one is emitted:
        [[`0a9e96e86c`](0a9e96e86c)]
        [#13850](#13850)
      * In object mode, readable streams can now use `undefined` again.
        [[`5840138e70`](5840138e70)]
        [#13760](#13760)
    rvagg committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    01461af View commit details
    Browse the repository at this point in the history