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

net: shutdown gracefully #1164

Closed
wants to merge 230 commits into from

Commits on Apr 17, 2015

  1. Working on v2.0.0

    chrisdickinson committed Apr 17, 2015
    Configuration menu
    Copy the full SHA
    e61ee49 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2015

  1. doc: update CONTRIBUTING.md

    This commit:
      - fixes development branch (v1.x -> master)
      - updates stability index wording
      - use iojs binary instead of node
    
    PR-URL: nodejs#1466
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brendanashworth committed Apr 18, 2015
    Configuration menu
    Copy the full SHA
    6870764 View commit details
    Browse the repository at this point in the history
  2. Revert "http: don't bother making a copy of the options"

    This reverts commit 06cfff9.
    
    Reverted because it introduced a regression where (because options were
    modified in the later functionality) options.host and options.port would
    be overridden with values provided in other, supported ways.
    
    PR-URL: nodejs#1467
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brendanashworth committed Apr 18, 2015
    5 Configuration menu
    Copy the full SHA
    7180597 View commit details
    Browse the repository at this point in the history
  3. test: add test for 06cfff9 regression

    This commit adds a test to ensure all options are NOT modified after
    passing them to http.request. Specifically options.host and options.port
    are the most prominent that would previously error, but add the other
    options that have default values.
    
    options.host and options.port were overridden for the one-argument
    net.createConnection(options) call.
    
    PR-URL: nodejs#1467
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brendanashworth committed Apr 18, 2015
    Configuration menu
    Copy the full SHA
    6bf85bc View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2015

  1. Merge v1.8.1.

    This brings in the '%PYTHON%' revert, and restores
    the correct NODE_MODULE_VERSION.
    
    PR-URL: nodejs#1482
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    chrisdickinson committed Apr 21, 2015
    Configuration menu
    Copy the full SHA
    59a5c98 View commit details
    Browse the repository at this point in the history
  2. doc: update AUTHORS list

    Update AUTHORS list using tools/update-authors.sh
    
    PR-URL: nodejs#1476
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    rvagg committed Apr 21, 2015
    Configuration menu
    Copy the full SHA
    2632775 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2015

  1. doc: add spaces to child.kill example

    PR-URL: nodejs#1503
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    enaqx authored and brendanashworth committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    b16a328 View commit details
    Browse the repository at this point in the history
  2. doc: add Fishrock123 to the TC

    as per nodejs#1502
    
    PR-URL: nodejs#1507
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Fishrock123 committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    22aafa5 View commit details
    Browse the repository at this point in the history
  3. tls_wrap: use localhost if options.host is empty

    tls.connect(options) with no options.host should accept a certificate
    with CN: 'localhost'. Fix Error: Hostname/IP doesn't match
    certificate's altnames: "Host: undefined. is not cert's CN: localhost"
    
    'localhost' is not added directly to defaults because that is not
    always desired (for example, when using options.socket)
    
    PR-URL: nodejs#1493
    Fixes: nodejs#1489
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    sitegui authored and silverwind committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    a7d7463 View commit details
    Browse the repository at this point in the history
  4. module: remove '' from Module.globalPaths

    If `$NODE_PATH` contains trailing separators, `Module.globalPaths` will
    contains empty strings. When `Module` try to resolve a module's path,
    `path.resolve('', 'index.js')` will boil down to `$PWD/index.js`, which
    makes sub modules can access global modules and get unexpected result.
    
    PR-URL: nodejs#1488
    Reviewed-By: Roman Reiss <me@silverwind.io>
    chrisyip authored and silverwind committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    7384ca8 View commit details
    Browse the repository at this point in the history
  5. doc: update branch to master

    Update the remaining markdown files to refer to the master branch.
    PR-URL: nodejs#1511
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    silverwind committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    bb254b5 View commit details
    Browse the repository at this point in the history
  6. buffer: little improve for Buffer.concat method

    When buffer list less than 2, no need to calculate the length.
    The change's benchmark result is here:
    https://gist.github.com/JacksonTian/2c9e2bdec00018e010e6
    It improve 15% ~ 25% speed when list only have one buffer,
    to other cases no effect.
    
    PR-URL: nodejs#1437
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    JacksonTian authored and brendanashworth committed Apr 23, 2015
    Configuration menu
    Copy the full SHA
    3d3083b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2015

  1. net: cleanup connect logic

    Separates out the lookup logic for net.Socket. In the event
    the `host` property is an IP address, the lookup is skipped.
    
    PR-URL: nodejs#1505
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    evanlucas committed Apr 24, 2015
    Configuration menu
    Copy the full SHA
    1bef717 View commit details
    Browse the repository at this point in the history
  2. net: add lookup option to Socket.prototype.connect

    Allows customization of the lookup function used when
    Socket.prototype.connect is called using a hostname.
    
    PR-URL: nodejs#1505
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    evanlucas committed Apr 24, 2015
    Configuration menu
    Copy the full SHA
    4abe2fa View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2015

  1. doc: add TC meeting 2015-04-08 minutes

    PR-URL: nodejs#1497
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg authored and julianduque committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    f3cc50f View commit details
    Browse the repository at this point in the history
  2. doc: Add Addon API (NAN) to working group list

    Also update nan and examples repositories links to io.js organization
    
    PR-URL: nodejs#1523
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    julianduque committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    5178f93 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2015

  1. util: add Map and Set inspection support

    PR-URL: nodejs#1471
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    monsanto authored and chrisdickinson committed Apr 26, 2015
    Configuration menu
    Copy the full SHA
    bf7ac08 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2015

  1. win,node-gyp: enable delay-load hook by default

    The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe
    for more background.
    
    PR-URL: nodejs#1433
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    piscisaureus committed Apr 27, 2015
    Configuration menu
    Copy the full SHA
    3bda6cb View commit details
    Browse the repository at this point in the history
  2. test: adjust Makefile/test-ci, add to vcbuild.bat

    PR-URL: nodejs#1530
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    rvagg committed Apr 27, 2015
    1 Configuration menu
    Copy the full SHA
    5472139 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2015

  1. test: fix test-net-dns-custom-lookup test assertion

    The assertion made an assumption that the IPv6 address would always be
    `::1`. Since the address can be different on different platforms, it
    has been changed to allow multiple addresses.
    
    Fixes: nodejs#1527
    PR-URL: nodejs#1531
    Reviewed-By: Rod Vagg <rod@vagg.org>
    evanlucas committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    bfae823 View commit details
    Browse the repository at this point in the history
  2. build: remove -J from test-ci

    parallel tests still not working on most build slaves
    
    PR-URL: nodejs#1544
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    rvagg committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    2a3c8c1 View commit details
    Browse the repository at this point in the history
  3. doc: fix util.deprecate example

    PR-URL: nodejs#1535
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Julian Duque <julianduquej@gmail.com>
    enaqx authored and Fishrock123 committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    e55fdc4 View commit details
    Browse the repository at this point in the history
  4. string_decoder: don't cache Buffer.isEncoding

    Some modules are monkey-patching Buffer.isEncoding, so without this
    they cannot do that.
    
    Fixes: nodejs#1547
    PR-URL: nodejs#1548
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    mscdex committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    0fa6c4a View commit details
    Browse the repository at this point in the history
  5. doc: Add Known issues to v1.7.0/1.7.1 CHANGELOG

    PR-URL: nodejs#1473
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    yosuke-furukawa committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    391cae3 View commit details
    Browse the repository at this point in the history
  6. doc: add TC meeting 2015-04-15 minutes

    PR-URL: nodejs#1498
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg authored and julianduque committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    1bcdf46 View commit details
    Browse the repository at this point in the history
  7. os: remove trailing slash from os.tmpdir()

    This commit makes `os.tmpdir()` behave consistently on all platforms. It
    changes `os.tmpdir()` to always return a path without trailing slash.
    
    Semver: major
    Fixes: nodejs#715
    PR-URL: nodejs#747
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    tellnes authored and chrisdickinson committed Apr 28, 2015
    1 Configuration menu
    Copy the full SHA
    b57cc51 View commit details
    Browse the repository at this point in the history
  8. deps: upgrade v8 to 4.2.77.13

    This commit applies some secondary changes in order to make `make test`
    pass cleanly:
    
    * disable broken postmortem debugging in common.gypi
    
    * drop obsolete strict mode test in parallel/test-repl
    
    * drop obsolete test parallel/test-v8-features
    
    PR-URL: nodejs#1232
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    bnoordhuis authored and chrisdickinson committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    36cd5fb View commit details
    Browse the repository at this point in the history
  9. deps: enable v8 postmortem debugging again

    Cherry-pick https://codereview.chromium.org/1033733003 from upstream
    and re-enable postmortem debugging.
    
    PR-URL: nodejs#1232
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    bnoordhuis authored and chrisdickinson committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    db4ded5 View commit details
    Browse the repository at this point in the history
  10. deps: upgrade v8 to 4.2.77.15

    This includes the out-of-tree patch (but fixed in upstream HEAD) from
    commit 41c00a2 ("deps: enable v8 postmortem debugging again".)
    
    PR-URL: nodejs#1399
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    bnoordhuis authored and chrisdickinson committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    01e6632 View commit details
    Browse the repository at this point in the history
  11. deps: upgrade v8 to 4.2.77.18

    This commit applies a secondary change in order to make `make test`
    pass cleanly, specifically re-disabling post-mortem debugging in
    common.gypi.
    
    PR-URL: nodejs#1506
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    chrisdickinson committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    01652c7 View commit details
    Browse the repository at this point in the history
  12. deps: enable v8 postmortem debugging again

    Cherry-pick https://codereview.chromium.org/1033733003 from upstream
    and re-enable postmortem debugging.
    
    PR-URL: nodejs#1232
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    bnoordhuis authored and chrisdickinson committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    509b59e View commit details
    Browse the repository at this point in the history
  13. fs: validate fd on fs.write

    PR-URL: nodejs#1553
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    julianduque committed Apr 28, 2015
    Configuration menu
    Copy the full SHA
    f9c681c View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2015

  1. test: extend timeouts for ARMv6

    Based on tests running on original Raspberry Pi
    
    PR-URL: nodejs#1554
    Reviewed-By: Roman Reiss <me@silverwind.io>
    rvagg committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    f9b226c View commit details
    Browse the repository at this point in the history
  2. src: add ability to get/set effective uid/gid

    Adds the following to process:
    
    - `process.geteuid()`
    - `process.seteuid(id)`
    - `process.getegid()`
    - `process.setegid(id)`
    
    PR-URL: nodejs#1536
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    evanlucas committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    3c92ca2 View commit details
    Browse the repository at this point in the history
  3. lib: deprecate the smalloc module

    Upcoming V8 changes will make it impossible to keep supporting the
    smalloc module so deprecate it now and tell people to switch to
    typed arrays.
    
    The module is used in core in a few places so this commit makes the
    public module private and replaces the public part with wrappers that
    print deprecation notices.
    
    PR-URL: nodejs#1564
    Reviewed-By: Domenic Denicola <domenic@domenicdenicola.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    d5ce47e View commit details
    Browse the repository at this point in the history
  4. src: fix NODE_DEPRECATED macro

    The NODE_DEPRECATED macro was piggybacking on the V8_DEPRECATED macro
    but that macro is silent unless V8_DEPRECATION_WARNINGS is defined,
    something io.js doesn't do.  Ergo, no deprecation notices were being
    issued.
    
    PR-URL: nodejs#1565
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    609fa0d View commit details
    Browse the repository at this point in the history
  5. src: fix deprecation warnings

    The previous commit enables deprecation warnings, this commit fixes
    the handful of offending sites where the isolate was not explicitly
    being passed around.
    
    PR-URL: nodejs#1565
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    ccb199a View commit details
    Browse the repository at this point in the history
  6. src: deprecate smalloc public functions

    Upcoming V8 changes will make it impossible to keep supporting the
    smalloc functionality so deprecate the functions in smalloc.h now
    and tell people to switch to typed arrays.
    
    This commit shuffles code around in smalloc.cc to avoid generating
    the deprecation warnings when building io.js itself.
    
    PR-URL: nodejs#1565
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed Apr 29, 2015
    Configuration menu
    Copy the full SHA
    7306252 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2015

  1. tls: destroy SSL once it is out of use

    Do not keep SSL structure in memory once socket is closed. This should
    lower the memory usage in many cases.
    
    Fix: nodejs#1522
    PR-URL: nodejs#1529
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    2d241b3 View commit details
    Browse the repository at this point in the history
  2. crypto: track external memory for SSL structures

    Ensure that GC kicks in at the right times and the RSS does not blow up.
    
    Fix: nodejs#1522
    PR-URL: nodejs#1529
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    e6874dd View commit details
    Browse the repository at this point in the history
  3. tls: zero SSL_CTX freelist for a singleUse socket

    When connecting to server with `keepAlive` turned off - make sure that
    the read/write buffers won't be kept in a single use SSL_CTX instance
    after the socket will be destroyed.
    
    Fix: nodejs#1522
    PR-URL: nodejs#1529
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    2684c90 View commit details
    Browse the repository at this point in the history
  4. tls: destroy singleUse context immediately

    Destroy singleUse context right after it is going out of use.
    
    Fix: nodejs#1522
    PR-URL: nodejs#1529
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    1787416 View commit details
    Browse the repository at this point in the history
  5. doc: deprecate smalloc module

    Upcoming V8 changes will make it impossible to keep supporting the
    smalloc module so deprecate it now and tell people to switch to
    typed arrays.
    
    PR-URL: nodejs#1566
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bnoordhuis committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    7dc8eec View commit details
    Browse the repository at this point in the history
  6. gitignore: ignore xcode workspaces and projects

    Calling ./configure --xcode creates xcode projects and a
    workspace for io.js.
    
    PR-URL: nodejs#1562
    Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    r-52 authored and silverwind committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    801b47a View commit details
    Browse the repository at this point in the history

Commits on May 1, 2015

  1. build: Use option groups in configure output

    Minor edits to current build flags and its help texts as well
    as grouping shared and i18n options into separate option groups.
    
    Also, validate i18n default/logic similar to how we treat other
    options. `--download` isn't really intl-specific but is only used
    for that purpose which is why it's grouped similarly.
    
    PR-URL: nodejs#1533
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Steven R. Loomis <srl@icu-project.org>
    jbergstroem committed May 1, 2015
    Configuration menu
    Copy the full SHA
    a5dcff8 View commit details
    Browse the repository at this point in the history
  2. repl: add mode detection, cli persistent history

    this creates a new internal module responsible for providing
    the repl created via "iojs" or "iojs -i," and adds the following
    options to the readline and repl subsystems:
    
    * "repl mode" - determine whether a repl is strict mode, sloppy mode,
      or auto-detect mode.
    * historySize - determine the maximum number of lines a repl will store
      as history.
    
    The built-in repl gains persistent history support when the
    NODE_REPL_HISTORY_FILE environment variable is set. This functionality
    is not exposed to userland repl instances.
    
    PR-URL: nodejs#1513
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    chrisdickinson committed May 1, 2015
    Configuration menu
    Copy the full SHA
    0450ce7 View commit details
    Browse the repository at this point in the history
  3. build: turn on debug-safe optimizations with -Og

    The resulting binary is still easy to inspect in gdb but is not as dog
    slow.  The 'parallel' test suite, although it takes several minutes to
    complete, now finishes without any tests timing out.
    
    PR-URL: nodejs#1569
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    bnoordhuis committed May 1, 2015
    Configuration menu
    Copy the full SHA
    78f4b03 View commit details
    Browse the repository at this point in the history
  4. stream_base: dispatch reqs in the stream impl

    Dispatch requests in the implementation of the stream, not in the code
    creating these requests. The requests might be piled up and invoked
    internally in the implementation, so it should know better when it is
    the time to dispatch them.
    
    In fact, TLS was doing exactly this thing which led us to...
    
    Fix: nodejs#1512
    PR-URL: nodejs#1563
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed May 1, 2015
    Configuration menu
    Copy the full SHA
    30b7349 View commit details
    Browse the repository at this point in the history
  5. tls: use SSL_set_cert_cb for async SNI/OCSP

    Do not enable ClientHello parser for async SNI/OCSP. Use new
    OpenSSL-1.0.2's API `SSL_set_cert_cb` to pause the handshake process and
    load the cert/OCSP response asynchronously. Hopefuly this will make
    whole async SNI/OCSP process much faster and will eventually let us
    remove the ClientHello parser itself (which is currently used only for
    async session, see nodejs#1462 for the discussion of removing it).
    
    NOTE: Ported our code to `SSL_CTX_add1_chain_cert` to use
    `SSL_CTX_get0_chain_certs` in `CertCbDone`. Test provided for this
    feature.
    
    Fix: nodejs#1423
    PR-URL: nodejs#1464
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    indutny committed May 1, 2015
    Configuration menu
    Copy the full SHA
    550c263 View commit details
    Browse the repository at this point in the history
  6. doc: improve http.request and https.request opts

    This adds a few previously undocumented option to both functions.
    
    PR-URL: nodejs#1551
    Fixes: nodejs#1082
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    silverwind committed May 1, 2015
    Configuration menu
    Copy the full SHA
    b4ad5d7 View commit details
    Browse the repository at this point in the history
  7. deps: upgrade npm to 2.9.0

    PR-URL: nodejs#1573
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    othiym23 committed May 1, 2015
    Configuration menu
    Copy the full SHA
    56e4255 View commit details
    Browse the repository at this point in the history
  8. deps: make node-gyp work with io.js

    Every npm version bump requires a few patches to be floated on
    node-gyp for io.js compatibility. These patches are found in
    03d1992,
    5de334c, and
    da730c7. This commit squashes
    them into a single commit.
    
    PR-URL: nodejs#990
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and othiym23 committed May 1, 2015
    Configuration menu
    Copy the full SHA
    935c9d3 View commit details
    Browse the repository at this point in the history
  9. win,node-gyp: optionally allow node.exe/iojs.exe to be renamed

    On Windows, when node or io.js attempts to dynamically load a compiled
    addon, the compiled addon tries to load node.exe or iojs.exe again -
    depending on which import library the module used when it was linked.
    This causes many compiled addons to break when node.exe or iojs.exe are
    renamed, because when the binary has been renamed the addon DLL can't
    find the (right) .exe file to load its imports from.
    
    This patch gives compiled addon developers an option to overcome this
    restriction by compiling a delay-load hook into their binary. The
    delay-load hook ensures that whenever a module tries to load imports
    from node.exe/iojs.exe, it'll just look at the process image, thereby
    making the addon work regardless of what name the node/iojs binary has.
    
    To enable this feature, the addon developer must set the
    'win_delay_load_hook' option to 'true' in their binding.gyp file, like
    this:
    
    ```
    {
      'targets': [
        {
          'target_name': 'ernie',
          'win_delay_load_hook': 'true',
          ...
    ```
    
    Bug: nodejs#751
    Bug: nodejs#965
    Upstream PR: nodejs/node-gyp#599
    
    PR-URL: nodejs#1251
    Reviewed-By: Rod Vagg <rod@vagg.org>
    
    PR-URL: nodejs#1266
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    piscisaureus authored and othiym23 committed May 1, 2015
    Configuration menu
    Copy the full SHA
    30e83d2 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2015

  1. Merge branch 'v1.x'

    PR-URL: nodejs#1582
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    
    Conflicts:
    	src/node_version.h
    Fishrock123 committed May 2, 2015
    Configuration menu
    Copy the full SHA
    79a7a86 View commit details
    Browse the repository at this point in the history
  2. repl: do not save history for non-terminal repl

    When running in non-TTY mode - the `repl.history` is `undefined` and
    is not actually populated. Saving it will result in a crashes of
    subsequent repl runs.
    
    Fix: nodejs#1574
    PR-URL: nodejs#1575
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    indutny committed May 2, 2015
    Configuration menu
    Copy the full SHA
    ea5195c View commit details
    Browse the repository at this point in the history
  3. node: improve nextTick performance

    This commit uses separate functions to isolate deopts caused by
    try-catches and avoids fn.apply() for callbacks with small numbers
    of arguments.
    
    These changes improve performance by ~1-40% in the various
    nextTick benchmarks.
    
    PR-URL: nodejs#1571
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    mscdex committed May 2, 2015
    Configuration menu
    Copy the full SHA
    c7782c0 View commit details
    Browse the repository at this point in the history
  4. doc: add TC meeting 2015-04-22 minutes

    Closes: nodejs#1502
    PR-URL: nodejs#1556
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 2, 2015
    Configuration menu
    Copy the full SHA
    57c4cc2 View commit details
    Browse the repository at this point in the history
  5. url: significantly improve the performance of the url module

    (landed by @rvagg)
    
    PR-URL: nodejs#1561
    Reviewed-By: Domenic Denicola <domenic@domenicdenicola.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    petkaantonov authored and rvagg committed May 2, 2015
    Configuration menu
    Copy the full SHA
    3fd7fc4 View commit details
    Browse the repository at this point in the history
  6. doc: fix some cross-references

    PR-URL: nodejs#1584
    Reviewed-By: Roman Reiss <me@silverwind.io>
    gromnitsky authored and silverwind committed May 2, 2015
    Configuration menu
    Copy the full SHA
    02388db View commit details
    Browse the repository at this point in the history
  7. repl: fix persistent history and env variable name

    Issue nodejs#1575 did introduce a check for options.terminal but this variable
    wasn't able to get truthy, which in turn broke persistent history
    completely. This changes the variable to get truthy on true terminals.
    
    Additionally, the docs and the code did differ on which environment
    variable was used for history. This changes the code to use
    NODE_REPL_HISTORY_FILE.
    
    PR-URL: nodejs#1593
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    silverwind committed May 2, 2015
    Configuration menu
    Copy the full SHA
    2e2fce0 View commit details
    Browse the repository at this point in the history
  8. doc: add require() lines to child.stdio example

    PR-URL: nodejs#1504
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    enaqx authored and brendanashworth committed May 2, 2015
    Configuration menu
    Copy the full SHA
    2a3a190 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2015

  1. net: ensure Write/ShutdownWrap references handle

    `StreamBase::AfterWrite` is passing handle as an argument to the
    `afterWrite` function in net.js. Thus GC should not collect the handle
    and the request separately and assume that they are tied together.
    
    With this commit - request will always outlive the StreamBase instance,
    helping us survive the GC pass.
    
    Same applies to the ShutdownWrap instances, they should never be
    collected after the StreamBase instance.
    
    Fix: nodejs#1580
    PR-URL: nodejs#1590
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    indutny committed May 3, 2015
    Configuration menu
    Copy the full SHA
    b4f5898 View commit details
    Browse the repository at this point in the history
  2. url: delete href cache on all setter code paths

    PR-URL: nodejs#1589
    Fixes: nodejs#1588
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    petkaantonov committed May 3, 2015
    Configuration menu
    Copy the full SHA
    dbdd81a View commit details
    Browse the repository at this point in the history
  3. url: fix treatment of some values as non-empty

    In addition to null, undefined and the empty string
    are treated as empty (removing the component from the url).
    
    The string '#' is treated same as empty values when
    setting .hash.
    
    The string '?' is treated same as empty values when
    setting .search.
    
    PR-URL: nodejs#1589
    Fixes: nodejs#1588
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    petkaantonov committed May 3, 2015
    Configuration menu
    Copy the full SHA
    6687721 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2015

  1. Revert "url: fix treatment of some values as non-empty"

    This reverts commit 6687721.
    
    It was agreed that this change contained too much potential ecosystem
    breakage, particularly around the inability to `delete` properties off a
    `Url` object. It may be re-introduced for a later release, along with
    better work on ecosystem compatibility.
    
    PR-URL: nodejs#1602
    Reviewed-By: Mikeal Rogers <mikeal.rogers@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Forrest L Norvell <forrest@npmjs.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Isaac Z. Schlueter <i@izs.me>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    0f39ef4 View commit details
    Browse the repository at this point in the history
  2. Revert "url: delete href cache on all setter code paths"

    This reverts commit dbdd81a.
    
    It was agreed that this change contained too much potential ecosystem
    breakage, particularly around the inability to `delete` properties off a
    `Url` object. It may be re-introduced for a later release, along with
    better work on ecosystem compatibility.
    
    PR-URL: nodejs#1602
    Reviewed-By: Mikeal Rogers <mikeal.rogers@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Forrest L Norvell <forrest@npmjs.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Isaac Z. Schlueter <i@izs.me>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    0daed24 View commit details
    Browse the repository at this point in the history
  3. Revert "url: significantly improve the performance of the url module"

    This reverts commit 3fd7fc4.
    
    It was agreed that this change contained too much potential ecosystem
    breakage, particularly around the inability to `delete` properties off a
    `Url` object. It may be re-introduced for a later release, along with
    better work on ecosystem compatibility.
    
    PR-URL: nodejs#1602
    Reviewed-By: Mikeal Rogers <mikeal.rogers@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Forrest L Norvell <forrest@npmjs.com>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Isaac Z. Schlueter <i@izs.me>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 4, 2015
    1 Configuration menu
    Copy the full SHA
    702997c View commit details
    Browse the repository at this point in the history
  4. doc: update AUTHORS list

    Update AUTHORS list using tools/update-authors.sh
    
    PR-URL: nodejs#1586
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    dacc1fa View commit details
    Browse the repository at this point in the history
  5. tls_wrap: Unlink TLSWrap and SecureContext objects

    This makes `TLSWrap` and `SecureContext` objects collectable by the
    incremental gc.
    
    `res = null` destroys the cyclic reference in the `reading` property.
    `this.ssl = null` removes the remaining reference to the `TLSWrap`.
    `this.ssl._secureContext.context = null` removes the reference to
    the `SecureContext` object, even though there might be references
    to `this.ssl._secureContext` somewhere.
    
    The `reading` property will now throw an error if accessed after the
    socket is closed, but that should not happen.
    
    PR-URL: nodejs#1580
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    ChALkeR authored and indutny committed May 4, 2015
    Configuration menu
    Copy the full SHA
    f7620fb View commit details
    Browse the repository at this point in the history
  6. src: fix -Wmissing-field-initializers warning

    Fix the following (non-serious) compiler warning:
    
        ../src/node_http_parser.cc:558:1: warning: missing initializer for
        member 'http_parser_settings::on_chunk_header'
        [-Wmissing-field-initializers]
        };
        ^
        ../src/node_http_parser.cc:558:1: warning: missing initializer for
        member 'http_parser_settings::on_chunk_complete'
        [-Wmissing-field-initializers]
    
    Introduced in commit b3a7da1 ("deps: update http_parser to 2.5.0").
    
    PR-URL: nodejs#1606
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    bnoordhuis committed May 4, 2015
    Configuration menu
    Copy the full SHA
    279f611 View commit details
    Browse the repository at this point in the history
  7. build: disable -Og when building with clang

    clang does not yet support -Og, fall back to -O0.
    
    See: https://llvm.org/bugs/show_bug.cgi?id=20765
    Fixes: nodejs#1608
    PR-URL: nodejs#1609
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bnoordhuis committed May 4, 2015
    Configuration menu
    Copy the full SHA
    e67542a View commit details
    Browse the repository at this point in the history
  8. repl: fix _debugger by properly proxying repl

    The _debugger module uses the internal REPL module, but expects
    to receive the userland REPL module. This fixes the breakage that
    occurs by proxying the userland REPL module through the internal
    module.
    
    It also fixes an unintended in-REPL bug, where require(node-module)
    was not resolving correctly.
    
    PR-URL: nodejs#1605
    Reviewed-By: Roman Reiss <me@silverwind.io>
    chrisdickinson committed May 4, 2015
    Configuration menu
    Copy the full SHA
    051d482 View commit details
    Browse the repository at this point in the history
  9. repl: fix for a+ fd clearing the file on read

    The second step of augmenting the internal REPL with persistent
    history was to re-open the history file with a 'w' handle. This
    truncated the file. If a user did not enter a new line before
    closing the REPL, their history would be deleted.
    
    PR-URL: nodejs#1605
    Reviewed-By: Roman Reiss <me@silverwind.io>
    chrisdickinson committed May 4, 2015
    Configuration menu
    Copy the full SHA
    ca219b0 View commit details
    Browse the repository at this point in the history
  10. build: don't compile debug build with -Og

    It's not supported by clang and commit e67542a ("build: disable -Og
    when building with clang") is not sufficient because the configure
    script no longer writes the 'clang' variable to common.gypi.
    
    I could fix the configure script but I don't care enough actually do
    so.  A fixed configure script won't help anyway when the compiler is
    overridden through the CXX environment variable at compile time.
    
    PR-URL: nodejs#1611
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bnoordhuis committed May 4, 2015
    Configuration menu
    Copy the full SHA
    69581b2 View commit details
    Browse the repository at this point in the history
  11. doc: add rvagg to the TC

    PR-URL: nodejs#1613
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    ac1fb39 View commit details
    Browse the repository at this point in the history
  12. src: bump NODE_MODULE_VERSION due to V8 API

    V8 4.2 introduces some minor C++ API changes that make it necessary for
    many native add-ons to recompile in order to be usable in v2.0.0+
    
    PR-URL: nodejs#1532
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    c1b9913 View commit details
    Browse the repository at this point in the history
  13. 2015-05-04 io.js v2.0.0 Release

    PR-URL: nodejs#1532
    
    Notable Changes:
    
    * crypto: significantly reduced memory usage for TLS (Fedor Indutny & Сковорода
      Никита Андреевич) nodejs#1529
    * net: socket.connect() now accepts a 'lookup' option for a custom DNS
      resolution mechanism, defaults to dns.lookup() (Evan Lucas) nodejs#1505
    * npm: Upgrade npm to 2.9.0. See the v2.8.4 and v2.9.0 release notes for
      details. Notable items:
      - Add support for default author field to make npm init -y work without
        user-input (@othiym23) npm/npm/d8eee6cf9d
      - Include local modules in npm outdated and npm update (@ArnaudRinquin)
        npm/npm#7426
      - The prefix used before the version number on npm version is now configurable
        via tag-version-prefix (@kkragenbrink) npm/npm#8014
    * os: os.tmpdir() is now cross-platform consistent and will no longer returns a
      path with a trailling slash on any platform (Christian Tellnes) nodejs#747
    * process:
      - process.nextTick() performance has been improved by between 2-42% across the
        benchmark suite, notable because this is heavily used across core (Brian White) nodejs#1548
      - New process.geteuid(), process.seteuid(id), process.getegid() and
        process.setegid(id) methods allow you to get and set effective UID and GID
        of the process (Evan Lucas) nodejs#1536
    * repl:
      - REPL history can be persisted across sessions if the NODE_REPL_HISTORY_FILE
        environment variable is set to a user accessible file,
        NODE_REPL_HISTORY_SIZE can set the maximum history size and defaults to 1000
        (Chris Dickinson) nodejs#1513
      - The REPL can be placed in to one of three modes using the NODE_REPL_MODE
        environment variable: sloppy, strict or magic (default); the new magic mode
        will automatically run "strict mode only" statements in strict mode
        (Chris Dickinson) nodejs#1513
    * smalloc: the 'smalloc' module has been deprecated due to changes coming in V8
      4.4 that will render it unusable
    * util: add Promise, Map and Set inspection support (Christopher Monsanto) nodejs#1471
    * V8: upgrade to 4.2.77.18, see the ChangeLog for full details. Notable items:
      - Classes have moved out of staging; the class keyword is now usable in strict
        mode without flags
      - Object literal enhancements have moved out of staging; shorthand method and
        property syntax is now usable ({ method() { }, property })
      - Rest parameters (function(...args) {}) are implemented in staging behind the
        --harmony-rest-parameters flag
      - Computed property names ({['foo'+'bar']:'bam'}) are implemented in staging
        behind the --harmony-computed-property-names flag
      - Unicode escapes ('\u{xxxx}') are implemented in staging behind the
        --harmony_unicode flag and the --harmony_unicode_regexps flag for use in
        regular expressions
    * Windows:
      - Random process termination on Windows fixed (Fedor Indutny) nodejs#1512 / nodejs#1563
      - The delay-load hook introduced to fix issues with process naming (iojs.exe /
        node.exe) has been made opt-out for native add-ons. Native add-ons should
        include 'win_delay_load_hook': 'false' in their binding.gyp to disable this
        feature if they experience problems . (Bert Belder) nodejs#1433
    * Governance:
      - Rod Vagg (@rvagg) was added to the Technical Committee (TC)
      - Jeremiah Senkpiel (@Fishrock123) was added to the Technical Committee (TC)
    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    7c89c4c View commit details
    Browse the repository at this point in the history
  14. Working on v2.0.1

    rvagg committed May 4, 2015
    Configuration menu
    Copy the full SHA
    3dafdc5 View commit details
    Browse the repository at this point in the history
  15. src: fix deprecated use of Buffer::New()

    Pass the isolate explicitly.  Overlooked in commit ccb199a ("src: fix
    deprecation warnings") because g++ 4.8 and 4.9 don't warn for it
    whereas g++ 5.1 does.
    
    PR-URL: nodejs#1577
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 4, 2015
    Configuration menu
    Copy the full SHA
    f696c9e View commit details
    Browse the repository at this point in the history
  16. src: fix minor inefficiency in Buffer::New() call

    Commit ccb199a ("src: fix deprecation warnings") passes env()->isolate()
    to the Buffer::New() call.  It's somewhat inefficient because the callee
    looks up the environment from the isolate.  Just pass the env directly.
    
    PR-URL: nodejs#1577
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 4, 2015
    Configuration menu
    Copy the full SHA
    2ed10f1 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2015

  1. async-wrap: don't call init callback unnecessarily

    Some calls to ReqWrap would get through the initial check and allow the
    init callback to run, even though the callback had not been used on the
    parent. Fix by explicitly checking if the parent has a queue.
    
    Also change the name of the check, and internal field of AsyncHooks.
    Other names were confusing.
    
    PR-URL: nodejs#1614
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 5, 2015
    Configuration menu
    Copy the full SHA
    84bf609 View commit details
    Browse the repository at this point in the history
  2. async-wrap: pass PROVIDER as first arg to init

    Allow the init callback to see the PROVIDER type easily by being able to
    compare the flag with the list of providers on the exported async_wrap
    object.
    
    PR-URL: nodejs#1614
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 5, 2015
    Configuration menu
    Copy the full SHA
    4b2c786 View commit details
    Browse the repository at this point in the history
  3. async-wrap: set flags using functions

    Setting flags using cryptic numeric object fields is confusing. Instead
    use much simpler .enable()/.disable() calls on the async_wrap object.
    
    PR-URL: nodejs#1614
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 5, 2015
    Configuration menu
    Copy the full SHA
    bd42ba0 View commit details
    Browse the repository at this point in the history
  4. async-wrap: remove before/after calls in init

    It doesn't make sense to call before/after callbacks in init to the
    parent because they'll be made anyway from MakeCallback. If information
    does need to be propagated then it should be done automatically. Will
    deal with this if the issue arrises in the future.
    
    PR-URL: nodejs#1614
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 5, 2015
    Configuration menu
    Copy the full SHA
    7dde95a View commit details
    Browse the repository at this point in the history
  5. doc: fix PR link in CHANGELOG

    PR-URL: nodejs#1624
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mscdex committed May 5, 2015
    Configuration menu
    Copy the full SHA
    71dc715 View commit details
    Browse the repository at this point in the history
  6. src: fix NODE_DEPRECATED macro with old compilers

    The `__attribute__((deprecated("warning")))` macro didn't exist until
    gcc 4.5 and clang 2.9.
    
    While io.js does not build with compilers that old, add-ons do.  Let's
    make src/node.h compatible with such compilers, it's a public header.
    
    PR-URL: nodejs#1626
    Refs: nodejs#1619
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 5, 2015
    3 Configuration menu
    Copy the full SHA
    b712af7 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2015

  1. js_stream: fix buffer index in DoWrite

    The index of buffer to write in JSStream was always 0 by mistake. This
    fix was to use increment index of buffer arrays.
    The test was originally made by Brian White in nodejs#1594.
    
    Fix: nodejs#1595
    Fix: nodejs#1594
    PR-URL: nodejs#1635
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Shigeki Ohtsu authored and indutny committed May 6, 2015
    Configuration menu
    Copy the full SHA
    6ccbe75 View commit details
    Browse the repository at this point in the history
  2. src: fix pedantic cpplint whitespace warnings

    Introduced in commit b712af7 ("src: fix NODE_DEPRECATED macro with old
    compilers").
    
    PR-URL: nodejs#1640
    Reviewed-By: Roman Reiss <me@silverwind.io>
    bnoordhuis committed May 6, 2015
    Configuration menu
    Copy the full SHA
    8315b22 View commit details
    Browse the repository at this point in the history
  3. deps: upgrade v8 to 4.2.77.20

    Fixes: nodejs#1637
    PR-URL: nodejs#1639
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    V8-Bug: https://code.google.com/p/v8/issues/detail?id=3960
    V8-Bug: https://code.google.com/p/v8/issues/detail?id=4079
    bnoordhuis committed May 6, 2015
    Configuration menu
    Copy the full SHA
    b16d9c2 View commit details
    Browse the repository at this point in the history
  4. tools: remove unused GuessWordSize function

    Apart from the fact that the implementation is not reliable,
    GuessWordSize is not used anywhere in the codebase.
    
    PR-URL: nodejs#1638
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    thefourtheye authored and Fishrock123 committed May 6, 2015
    Configuration menu
    Copy the full SHA
    0c8f13d View commit details
    Browse the repository at this point in the history
  5. deps: update libuv to 1.5.0

    Fixes: nodejs#1397
    Fixes: nodejs#1512
    Fixes: nodejs#1621
    Fixes: nodejs#862
    PR-URL: nodejs#1646
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul authored and bnoordhuis committed May 6, 2015
    Configuration menu
    Copy the full SHA
    04cc03b View commit details
    Browse the repository at this point in the history

Commits on May 7, 2015

  1. doc: fix typo in readme.md

    PR-URL: nodejs#1643
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    maqnouch authored and Fishrock123 committed May 7, 2015
    Configuration menu
    Copy the full SHA
    2c72062 View commit details
    Browse the repository at this point in the history
  2. src: export the ParseEncoding function on Windows

    Makes the ParseEncoding symbol visible to addons on Windows.
    It was already visible on Unices.
    
    PR-URL: nodejs#1596
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    ivan authored and Fishrock123 committed May 7, 2015
    Configuration menu
    Copy the full SHA
    c43855c View commit details
    Browse the repository at this point in the history
  3. install: fix NameError

    If `len(args)` is less than two, then
    `install_path = dst_dir + node_prefix + '/'` would throw a `NameError`,
    because `dst_dir` will not be defined yet. So we are assigning `''` as
    the default value.
    
    PR-URL: nodejs#1628
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    thefourtheye authored and Fishrock123 committed May 7, 2015
    Configuration menu
    Copy the full SHA
    b97b96d View commit details
    Browse the repository at this point in the history
  4. doc: add TC meeting 2015-04-29 minutes

    PR-URL: nodejs#1585
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    rvagg committed May 7, 2015
    Configuration menu
    Copy the full SHA
    9ec3109 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c80e38 View commit details
    Browse the repository at this point in the history
  6. Working on v2.0.2

    rvagg committed May 7, 2015
    Configuration menu
    Copy the full SHA
    8bf878d View commit details
    Browse the repository at this point in the history

Commits on May 8, 2015

  1. src: add type check to v8.setFlagsFromString()

    Calling v8.setFlagsFromString with e.g a function as a flag argument
    gave no exception or warning that the function call will fail.
    
    There is now an exception if the function gets called with the wrong
    flag type (string is required) or that a flag is expected.
    
    Other APIs already provide exceptions if the argument has not the
    expected type.
    
    PR-URL: nodejs#1652
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    r-52 authored and bnoordhuis committed May 8, 2015
    Configuration menu
    Copy the full SHA
    931a0d4 View commit details
    Browse the repository at this point in the history
  2. cluster: disconnect event not emitted correctly

    Inside of a worker, disconnect event was not emitted on cluster.worker
    
    Fixes: nodejs#1304
    PR-URL: nodejs#1386
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Olegas authored and brendanashworth committed May 8, 2015
    Configuration menu
    Copy the full SHA
    5883a59 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2015

  1. tools: replace closure-linter with eslint

    PR-URL: nodejs#1539
    Fixes: nodejs#1253
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    yosuke-furukawa committed May 9, 2015
    Configuration menu
    Copy the full SHA
    f9dd34d View commit details
    Browse the repository at this point in the history
  2. lib: fix eslint styles

    PR-URL: nodejs#1539
    Fixes: nodejs#1253
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    yosuke-furukawa committed May 9, 2015
    Configuration menu
    Copy the full SHA
    19ffb5c View commit details
    Browse the repository at this point in the history
  3. win,node-gyp: enable delay-load hook by default

    The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe
    for more background.
    
    PR-URL: nodejs#1433
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    piscisaureus committed May 9, 2015
    Configuration menu
    Copy the full SHA
    64d3210 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2015

  1. readline: turn emitKeys into a streaming parser

    In certain environments escape sequences could be splitted into
    multiple chunks. For example, when user presses left arrow,
    `\x1b[D` sequence could appear as two keypresses (`\x1b` + `[D`).
    
    PR-URL: nodejs#1601
    Fixes: nodejs#1403
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    rlidwka authored and silverwind committed May 10, 2015
    Configuration menu
    Copy the full SHA
    aed6bce View commit details
    Browse the repository at this point in the history
  2. dgram: call send callback asynchronously

    dgram#send callback was changed synchronously.
    The PR-URL is here joyent/libuv#1358
    
    This commit is temporary fix until libuv issue is resolved.
    libuv/libuv#301
    
    PR-URL: nodejs#1313
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    yosuke-furukawa committed May 10, 2015
    Configuration menu
    Copy the full SHA
    18d457b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2015

  1. tls: update default ciphers to use gcm and aes128

    AES-GCM or CHACHA20_POLY1305 ciphers must be used in current version of
    Chrome to avoid an 'obsolete cryptography' warning.
    
    Prefer 128 bit AES over 192 and 256 bit AES considering attacks that
    specifically affect the larger key sizes but do not affect AES 128.
    
    PR-URL: nodejs#1660
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Mike MacCana authored and silverwind committed May 11, 2015
    Configuration menu
    Copy the full SHA
    5755fc0 View commit details
    Browse the repository at this point in the history
  2. tools: set eslint comma-spacing to 'warn'

    Certain cases with comments inside arrays or object literals fail to
    pass eslint's comma-spacing rule. This change sets the comma-spacing
    rule to the 'warn' level.
    
    Once eslint/eslint#2408 is resolved and
    released, this rule should be set back to 'error' level.
    
    PR-URL: nodejs#1672
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    silverwind committed May 11, 2015
    Configuration menu
    Copy the full SHA
    f07b3b6 View commit details
    Browse the repository at this point in the history
  3. build: re-enable V8 snapshots

    Snapshots had been previously disabled because of a security
    vunerability. This has been fixed (ref:
    nodejs#1631 (comment))
    
    Also, re-enable snapshots for ARMv6 builds. There were previous build
    issues that have been fixed.
    
    Fixes: nodejs#1631
    PR-URL: nodejs#1663
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 11, 2015
    Configuration menu
    Copy the full SHA
    36cdc7c View commit details
    Browse the repository at this point in the history

Commits on May 12, 2015

  1. deps: sync with upstream c-ares/c-ares@bba4dc5

    Fixes: nodejs#1676
    PR-URL: nodejs#1678
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 12, 2015
    Configuration menu
    Copy the full SHA
    7e1c0e7 View commit details
    Browse the repository at this point in the history
  2. deps: provide TXT chunk info in c-ares

    Provide more information in `ares_txt_reply` to coalesce chunks from the
    same record into one string.
    
    fix nodejs#7367
    indutny authored and bnoordhuis committed May 12, 2015
    Configuration menu
    Copy the full SHA
    0f850f7 View commit details
    Browse the repository at this point in the history
  3. src,deps: replace LoadLibrary by LoadLibraryW

    On Windows, when compiling with `UNICODE` defined, `LoadLibrary` becomes
    `LoadLibraryW`. When an ASCII string is passed to that function it
    crashes.
    
    PR-URL: nodejs#226
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
    zcbenz authored and bnoordhuis committed May 12, 2015
    Configuration menu
    Copy the full SHA
    08d0866 View commit details
    Browse the repository at this point in the history
  4. events: provide better error message for unhandled error

    Previously, in the event of an unhandled error event, if the error is a
    not an actual Error, then a default error is thrown. Now, the argument
    is appended to the error message and added as the `context` property
    of the error.
    
    PR-URL: nodejs#1654
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    evanlucas committed May 12, 2015
    Configuration menu
    Copy the full SHA
    8b9a153 View commit details
    Browse the repository at this point in the history
  5. tools: refactor make test-npm into test-npm.sh

    Extracts test-npm from Makefile and puts it in tools/test-npm.sh
    Also improves test-npm to use a separate copy of deps/npm for testing.
    
    PR-URL: nodejs#1662
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Fishrock123 committed May 12, 2015
    Configuration menu
    Copy the full SHA
    0b21ab1 View commit details
    Browse the repository at this point in the history
  6. tools: make eslint work on subdirectories

    The old pattern didn't include files in lib/internal. This changes the
    pattern to directories which makes eslint apply to all subdirectories as
    well.
    
    PR-URL: nodejs#1686
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    silverwind committed May 12, 2015
    Configuration menu
    Copy the full SHA
    c58264e View commit details
    Browse the repository at this point in the history

Commits on May 13, 2015

  1. build: move --with-intl to intl optgroup

    PR-URL: nodejs#1680
    Reviewed-By: Rod Vagg <rod@vagg.org>
    jbergstroem committed May 13, 2015
    Configuration menu
    Copy the full SHA
    20c9a52 View commit details
    Browse the repository at this point in the history
  2. tools: remove closure_linter to eslint on windows

    PR-URL: nodejs#1685
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Yosuke Furukawa committed May 13, 2015
    Configuration menu
    Copy the full SHA
    966acb9 View commit details
    Browse the repository at this point in the history
  3. os: refine tmpdir() trailing slash stripping

    os.tmpdir() began stripping trailing slashes in
    b57cc51. This causes problems if
    the temp directory is simply '/'. It also stripped trailing
    slashes without first determining which slash type is used by
    the current operating system. This commit only strips trailing
    slashes if another character precedes the slash. On Windows, it
    checks for ':', as not to strip slashes from something like 'C:\'.
    It also only strips slashes that are appropriate for the user's
    operating system.
    
    Fixes: nodejs#1669
    PR-URL: nodejs#1673
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Christian Tellnes <christian@tellnes.no>
    cjihrig committed May 13, 2015
    Configuration menu
    Copy the full SHA
    7693705 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2015

  1. test: fix infinite loop detection

    Fixes: nodejs#1675
    PR-URL: nodejs#1681
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Yosuke Furukawa authored and Fishrock123 committed May 14, 2015
    Configuration menu
    Copy the full SHA
    4e2f999 View commit details
    Browse the repository at this point in the history
  2. build: use backslashes for paths on windows

    PR-URL: nodejs#1698
    Reviewed-By: Yosuke Furukawa <furukawa.yosuke@dena.jp>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    jbergstroem committed May 14, 2015
    Configuration menu
    Copy the full SHA
    8a0e529 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2015

  1. src: fix preload when used with prior flags

    Fixes: nodejs#1691
    PR-URL: nodejs#1694
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    yosuke-furukawa authored and Fishrock123 committed May 15, 2015
    Configuration menu
    Copy the full SHA
    0a461e5 View commit details
    Browse the repository at this point in the history
  2. 2015-05-15 io.js v2.0.2 Release

    PR-URL: nodejs#1679
    
    Notable Changes:
    
    * win,node-gyp: the delay-load hook for windows addons has now been
    correctly enabled by default, it had wrongly defaulted to off in the
    release version of 2.0.0 (Bert Belder) nodejs#1433
    * os: tmpdir()'s trailing slash stripping has been refined to fix an
    issue when the temp directory is at '/'. Also considers which slash is
    used by the operating system. (cjihrig) nodejs#1673
    * tls: default ciphers have been updated to use gcm and aes128 (Mike
    MacCana) nodejs#1660
    * build: v8 snapshots have been re-enabled by default as suggested by
    the v8 team, since prior security issues have been resolved. This
    should give some perf improvements to both startup and vm context
    creation. (Trevor Norris) nodejs#1663
    * src: fixed preload modules not working when other flags were used
    before --require (Yosuke Furukawa) nodejs#1694
    * dgram: fixed send()'s callback not being asynchronous (Yosuke
    Furukawa) nodejs#1313
    * readline: emitKeys now keeps buffering data until it has enough to
    parse. This fixes an issue with parsing split escapes. (Alex Kocharin)
    * cluster: works now properly emit 'disconnect' to cluser.worker (Oleg
    Elifantiev) nodejs#1386
    events: uncaught errors now provide some context (Evan Lucas) nodejs#1654
    Fishrock123 committed May 15, 2015
    Configuration menu
    Copy the full SHA
    3e7a143 View commit details
    Browse the repository at this point in the history
  3. Working on v2.0.3

    PR-URL: nodejs#1679
    Fishrock123 committed May 15, 2015
    Configuration menu
    Copy the full SHA
    0a48a8b View commit details
    Browse the repository at this point in the history
  4. 1 Configuration menu
    Copy the full SHA
    c7fb91d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2015

  1. http,net,tls: return this from setTimeout methods

    Modifies the setTimeout methods for the following prototypes:
    
    - http.ClientRequest
    - http.IncomingMessage
    - http.OutgoingMessage
    - http.Server
    - https.Server
    - net.Socket
    - tls.TLSSocket
    
    Previously, the above functions returned undefined. They now return
    `this`. This is useful for chaining function calls.
    
    PR-URL: nodejs#1699
    Reviewed-By: Roman Reiss <me@silverwind.io>
    evanlucas authored and silverwind committed May 16, 2015
    5 Configuration menu
    Copy the full SHA
    d4726cd View commit details
    Browse the repository at this point in the history
  2. tls: fix tls handshake check in ssl error

    In ssl.onerror event, `this` refers `ssl` so that
    `this._secureEstablished` is always undefined. Fix it to refer
    TLSSocket.
    
    PR-URL: nodejs#1661
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Shigeki Ohtsu authored and indutny committed May 16, 2015
    Configuration menu
    Copy the full SHA
    e008e8f View commit details
    Browse the repository at this point in the history
  3. tls_wrap: fix error cb when fatal TLS Alert recvd

    SSL_read() returns 0 when fatal TLS Alert is received.
    Fix to invoke ssl error callback in this case.
    
    PR-URL: nodejs#1661
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Shigeki Ohtsu authored and indutny committed May 16, 2015
    Configuration menu
    Copy the full SHA
    7c52e1c View commit details
    Browse the repository at this point in the history

Commits on May 17, 2015

  1. repl: support non-array .scope, document it

    REPL evaluate `.scope` when it needs to get a list of the variable names
    available in the current scope. Do not throw if the output of such
    evaluation is not array, just ignore it.
    
    PR-URL: nodejs#1682
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    yorkie authored and indutny committed May 17, 2015
    Configuration menu
    Copy the full SHA
    6edc900 View commit details
    Browse the repository at this point in the history
  2. doc: fix connectListener description in net docs

    `connectListener` is registered as a listener to the 'connect' event
    once. Update the documentation to reflect that behavior.
    
    Fixes: nodejs#901
    PR-URL: nodejs#1717
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Josh Gummersall authored and bnoordhuis committed May 17, 2015
    Configuration menu
    Copy the full SHA
    fbaef40 View commit details
    Browse the repository at this point in the history
  3. repl: remove unnecessary check for globals

    There is no need to check for globals and also check if it is
    an array.
    
    PR-URL: nodejs#1722
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    yorkie authored and cjihrig committed May 17, 2015
    Configuration menu
    Copy the full SHA
    5f33521 View commit details
    Browse the repository at this point in the history
  4. doc: recommend against use of NODE_PATH

    PR-URL: nodejs#1708
    Reviewed-By: Roman Reiss <me@silverwind.io>
    smikes authored and silverwind committed May 17, 2015
    Configuration menu
    Copy the full SHA
    7d90c90 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2015

  1. doc: update links from iojs/io.js to nodejs/io.js

    Replaced all links in doc and comments to point to the new org.
    
    PR-URL: nodejs#1715
    Reviewed-By: Roman Reiss <me@silverwind.io>
    fhemberger authored and silverwind committed May 18, 2015
    Configuration menu
    Copy the full SHA
    0662747 View commit details
    Browse the repository at this point in the history
  2. core: implement runtime flag to trace sync io

    Use the --trace-sync-io flag to print a stack trace whenever a sync
    method is used after the first tick, excluding during the process exit
    event. (e.g. fs.readFileSync()) It does not track if the warning has
    occurred at a specific location in the past and so will print the
    warning every time.
    
    Reason for not printing during the first tick of the appication is so
    all necessary resources can be required. Also by excluding synchronous
    calls during exit is necessary in case any data needs to be logged out
    by the application before it shuts down.
    
    Fixes: nodejs#1674
    PR-URL: nodejs#1707
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Petka Antonov <petka_antonov@hotmail.com>
    trevnorris committed May 18, 2015
    Configuration menu
    Copy the full SHA
    c1de6d2 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2015

  1. win,node-gyp: make delay-load hook C89 compliant

    This fixes building compiled addons with Visual Studio 2010.
    
    PR-URL: nodejs/node-gyp#616
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
    cosmosgenius authored and piscisaureus committed May 19, 2015
    Configuration menu
    Copy the full SHA
    0d6d3dd View commit details
    Browse the repository at this point in the history
  2. core: set PROVIDER type as Persistent class id

    Pass along the PROVIDER type, that is already passed to AsyncWrap, along
    to BaseObject to set the handle_'s class id. This will allow all
    Persistents to be transversed and uniquely identified by what type they
    are using APIs such as v8::PersistentHandleVisitor.
    
    PR-URL: nodejs#1730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    trevnorris committed May 19, 2015
    Configuration menu
    Copy the full SHA
    3c44100 View commit details
    Browse the repository at this point in the history
  3. net: persist net.Socket options before connect

    Remembers net.Socket options called before connect and retroactively
    applies them after the handle has been created.
    
    This change makes the following function calls more user-friendly:
    
    - setKeepAlive()
    - setNoDelay()
    - ref()
    - unref()
    
    Related: nodejs/node-v0.x-archive#7077 and
    nodejs/node-v0.x-archive#8572
    
    Fixes: nodejs/node-v0.x-archive#7077
    Fixes: nodejs/node-v0.x-archive#8572
    PR-URL: nodejs#1518
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    evanlucas committed May 19, 2015
    1 Configuration menu
    Copy the full SHA
    85d9983 View commit details
    Browse the repository at this point in the history
  4. test: enable linting for tests

    Enable linting for the test directory. A number of changes was made so
    all tests conform the current rules used by lib and src directories. The
    only exception for tests is that unreachable (dead) code is allowed.
    
    test-fs-non-number-arguments-throw had to be excluded from the changes
    because of a weird issue on Windows CI.
    
    PR-URL: nodejs#1721
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    silverwind committed May 19, 2015
    Configuration menu
    Copy the full SHA
    f29762f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2015

  1. test: fix test-sync-io-option

    Wait for all the data to be available in stderr before checking its
    contents. In FreeBSD this was failing because stderr data was being
    emitted in multiple chunks. 4 WARNINGS are printed instead of 2 for
    each sync call inside readFileSync. require('fs') does not print any
    trace.
    
    PR-URL: nodejs#1734
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    santigimeno authored and brendanashworth committed May 20, 2015
    Configuration menu
    Copy the full SHA
    8676319 View commit details
    Browse the repository at this point in the history
  2. test: fix jslint error

    PR-URL: nodejs#1743
    Fixes: nodejs#1742
    Reviewed-By: Roman Reiss <me@silverwind.io>
    targos authored and silverwind committed May 20, 2015
    Configuration menu
    Copy the full SHA
    5773438 View commit details
    Browse the repository at this point in the history
  3. doc: add notes to child_process.fork() and .exec()

    Adds notes about the difference to their POSIX counterparts.
    
    PR-URL: nodejs#1718
    Fixes: nodejs#224
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Trott authored and silverwind committed May 20, 2015
    Configuration menu
    Copy the full SHA
    86dd244 View commit details
    Browse the repository at this point in the history
  4. doc: fix spelling in CHANGELOG

    Reviewed-By: Roman Reiss <me@silverwind.io>
    fsbatista authored and silverwind committed May 20, 2015
    Configuration menu
    Copy the full SHA
    f0a8bc3 View commit details
    Browse the repository at this point in the history
  5. tls: make server not use DHE in less than 1024bits

    DHE key lengths less than 1024bits is already weaken as pointed out in
    https://weakdh.org/ . 1024bits will not be safe in near future. We
    will extend this up to 2048bits somedays later.
    
    PR-URL: nodejs#1739
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Shigeki Ohtsu committed May 20, 2015
    Configuration menu
    Copy the full SHA
    9b35be5 View commit details
    Browse the repository at this point in the history
  6. util: speed up common case of formatting string

    PR-URL: nodejs#1749
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    ChALkeR authored and bnoordhuis committed May 20, 2015
    Configuration menu
    Copy the full SHA
    214d020 View commit details
    Browse the repository at this point in the history
  7. build: refactor pkg-config for shared libraries

    Improve detection and usage of pkg-config. This simplifies the setup
    of all our shared libraries.
    
    If pkg-config is installed on the host and `--shared` flags are passed
    by the user, we try to get defaults from pkg-config instead of using the
    default provided by configure.
    
    PR-URL: nodejs#1603
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jbergstroem committed May 20, 2015
    Configuration menu
    Copy the full SHA
    2b1c01c View commit details
    Browse the repository at this point in the history

Commits on May 22, 2015

  1. tls: use .destroy(err) instead of destroy+emit

    Emit errors using `.destroy(err)` instead of `.destroy()` and
    `.emit('error', err)`. Otherwise `close` event is emitted with the
    `error` argument set to `false`, even if the connection was torn down
    because of the error.
    
    See: nodejs#1119
    PR-URL: nodejs#1711
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    indutny committed May 22, 2015
    Configuration menu
    Copy the full SHA
    80342f6 View commit details
    Browse the repository at this point in the history
  2. doc: path is ignored in url.format

    Made it obvious that path is ignored in url.format
    
    PR-URL: nodejs#1753
    MauriceButler authored and silverwind committed May 22, 2015
    3 Configuration menu
    Copy the full SHA
    515afc6 View commit details
    Browse the repository at this point in the history
  3. doc: fix typo in CONTRIBUTING.md

    PR-URL: nodejs#1755
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott authored and Fishrock123 committed May 22, 2015
    Configuration menu
    Copy the full SHA
    2bb2f06 View commit details
    Browse the repository at this point in the history
  4. tls: emit errors happening before handshake finish

    This fixes a race condition introduced in 80342f6.
    `socket.destroy(err)` only emits the passed error when
    `socket._writableState.errorEmitted === false`, `ssl.onerror`
    sets `errorEmitted = true` just before calling
    `socket.destroy()`.
    
    See: nodejs#1119
    See: nodejs#1711
    PR-URL: nodejs#1769
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    skenqbx authored and indutny committed May 22, 2015
    Configuration menu
    Copy the full SHA
    2a71f02 View commit details
    Browse the repository at this point in the history
  5. buffer: optimize Buffer.byteLength

    Buffer.byteLength is important for speed because it is called whenever a
    new Buffer is created from a string.
    
    This commit optimizes Buffer.byteLength execution by:
    - moving base64 length calculation into JS-land, which is now much
      faster
    - remove redundant code and streamline the UTF8 length calculation
    
    It also adds a benchmark and better tests.
    
    PR-URL: nodejs#1713
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brendanashworth committed May 22, 2015
    Configuration menu
    Copy the full SHA
    9da168b View commit details
    Browse the repository at this point in the history

Commits on May 23, 2015

  1. net,dgram: return this from ref and unref methods

    Modifies the following methods to return the instance instead
    of undefined, to allow for chaining these methods:
    
    - net.Server.ref
    - net.Server.unref
    - net.Socket.ref
    - net.Socket.unref
    - dgram.Socket.ref
    - dgram.Socket.unref
    
    PR-URL: nodejs#1768
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    silverwind committed May 23, 2015
    Configuration menu
    Copy the full SHA
    39dde32 View commit details
    Browse the repository at this point in the history
  2. net: return this from setNoDelay and setKeepAlive

    Modifies the Socket.setNoDelay and Socket.setKeepAlive methods to return
    the socket instance instead of undefined, to allow for chaining.
    
    PR-URL: nodejs#1779
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    silverwind committed May 23, 2015
    Configuration menu
    Copy the full SHA
    cb381fe View commit details
    Browse the repository at this point in the history
  3. doc: update AUTHORS list

    Update AUTHORS list using tools/update-authors.sh
    
    PR-URL: nodejs#1776
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    rvagg committed May 23, 2015
    Configuration menu
    Copy the full SHA
    367ffd1 View commit details
    Browse the repository at this point in the history
  4. deps: upgrade to npm 2.10.1

    PR-URL: nodejs#1763
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    iarna authored and Fishrock123 committed May 23, 2015
    Configuration menu
    Copy the full SHA
    c54d057 View commit details
    Browse the repository at this point in the history
  5. deps: make node-gyp work with io.js

    Every npm version bump requires a few patches to be floated on
    node-gyp for io.js compatibility. These patches are found in
    03d1992,
    5de334c, and
    da730c7. This commit squashes
    them into a single commit.
    
    PR-URL: nodejs#990
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and Fishrock123 committed May 23, 2015
    Configuration menu
    Copy the full SHA
    9e7099f View commit details
    Browse the repository at this point in the history
  6. win,node-gyp: enable delay-load hook by default

    The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe
    for more background.
    
    This commit is a combined squash of the following previous patches:
    ba93c58,
    3bda6cb,
    0d6d3dd.
    
    PR-URL: nodejs#1763
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    piscisaureus authored and Fishrock123 committed May 23, 2015
    Configuration menu
    Copy the full SHA
    d144e96 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2015

  1. 2015-05-24 io.js v2.1.0 Release

    PR-URL: nodejs#1777
    
    Notable Changes:
    
    * crypto: Diffie-Hellman key exchange (DHE) parameters ('dhparams') must now be
      1024 bits or longer or an error will be thrown. A warning will also be printed
      to the console if you supply less than 2048 bits. See https://weakdh.org/ for
      further context on this security concern. (Shigeki Ohtsu) nodejs#1739.
    * node: A new --trace-sync-io command line flag will print a warning and a stack
      trace whenever a synchronous API is used. This can be used to track down
      synchronous calls that may be slowing down an application.
      (Trevor Norris) nodejs#1707.
    * node: To allow for chaining of methods, the setTimeout(), setKeepAlive(),
      setNoDelay(), ref() and unref() methods used in 'net', 'dgram', 'http',
      'https' and 'tls' now return the current instance instead of undefined
      (Roman Reiss & Evan Lucas) nodejs#1699 nodejs#1768 nodejs#1779.
    * npm: Upgraded to v2.10.1, release notes can be found in
      https://github.com/npm/npm/releases/tag/v2.10.1 and
      https://github.com/npm/npm/releases/tag/v2.10.0.
    * util: A significant speed-up (in the order of 35%) for the common-case of a
      single string argument to util.format(), used by console.log()
      (Сковорода Никита Андреевич) nodejs#1749.
    rvagg committed May 24, 2015
    2 Configuration menu
    Copy the full SHA
    4d8f4d5 View commit details
    Browse the repository at this point in the history
  2. Working on v2.1.1

    rvagg committed May 24, 2015
    Configuration menu
    Copy the full SHA
    3e8c228 View commit details
    Browse the repository at this point in the history
  3. 1 Configuration menu
    Copy the full SHA
    a6a3f8c View commit details
    Browse the repository at this point in the history
  4. doc: remove bad semver-major entry from CHANGELOG

    PR-URL: nodejs#1782
    Reviewed-By: Roman Reiss <me@silverwind.io>
    rvagg committed May 24, 2015
    Configuration menu
    Copy the full SHA
    ba76a9d View commit details
    Browse the repository at this point in the history

Commits on May 25, 2015

  1. http: simplify code and remove unused properties

    PR-URL: nodejs#1572
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    mscdex committed May 25, 2015
    Configuration menu
    Copy the full SHA
    1eec5f0 View commit details
    Browse the repository at this point in the history
  2. doc: state url decoding behavior

    Explicitly states the fact that no decoding is performed on the url
    path or pathname or the query string by default in the URL module.
    
    Fixes: nodejs#1538
    PR-URL: nodejs#1731
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Josh Gummersall authored and silverwind committed May 25, 2015
    Configuration menu
    Copy the full SHA
    a74c2c9 View commit details
    Browse the repository at this point in the history
  3. lib: simplify nextTick() usage

    This commit removes unnecessary nextTick() closures and adds some
    shared nextTick() callbacks for better re-use.
    
    PR-URL: nodejs#1612
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    mscdex committed May 25, 2015
    3 Configuration menu
    Copy the full SHA
    5abd4ac View commit details
    Browse the repository at this point in the history

Commits on May 26, 2015

  1. test: fix deprecation warning in addons test

    The non-isolate version of node::FatalException() is deprecated, switch
    to the version that takes an isolate as its first argument.
    
    PR-URL: nodejs#1793
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 26, 2015
    Configuration menu
    Copy the full SHA
    280fb01 View commit details
    Browse the repository at this point in the history
  2. test: remove stray copyright notices

    Commit 3e1b1dd ("Remove excessive copyright/license boilerplate") left
    in a few lines of boilerplate here and there.  This commit removes them.
    
    PR-URL: nodejs#1793
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 26, 2015
    Configuration menu
    Copy the full SHA
    c2b8b30 View commit details
    Browse the repository at this point in the history
  3. test: don't lint autogenerated test/addons/doc-*/

    The JS source files in test/addons/doc-*/ are scraped from the reference
    documentation in doc/api and need not conform to the style guide.
    
    PR-URL: nodejs#1793
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 26, 2015
    Configuration menu
    Copy the full SHA
    6dfca71 View commit details
    Browse the repository at this point in the history
  4. doc: clarify stability of fs.watch and relatives

    Fixes: nodejs#1754
    PR-URL: nodejs#1775
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Trott authored and Fishrock123 committed May 26, 2015
    Configuration menu
    Copy the full SHA
    eb1856d View commit details
    Browse the repository at this point in the history
  5. src: fix deferred events not working with -e

    Defer evaluation of the script for a tick.  This is a workaround for
    events not firing when evaluating scripts on the command line with -e.
    
    Fixes: nodejs#1600
    PR-URL: nodejs#1793
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 26, 2015
    Configuration menu
    Copy the full SHA
    93a44d5 View commit details
    Browse the repository at this point in the history
  6. doc: add documentation for AtExit hook

    Fixes: nodejs#999
    PR-URL: nodejs#1014
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    OpenSourceSteve authored and bnoordhuis committed May 26, 2015
    Configuration menu
    Copy the full SHA
    98649fd View commit details
    Browse the repository at this point in the history

Commits on May 27, 2015

  1. lib: speed up require(), phase 1

    Replace calls to fs.statSync() with an internal variant that does not
    create Error or Stat objects that put strain on the garbage collector.
    
    A secondary benefit is that it improves start-up times in the debugger
    because it no longer emits thousands of exception debug events.
    
    PR-URL: nodejs#1801
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b14fd1a View commit details
    Browse the repository at this point in the history
  2. lib: speed up require(), phase 2

    Replace calls to fs.readFileSync() with an internal variant that does
    not create Error objects on failure and is a bit speedier in general.
    
    A secondary benefit is that it improves start-up times in the debugger
    because it no longer emits thousands of exception debug events.
    
    On a medium-sized application[0], this commit and its predecessor reduce
    start-up times from about 1.5s to 0.5s and reduce the number of start-up
    exceptions from ~6100 to 32, half of them internal to the application.
    
    [0] https://github.com/strongloop/loopback-sample-app
    
    PR-URL: nodejs#1801
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 27, 2015
    1 Configuration menu
    Copy the full SHA
    1bbf8d0 View commit details
    Browse the repository at this point in the history
  3. doc: fs.*File() also accept encoding strings

    Fixes: nodejs#1797
    PR-URL: nodejs#1806
    Reviewed-By: fishrock123@rocketmail.com
    Trott authored and Fishrock123 committed May 27, 2015
    Configuration menu
    Copy the full SHA
    ff79449 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2015

  1. tools: add objectLiteralShorthandProperties to .eslintrc

    Required to make linting pass for using object literal
    shorthand properties.
    
    PR-URL: nodejs#1760
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    evanlucas committed May 28, 2015
    2 Configuration menu
    Copy the full SHA
    fbd2b59 View commit details
    Browse the repository at this point in the history
  2. child_process: expose ChildProcess constructor

    Creates two new internal modules (child_process and socket_list) for
    better readability.
    
    Exposes the ChildProcess constructor from the child_process module so
    one can now `require(‘child_process’).ChildProcess`
    
    Fixes: nodejs#1751
    PR-URL: nodejs#1760
    Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
    evanlucas committed May 28, 2015
    Configuration menu
    Copy the full SHA
    a77c330 View commit details
    Browse the repository at this point in the history
  3. Revert "core: set PROVIDER type as Persistent class id"

    This reverts commit 3c44100.
    
    Reverted for breaking node-heapdump[0].
    
    AsyncWrap assigns a class id but does not set a v8::RetainedObjectInfo
    provider callback with v8::HeapProfiler::SetWrapperClassInfoProvider().
    The result is a null pointer dereference when taking a heap snapshot.
    
    It can probably be solved by setting a generic provider callback inside
    the AsyncWrap constructor but that may have performance ramifications
    that need to be investigated first.  I move to revert it for now.
    
    [0] https://github.com/bnoordhuis/node-heapdump
    
    PR-URL: nodejs#1827
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 28, 2015
    Configuration menu
    Copy the full SHA
    3a1bc06 View commit details
    Browse the repository at this point in the history
  4. test: add heap profiler add-on regression test

    Add a regression test for nodejs#1827.
    
    PR-URL: nodejs#1828
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed May 28, 2015
    Configuration menu
    Copy the full SHA
    4e90c82 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2015

  1. http: flush stored header

    `flushHeaders` should work for header written
    with `writeHead`.
    
    PR-URL: nodejs#1695
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    vkurchatkin committed May 29, 2015
    Configuration menu
    Copy the full SHA
    2c686fd View commit details
    Browse the repository at this point in the history

Commits on May 30, 2015

  1. tools: pass constant to logger instead of string

    On a few of our installations (namely CentOS), passing 'INFO'
    resulted in a silent loglevel. Use a logging constant instead.
    
    Fixes: nodejs/build#104
    PR-URL: nodejs#1842
    Reviewed-By: Rod Vagg <rod@vagg.org>
    jbergstroem committed May 30, 2015
    Configuration menu
    Copy the full SHA
    8606793 View commit details
    Browse the repository at this point in the history
  2. src: remove old code

    The Socket writable only change was added and implemented in the
    constructor around 5885f46, but this was never removed.
    
    The libev counter issue is no longer prudent; the test remains in
    test/sequential/test-regress-GH-1726.
    
    PR-URL: nodejs#1819
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    brendanashworth committed May 30, 2015
    Configuration menu
    Copy the full SHA
    a65762c View commit details
    Browse the repository at this point in the history
  3. deps: upgrade npm to 2.11.0

    PR-URL: nodejs#1829
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    othiym23 committed May 30, 2015
    Configuration menu
    Copy the full SHA
    c1afa53 View commit details
    Browse the repository at this point in the history
  4. deps: make node-gyp work with io.js

    Every npm version bump requires a few patches to be floated on
    node-gyp for io.js compatibility. These patches are found in
    03d1992,
    5de334c, and
    da730c7. This commit squashes
    them into a single commit.
    
    PR-URL: nodejs#990
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and othiym23 committed May 30, 2015
    Configuration menu
    Copy the full SHA
    f9fd554 View commit details
    Browse the repository at this point in the history
  5. win,node-gyp: enable delay-load hook by default

    The delay-load hook allows node.exe/iojs.exe to be renamed. See efadffe
    for more background.
    
    This commit is a combined squash of the following previous patches:
    ba93c58,
    3bda6cb,
    0d6d3dd.
    
    PR-URL: nodejs#1763
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    piscisaureus authored and othiym23 committed May 30, 2015
    Configuration menu
    Copy the full SHA
    53e98cc View commit details
    Browse the repository at this point in the history
  6. src: fix module search path for preload modules

    When the preload module is not a abs/relative path, we should use
    the standard search mechanism of looking into the node_modules folders
    outwards. The current working directory is deemed to be the 'requiring
    module', i.e. parent. The search path starts from cwd outwards.
    
    Fixes: nodejs#1803
    PR-URL: nodejs#1812
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    ofrobots authored and Fishrock123 committed May 30, 2015
    Configuration menu
    Copy the full SHA
    5759722 View commit details
    Browse the repository at this point in the history
  7. test: check error type from net.Server.listen()

    This change eliminates an unnecessary setTimeout() in the test.
    
    PR-URL: nodejs#1821
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    Trott authored and bnoordhuis committed May 30, 2015
    Configuration menu
    Copy the full SHA
    8059393 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2015

  1. 2015-05-31 io.js v2.2.0 Release

    PR-URL: nodejs#1808
    
    Notable Changes:
    
    * node: Speed-up require() by replacing usage of fs.statSync() and
      fs.readFileSync() with internal variants that are faster for this use-case
      and do not create as many objects for the garbage collector to clean up.
      The primary two benefits are: significant increase in application start-up
      time on typical applications and better start-up time for the debugger by
      eliminating almost all of the thousands of exception events.
      (Ben Noordhuis) nodejs#1801.
    * node: Resolution of pre-load modules (-r or --require) now follows the
      standard require() rules rather than just resolving paths, so you can now
      pre-load modules in node_modules. (Ali Ijaz Sheikh) nodejs#1812.
    * npm: Upgraded npm to v2.11.0. New hooks for preversion, version, and
      postversion lifecycle events, some SPDX-related license changes and license
      file inclusions. See the release notes for full details.
    rvagg committed May 31, 2015
    Configuration menu
    Copy the full SHA
    0c57de5 View commit details
    Browse the repository at this point in the history
  2. Working on v2.2.1

    rvagg committed May 31, 2015
    Configuration menu
    Copy the full SHA
    f2de5e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d83401 View commit details
    Browse the repository at this point in the history
  4. http: revert deprecation of client property

    The improper deprecation of the property broke a feature in the
    request module used by the bundled npm. This reverts the deprecation
    part of this change.
    
    PR-URL: nodejs#1852
    Fixes: nodejs#1850
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    targos authored and silverwind committed May 31, 2015
    Configuration menu
    Copy the full SHA
    4d6b768 View commit details
    Browse the repository at this point in the history
  5. build: avoid passing empty strings to build flags

    While checking the return values from icu-i18n, we didn't
    validate the content before passing it to the build system.
    
    Also make cflags parsing more robust by avoiding empty strings.
    
    Fixes: nodejs#1787
    PR-URL: nodejs#1789
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    jbergstroem committed May 31, 2015
    Configuration menu
    Copy the full SHA
    c5a1009 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2015

  1. 2015-06-01 io.js v2.2.1 Release

    PR-URL: nodejs#1856
    
    Notable Changes:
    
    * http: reverts the removal of an undocumented `client` property on client
      connections, this property is being used in the wild, most notably by
      https://github.com/request/request which is used by npm.
      (Michaël Zasso) [nodejs#1852](nodejs#1852).
    rvagg committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    fe84797 View commit details
    Browse the repository at this point in the history
  2. Working on v2.2.2

    rvagg committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    79bb5e1 View commit details
    Browse the repository at this point in the history
  3. tools: Fix copying contents of deps/npm

    This fixes a platform inconsistency between BSD and GNU `cp` where
    `deps/npm` would be copied into a subdirectory of `test-npm` on Linux,
    but not on OS X.
    
    PR-URL: nodejs#1853
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
    thefourtheye authored and silverwind committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    1baba05 View commit details
    Browse the repository at this point in the history
  4. doc: adjust changelog to clarify client revert

    PR-URL: nodejs#1859
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    rvagg committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    d29034b View commit details
    Browse the repository at this point in the history
  5. src: add getopt option parser

    Options have been moved into the NodeOptions class.
    A new global, node_options now exists and is used
    to access the options after the command line arguments
    have been parsed.
    
    PR-URL: nodejs#1804
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    evanlucas committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    c0e7bf2 View commit details
    Browse the repository at this point in the history
  6. Revert "src: add getopt option parser"

    This reverts commit c0e7bf2.
    
    There are a few edge cases that can cause a crash
    and need to be properly handled.
    
    PR-URL: nodejs#1862
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    evanlucas committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    5b6f575 View commit details
    Browse the repository at this point in the history
  7. docs: delete unused/duplicate css files

     - `sh.css` already exists in `api_assets`
     - `sh_vim-dark.css` is unused, but used in the repo `node-website`
            now
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Signed-off-by: Julien Gilli <julien.gilli@joyent.com>
    
    PORT-FROM: joyent/node @ 0c50195
    PR-URL: nodejs#1770
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    robertkowalski authored and Fishrock123 committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    1cb72c1 View commit details
    Browse the repository at this point in the history
  8. docs: add return value for sync fs functions

    Clarify that synchronous functions in fs with no return value return
    undefined.
    
    Specify that fs.openSync() returns an integer and fs.existsSync()
    returns true or false.
    
    Fixes: nodejs/node-v0.x-archive#9313
    
    PR: nodejs/node-v0.x-archive#9359
    Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
    
    PORT-FROM: joyent/node @ 51fe319
    PR-URL: nodejs#1770
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    
    Conflicts:
    	doc/api/fs.markdown
    tyleranton authored and Fishrock123 committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    a79dece View commit details
    Browse the repository at this point in the history
  9. test: remove unneeded comment task

    PR-URL: nodejs#1858
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and brendanashworth committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    8704c58 View commit details
    Browse the repository at this point in the history
  10. test: remove smalloc add-on test

    The smalloc module is about to be deprecated and removed.  Remove the
    add-on test now so it's not forgotten about in the upcoming purge.
    
    PR-URL: nodejs#1835
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    bnoordhuis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    e0e96ac View commit details
    Browse the repository at this point in the history
  11. doc: fix http.IncomingMessage.socket documentation

    Remove the reference to net.Socket.verifyPeer().
    That was removed in ea540c9 and was missed in the 032f80e.
    
    Refer to the net.Socket instance by the .socket property.
    This avoids unneeded confusion.
    '.socket' is the variant that is used internally.
    
    Add a markdown link to net.Socket.getPeerCertificate().
    
    PR-URL: nodejs#1867
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    ChALkeR authored and bnoordhuis committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    89a5b90 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2015

  1. test: loosen condition to detect infinite loop

    PR-URL: nodejs#1857
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    yosuke-furukawa committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    d20f018 View commit details
    Browse the repository at this point in the history
  2. test: fix test-child-process-stdout-flush-exit

    Make sure all the stdout data is available before
    performing the assertions.
    
    Fixes: nodejs#944
    PR-URL: nodejs#1868
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    santigimeno authored and bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    b926718 View commit details
    Browse the repository at this point in the history
  3. tools: update mk-ca-bundle.pl to HEAD of upstream

    PR-URL: nodejs#1833
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    5be9efc View commit details
    Browse the repository at this point in the history
  4. tools: customize mk-ca-bundle.pl

    Remove unneeded functionality and tweak the generated output so we
    can #include it in C++ source code.
    
    This commit essentially reapplies the changes from commit e159073
    ("tools: customize mk-ca-bundle.pl") to the updated script.
    
    PR-URL: nodejs#1833
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    a2d921d View commit details
    Browse the repository at this point in the history
  5. tools: update certdata.txt

    This is the latest certdata.txt from [0], last updated on 2015-04-20.
    
    [0] https://hg.mozilla.org/mozilla-central/raw-file/aa275ad846f1/security/nss/lib/ckfw/builtins/certdata.txt
    
    PR-URL: nodejs#1833
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    098354a View commit details
    Browse the repository at this point in the history
  6. crypto: update root certificates

    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    PR-URL: nodejs#1833
    Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
    bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    a4dbf45 View commit details
    Browse the repository at this point in the history
  7. fs: set encoding on fs.createWriteStream

    Enable encoding option on fs.createWriteStream.
    
    PR-URL: nodejs#1844
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    yosuke-furukawa committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    8357c50 View commit details
    Browse the repository at this point in the history
  8. src: hide InitializeICUDirectory symbol

    Exporting it seems like an oversight.  It's not safe to call once
    V8 is running so there doesn't seem to be a point in exporting it
    to add-ons.  Un-export it.
    
    PR-URL: nodejs#1815
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bnoordhuis committed Jun 2, 2015
    Configuration menu
    Copy the full SHA
    8c71a92 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2015

  1. test: more test coverage for maxConnections

    If the server is not accepting connections because maxConnections
    is exceeded, the server should start accepting connections again
    when a connection closes.
    
    PR-URL: nodejs#1855
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    Trott authored and brendanashworth committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    bd99e8d View commit details
    Browse the repository at this point in the history
  2. test: remove hardwired references to 'iojs'

    PR-URL: nodejs#1882
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    rvagg authored and silverwind committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    f78c722 View commit details
    Browse the repository at this point in the history
  3. test: running tls-server-verify clients in parallel

    OpenSSL s_client introduces some delay on Windows. With all clients
    running sequentially, this delay is big enough to break CI. This fix runs
    the clients in parallel (unless the test includes renegotiation),
    reducing the total run time.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    joaocgreis authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    b18604b View commit details
    Browse the repository at this point in the history
  4. test: run tls-server-verify servers in parallel

    Different servers must use different ports. Since we can count only on
    common.PORT and common.PORT+1, run only 2 servers in parallel.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    joaocgreis authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    975e595 View commit details
    Browse the repository at this point in the history
  5. test: improve console output of tls-server-verify

    When running in parallel, it is not easy to identify what server and
    client failed when the test fails. This adds identifiers to all lines
    of console output.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    joaocgreis authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    e6ccdcc View commit details
    Browse the repository at this point in the history
  6. test: kill child in tls-server-verify for speed up

    For better performance of the test, the parent kills child processes
    so as not to wait them to be ended.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Shigeki Ohtsu authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    4cf323d View commit details
    Browse the repository at this point in the history
  7. deps: add -no_rand_screen to openssl s_client

    In openssl s_client on Windows, RAND_screen() is invoked to initialize
    random state but it takes several seconds in each connection.
    This added -no_rand_screen to openssl s_client on Windows to skip
    RAND_screen() and gets a better performance in the unit test of
    test-tls-server-verify.
    Do not enable this except to use in the unit test.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Shigeki Ohtsu authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    0ee497f View commit details
    Browse the repository at this point in the history
  8. test: add -no_rand_screen for tls-server-verify

    This improves the performance of openssl s_client on Windows and
    gains several seconds to finish test-tls-server-verify.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Shigeki Ohtsu authored and orangemocha committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    4ed25f6 View commit details
    Browse the repository at this point in the history
  9. test: fix test-sync-io-option

    This test was failing occasionally both locally and on CI. Switched
    from using spawn to execFile for a more reliable test.
    
    Fixes: nodejs#1837
    PR-URL: nodejs#1840
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    evanlucas committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    43a82f8 View commit details
    Browse the repository at this point in the history
  10. test: fix broken FreeBSD test

    Fixes net-server-max-connections-close-makes-more-available
    Handles connection 'error' event so the test ends.
    
    PR-URL: nodejs#1881
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
    santigimeno authored and brendanashworth committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    a804026 View commit details
    Browse the repository at this point in the history
  11. deps: update libuv to version 1.6.0

    Fixes: nodejs/node-v0.x-archive#9310
    PR-URL: nodejs#1889
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    saghul authored and bnoordhuis committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    aa33db3 View commit details
    Browse the repository at this point in the history
  12. dgram: partially revert 18d457b

    Revert "dgram: call send callback asynchronously" partially, since the
    fix is now done in libuv.
    
    Refs: nodejs#1313
    Refs: libuv/libuv#371
    PR-URL: nodejs#1889
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    saghul authored and bnoordhuis committed Jun 3, 2015
    Configuration menu
    Copy the full SHA
    b5cd2f0 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2015

  1. test: remove TODO

    It's not clear what additional tests are wanted.
    The current malformed URL test seems adequate.
    
    PR-URL: nodejs#1875
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Trott authored and jbergstroem committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    6537fd4 View commit details
    Browse the repository at this point in the history
  2. util: introduce printDeprecationMessage function

    `printDeprecationMessage` is used to deprecate modules
    and execution branches.
    
    PR-URL: nodejs#1822
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    vkurchatkin committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    628845b View commit details
    Browse the repository at this point in the history
  3. smalloc: deprecate whole module

    It makes no sense to allow people use constants from
    `smalloc`, since it will be removed completely eventually.
    
    PR-URL: nodejs#1822
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    vkurchatkin committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    6d95f4f View commit details
    Browse the repository at this point in the history
  4. tls: emit errors on close whilst async action

    When loading session, OCSP response, SNI, always check that the
    `self._handle` is present. If it is not - the socket was closed - and we
    should emit the error instead of throwing an uncaught exception.
    
    Fix: nodejs/node-v0.x-archive#8780
    Fix: nodejs#1696
    PR-URL: nodejs#1702
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    indutny committed Jun 4, 2015
    3 Configuration menu
    Copy the full SHA
    5795e83 View commit details
    Browse the repository at this point in the history
  5. tls: prevent use-after-free

    * Destroy `SSL*` and friends on a next tick to make sure that we are not
      doing it in one of the OpenSSL callbacks
    * Add more checks to the C++ methods that might be invoked during
      destructor's pending queue cleanup
    
    Fix: nodejs/node-v0.x-archive#8780
    Fix: nodejs#1696
    PR-URL: nodejs#1702
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    indutny committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    75930bb View commit details
    Browse the repository at this point in the history
  6. tls_wrap: invoke queued callbacks in DestroySSL

    PR-URL: nodejs#1702
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    indutny committed Jun 4, 2015
    Configuration menu
    Copy the full SHA
    59d9734 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2015

  1. fs: Add string encoding option for Stream method

    Add string encoding option for fs.createReadStream and
    fs.createWriteStream. and check argument type more strictly
    
    PR-URL: nodejs#1845
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    yosuke-furukawa committed Jun 5, 2015
    Configuration menu
    Copy the full SHA
    353e26e View commit details
    Browse the repository at this point in the history
  2. debugger: improve ESRCH error message

    When using `iojs debug -p <pid>` with an invalid pid, the debugger
    printed an internal error message because it wasn't smart enough
    to figure out that the target process didn't exist.  Now it is.
    
    PR-URL: nodejs#1863
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
    JacksonTian authored and bnoordhuis committed Jun 5, 2015
    Configuration menu
    Copy the full SHA
    81029c6 View commit details
    Browse the repository at this point in the history
  3. fs: use kMaxLength from binding

    This allows `graceful-fs` to evaluate `fs` source
    without access to internals.
    
    This is a temporary workaround that makes npm work.
    
    See: isaacs/node-graceful-fs#41
    Fixes: nodejs#1898
    PR-URL: nodejs#1903
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    vkurchatkin committed Jun 5, 2015
    Configuration menu
    Copy the full SHA
    2dcef83 View commit details
    Browse the repository at this point in the history
  4. deps: update libuv to version 1.6.1

    PR-URL: nodejs#1905
    Refs: nodejs#1791
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    saghul authored and bnoordhuis committed Jun 5, 2015
    Configuration menu
    Copy the full SHA
    a5bd466 View commit details
    Browse the repository at this point in the history
  5. gitignore: don't ignore the debug npm module

    On case insensitive platforms, the rule was catching the debug module
    under npm and eslint.
    
    See: nodejs#1899 (comment)
    PR-URL: nodejs#1908
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    zkat authored and Fishrock123 committed Jun 5, 2015
    Configuration menu
    Copy the full SHA
    02c3450 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2015

  1. os: add homedir()

    os.homedir() calls libuv's uv_os_homedir() to retrieve the current
    user's home directory.
    
    PR-URL: nodejs#1791
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    cjihrig committed Jun 6, 2015
    3 Configuration menu
    Copy the full SHA
    6e78e5f View commit details
    Browse the repository at this point in the history
  2. net: shutdown gracefully

    Wait for the `shutdown` request completion before emitting the `finish`
    event and destroying the socket. While this might not be that relevant
    in case of plain TCP sockets, the TLS implementation sends close-notify
    packet during shutdown request. Destroying socket whilst this write is
    in progress tends to cause ECONNRESET errors in our tests.
    indutny committed Jun 6, 2015
    Configuration menu
    Copy the full SHA
    f3503ba View commit details
    Browse the repository at this point in the history