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

Use finish instead of prefinish in _http_server.js #1411

Closed
wants to merge 174 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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Brendan Ashworth <[email protected]>
    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 <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    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 <[email protected]>
    Reviewed-By: Yosuke Furukawa <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: Julian Duque <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Steven R. Loomis <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    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 <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    
    PR-URL: nodejs#1266
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Forrest L Norvell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Isaac Z. Schlueter <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Forrest L Norvell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Isaac Z. Schlueter <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Forrest L Norvell <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Isaac Z. Schlueter <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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. 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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    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 <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    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 <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    Reviewed-By: Christian Tellnes <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Petka Antonov <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Brendan Ashworth <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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. test: remove obsolete harmony flags

    chrisdickinson authored and rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b89fd75 View commit details
    Browse the repository at this point in the history
  2. deps: update v8 to 4.3.61.21

    * @indutny's SealHandleScope patch (484bebc38319fc7c622478037922ad73b2edcbf9)
      has been cherry picked onto the top of V8 to make it compile.
    * There's some test breakage in contextify.
    * This was merged at the request of the TC.
    
    PR-URL: nodejs#1632
    chrisdickinson authored and rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    b65f1ce View commit details
    Browse the repository at this point in the history
  3. doc: update v8 flags in man page

    PR-URL: nodejs#1701
    Reviewed-By: Ben Noordhuis <[email protected]>
    targos authored and rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    137f38d View commit details
    Browse the repository at this point in the history
  4. Revert "dns: remove AI_V4MAPPED hint flag on FreeBSD"

    This reverts commit 04bea9f.
    
    PR-URL: nodejs#1555
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    eea96ee View commit details
    Browse the repository at this point in the history
  5. net: do not set V4MAPPED on FreeBSD

    V4MAPPED is not supported on recent FreeBSD versions, at least on 10.1.
    Thus, do not set this flag in net.connect on FreeBSD.
    
    Fixes: nodejs/node-v0.x-archive#8540
    Fixes: nodejs/node-v0.x-archive#9204
    PR-URL: nodejs/node-v0.x-archive#18204
    PR-URL: nodejs#1555
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Julien Gilli authored and rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    853a2b3 View commit details
    Browse the repository at this point in the history
  6. deps: backport 7b24219346 from v8 upstream

    Original:
    	Fix lookup iterator checks in GetRealNamedProperty* methods
    
    	BUG=v8:4143
    	[email protected]
    	LOG=n
    
    	Review URL: https://codereview.chromium.org/1161553004
    
    	Cr-Commit-Position: refs/heads/master@{nodejs#28616}
    
    PR-URL: nodejs#1805
    Reviewed-By: Domenic Denicola <[email protected]>
    rvagg committed May 27, 2015
    Configuration menu
    Copy the full SHA
    70716fd View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2015

  1. test: add test for missing close/finish event

    See next commit for the actual fix.
    
    PR-URL: nodejs#1373
    Reviewed-By: Fedor Indutny <[email protected]>
    not-implemented authored and indutny committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    159577c View commit details
    Browse the repository at this point in the history
  2. http_server: prefinish vs finish

    Do not detach the socket from the response until all data is actually
    sent to the other side.
    
    See: nodejs#1373
    indutny committed Jun 1, 2015
    Configuration menu
    Copy the full SHA
    854a071 View commit details
    Browse the repository at this point in the history